Struct aws_sdk_ecr::client::fluent_builders::BatchGetImage
source · [−]pub struct BatchGetImage { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetImage
.
Gets detailed information for an image. Images are specified with either an imageTag
or imageDigest
.
When an image is pulled, the BatchGetImage API is called once to retrieve the image manifest.
Implementations
sourceimpl BatchGetImage
impl BatchGetImage
sourcepub async fn send(
self
) -> Result<BatchGetImageOutput, SdkError<BatchGetImageError>>
pub async fn send(
self
) -> Result<BatchGetImageOutput, SdkError<BatchGetImageError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The repository that contains the images to describe.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The repository that contains the images to describe.
sourcepub fn image_ids(self, input: ImageIdentifier) -> Self
pub fn image_ids(self, input: ImageIdentifier) -> Self
Appends an item to imageIds
.
To override the contents of this collection use set_image_ids
.
A list of image ID references that correspond to images to describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
sourcepub fn set_image_ids(self, input: Option<Vec<ImageIdentifier>>) -> Self
pub fn set_image_ids(self, input: Option<Vec<ImageIdentifier>>) -> Self
A list of image ID references that correspond to images to describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
sourcepub fn accepted_media_types(self, input: impl Into<String>) -> Self
pub fn accepted_media_types(self, input: impl Into<String>) -> Self
Appends an item to acceptedMediaTypes
.
To override the contents of this collection use set_accepted_media_types
.
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
sourcepub fn set_accepted_media_types(self, input: Option<Vec<String>>) -> Self
pub fn set_accepted_media_types(self, input: Option<Vec<String>>) -> Self
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
Trait Implementations
sourceimpl Clone for BatchGetImage
impl Clone for BatchGetImage
sourcefn clone(&self) -> BatchGetImage
fn clone(&self) -> BatchGetImage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for BatchGetImage
impl Send for BatchGetImage
impl Sync for BatchGetImage
impl Unpin for BatchGetImage
impl !UnwindSafe for BatchGetImage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more