amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DescribeNetworkInterfacePermissions

Description

Describes the permissions for your network interfaces.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeNetworkInterfacePermissions Source #

Contains the parameters for DescribeNetworkInterfacePermissions.

See: newDescribeNetworkInterfacePermissions smart constructor.

Constructors

DescribeNetworkInterfacePermissions' 

Fields

  • filters :: Maybe [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 Amazon Web Services account ID.
    • network-interface-permission.aws-service - The Amazon Web Service.
    • network-interface-permission.permission - The type of permission (INSTANCE-ATTACH | EIP-ASSOCIATE).
  • maxResults :: Maybe Natural

    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.

  • networkInterfacePermissionIds :: Maybe [Text]

    The network interface permission IDs.

  • nextToken :: Maybe Text

    The token to request the next page of results.

Instances

Instances details
ToHeaders DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

ToPath DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

ToQuery DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

AWSPager DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

AWSRequest DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

Generic DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

Read DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

Show DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

NFData DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

Eq DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

Hashable DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

type AWSResponse DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

type Rep DescribeNetworkInterfacePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

type Rep DescribeNetworkInterfacePermissions = D1 ('MetaData "DescribeNetworkInterfacePermissions" "Amazonka.EC2.DescribeNetworkInterfacePermissions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeNetworkInterfacePermissions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "networkInterfacePermissionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeNetworkInterfacePermissions :: DescribeNetworkInterfacePermissions Source #

Create a value of DescribeNetworkInterfacePermissions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:filters:DescribeNetworkInterfacePermissions', describeNetworkInterfacePermissions_filters - 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 Amazon Web Services account ID.
  • network-interface-permission.aws-service - The Amazon Web Service.
  • network-interface-permission.permission - The type of permission (INSTANCE-ATTACH | EIP-ASSOCIATE).

$sel:maxResults:DescribeNetworkInterfacePermissions', describeNetworkInterfacePermissions_maxResults - 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.

$sel:networkInterfacePermissionIds:DescribeNetworkInterfacePermissions', describeNetworkInterfacePermissions_networkInterfacePermissionIds - The network interface permission IDs.

DescribeNetworkInterfacePermissions, describeNetworkInterfacePermissions_nextToken - The token to request the next page of results.

Request Lenses

describeNetworkInterfacePermissions_filters :: Lens' DescribeNetworkInterfacePermissions (Maybe [Filter]) Source #

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 Amazon Web Services account ID.
  • network-interface-permission.aws-service - The Amazon Web Service.
  • network-interface-permission.permission - The type of permission (INSTANCE-ATTACH | EIP-ASSOCIATE).

describeNetworkInterfacePermissions_maxResults :: Lens' DescribeNetworkInterfacePermissions (Maybe Natural) Source #

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.

Destructuring the Response

data DescribeNetworkInterfacePermissionsResponse Source #

Contains the output for DescribeNetworkInterfacePermissions.

See: newDescribeNetworkInterfacePermissionsResponse smart constructor.

Constructors

DescribeNetworkInterfacePermissionsResponse' 

Fields

Instances

Instances details
Generic DescribeNetworkInterfacePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

Read DescribeNetworkInterfacePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

Show DescribeNetworkInterfacePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

NFData DescribeNetworkInterfacePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

Eq DescribeNetworkInterfacePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

type Rep DescribeNetworkInterfacePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeNetworkInterfacePermissions

type Rep DescribeNetworkInterfacePermissionsResponse = D1 ('MetaData "DescribeNetworkInterfacePermissionsResponse" "Amazonka.EC2.DescribeNetworkInterfacePermissions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeNetworkInterfacePermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkInterfacePermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkInterfacePermission])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses