1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateServiceSpecificCredential`](crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_name(impl Into<String>)`](crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder::set_user_name):<br>required: **false**<br><p>The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation.</p>  <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
    ///   - [`service_specific_credential_id(impl Into<String>)`](crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder::service_specific_credential_id) / [`set_service_specific_credential_id(Option<String>)`](crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder::set_service_specific_credential_id):<br>required: **true**<br><p>The unique identifier of the service-specific credential.</p>  <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that can consist of any upper or lowercased letter or digit.</p><br>
    ///   - [`status(StatusType)`](crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder::status) / [`set_status(Option<StatusType>)`](crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder::set_status):<br>required: **true**<br><p>The status to be assigned to the service-specific credential.</p><br>
    /// - On success, responds with [`UpdateServiceSpecificCredentialOutput`](crate::operation::update_service_specific_credential::UpdateServiceSpecificCredentialOutput)
    /// - On failure, responds with [`SdkError<UpdateServiceSpecificCredentialError>`](crate::operation::update_service_specific_credential::UpdateServiceSpecificCredentialError)
    pub fn update_service_specific_credential(
        &self,
    ) -> crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder {
        crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialFluentBuilder::new(self.handle.clone())
    }
}