aws_sdk_devicefarm/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 /// - [`arn(impl Into<String>)`](crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the instance profile you are requesting to delete.</p><br>
7 /// - On success, responds with [`DeleteInstanceProfileOutput`](crate::operation::delete_instance_profile::DeleteInstanceProfileOutput)
8 /// - On failure, responds with [`SdkError<DeleteInstanceProfileError>`](crate::operation::delete_instance_profile::DeleteInstanceProfileError)
9 pub fn delete_instance_profile(&self) -> crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder {
10 crate::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder::new(self.handle.clone())
11 }
12}