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

Description

Describes one or more transit gateway route policy tables.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTransitGatewayPolicyTables Source #

Constructors

DescribeTransitGatewayPolicyTables' 

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]

    The filters associated with the transit gateway policy table.

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

  • transitGatewayPolicyTableIds :: Maybe [Text]

    The IDs of the transit gateway policy tables.

Instances

Instances details
ToHeaders DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

ToPath DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

ToQuery DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

AWSPager DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

AWSRequest DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

Generic DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

Associated Types

type Rep DescribeTransitGatewayPolicyTables :: Type -> Type #

Read DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

Show DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

NFData DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

Eq DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

Hashable DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

type AWSResponse DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

type Rep DescribeTransitGatewayPolicyTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

type Rep DescribeTransitGatewayPolicyTables = D1 ('MetaData "DescribeTransitGatewayPolicyTables" "Amazonka.EC2.DescribeTransitGatewayPolicyTables" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeTransitGatewayPolicyTables'" '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 "transitGatewayPolicyTableIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))

newDescribeTransitGatewayPolicyTables :: DescribeTransitGatewayPolicyTables Source #

Create a value of DescribeTransitGatewayPolicyTables 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:DescribeTransitGatewayPolicyTables', describeTransitGatewayPolicyTables_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:DescribeTransitGatewayPolicyTables', describeTransitGatewayPolicyTables_filters - The filters associated with the transit gateway policy table.

$sel:maxResults:DescribeTransitGatewayPolicyTables', describeTransitGatewayPolicyTables_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.

DescribeTransitGatewayPolicyTables, describeTransitGatewayPolicyTables_nextToken - The token for the next page of results.

$sel:transitGatewayPolicyTableIds:DescribeTransitGatewayPolicyTables', describeTransitGatewayPolicyTables_transitGatewayPolicyTableIds - The IDs of the transit gateway policy tables.

Request Lenses

describeTransitGatewayPolicyTables_dryRun :: Lens' DescribeTransitGatewayPolicyTables (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.

describeTransitGatewayPolicyTables_filters :: Lens' DescribeTransitGatewayPolicyTables (Maybe [Filter]) Source #

The filters associated with the transit gateway policy table.

describeTransitGatewayPolicyTables_maxResults :: Lens' DescribeTransitGatewayPolicyTables (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 DescribeTransitGatewayPolicyTablesResponse Source #

Constructors

DescribeTransitGatewayPolicyTablesResponse' 

Fields

Instances

Instances details
Generic DescribeTransitGatewayPolicyTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

Read DescribeTransitGatewayPolicyTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

Show DescribeTransitGatewayPolicyTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

NFData DescribeTransitGatewayPolicyTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

Eq DescribeTransitGatewayPolicyTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

type Rep DescribeTransitGatewayPolicyTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPolicyTables

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

Response Lenses