aws-sdk-ec2 1.222.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
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 [`DeleteCapacityManagerDataExport`](crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`capacity_manager_data_export_id(impl Into<String>)`](crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder::capacity_manager_data_export_id) / [`set_capacity_manager_data_export_id(Option<String>)`](crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder::set_capacity_manager_data_export_id):<br>required: **true**<br><p>The unique identifier of the data export configuration to delete.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    /// - On success, responds with [`DeleteCapacityManagerDataExportOutput`](crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportOutput) with field(s):
    ///   - [`capacity_manager_data_export_id(Option<String>)`](crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportOutput::capacity_manager_data_export_id): <p>The unique identifier of the deleted data export configuration.</p>
    /// - On failure, responds with [`SdkError<DeleteCapacityManagerDataExportError>`](crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError)
    pub fn delete_capacity_manager_data_export(
        &self,
    ) -> crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder {
        crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder::new(self.handle.clone())
    }
}