Struct aws_sdk_databasemigration::operation::delete_instance_profile::builders::DeleteInstanceProfileFluentBuilder
source · pub struct DeleteInstanceProfileFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteInstanceProfile
.
Deletes the specified instance profile.
All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.
Implementations§
source§impl DeleteInstanceProfileFluentBuilder
impl DeleteInstanceProfileFluentBuilder
sourcepub fn as_input(&self) -> &DeleteInstanceProfileInputBuilder
pub fn as_input(&self) -> &DeleteInstanceProfileInputBuilder
Access the DeleteInstanceProfile as a reference.
sourcepub async fn send(
self
) -> Result<DeleteInstanceProfileOutput, SdkError<DeleteInstanceProfileError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteInstanceProfileOutput, SdkError<DeleteInstanceProfileError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteInstanceProfileOutput, DeleteInstanceProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteInstanceProfileOutput, DeleteInstanceProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn instance_profile_identifier(self, input: impl Into<String>) -> Self
pub fn instance_profile_identifier(self, input: impl Into<String>) -> Self
The identifier of the instance profile to delete.
sourcepub fn set_instance_profile_identifier(self, input: Option<String>) -> Self
pub fn set_instance_profile_identifier(self, input: Option<String>) -> Self
The identifier of the instance profile to delete.
sourcepub fn get_instance_profile_identifier(&self) -> &Option<String>
pub fn get_instance_profile_identifier(&self) -> &Option<String>
The identifier of the instance profile to delete.
Trait Implementations§
source§impl Clone for DeleteInstanceProfileFluentBuilder
impl Clone for DeleteInstanceProfileFluentBuilder
source§fn clone(&self) -> DeleteInstanceProfileFluentBuilder
fn clone(&self) -> DeleteInstanceProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more