// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateWorkloadIdentity`](crate::operation::update_workload_identity::builders::UpdateWorkloadIdentityFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::update_workload_identity::builders::UpdateWorkloadIdentityFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_workload_identity::builders::UpdateWorkloadIdentityFluentBuilder::set_name):<br>required: **true**<br><p>The name of the workload identity to update.</p><br>
/// - [`allowed_resource_oauth2_return_urls(impl Into<String>)`](crate::operation::update_workload_identity::builders::UpdateWorkloadIdentityFluentBuilder::allowed_resource_oauth2_return_urls) / [`set_allowed_resource_oauth2_return_urls(Option<Vec::<String>>)`](crate::operation::update_workload_identity::builders::UpdateWorkloadIdentityFluentBuilder::set_allowed_resource_oauth2_return_urls):<br>required: **false**<br><p>The new list of allowed OAuth2 return URLs for resources associated with this workload identity. This list replaces the existing list.</p><br>
/// - On success, responds with [`UpdateWorkloadIdentityOutput`](crate::operation::update_workload_identity::UpdateWorkloadIdentityOutput) with field(s):
/// - [`name(String)`](crate::operation::update_workload_identity::UpdateWorkloadIdentityOutput::name): <p>The name of the workload identity.</p>
/// - [`workload_identity_arn(String)`](crate::operation::update_workload_identity::UpdateWorkloadIdentityOutput::workload_identity_arn): <p>The Amazon Resource Name (ARN) of the workload identity.</p>
/// - [`allowed_resource_oauth2_return_urls(Option<Vec::<String>>)`](crate::operation::update_workload_identity::UpdateWorkloadIdentityOutput::allowed_resource_oauth2_return_urls): <p>The list of allowed OAuth2 return URLs for resources associated with this workload identity.</p>
/// - [`created_time(DateTime)`](crate::operation::update_workload_identity::UpdateWorkloadIdentityOutput::created_time): <p>The timestamp when the workload identity was created.</p>
/// - [`last_updated_time(DateTime)`](crate::operation::update_workload_identity::UpdateWorkloadIdentityOutput::last_updated_time): <p>The timestamp when the workload identity was last updated.</p>
/// - On failure, responds with [`SdkError<UpdateWorkloadIdentityError>`](crate::operation::update_workload_identity::UpdateWorkloadIdentityError)
pub fn update_workload_identity(&self) -> crate::operation::update_workload_identity::builders::UpdateWorkloadIdentityFluentBuilder {
crate::operation::update_workload_identity::builders::UpdateWorkloadIdentityFluentBuilder::new(self.handle.clone())
}
}