Struct aws_sdk_rds::operation::modify_activity_stream::builders::ModifyActivityStreamFluentBuilder
source · pub struct ModifyActivityStreamFluentBuilder { /* 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 and Microsoft SQL Server.
Implementations§
source§impl ModifyActivityStreamFluentBuilder
impl ModifyActivityStreamFluentBuilder
sourcepub fn as_input(&self) -> &ModifyActivityStreamInputBuilder
pub fn as_input(&self) -> &ModifyActivityStreamInputBuilder
Access the ModifyActivityStream as a reference.
sourcepub async fn send(
self
) -> Result<ModifyActivityStreamOutput, SdkError<ModifyActivityStreamError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyActivityStreamOutput, SdkError<ModifyActivityStreamError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<ModifyActivityStreamOutput, ModifyActivityStreamError, Self>
pub fn customize( self ) -> CustomizableOperation<ModifyActivityStreamOutput, ModifyActivityStreamError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 or Microsoft SQL Server 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 or Microsoft SQL Server DB instance. For example, arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL Server 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.
sourcepub fn get_audit_policy_state(&self) -> &Option<AuditPolicyState>
pub fn get_audit_policy_state(&self) -> &Option<AuditPolicyState>
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§
source§impl Clone for ModifyActivityStreamFluentBuilder
impl Clone for ModifyActivityStreamFluentBuilder
source§fn clone(&self) -> ModifyActivityStreamFluentBuilder
fn clone(&self) -> ModifyActivityStreamFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more