aws_sdk_imagebuilder/client/
delete_infrastructure_configuration.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 [`DeleteInfrastructureConfiguration`](crate::operation::delete_infrastructure_configuration::builders::DeleteInfrastructureConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`infrastructure_configuration_arn(impl Into<String>)`](crate::operation::delete_infrastructure_configuration::builders::DeleteInfrastructureConfigurationFluentBuilder::infrastructure_configuration_arn) / [`set_infrastructure_configuration_arn(Option<String>)`](crate::operation::delete_infrastructure_configuration::builders::DeleteInfrastructureConfigurationFluentBuilder::set_infrastructure_configuration_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the infrastructure configuration to delete.</p><br>
7    /// - On success, responds with [`DeleteInfrastructureConfigurationOutput`](crate::operation::delete_infrastructure_configuration::DeleteInfrastructureConfigurationOutput) with field(s):
8    ///   - [`request_id(Option<String>)`](crate::operation::delete_infrastructure_configuration::DeleteInfrastructureConfigurationOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
9    ///   - [`infrastructure_configuration_arn(Option<String>)`](crate::operation::delete_infrastructure_configuration::DeleteInfrastructureConfigurationOutput::infrastructure_configuration_arn): <p>The Amazon Resource Name (ARN) of the infrastructure configuration that was deleted.</p>
10    /// - On failure, responds with [`SdkError<DeleteInfrastructureConfigurationError>`](crate::operation::delete_infrastructure_configuration::DeleteInfrastructureConfigurationError)
11    pub fn delete_infrastructure_configuration(
12        &self,
13    ) -> crate::operation::delete_infrastructure_configuration::builders::DeleteInfrastructureConfigurationFluentBuilder {
14        crate::operation::delete_infrastructure_configuration::builders::DeleteInfrastructureConfigurationFluentBuilder::new(self.handle.clone())
15    }
16}