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

Description

Describes one or more local gateway route tables. By default, all local gateway route tables are described. Alternatively, you can filter the results.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeLocalGatewayRouteTables Source #

See: newDescribeLocalGatewayRouteTables smart constructor.

Constructors

DescribeLocalGatewayRouteTables' 

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.

    • local-gateway-id - The ID of a local gateway.
    • local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local gateway route table.
    • local-gateway-route-table-id - The ID of a local gateway route table.
    • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.
    • owner-id - The ID of the Amazon Web Services account that owns the local gateway route table.
    • state - The state of the local gateway route table.
  • localGatewayRouteTableIds :: Maybe [Text]

    The IDs of the local gateway route tables.

  • 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 DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

ToPath DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

ToQuery DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

AWSPager DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

AWSRequest DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

Generic DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

Associated Types

type Rep DescribeLocalGatewayRouteTables :: Type -> Type #

Read DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

Show DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

NFData DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

Eq DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

Hashable DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

type AWSResponse DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

type Rep DescribeLocalGatewayRouteTables Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

type Rep DescribeLocalGatewayRouteTables = D1 ('MetaData "DescribeLocalGatewayRouteTables" "Amazonka.EC2.DescribeLocalGatewayRouteTables" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeLocalGatewayRouteTables'" '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 "localGatewayRouteTableIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDescribeLocalGatewayRouteTables :: DescribeLocalGatewayRouteTables Source #

Create a value of DescribeLocalGatewayRouteTables 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:DescribeLocalGatewayRouteTables', describeLocalGatewayRouteTables_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:DescribeLocalGatewayRouteTables', describeLocalGatewayRouteTables_filters - One or more filters.

  • local-gateway-id - The ID of a local gateway.
  • local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local gateway route table.
  • local-gateway-route-table-id - The ID of a local gateway route table.
  • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.
  • owner-id - The ID of the Amazon Web Services account that owns the local gateway route table.
  • state - The state of the local gateway route table.

$sel:localGatewayRouteTableIds:DescribeLocalGatewayRouteTables', describeLocalGatewayRouteTables_localGatewayRouteTableIds - The IDs of the local gateway route tables.

$sel:maxResults:DescribeLocalGatewayRouteTables', describeLocalGatewayRouteTables_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.

DescribeLocalGatewayRouteTables, describeLocalGatewayRouteTables_nextToken - The token for the next page of results.

Request Lenses

describeLocalGatewayRouteTables_dryRun :: Lens' DescribeLocalGatewayRouteTables (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.

describeLocalGatewayRouteTables_filters :: Lens' DescribeLocalGatewayRouteTables (Maybe [Filter]) Source #

One or more filters.

  • local-gateway-id - The ID of a local gateway.
  • local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local gateway route table.
  • local-gateway-route-table-id - The ID of a local gateway route table.
  • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.
  • owner-id - The ID of the Amazon Web Services account that owns the local gateway route table.
  • state - The state of the local gateway route table.

describeLocalGatewayRouteTables_maxResults :: Lens' DescribeLocalGatewayRouteTables (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 DescribeLocalGatewayRouteTablesResponse Source #

Constructors

DescribeLocalGatewayRouteTablesResponse' 

Fields

Instances

Instances details
Generic DescribeLocalGatewayRouteTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

Read DescribeLocalGatewayRouteTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

Show DescribeLocalGatewayRouteTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

NFData DescribeLocalGatewayRouteTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

Eq DescribeLocalGatewayRouteTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

type Rep DescribeLocalGatewayRouteTablesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeLocalGatewayRouteTables

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

newDescribeLocalGatewayRouteTablesResponse Source #

Create a value of DescribeLocalGatewayRouteTablesResponse 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:localGatewayRouteTables:DescribeLocalGatewayRouteTablesResponse', describeLocalGatewayRouteTablesResponse_localGatewayRouteTables - Information about the local gateway route tables.

DescribeLocalGatewayRouteTables, describeLocalGatewayRouteTablesResponse_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:DescribeLocalGatewayRouteTablesResponse', describeLocalGatewayRouteTablesResponse_httpStatus - The response's http status code.

Response Lenses

describeLocalGatewayRouteTablesResponse_nextToken :: Lens' DescribeLocalGatewayRouteTablesResponse (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.