Struct aws_sdk_ecr::operation::validate_pull_through_cache_rule::ValidatePullThroughCacheRuleOutput
source · #[non_exhaustive]pub struct ValidatePullThroughCacheRuleOutput {
pub ecr_repository_prefix: Option<String>,
pub registry_id: Option<String>,
pub upstream_registry_url: Option<String>,
pub credential_arn: Option<String>,
pub is_valid: bool,
pub failure: Option<String>,
/* private fields */
}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.ecr_repository_prefix: Option<String>The Amazon ECR repository prefix associated with the pull through cache rule.
registry_id: Option<String>The registry ID associated with the request.
upstream_registry_url: Option<String>The upstream registry URL associated with the pull through cache rule.
credential_arn: Option<String>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
is_valid: boolWhether or not the pull through cache rule was validated. If true, Amazon ECR was able to reach the upstream registry and authentication was successful. If false, there was an issue and validation failed. The failure reason indicates the cause.
failure: Option<String>The reason the validation failed. For more details about possible causes and how to address them, see Using pull through cache rules in the Amazon Elastic Container Registry User Guide.
Implementations§
source§impl ValidatePullThroughCacheRuleOutput
impl ValidatePullThroughCacheRuleOutput
sourcepub fn ecr_repository_prefix(&self) -> Option<&str>
pub fn ecr_repository_prefix(&self) -> Option<&str>
The Amazon ECR repository prefix associated with the pull through cache rule.
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The registry ID associated with the request.
sourcepub fn upstream_registry_url(&self) -> Option<&str>
pub fn upstream_registry_url(&self) -> Option<&str>
The upstream registry URL associated with the pull through cache rule.
sourcepub fn credential_arn(&self) -> Option<&str>
pub fn credential_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
sourcepub fn is_valid(&self) -> bool
pub fn is_valid(&self) -> bool
Whether or not the pull through cache rule was validated. If true, Amazon ECR was able to reach the upstream registry and authentication was successful. If false, there was an issue and validation failed. The failure reason indicates the cause.
sourcepub fn failure(&self) -> Option<&str>
pub fn failure(&self) -> Option<&str>
The reason the validation failed. For more details about possible causes and how to address them, see Using pull through cache rules in the Amazon Elastic Container Registry User Guide.
source§impl ValidatePullThroughCacheRuleOutput
impl ValidatePullThroughCacheRuleOutput
sourcepub fn builder() -> ValidatePullThroughCacheRuleOutputBuilder
pub fn builder() -> ValidatePullThroughCacheRuleOutputBuilder
Creates a new builder-style object to manufacture ValidatePullThroughCacheRuleOutput.
Trait Implementations§
source§impl Clone for ValidatePullThroughCacheRuleOutput
impl Clone for ValidatePullThroughCacheRuleOutput
source§fn clone(&self) -> ValidatePullThroughCacheRuleOutput
fn clone(&self) -> ValidatePullThroughCacheRuleOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ValidatePullThroughCacheRuleOutput
impl PartialEq for ValidatePullThroughCacheRuleOutput
source§fn eq(&self, other: &ValidatePullThroughCacheRuleOutput) -> bool
fn eq(&self, other: &ValidatePullThroughCacheRuleOutput) -> bool
self and other values to be equal, and is used by ==.source§impl RequestId for ValidatePullThroughCacheRuleOutput
impl RequestId for ValidatePullThroughCacheRuleOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ValidatePullThroughCacheRuleOutput
Auto Trait Implementations§
impl Freeze for ValidatePullThroughCacheRuleOutput
impl RefUnwindSafe for ValidatePullThroughCacheRuleOutput
impl Send for ValidatePullThroughCacheRuleOutput
impl Sync for ValidatePullThroughCacheRuleOutput
impl Unpin for ValidatePullThroughCacheRuleOutput
impl UnwindSafe for ValidatePullThroughCacheRuleOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more