Struct rusoto_ecr::SetRepositoryPolicyRequest
[−]
[src]
pub struct SetRepositoryPolicyRequest { pub force: Option<bool>, pub policy_text: String, pub registry_id: Option<String>, pub repository_name: String, }
Fields
force: Option<bool>
If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.
policy_text: String
The JSON repository policy text to apply to the repository.
registry_id: Option<String>
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
repository_name: String
The name of the repository to receive the policy.
Trait Implementations
impl Default for SetRepositoryPolicyRequest
[src]
fn default() -> SetRepositoryPolicyRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for SetRepositoryPolicyRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SetRepositoryPolicyRequest
[src]
fn clone(&self) -> SetRepositoryPolicyRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more