pub struct DescribeTransitGatewayPeeringAttachments<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeTransitGatewayPeeringAttachments
.
Describes your transit gateway peering attachments.
Implementations
impl<C, M, R> DescribeTransitGatewayPeeringAttachments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeTransitGatewayPeeringAttachments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeTransitGatewayPeeringAttachmentsOutput, SdkError<DescribeTransitGatewayPeeringAttachmentsError>> where
R::Policy: SmithyRetryPolicy<DescribeTransitGatewayPeeringAttachmentsInputOperationOutputAlias, DescribeTransitGatewayPeeringAttachmentsOutput, DescribeTransitGatewayPeeringAttachmentsError, DescribeTransitGatewayPeeringAttachmentsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeTransitGatewayPeeringAttachmentsOutput, SdkError<DescribeTransitGatewayPeeringAttachmentsError>> where
R::Policy: SmithyRetryPolicy<DescribeTransitGatewayPeeringAttachmentsInputOperationOutputAlias, DescribeTransitGatewayPeeringAttachmentsOutput, DescribeTransitGatewayPeeringAttachmentsError, DescribeTransitGatewayPeeringAttachmentsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
Appends an item to TransitGatewayAttachmentIds
.
To override the contents of this collection use set_transit_gateway_attachment_ids
.
One or more IDs of the transit gateway peering attachments.
One or more IDs of the transit gateway peering attachments.
Appends an item to Filters
.
To override the contents of this collection use set_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 areavailable
|deleted
|deleting
|failed
|failing
|initiatingRequest
|modifying
|pendingAcceptance
|pending
|rollingBack
|rejected
|rejecting
). -
tag
:- 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 valueTeamA
, specifytag:Owner
for the filter name andTeamA
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.
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 areavailable
|deleted
|deleting
|failed
|failing
|initiatingRequest
|modifying
|pendingAcceptance
|pending
|rollingBack
|rejected
|rejecting
). -
tag
:- 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 valueTeamA
, specifytag:Owner
for the filter name andTeamA
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.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
The token for the next page of results.
The token for the next page of results.
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
.
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
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeTransitGatewayPeeringAttachments<C, M, R>
impl<C, M, R> Send for DescribeTransitGatewayPeeringAttachments<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeTransitGatewayPeeringAttachments<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeTransitGatewayPeeringAttachments<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeTransitGatewayPeeringAttachments<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more