[][src]Struct rusoto_ecr::SetRepositoryPolicyRequest

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. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide.

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 Clone for SetRepositoryPolicyRequest[src]

impl Debug for SetRepositoryPolicyRequest[src]

impl Default for SetRepositoryPolicyRequest[src]

impl PartialEq<SetRepositoryPolicyRequest> for SetRepositoryPolicyRequest[src]

impl Serialize for SetRepositoryPolicyRequest[src]

impl StructuralPartialEq for SetRepositoryPolicyRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.