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

Description

Describes your transit gateway peering attachments.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTransitGatewayPeeringAttachments Source #

Constructors

DescribeTransitGatewayPeeringAttachments' 

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:

    • transit-gateway-attachment-id - The ID of the transit gateway attachment.
    • local-owner-id - The ID of your Amazon Web Services account.
    • remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the transit gateway.
    • state - The state of the peering attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting).
    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.
    • transit-gateway-id - The ID of the transit gateway.
  • 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.

  • transitGatewayAttachmentIds :: Maybe [Text]

    One or more IDs of the transit gateway peering attachments.

Instances

Instances details
ToHeaders DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

ToPath DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

ToQuery DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

AWSPager DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

AWSRequest DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

Generic DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

Read DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

Show DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

NFData DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

Eq DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

Hashable DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

type AWSResponse DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

type Rep DescribeTransitGatewayPeeringAttachments Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

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

newDescribeTransitGatewayPeeringAttachments :: DescribeTransitGatewayPeeringAttachments Source #

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

  • transit-gateway-attachment-id - The ID of the transit gateway attachment.
  • local-owner-id - The ID of your Amazon Web Services account.
  • remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the transit gateway.
  • state - The state of the peering attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting).
  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.
  • transit-gateway-id - The ID of the transit gateway.

$sel:maxResults:DescribeTransitGatewayPeeringAttachments', describeTransitGatewayPeeringAttachments_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.

DescribeTransitGatewayPeeringAttachments, describeTransitGatewayPeeringAttachments_nextToken - The token for the next page of results.

$sel:transitGatewayAttachmentIds:DescribeTransitGatewayPeeringAttachments', describeTransitGatewayPeeringAttachments_transitGatewayAttachmentIds - One or more IDs of the transit gateway peering attachments.

Request Lenses

describeTransitGatewayPeeringAttachments_dryRun :: Lens' DescribeTransitGatewayPeeringAttachments (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.

describeTransitGatewayPeeringAttachments_filters :: Lens' DescribeTransitGatewayPeeringAttachments (Maybe [Filter]) Source #

One or more filters. The possible values are:

  • transit-gateway-attachment-id - The ID of the transit gateway attachment.
  • local-owner-id - The ID of your Amazon Web Services account.
  • remote-owner-id - The ID of the Amazon Web Services account in the remote Region that owns the transit gateway.
  • state - The state of the peering attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting).
  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.
  • transit-gateway-id - The ID of the transit gateway.

describeTransitGatewayPeeringAttachments_maxResults :: Lens' DescribeTransitGatewayPeeringAttachments (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 DescribeTransitGatewayPeeringAttachmentsResponse Source #

Constructors

DescribeTransitGatewayPeeringAttachmentsResponse' 

Fields

Instances

Instances details
Generic DescribeTransitGatewayPeeringAttachmentsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

Read DescribeTransitGatewayPeeringAttachmentsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

Show DescribeTransitGatewayPeeringAttachmentsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

NFData DescribeTransitGatewayPeeringAttachmentsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

Eq DescribeTransitGatewayPeeringAttachmentsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

type Rep DescribeTransitGatewayPeeringAttachmentsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeTransitGatewayPeeringAttachments

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

newDescribeTransitGatewayPeeringAttachmentsResponse Source #

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

DescribeTransitGatewayPeeringAttachments, describeTransitGatewayPeeringAttachmentsResponse_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:transitGatewayPeeringAttachments:DescribeTransitGatewayPeeringAttachmentsResponse', describeTransitGatewayPeeringAttachmentsResponse_transitGatewayPeeringAttachments - The transit gateway peering attachments.

$sel:httpStatus:DescribeTransitGatewayPeeringAttachmentsResponse', describeTransitGatewayPeeringAttachmentsResponse_httpStatus - The response's http status code.

Response Lenses

describeTransitGatewayPeeringAttachmentsResponse_nextToken :: Lens' DescribeTransitGatewayPeeringAttachmentsResponse (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.