aws_sdk_databasemigration/client/
delete_instance_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteInstanceProfile`](crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DeleteInstanceProfileOutput`](crate::operation::delete_instance_profile::DeleteInstanceProfileOutput) with field(s):
    ///   - [`instance_profile(Option<InstanceProfile>)`](crate::operation::delete_instance_profile::DeleteInstanceProfileOutput::instance_profile): <p>The instance profile that was deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteInstanceProfileError>`](crate::operation::delete_instance_profile::DeleteInstanceProfileError)
    pub fn delete_instance_profile(&self) -> crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder {
        crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder::new(self.handle.clone())
    }
}