Struct aws_sdk_securityhub::operation::batch_get_standards_control_associations::builders::BatchGetStandardsControlAssociationsFluentBuilder
source · pub struct BatchGetStandardsControlAssociationsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetStandardsControlAssociations
.
For a batch of security controls and standards, identifies whether each control is currently enabled or disabled in a standard.
Implementations§
source§impl BatchGetStandardsControlAssociationsFluentBuilder
impl BatchGetStandardsControlAssociationsFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetStandardsControlAssociationsInputBuilder
pub fn as_input(&self) -> &BatchGetStandardsControlAssociationsInputBuilder
Access the BatchGetStandardsControlAssociations as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetStandardsControlAssociationsOutput, SdkError<BatchGetStandardsControlAssociationsError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetStandardsControlAssociationsOutput, SdkError<BatchGetStandardsControlAssociationsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<BatchGetStandardsControlAssociationsOutput, BatchGetStandardsControlAssociationsError>, SdkError<BatchGetStandardsControlAssociationsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<BatchGetStandardsControlAssociationsOutput, BatchGetStandardsControlAssociationsError>, SdkError<BatchGetStandardsControlAssociationsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn standards_control_association_ids(
self,
input: StandardsControlAssociationId
) -> Self
pub fn standards_control_association_ids( self, input: StandardsControlAssociationId ) -> Self
Appends an item to StandardsControlAssociationIds
.
To override the contents of this collection use set_standards_control_association_ids
.
An array with one or more objects that includes a security control (identified with SecurityControlId
, SecurityControlArn
, 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.
sourcepub fn set_standards_control_association_ids(
self,
input: Option<Vec<StandardsControlAssociationId>>
) -> Self
pub fn set_standards_control_association_ids( self, input: Option<Vec<StandardsControlAssociationId>> ) -> Self
An array with one or more objects that includes a security control (identified with SecurityControlId
, SecurityControlArn
, 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.
sourcepub fn get_standards_control_association_ids(
&self
) -> &Option<Vec<StandardsControlAssociationId>>
pub fn get_standards_control_association_ids( &self ) -> &Option<Vec<StandardsControlAssociationId>>
An array with one or more objects that includes a security control (identified with SecurityControlId
, SecurityControlArn
, 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.
Trait Implementations§
source§impl Clone for BatchGetStandardsControlAssociationsFluentBuilder
impl Clone for BatchGetStandardsControlAssociationsFluentBuilder
source§fn clone(&self) -> BatchGetStandardsControlAssociationsFluentBuilder
fn clone(&self) -> BatchGetStandardsControlAssociationsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more