Struct aws_sdk_rds::client::fluent_builders::ModifyActivityStream
source · [−]pub struct ModifyActivityStream { /* private fields */ }Expand description
Fluent builder constructing a request to ModifyActivityStream.
Changes the audit policy state of a database activity stream to either locked (default) or unlocked. A locked policy is read-only, whereas an unlocked policy is read/write. If your activity stream is started and locked, you can unlock it, customize your audit policy, and then lock your activity stream. Restarting the activity stream isn't required. For more information, see Modifying a database activity stream in the Amazon RDS User Guide.
This operation is supported for RDS for Oracle only.
Implementations
sourceimpl ModifyActivityStream
impl ModifyActivityStream
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyActivityStream, AwsResponseRetryClassifier>, SdkError<ModifyActivityStreamError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ModifyActivityStream, AwsResponseRetryClassifier>, SdkError<ModifyActivityStreamError>>
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<ModifyActivityStreamOutput, SdkError<ModifyActivityStreamError>>
pub async fn send(
self
) -> Result<ModifyActivityStreamOutput, SdkError<ModifyActivityStreamError>>
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 RDS for Oracle DB instance, for example, arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db.
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 RDS for Oracle DB instance, for example, arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db.
sourcepub fn audit_policy_state(self, input: AuditPolicyState) -> Self
pub fn audit_policy_state(self, input: AuditPolicyState) -> Self
The audit policy state. When a policy is unlocked, it is read/write. When it is locked, it is read-only. You can edit your audit policy only when the activity stream is unlocked or stopped.
sourcepub fn set_audit_policy_state(self, input: Option<AuditPolicyState>) -> Self
pub fn set_audit_policy_state(self, input: Option<AuditPolicyState>) -> Self
The audit policy state. When a policy is unlocked, it is read/write. When it is locked, it is read-only. You can edit your audit policy only when the activity stream is unlocked or stopped.
Trait Implementations
sourceimpl Clone for ModifyActivityStream
impl Clone for ModifyActivityStream
sourcefn clone(&self) -> ModifyActivityStream
fn clone(&self) -> ModifyActivityStream
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more