Struct aws_sdk_config::client::fluent_builders::PutDeliveryChannel
source · pub struct PutDeliveryChannel { /* 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§
source§impl PutDeliveryChannel
impl PutDeliveryChannel
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PutDeliveryChannel, AwsResponseRetryClassifier>, SdkError<PutDeliveryChannelError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PutDeliveryChannel, AwsResponseRetryClassifier>, SdkError<PutDeliveryChannelError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<PutDeliveryChannelOutput, SdkError<PutDeliveryChannelError>>
pub async fn send(
self
) -> Result<PutDeliveryChannelOutput, SdkError<PutDeliveryChannelError>>
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.
sourcepub fn delivery_channel(self, input: DeliveryChannel) -> Self
pub fn delivery_channel(self, input: DeliveryChannel) -> Self
The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
sourcepub fn set_delivery_channel(self, input: Option<DeliveryChannel>) -> Self
pub fn set_delivery_channel(self, input: Option<DeliveryChannel>) -> Self
The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
Trait Implementations§
source§impl Clone for PutDeliveryChannel
impl Clone for PutDeliveryChannel
source§fn clone(&self) -> PutDeliveryChannel
fn clone(&self) -> PutDeliveryChannel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more