1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopActivityStream`](crate::operation::stop_activity_stream::builders::StopActivityStreamFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`resource_arn(impl Into<String>)`](crate::operation::stop_activity_stream::builders::StopActivityStreamFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::stop_activity_stream::builders::StopActivityStreamFluentBuilder::set_resource_arn): <p>The Amazon Resource Name (ARN) of the DB cluster for the database activity stream. For example, <code>arn:aws:rds:us-east-1:12345667890:cluster:das-cluster</code>.</p>
/// - [`apply_immediately(bool)`](crate::operation::stop_activity_stream::builders::StopActivityStreamFluentBuilder::apply_immediately) / [`set_apply_immediately(Option<bool>)`](crate::operation::stop_activity_stream::builders::StopActivityStreamFluentBuilder::set_apply_immediately): <p>Specifies whether or not the database activity stream is to stop as soon as possible, regardless of the maintenance window for the database.</p>
/// - On success, responds with [`StopActivityStreamOutput`](crate::operation::stop_activity_stream::StopActivityStreamOutput) with field(s):
/// - [`kms_key_id(Option<String>)`](crate::operation::stop_activity_stream::StopActivityStreamOutput::kms_key_id): <p>The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
/// - [`kinesis_stream_name(Option<String>)`](crate::operation::stop_activity_stream::StopActivityStreamOutput::kinesis_stream_name): <p>The name of the Amazon Kinesis data stream used for the database activity stream.</p>
/// - [`status(Option<ActivityStreamStatus>)`](crate::operation::stop_activity_stream::StopActivityStreamOutput::status): <p>The status of the database activity stream.</p>
/// - On failure, responds with [`SdkError<StopActivityStreamError>`](crate::operation::stop_activity_stream::StopActivityStreamError)
pub fn stop_activity_stream(
&self,
) -> crate::operation::stop_activity_stream::builders::StopActivityStreamFluentBuilder {
crate::operation::stop_activity_stream::builders::StopActivityStreamFluentBuilder::new(
self.handle.clone(),
)
}
}