aws_sdk_imagebuilder/client/
delete_infrastructure_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteInfrastructureConfiguration`](crate::operation::delete_infrastructure_configuration::builders::DeleteInfrastructureConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DeleteInfrastructureConfigurationOutput`](crate::operation::delete_infrastructure_configuration::DeleteInfrastructureConfigurationOutput) with field(s):
    ///   - [`request_id(Option<String>)`](crate::operation::delete_infrastructure_configuration::DeleteInfrastructureConfigurationOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DeleteInfrastructureConfigurationError>`](crate::operation::delete_infrastructure_configuration::DeleteInfrastructureConfigurationError)
    pub fn delete_infrastructure_configuration(
        &self,
    ) -> crate::operation::delete_infrastructure_configuration::builders::DeleteInfrastructureConfigurationFluentBuilder {
        crate::operation::delete_infrastructure_configuration::builders::DeleteInfrastructureConfigurationFluentBuilder::new(self.handle.clone())
    }
}