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.DescribeTrunkInterfaceAssociations

Description

This API action is currently in limited preview only. If you are interested in using this feature, contact your account manager.

Describes one or more network interface trunk associations.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTrunkInterfaceAssociations Source #

Constructors

DescribeTrunkInterfaceAssociations' 

Fields

  • associationIds :: Maybe [Text]

    The IDs of the associations.

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • filters :: Maybe [Filter]

    One or more filters.

    • gre-key - The ID of a trunk interface association.
    • interface-protocol - The interface protocol. Valid values are VLAN and GRE.
  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

Instances

Instances details
ToHeaders DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

ToPath DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

ToQuery DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

AWSPager DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

AWSRequest DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

Generic DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

Associated Types

type Rep DescribeTrunkInterfaceAssociations :: Type -> Type #

Read DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

Show DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

NFData DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

Eq DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

Hashable DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

type AWSResponse DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

type Rep DescribeTrunkInterfaceAssociations Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

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

newDescribeTrunkInterfaceAssociations :: DescribeTrunkInterfaceAssociations Source #

Create a value of DescribeTrunkInterfaceAssociations 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:associationIds:DescribeTrunkInterfaceAssociations', describeTrunkInterfaceAssociations_associationIds - The IDs of the associations.

$sel:dryRun:DescribeTrunkInterfaceAssociations', describeTrunkInterfaceAssociations_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

$sel:filters:DescribeTrunkInterfaceAssociations', describeTrunkInterfaceAssociations_filters - One or more filters.

  • gre-key - The ID of a trunk interface association.
  • interface-protocol - The interface protocol. Valid values are VLAN and GRE.

$sel:maxResults:DescribeTrunkInterfaceAssociations', describeTrunkInterfaceAssociations_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

DescribeTrunkInterfaceAssociations, describeTrunkInterfaceAssociations_nextToken - The token for the next page of results.

Request Lenses

describeTrunkInterfaceAssociations_dryRun :: Lens' DescribeTrunkInterfaceAssociations (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

describeTrunkInterfaceAssociations_filters :: Lens' DescribeTrunkInterfaceAssociations (Maybe [Filter]) Source #

One or more filters.

  • gre-key - The ID of a trunk interface association.
  • interface-protocol - The interface protocol. Valid values are VLAN and GRE.

describeTrunkInterfaceAssociations_maxResults :: Lens' DescribeTrunkInterfaceAssociations (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Destructuring the Response

data DescribeTrunkInterfaceAssociationsResponse Source #

Constructors

DescribeTrunkInterfaceAssociationsResponse' 

Fields

Instances

Instances details
Generic DescribeTrunkInterfaceAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

Read DescribeTrunkInterfaceAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

Show DescribeTrunkInterfaceAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

NFData DescribeTrunkInterfaceAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

Eq DescribeTrunkInterfaceAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

type Rep DescribeTrunkInterfaceAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTrunkInterfaceAssociations

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

newDescribeTrunkInterfaceAssociationsResponse Source #

Create a value of DescribeTrunkInterfaceAssociationsResponse 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:interfaceAssociations:DescribeTrunkInterfaceAssociationsResponse', describeTrunkInterfaceAssociationsResponse_interfaceAssociations - Information about the trunk associations.

DescribeTrunkInterfaceAssociations, describeTrunkInterfaceAssociationsResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeTrunkInterfaceAssociationsResponse', describeTrunkInterfaceAssociationsResponse_httpStatus - The response's http status code.

Response Lenses

describeTrunkInterfaceAssociationsResponse_nextToken :: Lens' DescribeTrunkInterfaceAssociationsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.