// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateWorkloadIdentity`](crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder::set_name):<br>required: **true**<br><p>The name of the workload identity. The name must be unique within your account.</p><br>
/// - [`allowed_resource_oauth2_return_urls(impl Into<String>)`](crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder::allowed_resource_oauth2_return_urls) / [`set_allowed_resource_oauth2_return_urls(Option<Vec::<String>>)`](crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder::set_allowed_resource_oauth2_return_urls):<br>required: **false**<br><p>The list of allowed OAuth2 return URLs for resources associated with this workload identity.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder::set_tags):<br>required: **false**<br><p>A map of tag keys and values to assign to the workload identity. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p><br>
/// - On success, responds with [`CreateWorkloadIdentityOutput`](crate::operation::create_workload_identity::CreateWorkloadIdentityOutput) with field(s):
/// - [`name(String)`](crate::operation::create_workload_identity::CreateWorkloadIdentityOutput::name): <p>The name of the workload identity.</p>
/// - [`workload_identity_arn(String)`](crate::operation::create_workload_identity::CreateWorkloadIdentityOutput::workload_identity_arn): <p>The Amazon Resource Name (ARN) of the workload identity.</p>
/// - [`allowed_resource_oauth2_return_urls(Option<Vec::<String>>)`](crate::operation::create_workload_identity::CreateWorkloadIdentityOutput::allowed_resource_oauth2_return_urls): <p>The list of allowed OAuth2 return URLs for resources associated with this workload identity.</p>
/// - On failure, responds with [`SdkError<CreateWorkloadIdentityError>`](crate::operation::create_workload_identity::CreateWorkloadIdentityError)
pub fn create_workload_identity(&self) -> crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder {
crate::operation::create_workload_identity::builders::CreateWorkloadIdentityFluentBuilder::new(self.handle.clone())
}
}