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

Description

Gets information about the associations for the specified transit gateway route table.

This operation returns paginated results.

Synopsis

Creating a Request

data GetTransitGatewayRouteTableAssociations Source #

Constructors

GetTransitGatewayRouteTableAssociations' 

Fields

  • 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. The possible values are:

    • resource-id - The ID of the resource.
    • resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway | peering | connect.
    • transit-gateway-attachment-id - The ID of the attachment.
  • 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.

  • transitGatewayRouteTableId :: Text

    The ID of the transit gateway route table.

Instances

Instances details
ToHeaders GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

ToPath GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

ToQuery GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

AWSPager GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

AWSRequest GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

Generic GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

Read GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

Show GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

NFData GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

Eq GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

Hashable GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

type AWSResponse GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

type Rep GetTransitGatewayRouteTableAssociations Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

type Rep GetTransitGatewayRouteTableAssociations = D1 ('MetaData "GetTransitGatewayRouteTableAssociations" "Amazonka.EC2.GetTransitGatewayRouteTableAssociations" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetTransitGatewayRouteTableAssociations'" 'PrefixI 'True) ((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)) :*: S1 ('MetaSel ('Just "transitGatewayRouteTableId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetTransitGatewayRouteTableAssociations Source #

Create a value of GetTransitGatewayRouteTableAssociations 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:dryRun:GetTransitGatewayRouteTableAssociations', getTransitGatewayRouteTableAssociations_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:GetTransitGatewayRouteTableAssociations', getTransitGatewayRouteTableAssociations_filters - One or more filters. The possible values are:

  • resource-id - The ID of the resource.
  • resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway | peering | connect.
  • transit-gateway-attachment-id - The ID of the attachment.

$sel:maxResults:GetTransitGatewayRouteTableAssociations', getTransitGatewayRouteTableAssociations_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.

GetTransitGatewayRouteTableAssociations, getTransitGatewayRouteTableAssociations_nextToken - The token for the next page of results.

GetTransitGatewayRouteTableAssociations, getTransitGatewayRouteTableAssociations_transitGatewayRouteTableId - The ID of the transit gateway route table.

Request Lenses

getTransitGatewayRouteTableAssociations_dryRun :: Lens' GetTransitGatewayRouteTableAssociations (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.

getTransitGatewayRouteTableAssociations_filters :: Lens' GetTransitGatewayRouteTableAssociations (Maybe [Filter]) Source #

One or more filters. The possible values are:

  • resource-id - The ID of the resource.
  • resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway | peering | connect.
  • transit-gateway-attachment-id - The ID of the attachment.

getTransitGatewayRouteTableAssociations_maxResults :: Lens' GetTransitGatewayRouteTableAssociations (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 GetTransitGatewayRouteTableAssociationsResponse Source #

Constructors

GetTransitGatewayRouteTableAssociationsResponse' 

Fields

Instances

Instances details
Generic GetTransitGatewayRouteTableAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

Read GetTransitGatewayRouteTableAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

Show GetTransitGatewayRouteTableAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

NFData GetTransitGatewayRouteTableAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

Eq GetTransitGatewayRouteTableAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

type Rep GetTransitGatewayRouteTableAssociationsResponse Source # 
Instance details

Defined in Amazonka.EC2.GetTransitGatewayRouteTableAssociations

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

newGetTransitGatewayRouteTableAssociationsResponse Source #

Create a value of GetTransitGatewayRouteTableAssociationsResponse 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:

GetTransitGatewayRouteTableAssociationsResponse, getTransitGatewayRouteTableAssociationsResponse_associations - Information about the associations.

GetTransitGatewayRouteTableAssociations, getTransitGatewayRouteTableAssociationsResponse_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:GetTransitGatewayRouteTableAssociationsResponse', getTransitGatewayRouteTableAssociationsResponse_httpStatus - The response's http status code.

Response Lenses

getTransitGatewayRouteTableAssociationsResponse_nextToken :: Lens' GetTransitGatewayRouteTableAssociationsResponse (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.