You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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:



8188
8189
8190
8191
8192
8193
8194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8188

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)


8188
8189
8190
8191
8192
8193
8194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8188

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>)


8188
8189
8190
8191
8192
8193
8194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8188

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)


8188
8189
8190
8191
8192
8193
8194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8188

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