aws_sdk_iam/client/remove_role_from_instance_profile.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`RemoveRoleFromInstanceProfile`](crate::operation::remove_role_from_instance_profile::builders::RemoveRoleFromInstanceProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_profile_name(impl Into<String>)`](crate::operation::remove_role_from_instance_profile::builders::RemoveRoleFromInstanceProfileFluentBuilder::instance_profile_name) / [`set_instance_profile_name(Option<String>)`](crate::operation::remove_role_from_instance_profile::builders::RemoveRoleFromInstanceProfileFluentBuilder::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>
7 /// - [`role_name(impl Into<String>)`](crate::operation::remove_role_from_instance_profile::builders::RemoveRoleFromInstanceProfileFluentBuilder::role_name) / [`set_role_name(Option<String>)`](crate::operation::remove_role_from_instance_profile::builders::RemoveRoleFromInstanceProfileFluentBuilder::set_role_name):<br>required: **true**<br><p>The name of the role to remove.</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>
8 /// - On success, responds with [`RemoveRoleFromInstanceProfileOutput`](crate::operation::remove_role_from_instance_profile::RemoveRoleFromInstanceProfileOutput)
9 /// - On failure, responds with [`SdkError<RemoveRoleFromInstanceProfileError>`](crate::operation::remove_role_from_instance_profile::RemoveRoleFromInstanceProfileError)
10 pub fn remove_role_from_instance_profile(
11 &self,
12 ) -> crate::operation::remove_role_from_instance_profile::builders::RemoveRoleFromInstanceProfileFluentBuilder {
13 crate::operation::remove_role_from_instance_profile::builders::RemoveRoleFromInstanceProfileFluentBuilder::new(self.handle.clone())
14 }
15}