aws_sdk_databasemigration/client/delete_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 [`DeleteInstanceProfile`](crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_profile_identifier(impl Into<String>)`](crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder::instance_profile_identifier) / [`set_instance_profile_identifier(Option<String>)`](crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder::set_instance_profile_identifier):<br>required: **true**<br><p>The identifier of the instance profile to delete.</p><br>
7 /// - On success, responds with [`DeleteInstanceProfileOutput`](crate::operation::delete_instance_profile::DeleteInstanceProfileOutput) with field(s):
8 /// - [`instance_profile(Option<InstanceProfile>)`](crate::operation::delete_instance_profile::DeleteInstanceProfileOutput::instance_profile): <p>The instance profile that was deleted.</p>
9 /// - On failure, responds with [`SdkError<DeleteInstanceProfileError>`](crate::operation::delete_instance_profile::DeleteInstanceProfileError)
10 pub fn delete_instance_profile(&self) -> crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder {
11 crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder::new(self.handle.clone())
12 }
13}