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

Description

Describes one or more Connect peers.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTransitGatewayConnectPeers Source #

Constructors

DescribeTransitGatewayConnectPeers' 

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:

    • state - The state of the Connect peer (pending | available | deleting | deleted).
    • transit-gateway-attachment-id - The ID of the attachment.
    • transit-gateway-connect-peer-id - The ID of the Connect peer.
  • 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.

  • transitGatewayConnectPeerIds :: Maybe [Text]

    The IDs of the Connect peers.

Instances

Instances details
ToHeaders DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

ToPath DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

ToQuery DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

AWSPager DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

AWSRequest DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

Generic DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

Associated Types

type Rep DescribeTransitGatewayConnectPeers :: Type -> Type #

Read DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

Show DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

NFData DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

Eq DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

Hashable DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

type AWSResponse DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

type Rep DescribeTransitGatewayConnectPeers Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

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

newDescribeTransitGatewayConnectPeers :: DescribeTransitGatewayConnectPeers Source #

Create a value of DescribeTransitGatewayConnectPeers 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:DescribeTransitGatewayConnectPeers', describeTransitGatewayConnectPeers_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:DescribeTransitGatewayConnectPeers', describeTransitGatewayConnectPeers_filters - One or more filters. The possible values are:

  • state - The state of the Connect peer (pending | available | deleting | deleted).
  • transit-gateway-attachment-id - The ID of the attachment.
  • transit-gateway-connect-peer-id - The ID of the Connect peer.

$sel:maxResults:DescribeTransitGatewayConnectPeers', describeTransitGatewayConnectPeers_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.

DescribeTransitGatewayConnectPeers, describeTransitGatewayConnectPeers_nextToken - The token for the next page of results.

$sel:transitGatewayConnectPeerIds:DescribeTransitGatewayConnectPeers', describeTransitGatewayConnectPeers_transitGatewayConnectPeerIds - The IDs of the Connect peers.

Request Lenses

describeTransitGatewayConnectPeers_dryRun :: Lens' DescribeTransitGatewayConnectPeers (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.

describeTransitGatewayConnectPeers_filters :: Lens' DescribeTransitGatewayConnectPeers (Maybe [Filter]) Source #

One or more filters. The possible values are:

  • state - The state of the Connect peer (pending | available | deleting | deleted).
  • transit-gateway-attachment-id - The ID of the attachment.
  • transit-gateway-connect-peer-id - The ID of the Connect peer.

describeTransitGatewayConnectPeers_maxResults :: Lens' DescribeTransitGatewayConnectPeers (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 DescribeTransitGatewayConnectPeersResponse Source #

Constructors

DescribeTransitGatewayConnectPeersResponse' 

Fields

Instances

Instances details
Generic DescribeTransitGatewayConnectPeersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

Read DescribeTransitGatewayConnectPeersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

Show DescribeTransitGatewayConnectPeersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

NFData DescribeTransitGatewayConnectPeersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

Eq DescribeTransitGatewayConnectPeersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

type Rep DescribeTransitGatewayConnectPeersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayConnectPeers

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

newDescribeTransitGatewayConnectPeersResponse Source #

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

DescribeTransitGatewayConnectPeers, describeTransitGatewayConnectPeersResponse_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:transitGatewayConnectPeers:DescribeTransitGatewayConnectPeersResponse', describeTransitGatewayConnectPeersResponse_transitGatewayConnectPeers - Information about the Connect peers.

$sel:httpStatus:DescribeTransitGatewayConnectPeersResponse', describeTransitGatewayConnectPeersResponse_httpStatus - The response's http status code.

Response Lenses

describeTransitGatewayConnectPeersResponse_nextToken :: Lens' DescribeTransitGatewayConnectPeersResponse (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.