Struct aws_sdk_securityhub::operation::batch_get_configuration_policy_associations::builders::BatchGetConfigurationPolicyAssociationsFluentBuilder
source · pub struct BatchGetConfigurationPolicyAssociationsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetConfigurationPolicyAssociations
.
Returns associations between an Security Hub configuration and a batch of target accounts, organizational units, or the root. Only the Security Hub delegated administrator can invoke this operation from the home Region. A configuration can refer to a configuration policy or to a self-managed configuration.
Implementations§
source§impl BatchGetConfigurationPolicyAssociationsFluentBuilder
impl BatchGetConfigurationPolicyAssociationsFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetConfigurationPolicyAssociationsInputBuilder
pub fn as_input(&self) -> &BatchGetConfigurationPolicyAssociationsInputBuilder
Access the BatchGetConfigurationPolicyAssociations as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetConfigurationPolicyAssociationsOutput, SdkError<BatchGetConfigurationPolicyAssociationsError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetConfigurationPolicyAssociationsOutput, SdkError<BatchGetConfigurationPolicyAssociationsError, 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 fn customize(
self
) -> CustomizableOperation<BatchGetConfigurationPolicyAssociationsOutput, BatchGetConfigurationPolicyAssociationsError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchGetConfigurationPolicyAssociationsOutput, BatchGetConfigurationPolicyAssociationsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn configuration_policy_association_identifiers(
self,
input: ConfigurationPolicyAssociation
) -> Self
pub fn configuration_policy_association_identifiers( self, input: ConfigurationPolicyAssociation ) -> Self
Appends an item to ConfigurationPolicyAssociationIdentifiers
.
To override the contents of this collection use set_configuration_policy_association_identifiers
.
Specifies one or more target account IDs, organizational unit (OU) IDs, or the root ID to retrieve associations for.
sourcepub fn set_configuration_policy_association_identifiers(
self,
input: Option<Vec<ConfigurationPolicyAssociation>>
) -> Self
pub fn set_configuration_policy_association_identifiers( self, input: Option<Vec<ConfigurationPolicyAssociation>> ) -> Self
Specifies one or more target account IDs, organizational unit (OU) IDs, or the root ID to retrieve associations for.
sourcepub fn get_configuration_policy_association_identifiers(
&self
) -> &Option<Vec<ConfigurationPolicyAssociation>>
pub fn get_configuration_policy_association_identifiers( &self ) -> &Option<Vec<ConfigurationPolicyAssociation>>
Specifies one or more target account IDs, organizational unit (OU) IDs, or the root ID to retrieve associations for.
Trait Implementations§
source§impl Clone for BatchGetConfigurationPolicyAssociationsFluentBuilder
impl Clone for BatchGetConfigurationPolicyAssociationsFluentBuilder
source§fn clone(&self) -> BatchGetConfigurationPolicyAssociationsFluentBuilder
fn clone(&self) -> BatchGetConfigurationPolicyAssociationsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more