Struct aws_sdk_cleanroomsml::operation::put_configured_audience_model_policy::builders::PutConfiguredAudienceModelPolicyFluentBuilder
source · pub struct PutConfiguredAudienceModelPolicyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutConfiguredAudienceModelPolicy
.
Create or update the resource policy for a configured audience model.
Implementations§
source§impl PutConfiguredAudienceModelPolicyFluentBuilder
impl PutConfiguredAudienceModelPolicyFluentBuilder
sourcepub fn as_input(&self) -> &PutConfiguredAudienceModelPolicyInputBuilder
pub fn as_input(&self) -> &PutConfiguredAudienceModelPolicyInputBuilder
Access the PutConfiguredAudienceModelPolicy as a reference.
sourcepub async fn send(
self
) -> Result<PutConfiguredAudienceModelPolicyOutput, SdkError<PutConfiguredAudienceModelPolicyError, HttpResponse>>
pub async fn send( self ) -> Result<PutConfiguredAudienceModelPolicyOutput, SdkError<PutConfiguredAudienceModelPolicyError, 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<PutConfiguredAudienceModelPolicyOutput, PutConfiguredAudienceModelPolicyError, Self>
pub fn customize( self ) -> CustomizableOperation<PutConfiguredAudienceModelPolicyOutput, PutConfiguredAudienceModelPolicyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn configured_audience_model_arn(self, input: impl Into<String>) -> Self
pub fn configured_audience_model_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
sourcepub fn set_configured_audience_model_arn(self, input: Option<String>) -> Self
pub fn set_configured_audience_model_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
sourcepub fn get_configured_audience_model_arn(&self) -> &Option<String>
pub fn get_configured_audience_model_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
sourcepub fn configured_audience_model_policy(self, input: impl Into<String>) -> Self
pub fn configured_audience_model_policy(self, input: impl Into<String>) -> Self
The IAM resource policy.
sourcepub fn set_configured_audience_model_policy(self, input: Option<String>) -> Self
pub fn set_configured_audience_model_policy(self, input: Option<String>) -> Self
The IAM resource policy.
sourcepub fn get_configured_audience_model_policy(&self) -> &Option<String>
pub fn get_configured_audience_model_policy(&self) -> &Option<String>
The IAM resource policy.
sourcepub fn previous_policy_hash(self, input: impl Into<String>) -> Self
pub fn previous_policy_hash(self, input: impl Into<String>) -> Self
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
sourcepub fn set_previous_policy_hash(self, input: Option<String>) -> Self
pub fn set_previous_policy_hash(self, input: Option<String>) -> Self
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
sourcepub fn get_previous_policy_hash(&self) -> &Option<String>
pub fn get_previous_policy_hash(&self) -> &Option<String>
A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
sourcepub fn policy_existence_condition(self, input: PolicyExistenceCondition) -> Self
pub fn policy_existence_condition(self, input: PolicyExistenceCondition) -> Self
Use this to prevent unexpected concurrent modification of the policy.
sourcepub fn set_policy_existence_condition(
self,
input: Option<PolicyExistenceCondition>
) -> Self
pub fn set_policy_existence_condition( self, input: Option<PolicyExistenceCondition> ) -> Self
Use this to prevent unexpected concurrent modification of the policy.
sourcepub fn get_policy_existence_condition(
&self
) -> &Option<PolicyExistenceCondition>
pub fn get_policy_existence_condition( &self ) -> &Option<PolicyExistenceCondition>
Use this to prevent unexpected concurrent modification of the policy.
Trait Implementations§
source§impl Clone for PutConfiguredAudienceModelPolicyFluentBuilder
impl Clone for PutConfiguredAudienceModelPolicyFluentBuilder
source§fn clone(&self) -> PutConfiguredAudienceModelPolicyFluentBuilder
fn clone(&self) -> PutConfiguredAudienceModelPolicyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for PutConfiguredAudienceModelPolicyFluentBuilder
impl !RefUnwindSafe for PutConfiguredAudienceModelPolicyFluentBuilder
impl Send for PutConfiguredAudienceModelPolicyFluentBuilder
impl Sync for PutConfiguredAudienceModelPolicyFluentBuilder
impl Unpin for PutConfiguredAudienceModelPolicyFluentBuilder
impl !UnwindSafe for PutConfiguredAudienceModelPolicyFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more