Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.ECRPublic.Types
Contents
- Service Configuration
- Errors
- ImageFailureCode
- LayerAvailability
- LayerFailureCode
- RegistryAliasStatus
- AuthorizationData
- Image
- ImageDetail
- ImageFailure
- ImageIdentifier
- ImageTagDetail
- Layer
- LayerFailure
- ReferencedImageDetail
- Registry
- RegistryAlias
- RegistryCatalogData
- Repository
- RepositoryCatalogData
- RepositoryCatalogDataInput
- Tag
Description
Synopsis
- defaultService :: Service
- _ImageTagAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _LayersNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ReferencedImagesNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _LayerAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedCommandException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLayerException :: AsError a => Getting (First ServiceError) a ServiceError
- _LayerPartTooSmallException :: AsError a => Getting (First ServiceError) a ServiceError
- _ImageDigestDoesNotMatchException :: AsError a => Getting (First ServiceError) a ServiceError
- _ImageNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ImageAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError
- _UploadNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLayerPartException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTagParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _EmptyUploadException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _RegistryNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype ImageFailureCode where
- ImageFailureCode' { }
- pattern ImageFailureCode_ImageNotFound :: ImageFailureCode
- pattern ImageFailureCode_ImageReferencedByManifestList :: ImageFailureCode
- pattern ImageFailureCode_ImageTagDoesNotMatchDigest :: ImageFailureCode
- pattern ImageFailureCode_InvalidImageDigest :: ImageFailureCode
- pattern ImageFailureCode_InvalidImageTag :: ImageFailureCode
- pattern ImageFailureCode_KmsError :: ImageFailureCode
- pattern ImageFailureCode_MissingDigestAndTag :: ImageFailureCode
- newtype LayerAvailability where
- newtype LayerFailureCode where
- newtype RegistryAliasStatus where
- data AuthorizationData = AuthorizationData' {}
- newAuthorizationData :: AuthorizationData
- authorizationData_expiresAt :: Lens' AuthorizationData (Maybe UTCTime)
- authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text)
- data Image = Image' {}
- newImage :: Image
- image_registryId :: Lens' Image (Maybe Text)
- image_imageManifestMediaType :: Lens' Image (Maybe Text)
- image_imageId :: Lens' Image (Maybe ImageIdentifier)
- image_repositoryName :: Lens' Image (Maybe Text)
- image_imageManifest :: Lens' Image (Maybe Text)
- data ImageDetail = ImageDetail' {}
- newImageDetail :: ImageDetail
- imageDetail_registryId :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageTags :: Lens' ImageDetail (Maybe [Text])
- imageDetail_imageManifestMediaType :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageSizeInBytes :: Lens' ImageDetail (Maybe Integer)
- imageDetail_imageDigest :: Lens' ImageDetail (Maybe Text)
- imageDetail_artifactMediaType :: Lens' ImageDetail (Maybe Text)
- imageDetail_imagePushedAt :: Lens' ImageDetail (Maybe UTCTime)
- imageDetail_repositoryName :: Lens' ImageDetail (Maybe Text)
- data ImageFailure = ImageFailure' {}
- newImageFailure :: ImageFailure
- imageFailure_failureReason :: Lens' ImageFailure (Maybe Text)
- imageFailure_failureCode :: Lens' ImageFailure (Maybe ImageFailureCode)
- imageFailure_imageId :: Lens' ImageFailure (Maybe ImageIdentifier)
- data ImageIdentifier = ImageIdentifier' {}
- newImageIdentifier :: ImageIdentifier
- imageIdentifier_imageDigest :: Lens' ImageIdentifier (Maybe Text)
- imageIdentifier_imageTag :: Lens' ImageIdentifier (Maybe Text)
- data ImageTagDetail = ImageTagDetail' {}
- newImageTagDetail :: ImageTagDetail
- imageTagDetail_createdAt :: Lens' ImageTagDetail (Maybe UTCTime)
- imageTagDetail_imageDetail :: Lens' ImageTagDetail (Maybe ReferencedImageDetail)
- imageTagDetail_imageTag :: Lens' ImageTagDetail (Maybe Text)
- data Layer = Layer' {}
- newLayer :: Layer
- layer_mediaType :: Lens' Layer (Maybe Text)
- layer_layerDigest :: Lens' Layer (Maybe Text)
- layer_layerSize :: Lens' Layer (Maybe Integer)
- layer_layerAvailability :: Lens' Layer (Maybe LayerAvailability)
- data LayerFailure = LayerFailure' {}
- newLayerFailure :: LayerFailure
- layerFailure_failureReason :: Lens' LayerFailure (Maybe Text)
- layerFailure_failureCode :: Lens' LayerFailure (Maybe LayerFailureCode)
- layerFailure_layerDigest :: Lens' LayerFailure (Maybe Text)
- data ReferencedImageDetail = ReferencedImageDetail' {}
- newReferencedImageDetail :: ReferencedImageDetail
- referencedImageDetail_imageManifestMediaType :: Lens' ReferencedImageDetail (Maybe Text)
- referencedImageDetail_imageSizeInBytes :: Lens' ReferencedImageDetail (Maybe Integer)
- referencedImageDetail_imageDigest :: Lens' ReferencedImageDetail (Maybe Text)
- referencedImageDetail_artifactMediaType :: Lens' ReferencedImageDetail (Maybe Text)
- referencedImageDetail_imagePushedAt :: Lens' ReferencedImageDetail (Maybe UTCTime)
- data Registry = Registry' {
- registryId :: Text
- registryArn :: Text
- registryUri :: Text
- verified :: Bool
- aliases :: [RegistryAlias]
- newRegistry :: Text -> Text -> Text -> Bool -> Registry
- registry_registryId :: Lens' Registry Text
- registry_registryArn :: Lens' Registry Text
- registry_registryUri :: Lens' Registry Text
- registry_verified :: Lens' Registry Bool
- registry_aliases :: Lens' Registry [RegistryAlias]
- data RegistryAlias = RegistryAlias' {}
- newRegistryAlias :: Text -> RegistryAliasStatus -> Bool -> Bool -> RegistryAlias
- registryAlias_name :: Lens' RegistryAlias Text
- registryAlias_status :: Lens' RegistryAlias RegistryAliasStatus
- registryAlias_primaryRegistryAlias :: Lens' RegistryAlias Bool
- registryAlias_defaultRegistryAlias :: Lens' RegistryAlias Bool
- data RegistryCatalogData = RegistryCatalogData' {
- displayName :: Maybe Text
- newRegistryCatalogData :: RegistryCatalogData
- registryCatalogData_displayName :: Lens' RegistryCatalogData (Maybe Text)
- data Repository = Repository' {}
- newRepository :: Repository
- repository_repositoryArn :: Lens' Repository (Maybe Text)
- repository_createdAt :: Lens' Repository (Maybe UTCTime)
- repository_registryId :: Lens' Repository (Maybe Text)
- repository_repositoryUri :: Lens' Repository (Maybe Text)
- repository_repositoryName :: Lens' Repository (Maybe Text)
- data RepositoryCatalogData = RepositoryCatalogData' {}
- newRepositoryCatalogData :: RepositoryCatalogData
- repositoryCatalogData_logoUrl :: Lens' RepositoryCatalogData (Maybe Text)
- repositoryCatalogData_architectures :: Lens' RepositoryCatalogData (Maybe [Text])
- repositoryCatalogData_usageText :: Lens' RepositoryCatalogData (Maybe Text)
- repositoryCatalogData_marketplaceCertified :: Lens' RepositoryCatalogData (Maybe Bool)
- repositoryCatalogData_aboutText :: Lens' RepositoryCatalogData (Maybe Text)
- repositoryCatalogData_operatingSystems :: Lens' RepositoryCatalogData (Maybe [Text])
- repositoryCatalogData_description :: Lens' RepositoryCatalogData (Maybe Text)
- data RepositoryCatalogDataInput = RepositoryCatalogDataInput' {
- logoImageBlob :: Maybe Base64
- architectures :: Maybe [Text]
- usageText :: Maybe Text
- aboutText :: Maybe Text
- operatingSystems :: Maybe [Text]
- description :: Maybe Text
- newRepositoryCatalogDataInput :: RepositoryCatalogDataInput
- repositoryCatalogDataInput_logoImageBlob :: Lens' RepositoryCatalogDataInput (Maybe ByteString)
- repositoryCatalogDataInput_architectures :: Lens' RepositoryCatalogDataInput (Maybe [Text])
- repositoryCatalogDataInput_usageText :: Lens' RepositoryCatalogDataInput (Maybe Text)
- repositoryCatalogDataInput_aboutText :: Lens' RepositoryCatalogDataInput (Maybe Text)
- repositoryCatalogDataInput_operatingSystems :: Lens' RepositoryCatalogDataInput (Maybe [Text])
- repositoryCatalogDataInput_description :: Lens' RepositoryCatalogDataInput (Maybe Text)
- data Tag = Tag' {}
- newTag :: Tag
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2020-10-30
of the Amazon Elastic Container Registry Public SDK configuration.
Errors
_ImageTagAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
_LayersNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified layers could not be found, or the specified layer is not valid for this repository.
_ReferencedImagesNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The manifest list is referencing an image that does not exist.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified parameter is invalid. Review the available parameters for the API request.
_LayerAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The image layer already exists in the associated repository.
_ServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
These errors are usually caused by a server-side issue.
_UnsupportedCommandException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The action is not supported in this Region.
_InvalidLayerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
_LayerPartTooSmallException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Layer parts must be at least 5 MiB in size.
_ImageDigestDoesNotMatchException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified image digest does not match the digest that Amazon ECR calculated for the image.
_ImageNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The image requested does not exist in the specified repository.
_ImageAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
_RepositoryNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
_TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.
_UploadNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The upload could not be found, or the specified upload ID is not valid for this repository.
_InvalidLayerPartException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
_InvalidTagParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
_RepositoryNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository contains images. To delete a repository that
contains images, you must force the deletion with the force
parameter.
_RepositoryAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository already exists in the specified registry.
_RepositoryPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository and registry combination does not have an associated repository policy.
_EmptyUploadException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified layer upload does not contain any layer parts.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Service Quotas in the Amazon Elastic Container Registry User Guide.
_RegistryNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The registry does not exist.
ImageFailureCode
newtype ImageFailureCode Source #
Constructors
ImageFailureCode' | |
Fields |
Bundled Patterns
pattern ImageFailureCode_ImageNotFound :: ImageFailureCode | |
pattern ImageFailureCode_ImageReferencedByManifestList :: ImageFailureCode | |
pattern ImageFailureCode_ImageTagDoesNotMatchDigest :: ImageFailureCode | |
pattern ImageFailureCode_InvalidImageDigest :: ImageFailureCode | |
pattern ImageFailureCode_InvalidImageTag :: ImageFailureCode | |
pattern ImageFailureCode_KmsError :: ImageFailureCode | |
pattern ImageFailureCode_MissingDigestAndTag :: ImageFailureCode |
Instances
LayerAvailability
newtype LayerAvailability Source #
Constructors
LayerAvailability' | |
Fields |
Bundled Patterns
pattern LayerAvailability_AVAILABLE :: LayerAvailability | |
pattern LayerAvailability_UNAVAILABLE :: LayerAvailability |
Instances
LayerFailureCode
newtype LayerFailureCode Source #
Constructors
LayerFailureCode' | |
Fields |
Bundled Patterns
pattern LayerFailureCode_InvalidLayerDigest :: LayerFailureCode | |
pattern LayerFailureCode_MissingLayerDigest :: LayerFailureCode |
Instances
RegistryAliasStatus
newtype RegistryAliasStatus Source #
Constructors
RegistryAliasStatus' | |
Fields |
Bundled Patterns
pattern RegistryAliasStatus_ACTIVE :: RegistryAliasStatus | |
pattern RegistryAliasStatus_PENDING :: RegistryAliasStatus | |
pattern RegistryAliasStatus_REJECTED :: RegistryAliasStatus |
Instances
AuthorizationData
data AuthorizationData Source #
An authorization token data object that corresponds to a public registry.
See: newAuthorizationData
smart constructor.
Constructors
AuthorizationData' | |
Fields
|
Instances
newAuthorizationData :: AuthorizationData Source #
Create a value of AuthorizationData
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expiresAt:AuthorizationData'
, authorizationData_expiresAt
- The Unix time in seconds and milliseconds when the authorization token
expires. Authorization tokens are valid for 12 hours.
$sel:authorizationToken:AuthorizationData'
, authorizationData_authorizationToken
- A base64-encoded string that contains authorization data for a public
Amazon ECR registry. When the string is decoded, it is presented in the
format user:password
for public registry authentication using
docker login
.
authorizationData_expiresAt :: Lens' AuthorizationData (Maybe UTCTime) Source #
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text) Source #
A base64-encoded string that contains authorization data for a public
Amazon ECR registry. When the string is decoded, it is presented in the
format user:password
for public registry authentication using
docker login
.
Image
An object representing an Amazon ECR image.
See: newImage
smart constructor.
Constructors
Image' | |
Fields
|
Instances
Create a value of Image
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:registryId:Image'
, image_registryId
- The AWS account ID associated with the registry containing the image.
$sel:imageManifestMediaType:Image'
, image_imageManifestMediaType
- The manifest media type of the image.
$sel:imageId:Image'
, image_imageId
- An object containing the image tag and image digest associated with an
image.
$sel:repositoryName:Image'
, image_repositoryName
- The name of the repository associated with the image.
$sel:imageManifest:Image'
, image_imageManifest
- The image manifest associated with the image.
image_registryId :: Lens' Image (Maybe Text) Source #
The AWS account ID associated with the registry containing the image.
image_imageManifestMediaType :: Lens' Image (Maybe Text) Source #
The manifest media type of the image.
image_imageId :: Lens' Image (Maybe ImageIdentifier) Source #
An object containing the image tag and image digest associated with an image.
image_repositoryName :: Lens' Image (Maybe Text) Source #
The name of the repository associated with the image.
image_imageManifest :: Lens' Image (Maybe Text) Source #
The image manifest associated with the image.
ImageDetail
data ImageDetail Source #
An object that describes an image returned by a DescribeImages operation.
See: newImageDetail
smart constructor.
Constructors
ImageDetail' | |
Fields
|
Instances
newImageDetail :: ImageDetail Source #
Create a value of ImageDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:registryId:ImageDetail'
, imageDetail_registryId
- The AWS account ID associated with the public registry to which this
image belongs.
$sel:imageTags:ImageDetail'
, imageDetail_imageTags
- The list of tags associated with this image.
$sel:imageManifestMediaType:ImageDetail'
, imageDetail_imageManifestMediaType
- The media type of the image manifest.
$sel:imageSizeInBytes:ImageDetail'
, imageDetail_imageSizeInBytes
- The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image
layers before pushing them to a V2 Docker registry. The output of the
docker images
command shows the uncompressed image size, so it may
return a larger image size than the image sizes returned by
DescribeImages.
$sel:imageDigest:ImageDetail'
, imageDetail_imageDigest
- The sha256
digest of the image manifest.
$sel:artifactMediaType:ImageDetail'
, imageDetail_artifactMediaType
- The artifact media type of the image.
$sel:imagePushedAt:ImageDetail'
, imageDetail_imagePushedAt
- The date and time, expressed in standard JavaScript date format, at
which the current image was pushed to the repository.
$sel:repositoryName:ImageDetail'
, imageDetail_repositoryName
- The name of the repository to which this image belongs.
imageDetail_registryId :: Lens' ImageDetail (Maybe Text) Source #
The AWS account ID associated with the public registry to which this image belongs.
imageDetail_imageTags :: Lens' ImageDetail (Maybe [Text]) Source #
The list of tags associated with this image.
imageDetail_imageManifestMediaType :: Lens' ImageDetail (Maybe Text) Source #
The media type of the image manifest.
imageDetail_imageSizeInBytes :: Lens' ImageDetail (Maybe Integer) Source #
The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image
layers before pushing them to a V2 Docker registry. The output of the
docker images
command shows the uncompressed image size, so it may
return a larger image size than the image sizes returned by
DescribeImages.
imageDetail_imageDigest :: Lens' ImageDetail (Maybe Text) Source #
The sha256
digest of the image manifest.
imageDetail_artifactMediaType :: Lens' ImageDetail (Maybe Text) Source #
The artifact media type of the image.
imageDetail_imagePushedAt :: Lens' ImageDetail (Maybe UTCTime) Source #
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
imageDetail_repositoryName :: Lens' ImageDetail (Maybe Text) Source #
The name of the repository to which this image belongs.
ImageFailure
data ImageFailure Source #
An object representing an Amazon ECR image failure.
See: newImageFailure
smart constructor.
Constructors
ImageFailure' | |
Fields
|
Instances
newImageFailure :: ImageFailure Source #
Create a value of ImageFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureReason:ImageFailure'
, imageFailure_failureReason
- The reason for the failure.
$sel:failureCode:ImageFailure'
, imageFailure_failureCode
- The code associated with the failure.
$sel:imageId:ImageFailure'
, imageFailure_imageId
- The image ID associated with the failure.
imageFailure_failureReason :: Lens' ImageFailure (Maybe Text) Source #
The reason for the failure.
imageFailure_failureCode :: Lens' ImageFailure (Maybe ImageFailureCode) Source #
The code associated with the failure.
imageFailure_imageId :: Lens' ImageFailure (Maybe ImageIdentifier) Source #
The image ID associated with the failure.
ImageIdentifier
data ImageIdentifier Source #
An object with identifying information for an Amazon ECR image.
See: newImageIdentifier
smart constructor.
Constructors
ImageIdentifier' | |
Instances
newImageIdentifier :: ImageIdentifier Source #
Create a value of ImageIdentifier
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageDigest:ImageIdentifier'
, imageIdentifier_imageDigest
- The sha256
digest of the image manifest.
$sel:imageTag:ImageIdentifier'
, imageIdentifier_imageTag
- The tag used for the image.
imageIdentifier_imageDigest :: Lens' ImageIdentifier (Maybe Text) Source #
The sha256
digest of the image manifest.
imageIdentifier_imageTag :: Lens' ImageIdentifier (Maybe Text) Source #
The tag used for the image.
ImageTagDetail
data ImageTagDetail Source #
An object representing the image tag details for an image.
See: newImageTagDetail
smart constructor.
Constructors
ImageTagDetail' | |
Fields
|
Instances
newImageTagDetail :: ImageTagDetail Source #
Create a value of ImageTagDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:createdAt:ImageTagDetail'
, imageTagDetail_createdAt
- The time stamp indicating when the image tag was created.
$sel:imageDetail:ImageTagDetail'
, imageTagDetail_imageDetail
- An object that describes the details of an image.
$sel:imageTag:ImageTagDetail'
, imageTagDetail_imageTag
- The tag associated with the image.
imageTagDetail_createdAt :: Lens' ImageTagDetail (Maybe UTCTime) Source #
The time stamp indicating when the image tag was created.
imageTagDetail_imageDetail :: Lens' ImageTagDetail (Maybe ReferencedImageDetail) Source #
An object that describes the details of an image.
imageTagDetail_imageTag :: Lens' ImageTagDetail (Maybe Text) Source #
The tag associated with the image.
Layer
An object representing an Amazon ECR image layer.
See: newLayer
smart constructor.
Constructors
Layer' | |
Fields
|
Instances
Eq Layer Source # | |
Read Layer Source # | |
Show Layer Source # | |
Generic Layer Source # | |
NFData Layer Source # | |
Defined in Amazonka.ECRPublic.Types.Layer | |
Hashable Layer Source # | |
Defined in Amazonka.ECRPublic.Types.Layer | |
FromJSON Layer Source # | |
type Rep Layer Source # | |
Defined in Amazonka.ECRPublic.Types.Layer type Rep Layer = D1 ('MetaData "Layer" "Amazonka.ECRPublic.Types.Layer" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "Layer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mediaType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "layerDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "layerSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "layerAvailability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LayerAvailability))))) |
Create a value of Layer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mediaType:Layer'
, layer_mediaType
- The media type of the layer, such as
application/vnd.docker.image.rootfs.diff.tar.gzip
or
application/vnd.oci.image.layer.v1.tar+gzip
.
$sel:layerDigest:Layer'
, layer_layerDigest
- The sha256
digest of the image layer.
$sel:layerSize:Layer'
, layer_layerSize
- The size, in bytes, of the image layer.
$sel:layerAvailability:Layer'
, layer_layerAvailability
- The availability status of the image layer.
layer_mediaType :: Lens' Layer (Maybe Text) Source #
The media type of the layer, such as
application/vnd.docker.image.rootfs.diff.tar.gzip
or
application/vnd.oci.image.layer.v1.tar+gzip
.
layer_layerAvailability :: Lens' Layer (Maybe LayerAvailability) Source #
The availability status of the image layer.
LayerFailure
data LayerFailure Source #
An object representing an Amazon ECR image layer failure.
See: newLayerFailure
smart constructor.
Constructors
LayerFailure' | |
Fields
|
Instances
newLayerFailure :: LayerFailure Source #
Create a value of LayerFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureReason:LayerFailure'
, layerFailure_failureReason
- The reason for the failure.
$sel:failureCode:LayerFailure'
, layerFailure_failureCode
- The failure code associated with the failure.
$sel:layerDigest:LayerFailure'
, layerFailure_layerDigest
- The layer digest associated with the failure.
layerFailure_failureReason :: Lens' LayerFailure (Maybe Text) Source #
The reason for the failure.
layerFailure_failureCode :: Lens' LayerFailure (Maybe LayerFailureCode) Source #
The failure code associated with the failure.
layerFailure_layerDigest :: Lens' LayerFailure (Maybe Text) Source #
The layer digest associated with the failure.
ReferencedImageDetail
data ReferencedImageDetail Source #
An object that describes the image tag details returned by a DescribeImageTags action.
See: newReferencedImageDetail
smart constructor.
Constructors
ReferencedImageDetail' | |
Fields
|
Instances
newReferencedImageDetail :: ReferencedImageDetail Source #
Create a value of ReferencedImageDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageManifestMediaType:ReferencedImageDetail'
, referencedImageDetail_imageManifestMediaType
- The media type of the image manifest.
$sel:imageSizeInBytes:ReferencedImageDetail'
, referencedImageDetail_imageSizeInBytes
- The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image
layers before pushing them to a V2 Docker registry. The output of the
docker images
command shows the uncompressed image size, so it may
return a larger image size than the image sizes returned by
DescribeImages.
$sel:imageDigest:ReferencedImageDetail'
, referencedImageDetail_imageDigest
- The sha256
digest of the image manifest.
$sel:artifactMediaType:ReferencedImageDetail'
, referencedImageDetail_artifactMediaType
- The artifact media type of the image.
$sel:imagePushedAt:ReferencedImageDetail'
, referencedImageDetail_imagePushedAt
- The date and time, expressed in standard JavaScript date format, at
which the current image tag was pushed to the repository.
referencedImageDetail_imageManifestMediaType :: Lens' ReferencedImageDetail (Maybe Text) Source #
The media type of the image manifest.
referencedImageDetail_imageSizeInBytes :: Lens' ReferencedImageDetail (Maybe Integer) Source #
The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image
layers before pushing them to a V2 Docker registry. The output of the
docker images
command shows the uncompressed image size, so it may
return a larger image size than the image sizes returned by
DescribeImages.
referencedImageDetail_imageDigest :: Lens' ReferencedImageDetail (Maybe Text) Source #
The sha256
digest of the image manifest.
referencedImageDetail_artifactMediaType :: Lens' ReferencedImageDetail (Maybe Text) Source #
The artifact media type of the image.
referencedImageDetail_imagePushedAt :: Lens' ReferencedImageDetail (Maybe UTCTime) Source #
The date and time, expressed in standard JavaScript date format, at which the current image tag was pushed to the repository.
Registry
The details of a public registry.
See: newRegistry
smart constructor.
Constructors
Registry' | |
Fields
|
Instances
Create a value of Registry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:registryId:Registry'
, registry_registryId
- The AWS account ID associated with the registry. If you do not specify a
registry, the default public registry is assumed.
$sel:registryArn:Registry'
, registry_registryArn
- The Amazon Resource Name (ARN) of the public registry.
$sel:registryUri:Registry'
, registry_registryUri
- The URI of a public registry. The URI contains a universal prefix and
the registry alias.
$sel:verified:Registry'
, registry_verified
- Whether the account is verified. This indicates whether the account is
an AWS Marketplace vendor. If an account is verified, each public
repository will received a verified account badge on the Amazon ECR
Public Gallery.
$sel:aliases:Registry'
, registry_aliases
- An array of objects representing the aliases for a public registry.
registry_registryId :: Lens' Registry Text Source #
The AWS account ID associated with the registry. If you do not specify a registry, the default public registry is assumed.
registry_registryArn :: Lens' Registry Text Source #
The Amazon Resource Name (ARN) of the public registry.
registry_registryUri :: Lens' Registry Text Source #
The URI of a public registry. The URI contains a universal prefix and the registry alias.
registry_verified :: Lens' Registry Bool Source #
Whether the account is verified. This indicates whether the account is an AWS Marketplace vendor. If an account is verified, each public repository will received a verified account badge on the Amazon ECR Public Gallery.
registry_aliases :: Lens' Registry [RegistryAlias] Source #
An array of objects representing the aliases for a public registry.
RegistryAlias
data RegistryAlias Source #
An object representing the aliases for a public registry. A public registry is given an alias upon creation but a custom alias can be set using the Amazon ECR console. For more information, see Registries in the Amazon Elastic Container Registry User Guide.
See: newRegistryAlias
smart constructor.
Constructors
RegistryAlias' | |
Fields
|
Instances
Arguments
:: Text | |
-> RegistryAliasStatus | |
-> Bool | |
-> Bool | |
-> RegistryAlias |
Create a value of RegistryAlias
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:RegistryAlias'
, registryAlias_name
- The name of the registry alias.
$sel:status:RegistryAlias'
, registryAlias_status
- The status of the registry alias.
$sel:primaryRegistryAlias:RegistryAlias'
, registryAlias_primaryRegistryAlias
- Whether or not the registry alias is the primary alias for the registry.
If true, the alias is the primary registry alias and is displayed in
both the repository URL and the image URI used in the docker pull
commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in
the repository URI in a docker pull
command.
$sel:defaultRegistryAlias:RegistryAlias'
, registryAlias_defaultRegistryAlias
- Whether or not the registry alias is the default alias for the registry.
When the first public repository is created, your public registry is
assigned a default registry alias.
registryAlias_name :: Lens' RegistryAlias Text Source #
The name of the registry alias.
registryAlias_status :: Lens' RegistryAlias RegistryAliasStatus Source #
The status of the registry alias.
registryAlias_primaryRegistryAlias :: Lens' RegistryAlias Bool Source #
Whether or not the registry alias is the primary alias for the registry.
If true, the alias is the primary registry alias and is displayed in
both the repository URL and the image URI used in the docker pull
commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in
the repository URI in a docker pull
command.
registryAlias_defaultRegistryAlias :: Lens' RegistryAlias Bool Source #
Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
RegistryCatalogData
data RegistryCatalogData Source #
The metadata for a public registry.
See: newRegistryCatalogData
smart constructor.
Constructors
RegistryCatalogData' | |
Fields
|
Instances
newRegistryCatalogData :: RegistryCatalogData Source #
Create a value of RegistryCatalogData
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:displayName:RegistryCatalogData'
, registryCatalogData_displayName
- The display name for a public registry. This appears on the Amazon ECR
Public Gallery.
Only accounts that have the verified account badge can have a registry display name.
registryCatalogData_displayName :: Lens' RegistryCatalogData (Maybe Text) Source #
The display name for a public registry. This appears on the Amazon ECR Public Gallery.
Only accounts that have the verified account badge can have a registry display name.
Repository
data Repository Source #
An object representing a repository.
See: newRepository
smart constructor.
Constructors
Repository' | |
Fields
|
Instances
newRepository :: Repository Source #
Create a value of Repository
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:repositoryArn:Repository'
, repository_repositoryArn
- The Amazon Resource Name (ARN) that identifies the repository. The ARN
contains the arn:aws:ecr
namespace, followed by the region of the
repository, AWS account ID of the repository owner, repository
namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.
$sel:createdAt:Repository'
, repository_createdAt
- The date and time, in JavaScript date format, when the repository was
created.
$sel:registryId:Repository'
, repository_registryId
- The AWS account ID associated with the public registry that contains the
repository.
$sel:repositoryUri:Repository'
, repository_repositoryUri
- The URI for the repository. You can use this URI for container image
push
and pull
operations.
$sel:repositoryName:Repository'
, repository_repositoryName
- The name of the repository.
repository_repositoryArn :: Lens' Repository (Maybe Text) Source #
The Amazon Resource Name (ARN) that identifies the repository. The ARN
contains the arn:aws:ecr
namespace, followed by the region of the
repository, AWS account ID of the repository owner, repository
namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.
repository_createdAt :: Lens' Repository (Maybe UTCTime) Source #
The date and time, in JavaScript date format, when the repository was created.
repository_registryId :: Lens' Repository (Maybe Text) Source #
The AWS account ID associated with the public registry that contains the repository.
repository_repositoryUri :: Lens' Repository (Maybe Text) Source #
The URI for the repository. You can use this URI for container image
push
and pull
operations.
repository_repositoryName :: Lens' Repository (Maybe Text) Source #
The name of the repository.
RepositoryCatalogData
data RepositoryCatalogData Source #
The catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
See: newRepositoryCatalogData
smart constructor.
Constructors
RepositoryCatalogData' | |
Fields
|
Instances
newRepositoryCatalogData :: RepositoryCatalogData Source #
Create a value of RepositoryCatalogData
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logoUrl:RepositoryCatalogData'
, repositoryCatalogData_logoUrl
- The URL containing the logo associated with the repository.
$sel:architectures:RepositoryCatalogData'
, repositoryCatalogData_architectures
- The architecture tags that are associated with the repository.
Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput.
$sel:usageText:RepositoryCatalogData'
, repositoryCatalogData_usageText
- The longform usage details of the contents of the repository. The usage
text provides context for users of the repository.
$sel:marketplaceCertified:RepositoryCatalogData'
, repositoryCatalogData_marketplaceCertified
- Whether or not the repository is certified by AWS Marketplace.
$sel:aboutText:RepositoryCatalogData'
, repositoryCatalogData_aboutText
- The longform description of the contents of the repository. This text
appears in the repository details on the Amazon ECR Public Gallery.
$sel:operatingSystems:RepositoryCatalogData'
, repositoryCatalogData_operatingSystems
- The operating system tags that are associated with the repository.
Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput.
$sel:description:RepositoryCatalogData'
, repositoryCatalogData_description
- The short description of the repository.
repositoryCatalogData_logoUrl :: Lens' RepositoryCatalogData (Maybe Text) Source #
The URL containing the logo associated with the repository.
repositoryCatalogData_architectures :: Lens' RepositoryCatalogData (Maybe [Text]) Source #
The architecture tags that are associated with the repository.
Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput.
repositoryCatalogData_usageText :: Lens' RepositoryCatalogData (Maybe Text) Source #
The longform usage details of the contents of the repository. The usage text provides context for users of the repository.
repositoryCatalogData_marketplaceCertified :: Lens' RepositoryCatalogData (Maybe Bool) Source #
Whether or not the repository is certified by AWS Marketplace.
repositoryCatalogData_aboutText :: Lens' RepositoryCatalogData (Maybe Text) Source #
The longform description of the contents of the repository. This text appears in the repository details on the Amazon ECR Public Gallery.
repositoryCatalogData_operatingSystems :: Lens' RepositoryCatalogData (Maybe [Text]) Source #
The operating system tags that are associated with the repository.
Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For more information, see RepositoryCatalogDataInput.
repositoryCatalogData_description :: Lens' RepositoryCatalogData (Maybe Text) Source #
The short description of the repository.
RepositoryCatalogDataInput
data RepositoryCatalogDataInput Source #
An object containing the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
See: newRepositoryCatalogDataInput
smart constructor.
Constructors
RepositoryCatalogDataInput' | |
Fields
|
Instances
newRepositoryCatalogDataInput :: RepositoryCatalogDataInput Source #
Create a value of RepositoryCatalogDataInput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logoImageBlob:RepositoryCatalogDataInput'
, repositoryCatalogDataInput_logoImageBlob
- The base64-encoded repository logo payload.
The repository logo is only publicly visible in the Amazon ECR Public
Gallery for verified accounts.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:architectures:RepositoryCatalogDataInput'
, repositoryCatalogDataInput_architectures
- The system architecture that the images in the repository are compatible
with. On the Amazon ECR Public Gallery, the following supported
architectures will appear as badges on the repository and are used as
search filters.
Linux
Windows
If an unsupported tag is added to your repository catalog data, it will be associated with the repository and can be retrieved using the API but will not be discoverable in the Amazon ECR Public Gallery.
$sel:usageText:RepositoryCatalogDataInput'
, repositoryCatalogDataInput_usageText
- Detailed information on how to use the contents of the repository. It is
publicly visible in the Amazon ECR Public Gallery. The usage text
provides context, support information, and additional usage details for
users of the repository. The text must be in markdown format.
$sel:aboutText:RepositoryCatalogDataInput'
, repositoryCatalogDataInput_aboutText
- A detailed description of the contents of the repository. It is publicly
visible in the Amazon ECR Public Gallery. The text must be in markdown
format.
$sel:operatingSystems:RepositoryCatalogDataInput'
, repositoryCatalogDataInput_operatingSystems
- The operating systems that the images in the repository are compatible
with. On the Amazon ECR Public Gallery, the following supported
operating systems will appear as badges on the repository and are used
as search filters.
ARM
ARM 64
x86
x86-64
If an unsupported tag is added to your repository catalog data, it will be associated with the repository and can be retrieved using the API but will not be discoverable in the Amazon ECR Public Gallery.
$sel:description:RepositoryCatalogDataInput'
, repositoryCatalogDataInput_description
- A short description of the contents of the repository. This text appears
in both the image details and also when searching for repositories on
the Amazon ECR Public Gallery.
repositoryCatalogDataInput_logoImageBlob :: Lens' RepositoryCatalogDataInput (Maybe ByteString) Source #
The base64-encoded repository logo payload.
The repository logo is only publicly visible in the Amazon ECR Public
Gallery for verified accounts.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
repositoryCatalogDataInput_architectures :: Lens' RepositoryCatalogDataInput (Maybe [Text]) Source #
The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters.
Linux
Windows
If an unsupported tag is added to your repository catalog data, it will be associated with the repository and can be retrieved using the API but will not be discoverable in the Amazon ECR Public Gallery.
repositoryCatalogDataInput_usageText :: Lens' RepositoryCatalogDataInput (Maybe Text) Source #
Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
repositoryCatalogDataInput_aboutText :: Lens' RepositoryCatalogDataInput (Maybe Text) Source #
A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
repositoryCatalogDataInput_operatingSystems :: Lens' RepositoryCatalogDataInput (Maybe [Text]) Source #
The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters.
ARM
ARM 64
x86
x86-64
If an unsupported tag is added to your repository catalog data, it will be associated with the repository and can be retrieved using the API but will not be discoverable in the Amazon ECR Public Gallery.
repositoryCatalogDataInput_description :: Lens' RepositoryCatalogDataInput (Maybe Text) Source #
A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
Tag
The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
See: newTag
smart constructor.
Constructors
Tag' | |
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.ECRPublic.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.ECRPublic.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.ECRPublic.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.ECRPublic.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ECRPublic.Types.Tag" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Tag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:Tag'
, tag_value
- The optional part of a key-value pair that make up a tag. A value
acts
as a descriptor within a tag category (key).
$sel:key:Tag'
, tag_key
- One part of a key-value pair that make up a tag. A key
is a general
label that acts like a category for more specific tag values.