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 |
- Service Configuration
- Errors
- EncryptionType
- FindingSeverity
- ImageActionType
- ImageFailureCode
- ImageTagMutability
- LayerAvailability
- LayerFailureCode
- LifecyclePolicyPreviewStatus
- ReplicationStatus
- RepositoryFilterType
- ScanStatus
- TagStatus
- Attribute
- AuthorizationData
- DescribeImagesFilter
- EncryptionConfiguration
- Image
- ImageDetail
- ImageFailure
- ImageIdentifier
- ImageReplicationStatus
- ImageScanFinding
- ImageScanFindings
- ImageScanFindingsSummary
- ImageScanStatus
- ImageScanningConfiguration
- Layer
- LayerFailure
- LifecyclePolicyPreviewFilter
- LifecyclePolicyPreviewResult
- LifecyclePolicyPreviewSummary
- LifecyclePolicyRuleAction
- ListImagesFilter
- ReplicationConfiguration
- ReplicationDestination
- ReplicationRule
- Repository
- RepositoryFilter
- Tag
Synopsis
- defaultService :: Service
- _ImageTagAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ValidationException :: 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
- _LayerInaccessibleException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLayerException :: AsError a => Getting (First ServiceError) a ServiceError
- _LayerPartTooSmallException :: AsError a => Getting (First ServiceError) a ServiceError
- _LifecyclePolicyPreviewNotFoundException :: 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
- _RegistryPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LifecyclePolicyPreviewInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- _UploadNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LifecyclePolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _KmsException :: 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
- _UnsupportedImageTypeException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ScanNotFoundException :: 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
- newtype EncryptionType where
- EncryptionType' { }
- pattern EncryptionType_AES256 :: EncryptionType
- pattern EncryptionType_KMS :: EncryptionType
- newtype FindingSeverity where
- FindingSeverity' { }
- pattern FindingSeverity_CRITICAL :: FindingSeverity
- pattern FindingSeverity_HIGH :: FindingSeverity
- pattern FindingSeverity_INFORMATIONAL :: FindingSeverity
- pattern FindingSeverity_LOW :: FindingSeverity
- pattern FindingSeverity_MEDIUM :: FindingSeverity
- pattern FindingSeverity_UNDEFINED :: FindingSeverity
- newtype ImageActionType where
- ImageActionType' { }
- pattern ImageActionType_EXPIRE :: ImageActionType
- 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 ImageTagMutability where
- newtype LayerAvailability where
- newtype LayerFailureCode where
- newtype LifecyclePolicyPreviewStatus where
- LifecyclePolicyPreviewStatus' { }
- pattern LifecyclePolicyPreviewStatus_COMPLETE :: LifecyclePolicyPreviewStatus
- pattern LifecyclePolicyPreviewStatus_EXPIRED :: LifecyclePolicyPreviewStatus
- pattern LifecyclePolicyPreviewStatus_FAILED :: LifecyclePolicyPreviewStatus
- pattern LifecyclePolicyPreviewStatus_IN_PROGRESS :: LifecyclePolicyPreviewStatus
- newtype ReplicationStatus where
- ReplicationStatus' { }
- pattern ReplicationStatus_COMPLETE :: ReplicationStatus
- pattern ReplicationStatus_FAILED :: ReplicationStatus
- pattern ReplicationStatus_IN_PROGRESS :: ReplicationStatus
- newtype RepositoryFilterType where
- newtype ScanStatus where
- ScanStatus' { }
- pattern ScanStatus_COMPLETE :: ScanStatus
- pattern ScanStatus_FAILED :: ScanStatus
- pattern ScanStatus_IN_PROGRESS :: ScanStatus
- newtype TagStatus where
- TagStatus' { }
- pattern TagStatus_ANY :: TagStatus
- pattern TagStatus_TAGGED :: TagStatus
- pattern TagStatus_UNTAGGED :: TagStatus
- data Attribute = Attribute' {}
- newAttribute :: Text -> Attribute
- attribute_value :: Lens' Attribute (Maybe Text)
- attribute_key :: Lens' Attribute Text
- data AuthorizationData = AuthorizationData' {}
- newAuthorizationData :: AuthorizationData
- authorizationData_expiresAt :: Lens' AuthorizationData (Maybe UTCTime)
- authorizationData_proxyEndpoint :: Lens' AuthorizationData (Maybe Text)
- authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text)
- data DescribeImagesFilter = DescribeImagesFilter' {}
- newDescribeImagesFilter :: DescribeImagesFilter
- describeImagesFilter_tagStatus :: Lens' DescribeImagesFilter (Maybe TagStatus)
- data EncryptionConfiguration = EncryptionConfiguration' {}
- newEncryptionConfiguration :: EncryptionType -> EncryptionConfiguration
- encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text)
- encryptionConfiguration_encryptionType :: Lens' EncryptionConfiguration EncryptionType
- 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' {
- registryId :: Maybe Text
- imageTags :: Maybe [Text]
- imageScanStatus :: Maybe ImageScanStatus
- imageManifestMediaType :: Maybe Text
- imageSizeInBytes :: Maybe Integer
- imageDigest :: Maybe Text
- imageScanFindingsSummary :: Maybe ImageScanFindingsSummary
- artifactMediaType :: Maybe Text
- imagePushedAt :: Maybe POSIX
- repositoryName :: Maybe Text
- newImageDetail :: ImageDetail
- imageDetail_registryId :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageTags :: Lens' ImageDetail (Maybe [Text])
- imageDetail_imageScanStatus :: Lens' ImageDetail (Maybe ImageScanStatus)
- imageDetail_imageManifestMediaType :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageSizeInBytes :: Lens' ImageDetail (Maybe Integer)
- imageDetail_imageDigest :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageScanFindingsSummary :: Lens' ImageDetail (Maybe ImageScanFindingsSummary)
- 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 ImageReplicationStatus = ImageReplicationStatus' {}
- newImageReplicationStatus :: ImageReplicationStatus
- imageReplicationStatus_status :: Lens' ImageReplicationStatus (Maybe ReplicationStatus)
- imageReplicationStatus_failureCode :: Lens' ImageReplicationStatus (Maybe Text)
- imageReplicationStatus_registryId :: Lens' ImageReplicationStatus (Maybe Text)
- imageReplicationStatus_region :: Lens' ImageReplicationStatus (Maybe Text)
- data ImageScanFinding = ImageScanFinding' {
- severity :: Maybe FindingSeverity
- uri :: Maybe Text
- name :: Maybe Text
- attributes :: Maybe [Attribute]
- description :: Maybe Text
- newImageScanFinding :: ImageScanFinding
- imageScanFinding_severity :: Lens' ImageScanFinding (Maybe FindingSeverity)
- imageScanFinding_uri :: Lens' ImageScanFinding (Maybe Text)
- imageScanFinding_name :: Lens' ImageScanFinding (Maybe Text)
- imageScanFinding_attributes :: Lens' ImageScanFinding (Maybe [Attribute])
- imageScanFinding_description :: Lens' ImageScanFinding (Maybe Text)
- data ImageScanFindings = ImageScanFindings' {}
- newImageScanFindings :: ImageScanFindings
- imageScanFindings_imageScanCompletedAt :: Lens' ImageScanFindings (Maybe UTCTime)
- imageScanFindings_findings :: Lens' ImageScanFindings (Maybe [ImageScanFinding])
- imageScanFindings_findingSeverityCounts :: Lens' ImageScanFindings (Maybe (HashMap FindingSeverity Natural))
- imageScanFindings_vulnerabilitySourceUpdatedAt :: Lens' ImageScanFindings (Maybe UTCTime)
- data ImageScanFindingsSummary = ImageScanFindingsSummary' {}
- newImageScanFindingsSummary :: ImageScanFindingsSummary
- imageScanFindingsSummary_imageScanCompletedAt :: Lens' ImageScanFindingsSummary (Maybe UTCTime)
- imageScanFindingsSummary_findingSeverityCounts :: Lens' ImageScanFindingsSummary (Maybe (HashMap FindingSeverity Natural))
- imageScanFindingsSummary_vulnerabilitySourceUpdatedAt :: Lens' ImageScanFindingsSummary (Maybe UTCTime)
- data ImageScanStatus = ImageScanStatus' {}
- newImageScanStatus :: ImageScanStatus
- imageScanStatus_status :: Lens' ImageScanStatus (Maybe ScanStatus)
- imageScanStatus_description :: Lens' ImageScanStatus (Maybe Text)
- data ImageScanningConfiguration = ImageScanningConfiguration' {
- scanOnPush :: Maybe Bool
- newImageScanningConfiguration :: ImageScanningConfiguration
- imageScanningConfiguration_scanOnPush :: Lens' ImageScanningConfiguration (Maybe Bool)
- 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 LifecyclePolicyPreviewFilter = LifecyclePolicyPreviewFilter' {}
- newLifecyclePolicyPreviewFilter :: LifecyclePolicyPreviewFilter
- lifecyclePolicyPreviewFilter_tagStatus :: Lens' LifecyclePolicyPreviewFilter (Maybe TagStatus)
- data LifecyclePolicyPreviewResult = LifecyclePolicyPreviewResult' {}
- newLifecyclePolicyPreviewResult :: LifecyclePolicyPreviewResult
- lifecyclePolicyPreviewResult_imageTags :: Lens' LifecyclePolicyPreviewResult (Maybe [Text])
- lifecyclePolicyPreviewResult_action :: Lens' LifecyclePolicyPreviewResult (Maybe LifecyclePolicyRuleAction)
- lifecyclePolicyPreviewResult_imageDigest :: Lens' LifecyclePolicyPreviewResult (Maybe Text)
- lifecyclePolicyPreviewResult_imagePushedAt :: Lens' LifecyclePolicyPreviewResult (Maybe UTCTime)
- lifecyclePolicyPreviewResult_appliedRulePriority :: Lens' LifecyclePolicyPreviewResult (Maybe Natural)
- data LifecyclePolicyPreviewSummary = LifecyclePolicyPreviewSummary' {}
- newLifecyclePolicyPreviewSummary :: LifecyclePolicyPreviewSummary
- lifecyclePolicyPreviewSummary_expiringImageTotalCount :: Lens' LifecyclePolicyPreviewSummary (Maybe Natural)
- data LifecyclePolicyRuleAction = LifecyclePolicyRuleAction' {}
- newLifecyclePolicyRuleAction :: LifecyclePolicyRuleAction
- lifecyclePolicyRuleAction_type :: Lens' LifecyclePolicyRuleAction (Maybe ImageActionType)
- data ListImagesFilter = ListImagesFilter' {}
- newListImagesFilter :: ListImagesFilter
- listImagesFilter_tagStatus :: Lens' ListImagesFilter (Maybe TagStatus)
- data ReplicationConfiguration = ReplicationConfiguration' {
- rules :: [ReplicationRule]
- newReplicationConfiguration :: ReplicationConfiguration
- replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule]
- data ReplicationDestination = ReplicationDestination' {
- region :: Text
- registryId :: Text
- newReplicationDestination :: Text -> Text -> ReplicationDestination
- replicationDestination_region :: Lens' ReplicationDestination Text
- replicationDestination_registryId :: Lens' ReplicationDestination Text
- data ReplicationRule = ReplicationRule' {}
- newReplicationRule :: ReplicationRule
- replicationRule_repositoryFilters :: Lens' ReplicationRule (Maybe (NonEmpty RepositoryFilter))
- replicationRule_destinations :: Lens' ReplicationRule [ReplicationDestination]
- data Repository = Repository' {}
- newRepository :: Repository
- repository_repositoryArn :: Lens' Repository (Maybe Text)
- repository_createdAt :: Lens' Repository (Maybe UTCTime)
- repository_registryId :: Lens' Repository (Maybe Text)
- repository_imageScanningConfiguration :: Lens' Repository (Maybe ImageScanningConfiguration)
- repository_repositoryUri :: Lens' Repository (Maybe Text)
- repository_encryptionConfiguration :: Lens' Repository (Maybe EncryptionConfiguration)
- repository_repositoryName :: Lens' Repository (Maybe Text)
- repository_imageTagMutability :: Lens' Repository (Maybe ImageTagMutability)
- data RepositoryFilter = RepositoryFilter' {}
- newRepositoryFilter :: Text -> RepositoryFilterType -> RepositoryFilter
- repositoryFilter_filter :: Lens' RepositoryFilter Text
- repositoryFilter_filterType :: Lens' RepositoryFilter RepositoryFilterType
- data Tag = Tag' {}
- newTag :: Tag
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2015-09-21
of the Amazon EC2 Container Registry 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.
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
There was an exception validating this request.
_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.
_LayerInaccessibleException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified layer is not available because it is not associated with an image. Unassociated image layers may be cleaned up at any time.
_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.
_LifecyclePolicyPreviewNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
There is no dry run for this repository.
_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.
_RegistryPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The registry doesn't have an associated registry policy.
_LifecyclePolicyPreviewInProgressException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The previous lifecycle policy preview request has not completed. Wait and try again.
_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.
_LifecyclePolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The lifecycle policy could not be found, and no policy is set to the repository.
_KmsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed due to a KMS exception.
_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.
_UnsupportedImageTypeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The image is of a type that cannot be scanned.
_RepositoryAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository already exists in the specified registry.
_ScanNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified image scan could not be found. Ensure that image scanning is enabled on the repository and try again.
_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.
EncryptionType
newtype EncryptionType Source #
pattern EncryptionType_AES256 :: EncryptionType | |
pattern EncryptionType_KMS :: EncryptionType |
Instances
FindingSeverity
newtype FindingSeverity Source #
pattern FindingSeverity_CRITICAL :: FindingSeverity | |
pattern FindingSeverity_HIGH :: FindingSeverity | |
pattern FindingSeverity_INFORMATIONAL :: FindingSeverity | |
pattern FindingSeverity_LOW :: FindingSeverity | |
pattern FindingSeverity_MEDIUM :: FindingSeverity | |
pattern FindingSeverity_UNDEFINED :: FindingSeverity |
Instances
ImageActionType
newtype ImageActionType Source #
pattern ImageActionType_EXPIRE :: ImageActionType |
Instances
ImageFailureCode
newtype ImageFailureCode Source #
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
ImageTagMutability
newtype ImageTagMutability Source #
pattern ImageTagMutability_IMMUTABLE :: ImageTagMutability | |
pattern ImageTagMutability_MUTABLE :: ImageTagMutability |
Instances
LayerAvailability
newtype LayerAvailability Source #
pattern LayerAvailability_AVAILABLE :: LayerAvailability | |
pattern LayerAvailability_UNAVAILABLE :: LayerAvailability |
Instances
LayerFailureCode
newtype LayerFailureCode Source #
pattern LayerFailureCode_InvalidLayerDigest :: LayerFailureCode | |
pattern LayerFailureCode_MissingLayerDigest :: LayerFailureCode |
Instances
LifecyclePolicyPreviewStatus
newtype LifecyclePolicyPreviewStatus Source #
Instances
ReplicationStatus
newtype ReplicationStatus Source #
pattern ReplicationStatus_COMPLETE :: ReplicationStatus | |
pattern ReplicationStatus_FAILED :: ReplicationStatus | |
pattern ReplicationStatus_IN_PROGRESS :: ReplicationStatus |
Instances
RepositoryFilterType
newtype RepositoryFilterType Source #
Instances
ScanStatus
newtype ScanStatus Source #
pattern ScanStatus_COMPLETE :: ScanStatus | |
pattern ScanStatus_FAILED :: ScanStatus | |
pattern ScanStatus_IN_PROGRESS :: ScanStatus |
Instances
TagStatus
pattern TagStatus_ANY :: TagStatus | |
pattern TagStatus_TAGGED :: TagStatus | |
pattern TagStatus_UNTAGGED :: TagStatus |
Instances
Attribute
This data type is used in the ImageScanFinding data type.
See: newAttribute
smart constructor.
Instances
Eq Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
Generic Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute | |
Hashable Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute | |
FromJSON Attribute Source # | |
type Rep Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.ECR.Types.Attribute" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Attribute
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:Attribute'
, attribute_value
- The value assigned to the attribute key.
$sel:key:Attribute'
, attribute_key
- The attribute key.
AuthorizationData
data AuthorizationData Source #
An object representing authorization data for an Amazon ECR registry.
See: newAuthorizationData
smart constructor.
AuthorizationData' | |
|
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:proxyEndpoint:AuthorizationData'
, authorizationData_proxyEndpoint
- The registry URL to use for this authorization token in a docker login
command. The Amazon ECR registry URL format is
https://aws_account_id.dkr.ecr.region.amazonaws.com
. For example,
https://012345678910.dkr.ecr.us-east-1.amazonaws.com
..
$sel:authorizationToken:AuthorizationData'
, authorizationData_authorizationToken
- A base64-encoded string that contains authorization data for the
specified Amazon ECR registry. When the string is decoded, it is
presented in the format user:password
for private 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_proxyEndpoint :: Lens' AuthorizationData (Maybe Text) Source #
The registry URL to use for this authorization token in a docker login
command. The Amazon ECR registry URL format is
https://aws_account_id.dkr.ecr.region.amazonaws.com
. For example,
https://012345678910.dkr.ecr.us-east-1.amazonaws.com
..
authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text) Source #
A base64-encoded string that contains authorization data for the
specified Amazon ECR registry. When the string is decoded, it is
presented in the format user:password
for private registry
authentication using docker login
.
DescribeImagesFilter
data DescribeImagesFilter Source #
An object representing a filter on a DescribeImages operation.
See: newDescribeImagesFilter
smart constructor.
Instances
newDescribeImagesFilter :: DescribeImagesFilter Source #
Create a value of DescribeImagesFilter
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:tagStatus:DescribeImagesFilter'
, describeImagesFilter_tagStatus
- The tag status with which to filter your DescribeImages results. You can
filter results based on whether they are TAGGED
or UNTAGGED
.
describeImagesFilter_tagStatus :: Lens' DescribeImagesFilter (Maybe TagStatus) Source #
The tag status with which to filter your DescribeImages results. You can
filter results based on whether they are TAGGED
or UNTAGGED
.
EncryptionConfiguration
data EncryptionConfiguration Source #
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
By default, when no encryption configuration is set or the AES256
encryption type is used, Amazon ECR uses server-side encryption with
Amazon S3-managed encryption keys which encrypts your data at rest using
an AES-256 encryption algorithm. This does not require any action on
your part.
For more control over the encryption of the contents of your repository, you can use server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your images. For more information, see Amazon ECR encryption at rest in the Amazon Elastic Container Registry User Guide.
See: newEncryptionConfiguration
smart constructor.
EncryptionConfiguration' | |
|
Instances
newEncryptionConfiguration Source #
Create a value of EncryptionConfiguration
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:kmsKey:EncryptionConfiguration'
, encryptionConfiguration_kmsKey
- If you use the KMS
encryption type, specify the KMS key to use for
encryption. The alias, key ID, or full ARN of the KMS key can be
specified. The key must exist in the same Region as the repository. If
no key is specified, the default Amazon Web Services managed KMS key for
Amazon ECR will be used.
$sel:encryptionType:EncryptionConfiguration'
, encryptionConfiguration_encryptionType
- The encryption type to use.
If you use the KMS
encryption type, the contents of the repository
will be encrypted using server-side encryption with Key Management
Service key stored in KMS. When you use KMS to encrypt your data, you
can either use the default Amazon Web Services managed KMS key for
Amazon ECR, or specify your own KMS key, which you already created. For
more information, see
Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS)
in the Amazon Simple Storage Service Console Developer Guide..
If you use the AES256
encryption type, Amazon ECR uses server-side
encryption with Amazon S3-managed encryption keys which encrypts the
images in the repository using an AES-256 encryption algorithm. For more
information, see
Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)
in the Amazon Simple Storage Service Console Developer Guide..
encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text) Source #
If you use the KMS
encryption type, specify the KMS key to use for
encryption. The alias, key ID, or full ARN of the KMS key can be
specified. The key must exist in the same Region as the repository. If
no key is specified, the default Amazon Web Services managed KMS key for
Amazon ECR will be used.
encryptionConfiguration_encryptionType :: Lens' EncryptionConfiguration EncryptionType Source #
The encryption type to use.
If you use the KMS
encryption type, the contents of the repository
will be encrypted using server-side encryption with Key Management
Service key stored in KMS. When you use KMS to encrypt your data, you
can either use the default Amazon Web Services managed KMS key for
Amazon ECR, or specify your own KMS key, which you already created. For
more information, see
Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS)
in the Amazon Simple Storage Service Console Developer Guide..
If you use the AES256
encryption type, Amazon ECR uses server-side
encryption with Amazon S3-managed encryption keys which encrypts the
images in the repository using an AES-256 encryption algorithm. For more
information, see
Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)
in the Amazon Simple Storage Service Console Developer Guide..
Image
An object representing an Amazon ECR image.
See: newImage
smart constructor.
Image' | |
|
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 Amazon Web Services 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 Amazon Web Services 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.
ImageDetail' | |
|
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 Amazon Web Services account ID associated with the registry to which
this image belongs.
$sel:imageTags:ImageDetail'
, imageDetail_imageTags
- The list of tags associated with this image.
$sel:imageScanStatus:ImageDetail'
, imageDetail_imageScanStatus
- The current state of the scan.
$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:imageScanFindingsSummary:ImageDetail'
, imageDetail_imageScanFindingsSummary
- A summary of the last completed image scan.
$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 Amazon Web Services account ID associated with the registry to which this image belongs.
imageDetail_imageTags :: Lens' ImageDetail (Maybe [Text]) Source #
The list of tags associated with this image.
imageDetail_imageScanStatus :: Lens' ImageDetail (Maybe ImageScanStatus) Source #
The current state of the scan.
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_imageScanFindingsSummary :: Lens' ImageDetail (Maybe ImageScanFindingsSummary) Source #
A summary of the last completed image scan.
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.
ImageFailure' | |
|
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 image in an Amazon ECR repository.
See: newImageIdentifier
smart constructor.
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.
ImageReplicationStatus
data ImageReplicationStatus Source #
The status of the replication process for an image.
See: newImageReplicationStatus
smart constructor.
ImageReplicationStatus' | |
|
Instances
newImageReplicationStatus :: ImageReplicationStatus Source #
Create a value of ImageReplicationStatus
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:status:ImageReplicationStatus'
, imageReplicationStatus_status
- The image replication status.
$sel:failureCode:ImageReplicationStatus'
, imageReplicationStatus_failureCode
- The failure code for a replication that has failed.
$sel:registryId:ImageReplicationStatus'
, imageReplicationStatus_registryId
- The AWS account ID associated with the registry to which the image
belongs.
$sel:region:ImageReplicationStatus'
, imageReplicationStatus_region
- The destination Region for the image replication.
imageReplicationStatus_status :: Lens' ImageReplicationStatus (Maybe ReplicationStatus) Source #
The image replication status.
imageReplicationStatus_failureCode :: Lens' ImageReplicationStatus (Maybe Text) Source #
The failure code for a replication that has failed.
imageReplicationStatus_registryId :: Lens' ImageReplicationStatus (Maybe Text) Source #
The AWS account ID associated with the registry to which the image belongs.
imageReplicationStatus_region :: Lens' ImageReplicationStatus (Maybe Text) Source #
The destination Region for the image replication.
ImageScanFinding
data ImageScanFinding Source #
Contains information about an image scan finding.
See: newImageScanFinding
smart constructor.
ImageScanFinding' | |
|
Instances
newImageScanFinding :: ImageScanFinding Source #
Create a value of ImageScanFinding
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:severity:ImageScanFinding'
, imageScanFinding_severity
- The finding severity.
$sel:uri:ImageScanFinding'
, imageScanFinding_uri
- A link containing additional details about the security vulnerability.
$sel:name:ImageScanFinding'
, imageScanFinding_name
- The name associated with the finding, usually a CVE number.
$sel:attributes:ImageScanFinding'
, imageScanFinding_attributes
- A collection of attributes of the host from which the finding is
generated.
$sel:description:ImageScanFinding'
, imageScanFinding_description
- The description of the finding.
imageScanFinding_severity :: Lens' ImageScanFinding (Maybe FindingSeverity) Source #
The finding severity.
imageScanFinding_uri :: Lens' ImageScanFinding (Maybe Text) Source #
A link containing additional details about the security vulnerability.
imageScanFinding_name :: Lens' ImageScanFinding (Maybe Text) Source #
The name associated with the finding, usually a CVE number.
imageScanFinding_attributes :: Lens' ImageScanFinding (Maybe [Attribute]) Source #
A collection of attributes of the host from which the finding is generated.
imageScanFinding_description :: Lens' ImageScanFinding (Maybe Text) Source #
The description of the finding.
ImageScanFindings
data ImageScanFindings Source #
The details of an image scan.
See: newImageScanFindings
smart constructor.
ImageScanFindings' | |
|
Instances
newImageScanFindings :: ImageScanFindings Source #
Create a value of ImageScanFindings
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:imageScanCompletedAt:ImageScanFindings'
, imageScanFindings_imageScanCompletedAt
- The time of the last completed image scan.
$sel:findings:ImageScanFindings'
, imageScanFindings_findings
- The findings from the image scan.
$sel:findingSeverityCounts:ImageScanFindings'
, imageScanFindings_findingSeverityCounts
- The image vulnerability counts, sorted by severity.
$sel:vulnerabilitySourceUpdatedAt:ImageScanFindings'
, imageScanFindings_vulnerabilitySourceUpdatedAt
- The time when the vulnerability data was last scanned.
imageScanFindings_imageScanCompletedAt :: Lens' ImageScanFindings (Maybe UTCTime) Source #
The time of the last completed image scan.
imageScanFindings_findings :: Lens' ImageScanFindings (Maybe [ImageScanFinding]) Source #
The findings from the image scan.
imageScanFindings_findingSeverityCounts :: Lens' ImageScanFindings (Maybe (HashMap FindingSeverity Natural)) Source #
The image vulnerability counts, sorted by severity.
imageScanFindings_vulnerabilitySourceUpdatedAt :: Lens' ImageScanFindings (Maybe UTCTime) Source #
The time when the vulnerability data was last scanned.
ImageScanFindingsSummary
data ImageScanFindingsSummary Source #
A summary of the last completed image scan.
See: newImageScanFindingsSummary
smart constructor.
ImageScanFindingsSummary' | |
|
Instances
newImageScanFindingsSummary :: ImageScanFindingsSummary Source #
Create a value of ImageScanFindingsSummary
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:imageScanCompletedAt:ImageScanFindingsSummary'
, imageScanFindingsSummary_imageScanCompletedAt
- The time of the last completed image scan.
$sel:findingSeverityCounts:ImageScanFindingsSummary'
, imageScanFindingsSummary_findingSeverityCounts
- The image vulnerability counts, sorted by severity.
$sel:vulnerabilitySourceUpdatedAt:ImageScanFindingsSummary'
, imageScanFindingsSummary_vulnerabilitySourceUpdatedAt
- The time when the vulnerability data was last scanned.
imageScanFindingsSummary_imageScanCompletedAt :: Lens' ImageScanFindingsSummary (Maybe UTCTime) Source #
The time of the last completed image scan.
imageScanFindingsSummary_findingSeverityCounts :: Lens' ImageScanFindingsSummary (Maybe (HashMap FindingSeverity Natural)) Source #
The image vulnerability counts, sorted by severity.
imageScanFindingsSummary_vulnerabilitySourceUpdatedAt :: Lens' ImageScanFindingsSummary (Maybe UTCTime) Source #
The time when the vulnerability data was last scanned.
ImageScanStatus
data ImageScanStatus Source #
The current status of an image scan.
See: newImageScanStatus
smart constructor.
ImageScanStatus' | |
|
Instances
newImageScanStatus :: ImageScanStatus Source #
Create a value of ImageScanStatus
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:status:ImageScanStatus'
, imageScanStatus_status
- The current state of an image scan.
$sel:description:ImageScanStatus'
, imageScanStatus_description
- The description of the image scan status.
imageScanStatus_status :: Lens' ImageScanStatus (Maybe ScanStatus) Source #
The current state of an image scan.
imageScanStatus_description :: Lens' ImageScanStatus (Maybe Text) Source #
The description of the image scan status.
ImageScanningConfiguration
data ImageScanningConfiguration Source #
The image scanning configuration for a repository.
See: newImageScanningConfiguration
smart constructor.
ImageScanningConfiguration' | |
|
Instances
newImageScanningConfiguration :: ImageScanningConfiguration Source #
Create a value of ImageScanningConfiguration
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:scanOnPush:ImageScanningConfiguration'
, imageScanningConfiguration_scanOnPush
- The setting that determines whether images are scanned after being
pushed to a repository. If set to true
, images will be scanned after
being pushed. If this parameter is not specified, it will default to
false
and images will not be scanned unless a scan is manually started
with the
API_StartImageScan
API.
imageScanningConfiguration_scanOnPush :: Lens' ImageScanningConfiguration (Maybe Bool) Source #
The setting that determines whether images are scanned after being
pushed to a repository. If set to true
, images will be scanned after
being pushed. If this parameter is not specified, it will default to
false
and images will not be scanned unless a scan is manually started
with the
API_StartImageScan
API.
Layer
An object representing an Amazon ECR image layer.
See: newLayer
smart constructor.
Layer' | |
|
Instances
Eq Layer Source # | |
Read Layer Source # | |
Show Layer Source # | |
Generic Layer Source # | |
NFData Layer Source # | |
Defined in Amazonka.ECR.Types.Layer | |
Hashable Layer Source # | |
Defined in Amazonka.ECR.Types.Layer | |
FromJSON Layer Source # | |
type Rep Layer Source # | |
Defined in Amazonka.ECR.Types.Layer type Rep Layer = D1 ('MetaData "Layer" "Amazonka.ECR.Types.Layer" "libZSservicesZSamazonka-ecrZSamazonka-ecr" '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.
LayerFailure' | |
|
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.
LifecyclePolicyPreviewFilter
data LifecyclePolicyPreviewFilter Source #
The filter for the lifecycle policy preview.
See: newLifecyclePolicyPreviewFilter
smart constructor.
Instances
newLifecyclePolicyPreviewFilter :: LifecyclePolicyPreviewFilter Source #
Create a value of LifecyclePolicyPreviewFilter
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:tagStatus:LifecyclePolicyPreviewFilter'
, lifecyclePolicyPreviewFilter_tagStatus
- The tag status of the image.
lifecyclePolicyPreviewFilter_tagStatus :: Lens' LifecyclePolicyPreviewFilter (Maybe TagStatus) Source #
The tag status of the image.
LifecyclePolicyPreviewResult
data LifecyclePolicyPreviewResult Source #
The result of the lifecycle policy preview.
See: newLifecyclePolicyPreviewResult
smart constructor.
LifecyclePolicyPreviewResult' | |
|
Instances
newLifecyclePolicyPreviewResult :: LifecyclePolicyPreviewResult Source #
Create a value of LifecyclePolicyPreviewResult
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:imageTags:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_imageTags
- The list of tags associated with this image.
$sel:action:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_action
- The type of action to be taken.
$sel:imageDigest:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_imageDigest
- The sha256
digest of the image manifest.
$sel:imagePushedAt:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_imagePushedAt
- The date and time, expressed in standard JavaScript date format, at
which the current image was pushed to the repository.
$sel:appliedRulePriority:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_appliedRulePriority
- The priority of the applied rule.
lifecyclePolicyPreviewResult_imageTags :: Lens' LifecyclePolicyPreviewResult (Maybe [Text]) Source #
The list of tags associated with this image.
lifecyclePolicyPreviewResult_action :: Lens' LifecyclePolicyPreviewResult (Maybe LifecyclePolicyRuleAction) Source #
The type of action to be taken.
lifecyclePolicyPreviewResult_imageDigest :: Lens' LifecyclePolicyPreviewResult (Maybe Text) Source #
The sha256
digest of the image manifest.
lifecyclePolicyPreviewResult_imagePushedAt :: Lens' LifecyclePolicyPreviewResult (Maybe UTCTime) Source #
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
lifecyclePolicyPreviewResult_appliedRulePriority :: Lens' LifecyclePolicyPreviewResult (Maybe Natural) Source #
The priority of the applied rule.
LifecyclePolicyPreviewSummary
data LifecyclePolicyPreviewSummary Source #
The summary of the lifecycle policy preview request.
See: newLifecyclePolicyPreviewSummary
smart constructor.
LifecyclePolicyPreviewSummary' | |
|
Instances
newLifecyclePolicyPreviewSummary :: LifecyclePolicyPreviewSummary Source #
Create a value of LifecyclePolicyPreviewSummary
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:expiringImageTotalCount:LifecyclePolicyPreviewSummary'
, lifecyclePolicyPreviewSummary_expiringImageTotalCount
- The number of expiring images.
lifecyclePolicyPreviewSummary_expiringImageTotalCount :: Lens' LifecyclePolicyPreviewSummary (Maybe Natural) Source #
The number of expiring images.
LifecyclePolicyRuleAction
data LifecyclePolicyRuleAction Source #
The type of action to be taken.
See: newLifecyclePolicyRuleAction
smart constructor.
LifecyclePolicyRuleAction' | |
|
Instances
newLifecyclePolicyRuleAction :: LifecyclePolicyRuleAction Source #
Create a value of LifecyclePolicyRuleAction
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:type':LifecyclePolicyRuleAction'
, lifecyclePolicyRuleAction_type
- The type of action to be taken.
lifecyclePolicyRuleAction_type :: Lens' LifecyclePolicyRuleAction (Maybe ImageActionType) Source #
The type of action to be taken.
ListImagesFilter
data ListImagesFilter Source #
An object representing a filter on a ListImages operation.
See: newListImagesFilter
smart constructor.
Instances
newListImagesFilter :: ListImagesFilter Source #
Create a value of ListImagesFilter
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:tagStatus:ListImagesFilter'
, listImagesFilter_tagStatus
- The tag status with which to filter your ListImages results. You can
filter results based on whether they are TAGGED
or UNTAGGED
.
listImagesFilter_tagStatus :: Lens' ListImagesFilter (Maybe TagStatus) Source #
The tag status with which to filter your ListImages results. You can
filter results based on whether they are TAGGED
or UNTAGGED
.
ReplicationConfiguration
data ReplicationConfiguration Source #
The replication configuration for a registry.
See: newReplicationConfiguration
smart constructor.
ReplicationConfiguration' | |
|
Instances
newReplicationConfiguration :: ReplicationConfiguration Source #
Create a value of ReplicationConfiguration
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:rules:ReplicationConfiguration'
, replicationConfiguration_rules
- An array of objects representing the replication destinations and
repository filters for a replication configuration.
replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule] Source #
An array of objects representing the replication destinations and repository filters for a replication configuration.
ReplicationDestination
data ReplicationDestination Source #
An array of objects representing the destination for a replication rule.
See: newReplicationDestination
smart constructor.
ReplicationDestination' | |
|
Instances
newReplicationDestination Source #
:: Text | |
-> Text | |
-> ReplicationDestination |
Create a value of ReplicationDestination
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:region:ReplicationDestination'
, replicationDestination_region
- The Region to replicate to.
$sel:registryId:ReplicationDestination'
, replicationDestination_registryId
- The Amazon Web Services account ID of the Amazon ECR private registry to
replicate to. When configuring cross-Region replication within your own
registry, specify your own account ID.
replicationDestination_region :: Lens' ReplicationDestination Text Source #
The Region to replicate to.
replicationDestination_registryId :: Lens' ReplicationDestination Text Source #
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
ReplicationRule
data ReplicationRule Source #
An array of objects representing the replication destinations and repository filters for a replication configuration.
See: newReplicationRule
smart constructor.
ReplicationRule' | |
|
Instances
newReplicationRule :: ReplicationRule Source #
Create a value of ReplicationRule
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:repositoryFilters:ReplicationRule'
, replicationRule_repositoryFilters
- An array of objects representing the filters for a replication rule.
Specifying a repository filter for a replication rule provides a method
for controlling which repositories in a private registry are replicated.
$sel:destinations:ReplicationRule'
, replicationRule_destinations
- An array of objects representing the destination for a replication rule.
replicationRule_repositoryFilters :: Lens' ReplicationRule (Maybe (NonEmpty RepositoryFilter)) Source #
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
replicationRule_destinations :: Lens' ReplicationRule [ReplicationDestination] Source #
An array of objects representing the destination for a replication rule.
Repository
data Repository Source #
An object representing a repository.
See: newRepository
smart constructor.
Repository' | |
|
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, Amazon Web Services 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 Amazon Web Services account ID associated with the registry that
contains the repository.
$sel:imageScanningConfiguration:Repository'
, repository_imageScanningConfiguration
- Undocumented member.
$sel:repositoryUri:Repository'
, repository_repositoryUri
- The URI for the repository. You can use this URI for container image
push
and pull
operations.
$sel:encryptionConfiguration:Repository'
, repository_encryptionConfiguration
- The encryption configuration for the repository. This determines how the
contents of your repository are encrypted at rest.
$sel:repositoryName:Repository'
, repository_repositoryName
- The name of the repository.
$sel:imageTagMutability:Repository'
, repository_imageTagMutability
- The tag mutability setting for 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, Amazon Web Services 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 Amazon Web Services account ID associated with the registry that contains the repository.
repository_imageScanningConfiguration :: Lens' Repository (Maybe ImageScanningConfiguration) Source #
Undocumented member.
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_encryptionConfiguration :: Lens' Repository (Maybe EncryptionConfiguration) Source #
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
repository_repositoryName :: Lens' Repository (Maybe Text) Source #
The name of the repository.
repository_imageTagMutability :: Lens' Repository (Maybe ImageTagMutability) Source #
The tag mutability setting for the repository.
RepositoryFilter
data RepositoryFilter Source #
The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no repository filter is specified, all images in the repository are replicated.
See: newRepositoryFilter
smart constructor.
RepositoryFilter' | |
|
Instances
Create a value of RepositoryFilter
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:filter':RepositoryFilter'
, repositoryFilter_filter
- The repository filter details. When the PREFIX_MATCH
filter type is
specified, this value is required and should be the repository name
prefix to configure replication for.
$sel:filterType:RepositoryFilter'
, repositoryFilter_filterType
- The repository filter type. The only supported value is PREFIX_MATCH
,
which is a repository name prefix specified with the filter
parameter.
repositoryFilter_filter :: Lens' RepositoryFilter Text Source #
The repository filter details. When the PREFIX_MATCH
filter type is
specified, this value is required and should be the repository name
prefix to configure replication for.
repositoryFilter_filterType :: Lens' RepositoryFilter RepositoryFilterType Source #
The repository filter type. The only supported value is PREFIX_MATCH
,
which is a repository name prefix specified with the filter
parameter.
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.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.ECR.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.ECR.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.ECR.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.ECR.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ECR.Types.Tag" "libZSservicesZSamazonka-ecrZSamazonka-ecr" '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.