Struct aws_sdk_ecrpublic::input::PutImageInput [−][src]
#[non_exhaustive]pub struct PutImageInput {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub image_manifest: Option<String>,
pub image_manifest_media_type: Option<String>,
pub image_tag: Option<String>,
pub image_digest: 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 AWS account ID associated with the public registry that contains the repository in which to put the image. If you do not specify a registry, the default public registry is assumed.
repository_name: Option<String>
The name of the repository in which to put the image.
image_manifest: Option<String>
The image manifest corresponding to the image to be uploaded.
image_manifest_media_type: Option<String>
The media type of the image manifest. If you push an image manifest that does not
contain the mediaType
field, you must specify the
imageManifestMediaType
in the request.
image_tag: Option<String>
The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
image_digest: Option<String>
The image digest of the image manifest corresponding to the image.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutImage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutImage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutImage
>
Creates a new builder-style object to manufacture PutImageInput
The AWS account ID associated with the public registry that contains the repository in which to put the image. If you do not specify a registry, the default public registry is assumed.
The name of the repository in which to put the image.
The image manifest corresponding to the image to be uploaded.
The media type of the image manifest. If you push an image manifest that does not
contain the mediaType
field, you must specify the
imageManifestMediaType
in the request.
The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
The image digest of the image manifest corresponding to the image.
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 PutImageInput
impl Send for PutImageInput
impl Sync for PutImageInput
impl Unpin for PutImageInput
impl UnwindSafe for PutImageInput
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