// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AddRoleToInstanceProfile`](crate::operation::add_role_to_instance_profile::builders::AddRoleToInstanceProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_profile_name(impl Into<String>)`](crate::operation::add_role_to_instance_profile::builders::AddRoleToInstanceProfileFluentBuilder::instance_profile_name) / [`set_instance_profile_name(Option<String>)`](crate::operation::add_role_to_instance_profile::builders::AddRoleToInstanceProfileFluentBuilder::set_instance_profile_name):<br>required: **true**<br><p>The name of the instance profile to update.</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>
/// - [`role_name(impl Into<String>)`](crate::operation::add_role_to_instance_profile::builders::AddRoleToInstanceProfileFluentBuilder::role_name) / [`set_role_name(Option<String>)`](crate::operation::add_role_to_instance_profile::builders::AddRoleToInstanceProfileFluentBuilder::set_role_name):<br>required: **true**<br><p>The name of the role to add.</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>
/// - On success, responds with [`AddRoleToInstanceProfileOutput`](crate::operation::add_role_to_instance_profile::AddRoleToInstanceProfileOutput)
/// - On failure, responds with [`SdkError<AddRoleToInstanceProfileError>`](crate::operation::add_role_to_instance_profile::AddRoleToInstanceProfileError)
pub fn add_role_to_instance_profile(&self) -> crate::operation::add_role_to_instance_profile::builders::AddRoleToInstanceProfileFluentBuilder {
crate::operation::add_role_to_instance_profile::builders::AddRoleToInstanceProfileFluentBuilder::new(self.handle.clone())
}
}