Class: Aws::EC2::Types::DescribeNetworkInterfacePermissionsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass DescribeNetworkInterfacePermissionsRequest data as a hash:

{
  network_interface_permission_ids: ["String"],
  filters: [
    {
      name: "String",
      values: ["String"],
    },
  ],
  next_token: "String",
  max_results: 1,
}

Contains the parameters for DescribeNetworkInterfacePermissions.

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::Filter>

One or more filters.

  • ‘network-interface-permission.network-interface-permission-id` - The ID of the permission.

  • ‘network-interface-permission.network-interface-id` - The ID of the network interface.

  • ‘network-interface-permission.aws-account-id` - The AWS account ID.

  • ‘network-interface-permission.aws-service` - The AWS service.

  • ‘network-interface-permission.permission` - The type of permission (`INSTANCE-ATTACH` | `EIP-ASSOCIATE`).

Returns:



12985
12986
12987
12988
12989
12990
12991
# File 'lib/aws-sdk-ec2/types.rb', line 12985

class DescribeNetworkInterfacePermissionsRequest < Struct.new(
  :network_interface_permission_ids,
  :filters,
  :next_token,
  :max_results)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned ‘NextToken` value. If this parameter is not specified, up to 50 results are returned by default.

Returns:

  • (Integer)


12985
12986
12987
12988
12989
12990
12991
# File 'lib/aws-sdk-ec2/types.rb', line 12985

class DescribeNetworkInterfacePermissionsRequest < Struct.new(
  :network_interface_permission_ids,
  :filters,
  :next_token,
  :max_results)
  include Aws::Structure
end

#network_interface_permission_idsArray<String>

One or more network interface permission IDs.

Returns:

  • (Array<String>)


12985
12986
12987
12988
12989
12990
12991
# File 'lib/aws-sdk-ec2/types.rb', line 12985

class DescribeNetworkInterfacePermissionsRequest < Struct.new(
  :network_interface_permission_ids,
  :filters,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

The token to request the next page of results.

Returns:

  • (String)


12985
12986
12987
12988
12989
12990
12991
# File 'lib/aws-sdk-ec2/types.rb', line 12985

class DescribeNetworkInterfacePermissionsRequest < Struct.new(
  :network_interface_permission_ids,
  :filters,
  :next_token,
  :max_results)
  include Aws::Structure
end