aws_sdk_securityhub/client/batch_get_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 [`BatchGetStandardsControlAssociations`](crate::operation::batch_get_standards_control_associations::builders::BatchGetStandardsControlAssociationsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`standards_control_association_ids(StandardsControlAssociationId)`](crate::operation::batch_get_standards_control_associations::builders::BatchGetStandardsControlAssociationsFluentBuilder::standards_control_association_ids) / [`set_standards_control_association_ids(Option<Vec::<StandardsControlAssociationId>>)`](crate::operation::batch_get_standards_control_associations::builders::BatchGetStandardsControlAssociationsFluentBuilder::set_standards_control_association_ids):<br>required: **true**<br><p>An array with one or more objects that includes a security control (identified with <code>SecurityControlId</code>, <code>SecurityControlArn</code>, or a mix of both parameters) and the Amazon Resource Name (ARN) of a standard. This field is used to query the enablement status of a control in a specified standard. The security control ID or ARN is the same across standards.</p><br>
7 /// - On success, responds with [`BatchGetStandardsControlAssociationsOutput`](crate::operation::batch_get_standards_control_associations::BatchGetStandardsControlAssociationsOutput) with field(s):
8 /// - [`standards_control_association_details(Option<Vec::<StandardsControlAssociationDetail>>)`](crate::operation::batch_get_standards_control_associations::BatchGetStandardsControlAssociationsOutput::standards_control_association_details): <p>Provides the enablement status of a security control in a specified standard and other details for the control in relation to the specified standard.</p>
9 /// - [`unprocessed_associations(Option<Vec::<UnprocessedStandardsControlAssociation>>)`](crate::operation::batch_get_standards_control_associations::BatchGetStandardsControlAssociationsOutput::unprocessed_associations): <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 cannot be returned.</p>
10 /// - On failure, responds with [`SdkError<BatchGetStandardsControlAssociationsError>`](crate::operation::batch_get_standards_control_associations::BatchGetStandardsControlAssociationsError)
11 pub fn batch_get_standards_control_associations(
12 &self,
13 ) -> crate::operation::batch_get_standards_control_associations::builders::BatchGetStandardsControlAssociationsFluentBuilder {
14 crate::operation::batch_get_standards_control_associations::builders::BatchGetStandardsControlAssociationsFluentBuilder::new(
15 self.handle.clone(),
16 )
17 }
18}