aws_sdk_workspacesweb/client/create_user_access_logging_settings.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateUserAccessLoggingSettings`](crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`kinesis_stream_arn(impl Into<String>)`](crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder::kinesis_stream_arn) / [`set_kinesis_stream_arn(Option<String>)`](crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder::set_kinesis_stream_arn):<br>required: **true**<br><p>The ARN of the Kinesis stream.</p><br>
/// - [`tags(Tag)`](crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to add to the user settings resource. A tag is a key-value pair.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder::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 returns 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 [`CreateUserAccessLoggingSettingsOutput`](crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsOutput) with field(s):
/// - [`user_access_logging_settings_arn(String)`](crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsOutput::user_access_logging_settings_arn): <p>The ARN of the user access logging settings.</p>
/// - On failure, responds with [`SdkError<CreateUserAccessLoggingSettingsError>`](crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError)
pub fn create_user_access_logging_settings(
&self,
) -> crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder {
crate::operation::create_user_access_logging_settings::builders::CreateUserAccessLoggingSettingsFluentBuilder::new(self.handle.clone())
}
}