1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::delete_conformance_pack::_delete_conformance_pack_output::DeleteConformancePackOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::delete_conformance_pack::_delete_conformance_pack_input::DeleteConformancePackInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::delete_conformance_pack::_delete_conformance_pack_output::DeleteConformancePackOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::delete_conformance_pack::builders::DeleteConformancePackInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::delete_conformance_pack::DeleteConformancePackOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::delete_conformance_pack::DeleteConformancePackError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.delete_conformance_pack();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DeleteConformancePack`.
|
24 24 | ///
|
25 25 | /// <p>Deletes the specified conformance pack and all the Config rules, remediation actions, and all evaluation results within that conformance pack.</p>
|
26 26 | /// <p>Config sets the conformance pack to <code>DELETE_IN_PROGRESS</code> until the deletion is complete. You cannot update a conformance pack while it is in this state.</p><note>
|
27 27 | /// <p><b>Recommendation: Consider excluding the <code>AWS::Config::ResourceCompliance</code> resource type from recording before deleting rules</b></p>
|
28 28 | /// <p>Deleting rules creates configuration items (CIs) for <code>AWS::Config::ResourceCompliance</code> that can affect your costs for the configuration recorder. If you are deleting rules which evaluate a large number of resource types, this can lead to a spike in the number of CIs recorded.</p>
|
29 29 | /// <p>To avoid the associated costs, you can opt to disable recording for the <code>AWS::Config::ResourceCompliance</code> resource type before deleting rules, and re-enable recording after the rules have been deleted.</p>
|
30 30 | /// <p>However, since deleting rules is an asynchronous process, it might take an hour or more to complete. During the time when recording is disabled for <code>AWS::Config::ResourceCompliance</code>, rule evaluations will not be recorded in the associated resource’s history.</p>
|
31 31 | /// </note>
|
32 32 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
33 33 | pub struct DeleteConformancePackFluentBuilder {
|
34 34 | handle: ::std::sync::Arc<crate::client::Handle>,
|
35 35 | inner: crate::operation::delete_conformance_pack::builders::DeleteConformancePackInputBuilder,
|