pub struct CreateTrafficMirrorTarget<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateTrafficMirrorTarget
.
Creates a target for your Traffic Mirror session.
A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.
A Traffic Mirror target can be a network interface, or a Network Load Balancer.
To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession.
Implementations
impl<C, M, R> CreateTrafficMirrorTarget<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateTrafficMirrorTarget<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateTrafficMirrorTargetOutput, SdkError<CreateTrafficMirrorTargetError>> where
R::Policy: SmithyRetryPolicy<CreateTrafficMirrorTargetInputOperationOutputAlias, CreateTrafficMirrorTargetOutput, CreateTrafficMirrorTargetError, CreateTrafficMirrorTargetInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateTrafficMirrorTargetOutput, SdkError<CreateTrafficMirrorTargetError>> where
R::Policy: SmithyRetryPolicy<CreateTrafficMirrorTargetInputOperationOutputAlias, CreateTrafficMirrorTargetOutput, CreateTrafficMirrorTargetError, CreateTrafficMirrorTargetInputOperationRetryAlias>,
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.
The network interface ID that is associated with the target.
The network interface ID that is associated with the target.
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
The description of the Traffic Mirror target.
The description of the Traffic Mirror target.
Appends an item to TagSpecifications
.
To override the contents of this collection use set_tag_specifications
.
The tags to assign to the Traffic Mirror target.
The tags to assign to the Traffic Mirror target.
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
.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateTrafficMirrorTarget<C, M, R>
impl<C, M, R> Send for CreateTrafficMirrorTarget<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateTrafficMirrorTarget<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateTrafficMirrorTarget<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateTrafficMirrorTarget<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