aws_sdk_workspacesweb/client/
update_user_access_logging_settings.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateUserAccessLoggingSettings`](crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_access_logging_settings_arn(impl Into<String>)`](crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder::user_access_logging_settings_arn) / [`set_user_access_logging_settings_arn(Option<String>)`](crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder::set_user_access_logging_settings_arn):<br>required: **true**<br><p>The ARN of the user access logging settings.</p><br>
    ///   - [`kinesis_stream_arn(impl Into<String>)`](crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder::kinesis_stream_arn) / [`set_kinesis_stream_arn(Option<String>)`](crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder::set_kinesis_stream_arn):<br>required: **false**<br><p>The ARN of the Kinesis stream.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.</p> <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.</p><br>
    /// - On success, responds with [`UpdateUserAccessLoggingSettingsOutput`](crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsOutput) with field(s):
    ///   - [`user_access_logging_settings(Option<UserAccessLoggingSettings>)`](crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsOutput::user_access_logging_settings): <p>The user access logging settings.</p>
    /// - On failure, responds with [`SdkError<UpdateUserAccessLoggingSettingsError>`](crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError)
    pub fn update_user_access_logging_settings(
        &self,
    ) -> crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder {
        crate::operation::update_user_access_logging_settings::builders::UpdateUserAccessLoggingSettingsFluentBuilder::new(self.handle.clone())
    }
}