Struct aws_sdk_codeartifact::input::PutDomainPermissionsPolicyInput [−][src]
#[non_exhaustive]pub struct PutDomainPermissionsPolicyInput {
pub domain: Option<String>,
pub domain_owner: Option<String>,
pub policy_revision: Option<String>,
pub policy_document: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain: Option<String>
The name of the domain on which to set the resource policy.
domain_owner: Option<String>
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
policy_revision: Option<String>
The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
policy_document: Option<String>
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutDomainPermissionsPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutDomainPermissionsPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutDomainPermissionsPolicy
>
Creates a new builder-style object to manufacture PutDomainPermissionsPolicyInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for PutDomainPermissionsPolicyInput
impl Sync for PutDomainPermissionsPolicyInput
impl Unpin for PutDomainPermissionsPolicyInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more