aws_sdk_securityhub/client/batch_update_standards_control_associations.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 [`BatchUpdateStandardsControlAssociations`](crate::operation::batch_update_standards_control_associations::builders::BatchUpdateStandardsControlAssociationsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`standards_control_association_updates(StandardsControlAssociationUpdate)`](crate::operation::batch_update_standards_control_associations::builders::BatchUpdateStandardsControlAssociationsFluentBuilder::standards_control_association_updates) / [`set_standards_control_association_updates(Option<Vec::<StandardsControlAssociationUpdate>>)`](crate::operation::batch_update_standards_control_associations::builders::BatchUpdateStandardsControlAssociationsFluentBuilder::set_standards_control_association_updates):<br>required: **true**<br><p>Updates the enablement status of a security control in a specified standard.</p> <p>Calls to this operation return a <code>RESOURCE_NOT_FOUND_EXCEPTION</code> error when the standard subscription for the control has <code>StandardsControlsUpdatable</code> value <code>NOT_READY_FOR_UPDATES</code>.</p><br>
7 /// - On success, responds with [`BatchUpdateStandardsControlAssociationsOutput`](crate::operation::batch_update_standards_control_associations::BatchUpdateStandardsControlAssociationsOutput) with field(s):
8 /// - [`unprocessed_association_updates(Option<Vec::<UnprocessedStandardsControlAssociationUpdate>>)`](crate::operation::batch_update_standards_control_associations::BatchUpdateStandardsControlAssociationsOutput::unprocessed_association_updates): <p>A security control (identified with <code>SecurityControlId</code>, <code>SecurityControlArn</code>, or a mix of both parameters) whose enablement status in a specified standard couldn't be updated.</p>
9 /// - On failure, responds with [`SdkError<BatchUpdateStandardsControlAssociationsError>`](crate::operation::batch_update_standards_control_associations::BatchUpdateStandardsControlAssociationsError)
10 pub fn batch_update_standards_control_associations(
11 &self,
12 ) -> crate::operation::batch_update_standards_control_associations::builders::BatchUpdateStandardsControlAssociationsFluentBuilder {
13 crate::operation::batch_update_standards_control_associations::builders::BatchUpdateStandardsControlAssociationsFluentBuilder::new(
14 self.handle.clone(),
15 )
16 }
17}