Struct aws_sdk_rds::client::fluent_builders::StartActivityStream
source · [−]pub struct StartActivityStream { /* private fields */ }Expand description
Fluent builder constructing a request to StartActivityStream.
Starts a database activity stream to monitor activity on the database. For more information, see Database Activity Streams in the Amazon Aurora User Guide.
Implementations
sourceimpl StartActivityStream
impl StartActivityStream
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartActivityStream, AwsResponseRetryClassifier>, SdkError<StartActivityStreamError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartActivityStream, AwsResponseRetryClassifier>, SdkError<StartActivityStreamError>>
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<StartActivityStreamOutput, SdkError<StartActivityStreamError>>
pub async fn send(
self
) -> Result<StartActivityStreamOutput, SdkError<StartActivityStreamError>>
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 resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.
sourcepub fn mode(self, input: ActivityStreamMode) -> Self
pub fn mode(self, input: ActivityStreamMode) -> Self
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
sourcepub fn set_mode(self, input: Option<ActivityStreamMode>) -> Self
pub fn set_mode(self, input: Option<ActivityStreamMode>) -> Self
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn apply_immediately(self, input: bool) -> Self
pub fn apply_immediately(self, input: bool) -> Self
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
sourcepub fn set_apply_immediately(self, input: Option<bool>) -> Self
pub fn set_apply_immediately(self, input: Option<bool>) -> Self
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
sourcepub fn engine_native_audit_fields_included(self, input: bool) -> Self
pub fn engine_native_audit_fields_included(self, input: bool) -> Self
Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included.
sourcepub fn set_engine_native_audit_fields_included(self, input: Option<bool>) -> Self
pub fn set_engine_native_audit_fields_included(self, input: Option<bool>) -> Self
Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included.
Trait Implementations
sourceimpl Clone for StartActivityStream
impl Clone for StartActivityStream
sourcefn clone(&self) -> StartActivityStream
fn clone(&self) -> StartActivityStream
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more