Struct aws_sdk_securityhub::operation::get_configuration_policy_association::builders::GetConfigurationPolicyAssociationFluentBuilder
source · pub struct GetConfigurationPolicyAssociationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetConfigurationPolicyAssociation
.
Returns the association between a configuration and a target account, organizational unit, or the root. The configuration can be a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.
Implementations§
source§impl GetConfigurationPolicyAssociationFluentBuilder
impl GetConfigurationPolicyAssociationFluentBuilder
sourcepub fn as_input(&self) -> &GetConfigurationPolicyAssociationInputBuilder
pub fn as_input(&self) -> &GetConfigurationPolicyAssociationInputBuilder
Access the GetConfigurationPolicyAssociation as a reference.
sourcepub async fn send(
self
) -> Result<GetConfigurationPolicyAssociationOutput, SdkError<GetConfigurationPolicyAssociationError, HttpResponse>>
pub async fn send( self ) -> Result<GetConfigurationPolicyAssociationOutput, SdkError<GetConfigurationPolicyAssociationError, 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<GetConfigurationPolicyAssociationOutput, GetConfigurationPolicyAssociationError, Self>
pub fn customize( self ) -> CustomizableOperation<GetConfigurationPolicyAssociationOutput, GetConfigurationPolicyAssociationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn target(self, input: Target) -> Self
pub fn target(self, input: Target) -> Self
The target account ID, organizational unit ID, or the root ID to retrieve the association for.
sourcepub fn set_target(self, input: Option<Target>) -> Self
pub fn set_target(self, input: Option<Target>) -> Self
The target account ID, organizational unit ID, or the root ID to retrieve the association for.
sourcepub fn get_target(&self) -> &Option<Target>
pub fn get_target(&self) -> &Option<Target>
The target account ID, organizational unit ID, or the root ID to retrieve the association for.
Trait Implementations§
source§impl Clone for GetConfigurationPolicyAssociationFluentBuilder
impl Clone for GetConfigurationPolicyAssociationFluentBuilder
source§fn clone(&self) -> GetConfigurationPolicyAssociationFluentBuilder
fn clone(&self) -> GetConfigurationPolicyAssociationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more