Struct aws_sdk_config::client::fluent_builders::PutDeliveryChannel
source · [−]pub struct PutDeliveryChannel<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to PutDeliveryChannel.
Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic.
Before you can create a delivery channel, you must create a configuration recorder.
You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.
You can have only one delivery channel per region in your account.
Implementations
impl<C, M, R> PutDeliveryChannel<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutDeliveryChannel<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutDeliveryChannelOutput, SdkError<PutDeliveryChannelError>> where
R::Policy: SmithyRetryPolicy<PutDeliveryChannelInputOperationOutputAlias, PutDeliveryChannelOutput, PutDeliveryChannelError, PutDeliveryChannelInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutDeliveryChannelOutput, SdkError<PutDeliveryChannelError>> where
R::Policy: SmithyRetryPolicy<PutDeliveryChannelInputOperationOutputAlias, PutDeliveryChannelOutput, PutDeliveryChannelError, PutDeliveryChannelInputOperationRetryAlias>,
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 configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutDeliveryChannel<C, M, R>
impl<C, M, R> Send for PutDeliveryChannel<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutDeliveryChannel<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutDeliveryChannel<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutDeliveryChannel<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