aws_sdk_firehose/client/start_delivery_stream_encryption.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StartDeliveryStreamEncryption`](crate::operation::start_delivery_stream_encryption::builders::StartDeliveryStreamEncryptionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`delivery_stream_name(impl Into<String>)`](crate::operation::start_delivery_stream_encryption::builders::StartDeliveryStreamEncryptionFluentBuilder::delivery_stream_name) / [`set_delivery_stream_name(Option<String>)`](crate::operation::start_delivery_stream_encryption::builders::StartDeliveryStreamEncryptionFluentBuilder::set_delivery_stream_name):<br>required: **true**<br><p>The name of the Firehose stream for which you want to enable server-side encryption (SSE).</p><br>
7 /// - [`delivery_stream_encryption_configuration_input(DeliveryStreamEncryptionConfigurationInput)`](crate::operation::start_delivery_stream_encryption::builders::StartDeliveryStreamEncryptionFluentBuilder::delivery_stream_encryption_configuration_input) / [`set_delivery_stream_encryption_configuration_input(Option<DeliveryStreamEncryptionConfigurationInput>)`](crate::operation::start_delivery_stream_encryption::builders::StartDeliveryStreamEncryptionFluentBuilder::set_delivery_stream_encryption_configuration_input):<br>required: **false**<br><p>Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE).</p><br>
8 /// - On success, responds with [`StartDeliveryStreamEncryptionOutput`](crate::operation::start_delivery_stream_encryption::StartDeliveryStreamEncryptionOutput)
9 /// - On failure, responds with [`SdkError<StartDeliveryStreamEncryptionError>`](crate::operation::start_delivery_stream_encryption::StartDeliveryStreamEncryptionError)
10 pub fn start_delivery_stream_encryption(
11 &self,
12 ) -> crate::operation::start_delivery_stream_encryption::builders::StartDeliveryStreamEncryptionFluentBuilder {
13 crate::operation::start_delivery_stream_encryption::builders::StartDeliveryStreamEncryptionFluentBuilder::new(self.handle.clone())
14 }
15}