aws_sdk_ec2/client/
delete_capacity_manager_data_export.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 [`DeleteCapacityManagerDataExport`](crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    /// - On success, responds with [`DeleteCapacityManagerDataExportOutput`](crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportOutput) with field(s):
9    ///   - [`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>
10    /// - On failure, responds with [`SdkError<DeleteCapacityManagerDataExportError>`](crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError)
11    pub fn delete_capacity_manager_data_export(
12        &self,
13    ) -> crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder {
14        crate::operation::delete_capacity_manager_data_export::builders::DeleteCapacityManagerDataExportFluentBuilder::new(self.handle.clone())
15    }
16}