Struct aws_sdk_ecr::input::PutLifecyclePolicyInput [−][src]
#[non_exhaustive]pub struct PutLifecyclePolicyInput {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub lifecycle_policy_text: 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.registry_id: Option<String>The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
repository_name: Option<String>The name of the repository to receive the policy.
lifecycle_policy_text: Option<String>The JSON repository policy text to apply to the repository.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutLifecyclePolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutLifecyclePolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutLifecyclePolicy>
Creates a new builder-style object to manufacture PutLifecyclePolicyInput
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
The name of the repository to receive the policy.
The JSON repository policy text to apply to the repository.
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 RefUnwindSafe for PutLifecyclePolicyInput
impl Send for PutLifecyclePolicyInput
impl Sync for PutLifecyclePolicyInput
impl Unpin for PutLifecyclePolicyInput
impl UnwindSafe for PutLifecyclePolicyInput
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
