Struct aws_sdk_codeartifact::input::PutRepositoryPermissionsPolicyInput [−][src]
#[non_exhaustive]pub struct PutRepositoryPermissionsPolicyInput {
pub domain: Option<String>,
pub domain_owner: Option<String>,
pub repository: 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 containing the repository to set the resource policy on.
domain_owner: Option<String>
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
repository: Option<String>
The name of the repository to set the resource policy on.
policy_revision: Option<String>
Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository'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 repository.
Implementations
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRepositoryPermissionsPolicy, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRepositoryPermissionsPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutRepositoryPermissionsPolicy
>
Creates a new builder-style object to manufacture PutRepositoryPermissionsPolicyInput
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 PutRepositoryPermissionsPolicyInput
impl Sync for PutRepositoryPermissionsPolicyInput
impl Unpin for PutRepositoryPermissionsPolicyInput
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