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
- ImageTagAlreadyExistsException
- ValidationException
- LayersNotFoundException
- ReferencedImagesNotFoundException
- InvalidParameterException
- LayerAlreadyExistsException
- ServerException
- LayerInaccessibleException
- InvalidLayerException
- LayerPartTooSmallException
- LifecyclePolicyPreviewNotFoundException
- ImageDigestDoesNotMatchException
- ImageNotFoundException
- ImageAlreadyExistsException
- RepositoryNotFoundException
- TooManyTagsException
- RegistryPolicyNotFoundException
- LifecyclePolicyPreviewInProgressException
- UploadNotFoundException
- LifecyclePolicyNotFoundException
- KmsException
- InvalidLayerPartException
- InvalidTagParameterException
- RepositoryNotEmptyException
- UnsupportedImageTypeException
- RepositoryAlreadyExistsException
- ScanNotFoundException
- RepositoryPolicyNotFoundException
- EmptyUploadException
- LimitExceededException
- Waiters
- Operations
- GetRepositoryPolicy
- PutImageScanningConfiguration
- PutLifecyclePolicy
- DeleteLifecyclePolicy
- PutImageTagMutability
- BatchDeleteImage
- ListTagsForResource
- GetLifecyclePolicyPreview (Paginated)
- BatchCheckLayerAvailability
- DescribeRegistry
- DeleteRepositoryPolicy
- CreateRepository
- CompleteLayerUpload
- DescribeRepositories (Paginated)
- StartLifecyclePolicyPreview
- DeleteRegistryPolicy
- PutRegistryPolicy
- UploadLayerPart
- DescribeImageReplicationStatus
- BatchGetImage
- PutReplicationConfiguration
- StartImageScan
- GetLifecyclePolicy
- TagResource
- SetRepositoryPolicy
- DescribeImageScanFindings (Paginated)
- InitiateLayerUpload
- UntagResource
- DeleteRepository
- GetRegistryPolicy
- PutImage
- ListImages (Paginated)
- GetAuthorizationToken
- GetDownloadUrlForLayer
- DescribeImages (Paginated)
- Types
- 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
Derived from API version 2015-09-21
of the AWS service descriptions, licensed under Apache 2.0.
Amazon Elastic Container Registry
Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI) images. Amazon ECR supports private repositories with resource-based permissions using IAM so that specific users or Amazon EC2 instances can access repositories and images.
Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the Amazon Web Services General Reference.
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
- newLifecyclePolicyPreviewComplete :: Wait GetLifecyclePolicyPreview
- newImageScanComplete :: Wait DescribeImageScanFindings
- data GetRepositoryPolicy = GetRepositoryPolicy' (Maybe Text) Text
- newGetRepositoryPolicy :: Text -> GetRepositoryPolicy
- data GetRepositoryPolicyResponse = GetRepositoryPolicyResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newGetRepositoryPolicyResponse :: Int -> GetRepositoryPolicyResponse
- data PutImageScanningConfiguration = PutImageScanningConfiguration' (Maybe Text) Text ImageScanningConfiguration
- newPutImageScanningConfiguration :: Text -> ImageScanningConfiguration -> PutImageScanningConfiguration
- data PutImageScanningConfigurationResponse = PutImageScanningConfigurationResponse' (Maybe Text) (Maybe ImageScanningConfiguration) (Maybe Text) Int
- newPutImageScanningConfigurationResponse :: Int -> PutImageScanningConfigurationResponse
- data PutLifecyclePolicy = PutLifecyclePolicy' (Maybe Text) Text Text
- newPutLifecyclePolicy :: Text -> Text -> PutLifecyclePolicy
- data PutLifecyclePolicyResponse = PutLifecyclePolicyResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newPutLifecyclePolicyResponse :: Int -> PutLifecyclePolicyResponse
- data DeleteLifecyclePolicy = DeleteLifecyclePolicy' (Maybe Text) Text
- newDeleteLifecyclePolicy :: Text -> DeleteLifecyclePolicy
- data DeleteLifecyclePolicyResponse = DeleteLifecyclePolicyResponse' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) Int
- newDeleteLifecyclePolicyResponse :: Int -> DeleteLifecyclePolicyResponse
- data PutImageTagMutability = PutImageTagMutability' (Maybe Text) Text ImageTagMutability
- newPutImageTagMutability :: Text -> ImageTagMutability -> PutImageTagMutability
- data PutImageTagMutabilityResponse = PutImageTagMutabilityResponse' (Maybe Text) (Maybe Text) (Maybe ImageTagMutability) Int
- newPutImageTagMutabilityResponse :: Int -> PutImageTagMutabilityResponse
- data BatchDeleteImage = BatchDeleteImage' (Maybe Text) Text [ImageIdentifier]
- newBatchDeleteImage :: Text -> BatchDeleteImage
- data BatchDeleteImageResponse = BatchDeleteImageResponse' (Maybe [ImageFailure]) (Maybe [ImageIdentifier]) Int
- newBatchDeleteImageResponse :: Int -> BatchDeleteImageResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe [Tag]) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data GetLifecyclePolicyPreview = GetLifecyclePolicyPreview' (Maybe Text) (Maybe [ImageIdentifier]) (Maybe Text) (Maybe LifecyclePolicyPreviewFilter) (Maybe Natural) Text
- newGetLifecyclePolicyPreview :: Text -> GetLifecyclePolicyPreview
- data GetLifecyclePolicyPreviewResponse = GetLifecyclePolicyPreviewResponse' (Maybe LifecyclePolicyPreviewSummary) (Maybe LifecyclePolicyPreviewStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [LifecyclePolicyPreviewResult]) Int
- newGetLifecyclePolicyPreviewResponse :: Int -> GetLifecyclePolicyPreviewResponse
- data BatchCheckLayerAvailability = BatchCheckLayerAvailability' (Maybe Text) Text (NonEmpty Text)
- newBatchCheckLayerAvailability :: Text -> NonEmpty Text -> BatchCheckLayerAvailability
- data BatchCheckLayerAvailabilityResponse = BatchCheckLayerAvailabilityResponse' (Maybe [LayerFailure]) (Maybe [Layer]) Int
- newBatchCheckLayerAvailabilityResponse :: Int -> BatchCheckLayerAvailabilityResponse
- data DescribeRegistry = DescribeRegistry' {
- newDescribeRegistry :: DescribeRegistry
- data DescribeRegistryResponse = DescribeRegistryResponse' (Maybe ReplicationConfiguration) (Maybe Text) Int
- newDescribeRegistryResponse :: Int -> DescribeRegistryResponse
- data DeleteRepositoryPolicy = DeleteRepositoryPolicy' (Maybe Text) Text
- newDeleteRepositoryPolicy :: Text -> DeleteRepositoryPolicy
- data DeleteRepositoryPolicyResponse = DeleteRepositoryPolicyResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newDeleteRepositoryPolicyResponse :: Int -> DeleteRepositoryPolicyResponse
- data CreateRepository = CreateRepository' (Maybe Text) (Maybe ImageScanningConfiguration) (Maybe EncryptionConfiguration) (Maybe ImageTagMutability) (Maybe [Tag]) Text
- newCreateRepository :: Text -> CreateRepository
- data CreateRepositoryResponse = CreateRepositoryResponse' (Maybe Repository) Int
- newCreateRepositoryResponse :: Int -> CreateRepositoryResponse
- data CompleteLayerUpload = CompleteLayerUpload' (Maybe Text) Text Text (NonEmpty Text)
- newCompleteLayerUpload :: Text -> Text -> NonEmpty Text -> CompleteLayerUpload
- data CompleteLayerUploadResponse = CompleteLayerUploadResponse' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newCompleteLayerUploadResponse :: Int -> CompleteLayerUploadResponse
- data DescribeRepositories = DescribeRepositories' (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Text) (Maybe Natural)
- newDescribeRepositories :: DescribeRepositories
- data DescribeRepositoriesResponse = DescribeRepositoriesResponse' (Maybe [Repository]) (Maybe Text) Int
- newDescribeRepositoriesResponse :: Int -> DescribeRepositoriesResponse
- data StartLifecyclePolicyPreview = StartLifecyclePolicyPreview' (Maybe Text) (Maybe Text) Text
- newStartLifecyclePolicyPreview :: Text -> StartLifecyclePolicyPreview
- data StartLifecyclePolicyPreviewResponse = StartLifecyclePolicyPreviewResponse' (Maybe LifecyclePolicyPreviewStatus) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newStartLifecyclePolicyPreviewResponse :: Int -> StartLifecyclePolicyPreviewResponse
- data DeleteRegistryPolicy = DeleteRegistryPolicy' {
- newDeleteRegistryPolicy :: DeleteRegistryPolicy
- data DeleteRegistryPolicyResponse = DeleteRegistryPolicyResponse' (Maybe Text) (Maybe Text) Int
- newDeleteRegistryPolicyResponse :: Int -> DeleteRegistryPolicyResponse
- data PutRegistryPolicy = PutRegistryPolicy' Text
- newPutRegistryPolicy :: Text -> PutRegistryPolicy
- data PutRegistryPolicyResponse = PutRegistryPolicyResponse' (Maybe Text) (Maybe Text) Int
- newPutRegistryPolicyResponse :: Int -> PutRegistryPolicyResponse
- data UploadLayerPart = UploadLayerPart' (Maybe Text) Text Text Natural Natural Base64
- newUploadLayerPart :: Text -> Text -> Natural -> Natural -> ByteString -> UploadLayerPart
- data UploadLayerPartResponse = UploadLayerPartResponse' (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) Int
- newUploadLayerPartResponse :: Int -> UploadLayerPartResponse
- data DescribeImageReplicationStatus = DescribeImageReplicationStatus' (Maybe Text) Text ImageIdentifier
- newDescribeImageReplicationStatus :: Text -> ImageIdentifier -> DescribeImageReplicationStatus
- data DescribeImageReplicationStatusResponse = DescribeImageReplicationStatusResponse' (Maybe ImageIdentifier) (Maybe Text) (Maybe [ImageReplicationStatus]) Int
- newDescribeImageReplicationStatusResponse :: Int -> DescribeImageReplicationStatusResponse
- data BatchGetImage = BatchGetImage' (Maybe Text) (Maybe (NonEmpty Text)) Text [ImageIdentifier]
- newBatchGetImage :: Text -> BatchGetImage
- data BatchGetImageResponse = BatchGetImageResponse' (Maybe [Image]) (Maybe [ImageFailure]) Int
- newBatchGetImageResponse :: Int -> BatchGetImageResponse
- data PutReplicationConfiguration = PutReplicationConfiguration' ReplicationConfiguration
- newPutReplicationConfiguration :: ReplicationConfiguration -> PutReplicationConfiguration
- data PutReplicationConfigurationResponse = PutReplicationConfigurationResponse' (Maybe ReplicationConfiguration) Int
- newPutReplicationConfigurationResponse :: Int -> PutReplicationConfigurationResponse
- data StartImageScan = StartImageScan' (Maybe Text) Text ImageIdentifier
- newStartImageScan :: Text -> ImageIdentifier -> StartImageScan
- data StartImageScanResponse = StartImageScanResponse' (Maybe Text) (Maybe ImageScanStatus) (Maybe ImageIdentifier) (Maybe Text) Int
- newStartImageScanResponse :: Int -> StartImageScanResponse
- data GetLifecyclePolicy = GetLifecyclePolicy' (Maybe Text) Text
- newGetLifecyclePolicy :: Text -> GetLifecyclePolicy
- data GetLifecyclePolicyResponse = GetLifecyclePolicyResponse' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) Int
- newGetLifecyclePolicyResponse :: Int -> GetLifecyclePolicyResponse
- data TagResource = TagResource' Text [Tag]
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data SetRepositoryPolicy = SetRepositoryPolicy' (Maybe Bool) (Maybe Text) Text Text
- newSetRepositoryPolicy :: Text -> Text -> SetRepositoryPolicy
- data SetRepositoryPolicyResponse = SetRepositoryPolicyResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newSetRepositoryPolicyResponse :: Int -> SetRepositoryPolicyResponse
- data DescribeImageScanFindings = DescribeImageScanFindings' (Maybe Text) (Maybe Text) (Maybe Natural) Text ImageIdentifier
- newDescribeImageScanFindings :: Text -> ImageIdentifier -> DescribeImageScanFindings
- data DescribeImageScanFindingsResponse = DescribeImageScanFindingsResponse' (Maybe Text) (Maybe ImageScanFindings) (Maybe ImageScanStatus) (Maybe Text) (Maybe ImageIdentifier) (Maybe Text) Int
- newDescribeImageScanFindingsResponse :: Int -> DescribeImageScanFindingsResponse
- data InitiateLayerUpload = InitiateLayerUpload' (Maybe Text) Text
- newInitiateLayerUpload :: Text -> InitiateLayerUpload
- data InitiateLayerUploadResponse = InitiateLayerUploadResponse' (Maybe Natural) (Maybe Text) Int
- newInitiateLayerUploadResponse :: Int -> InitiateLayerUploadResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data DeleteRepository = DeleteRepository' (Maybe Bool) (Maybe Text) Text
- newDeleteRepository :: Text -> DeleteRepository
- data DeleteRepositoryResponse = DeleteRepositoryResponse' (Maybe Repository) Int
- newDeleteRepositoryResponse :: Int -> DeleteRepositoryResponse
- data GetRegistryPolicy = GetRegistryPolicy' {
- newGetRegistryPolicy :: GetRegistryPolicy
- data GetRegistryPolicyResponse = GetRegistryPolicyResponse' (Maybe Text) (Maybe Text) Int
- newGetRegistryPolicyResponse :: Int -> GetRegistryPolicyResponse
- data PutImage = PutImage' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text
- newPutImage :: Text -> Text -> PutImage
- data PutImageResponse = PutImageResponse' (Maybe Image) Int
- newPutImageResponse :: Int -> PutImageResponse
- data ListImages = ListImages' (Maybe Text) (Maybe Text) (Maybe ListImagesFilter) (Maybe Natural) Text
- newListImages :: Text -> ListImages
- data ListImagesResponse = ListImagesResponse' (Maybe [ImageIdentifier]) (Maybe Text) Int
- newListImagesResponse :: Int -> ListImagesResponse
- data GetAuthorizationToken = GetAuthorizationToken' (Maybe (NonEmpty Text))
- newGetAuthorizationToken :: GetAuthorizationToken
- data GetAuthorizationTokenResponse = GetAuthorizationTokenResponse' (Maybe [AuthorizationData]) Int
- newGetAuthorizationTokenResponse :: Int -> GetAuthorizationTokenResponse
- data GetDownloadUrlForLayer = GetDownloadUrlForLayer' (Maybe Text) Text Text
- newGetDownloadUrlForLayer :: Text -> Text -> GetDownloadUrlForLayer
- data GetDownloadUrlForLayerResponse = GetDownloadUrlForLayerResponse' (Maybe Text) (Maybe Text) Int
- newGetDownloadUrlForLayerResponse :: Int -> GetDownloadUrlForLayerResponse
- data DescribeImages = DescribeImages' (Maybe Text) (Maybe [ImageIdentifier]) (Maybe Text) (Maybe DescribeImagesFilter) (Maybe Natural) Text
- newDescribeImages :: Text -> DescribeImages
- data DescribeImagesResponse = DescribeImagesResponse' (Maybe [ImageDetail]) (Maybe Text) Int
- newDescribeImagesResponse :: Int -> DescribeImagesResponse
- 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' (Maybe Text) Text
- newAttribute :: Text -> Attribute
- data AuthorizationData = AuthorizationData' (Maybe POSIX) (Maybe Text) (Maybe Text)
- newAuthorizationData :: AuthorizationData
- data DescribeImagesFilter = DescribeImagesFilter' (Maybe TagStatus)
- newDescribeImagesFilter :: DescribeImagesFilter
- data EncryptionConfiguration = EncryptionConfiguration' (Maybe Text) EncryptionType
- newEncryptionConfiguration :: EncryptionType -> EncryptionConfiguration
- data Image = Image' (Maybe Text) (Maybe Text) (Maybe ImageIdentifier) (Maybe Text) (Maybe Text)
- newImage :: Image
- data ImageDetail = ImageDetail' (Maybe Text) (Maybe [Text]) (Maybe ImageScanStatus) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe ImageScanFindingsSummary) (Maybe Text) (Maybe POSIX) (Maybe Text)
- newImageDetail :: ImageDetail
- data ImageFailure = ImageFailure' (Maybe Text) (Maybe ImageFailureCode) (Maybe ImageIdentifier)
- newImageFailure :: ImageFailure
- data ImageIdentifier = ImageIdentifier' (Maybe Text) (Maybe Text)
- newImageIdentifier :: ImageIdentifier
- data ImageReplicationStatus = ImageReplicationStatus' (Maybe ReplicationStatus) (Maybe Text) (Maybe Text) (Maybe Text)
- newImageReplicationStatus :: ImageReplicationStatus
- data ImageScanFinding = ImageScanFinding' (Maybe FindingSeverity) (Maybe Text) (Maybe Text) (Maybe [Attribute]) (Maybe Text)
- newImageScanFinding :: ImageScanFinding
- data ImageScanFindings = ImageScanFindings' (Maybe POSIX) (Maybe [ImageScanFinding]) (Maybe (HashMap FindingSeverity Natural)) (Maybe POSIX)
- newImageScanFindings :: ImageScanFindings
- data ImageScanFindingsSummary = ImageScanFindingsSummary' (Maybe POSIX) (Maybe (HashMap FindingSeverity Natural)) (Maybe POSIX)
- newImageScanFindingsSummary :: ImageScanFindingsSummary
- data ImageScanStatus = ImageScanStatus' (Maybe ScanStatus) (Maybe Text)
- newImageScanStatus :: ImageScanStatus
- data ImageScanningConfiguration = ImageScanningConfiguration' (Maybe Bool)
- newImageScanningConfiguration :: ImageScanningConfiguration
- data Layer = Layer' (Maybe Text) (Maybe Text) (Maybe Integer) (Maybe LayerAvailability)
- newLayer :: Layer
- data LayerFailure = LayerFailure' (Maybe Text) (Maybe LayerFailureCode) (Maybe Text)
- newLayerFailure :: LayerFailure
- data LifecyclePolicyPreviewFilter = LifecyclePolicyPreviewFilter' (Maybe TagStatus)
- newLifecyclePolicyPreviewFilter :: LifecyclePolicyPreviewFilter
- data LifecyclePolicyPreviewResult = LifecyclePolicyPreviewResult' (Maybe [Text]) (Maybe LifecyclePolicyRuleAction) (Maybe Text) (Maybe POSIX) (Maybe Natural)
- newLifecyclePolicyPreviewResult :: LifecyclePolicyPreviewResult
- data LifecyclePolicyPreviewSummary = LifecyclePolicyPreviewSummary' (Maybe Natural)
- newLifecyclePolicyPreviewSummary :: LifecyclePolicyPreviewSummary
- data LifecyclePolicyRuleAction = LifecyclePolicyRuleAction' (Maybe ImageActionType)
- newLifecyclePolicyRuleAction :: LifecyclePolicyRuleAction
- data ListImagesFilter = ListImagesFilter' (Maybe TagStatus)
- newListImagesFilter :: ListImagesFilter
- data ReplicationConfiguration = ReplicationConfiguration' [ReplicationRule]
- newReplicationConfiguration :: ReplicationConfiguration
- data ReplicationDestination = ReplicationDestination' Text Text
- newReplicationDestination :: Text -> Text -> ReplicationDestination
- data ReplicationRule = ReplicationRule' (Maybe (NonEmpty RepositoryFilter)) [ReplicationDestination]
- newReplicationRule :: ReplicationRule
- data Repository = Repository' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe ImageScanningConfiguration) (Maybe Text) (Maybe EncryptionConfiguration) (Maybe Text) (Maybe ImageTagMutability)
- newRepository :: Repository
- data RepositoryFilter = RepositoryFilter' Text RepositoryFilterType
- newRepositoryFilter :: Text -> RepositoryFilterType -> RepositoryFilter
- data Tag = Tag' (Maybe Text) (Maybe Text)
- newTag :: Tag
Service Configuration
defaultService :: Service Source #
API version 2015-09-21
of the Amazon EC2 Container Registry SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by ECR
.
ImageTagAlreadyExistsException
_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
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
There was an exception validating this request.
LayersNotFoundException
_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
_ReferencedImagesNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The manifest list is referencing an image that does not exist.
InvalidParameterException
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified parameter is invalid. Review the available parameters for the API request.
LayerAlreadyExistsException
_LayerAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The image layer already exists in the associated repository.
ServerException
_ServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
These errors are usually caused by a server-side issue.
LayerInaccessibleException
_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
_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
_LayerPartTooSmallException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Layer parts must be at least 5 MiB in size.
LifecyclePolicyPreviewNotFoundException
_LifecyclePolicyPreviewNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
There is no dry run for this repository.
ImageDigestDoesNotMatchException
_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
_ImageNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The image requested does not exist in the specified repository.
ImageAlreadyExistsException
_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
_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
_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
_RegistryPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The registry doesn't have an associated registry policy.
LifecyclePolicyPreviewInProgressException
_LifecyclePolicyPreviewInProgressException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The previous lifecycle policy preview request has not completed. Wait and try again.
UploadNotFoundException
_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
_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
_KmsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed due to a KMS exception.
InvalidLayerPartException
_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
_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
_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
_UnsupportedImageTypeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The image is of a type that cannot be scanned.
RepositoryAlreadyExistsException
_RepositoryAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository already exists in the specified registry.
ScanNotFoundException
_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
_RepositoryPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository and registry combination does not have an associated repository policy.
EmptyUploadException
_EmptyUploadException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified layer upload does not contain any layer parts.
LimitExceededException
_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.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
LifecyclePolicyPreviewComplete
newLifecyclePolicyPreviewComplete :: Wait GetLifecyclePolicyPreview Source #
Polls GetLifecyclePolicyPreview
every 5 seconds until a successful state is reached. An error is returned after 20 failed checks.
ImageScanComplete
newImageScanComplete :: Wait DescribeImageScanFindings Source #
Polls DescribeImageScanFindings
every 5 seconds until a successful state is reached. An error is returned after 60 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
GetRepositoryPolicy
data GetRepositoryPolicy Source #
See: newGetRepositoryPolicy
smart constructor.
Instances
newGetRepositoryPolicy Source #
Create a value of GetRepositoryPolicy
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:GetRepositoryPolicy'
, getRepositoryPolicy_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository. If you do not specify a registry, the default
registry is assumed.
$sel:repositoryName:GetRepositoryPolicy'
, getRepositoryPolicy_repositoryName
- The name of the repository with the policy to retrieve.
data GetRepositoryPolicyResponse Source #
See: newGetRepositoryPolicyResponse
smart constructor.
Instances
newGetRepositoryPolicyResponse Source #
Create a value of GetRepositoryPolicyResponse
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:GetRepositoryPolicy'
, getRepositoryPolicyResponse_registryId
- The registry ID associated with the request.
$sel:repositoryName:GetRepositoryPolicy'
, getRepositoryPolicyResponse_repositoryName
- The repository name associated with the request.
$sel:policyText:GetRepositoryPolicyResponse'
, getRepositoryPolicyResponse_policyText
- The JSON repository policy text associated with the repository.
$sel:httpStatus:GetRepositoryPolicyResponse'
, getRepositoryPolicyResponse_httpStatus
- The response's http status code.
PutImageScanningConfiguration
data PutImageScanningConfiguration Source #
See: newPutImageScanningConfiguration
smart constructor.
Instances
newPutImageScanningConfiguration Source #
:: Text | |
-> ImageScanningConfiguration |
|
-> PutImageScanningConfiguration |
Create a value of PutImageScanningConfiguration
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:PutImageScanningConfiguration'
, putImageScanningConfiguration_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository in which to update the image scanning
configuration setting. If you do not specify a registry, the default
registry is assumed.
$sel:repositoryName:PutImageScanningConfiguration'
, putImageScanningConfiguration_repositoryName
- The name of the repository in which to update the image scanning
configuration setting.
$sel:imageScanningConfiguration:PutImageScanningConfiguration'
, putImageScanningConfiguration_imageScanningConfiguration
- The image scanning configuration for the repository. This setting
determines whether images are scanned for known vulnerabilities after
being pushed to the repository.
data PutImageScanningConfigurationResponse Source #
See: newPutImageScanningConfigurationResponse
smart constructor.
PutImageScanningConfigurationResponse' (Maybe Text) (Maybe ImageScanningConfiguration) (Maybe Text) Int |
Instances
newPutImageScanningConfigurationResponse Source #
Create a value of PutImageScanningConfigurationResponse
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:PutImageScanningConfiguration'
, putImageScanningConfigurationResponse_registryId
- The registry ID associated with the request.
$sel:imageScanningConfiguration:PutImageScanningConfiguration'
, putImageScanningConfigurationResponse_imageScanningConfiguration
- The image scanning configuration setting for the repository.
$sel:repositoryName:PutImageScanningConfiguration'
, putImageScanningConfigurationResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:PutImageScanningConfigurationResponse'
, putImageScanningConfigurationResponse_httpStatus
- The response's http status code.
PutLifecyclePolicy
data PutLifecyclePolicy Source #
See: newPutLifecyclePolicy
smart constructor.
Instances
newPutLifecyclePolicy Source #
:: Text | |
-> Text | |
-> PutLifecyclePolicy |
Create a value of PutLifecyclePolicy
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:PutLifecyclePolicy'
, putLifecyclePolicy_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository. If you do
not specify a registry, the default
registry is assumed.
$sel:repositoryName:PutLifecyclePolicy'
, putLifecyclePolicy_repositoryName
- The name of the repository to receive the policy.
$sel:lifecyclePolicyText:PutLifecyclePolicy'
, putLifecyclePolicy_lifecyclePolicyText
- The JSON repository policy text to apply to the repository.
data PutLifecyclePolicyResponse Source #
See: newPutLifecyclePolicyResponse
smart constructor.
Instances
newPutLifecyclePolicyResponse Source #
Create a value of PutLifecyclePolicyResponse
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:PutLifecyclePolicy'
, putLifecyclePolicyResponse_registryId
- The registry ID associated with the request.
$sel:lifecyclePolicyText:PutLifecyclePolicy'
, putLifecyclePolicyResponse_lifecyclePolicyText
- The JSON repository policy text.
$sel:repositoryName:PutLifecyclePolicy'
, putLifecyclePolicyResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:PutLifecyclePolicyResponse'
, putLifecyclePolicyResponse_httpStatus
- The response's http status code.
DeleteLifecyclePolicy
data DeleteLifecyclePolicy Source #
See: newDeleteLifecyclePolicy
smart constructor.
Instances
newDeleteLifecyclePolicy Source #
Create a value of DeleteLifecyclePolicy
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:DeleteLifecyclePolicy'
, deleteLifecyclePolicy_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository. If you do not specify a registry, the default
registry is assumed.
$sel:repositoryName:DeleteLifecyclePolicy'
, deleteLifecyclePolicy_repositoryName
- The name of the repository.
data DeleteLifecyclePolicyResponse Source #
See: newDeleteLifecyclePolicyResponse
smart constructor.
Instances
newDeleteLifecyclePolicyResponse Source #
Create a value of DeleteLifecyclePolicyResponse
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:DeleteLifecyclePolicy'
, deleteLifecyclePolicyResponse_registryId
- The registry ID associated with the request.
$sel:lastEvaluatedAt:DeleteLifecyclePolicyResponse'
, deleteLifecyclePolicyResponse_lastEvaluatedAt
- The time stamp of the last time that the lifecycle policy was run.
$sel:lifecyclePolicyText:DeleteLifecyclePolicyResponse'
, deleteLifecyclePolicyResponse_lifecyclePolicyText
- The JSON lifecycle policy text.
$sel:repositoryName:DeleteLifecyclePolicy'
, deleteLifecyclePolicyResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:DeleteLifecyclePolicyResponse'
, deleteLifecyclePolicyResponse_httpStatus
- The response's http status code.
PutImageTagMutability
data PutImageTagMutability Source #
See: newPutImageTagMutability
smart constructor.
Instances
newPutImageTagMutability Source #
Create a value of PutImageTagMutability
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:PutImageTagMutability'
, putImageTagMutability_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository in which to update the image tag mutability
settings. If you do not specify a registry, the default registry is
assumed.
$sel:repositoryName:PutImageTagMutability'
, putImageTagMutability_repositoryName
- The name of the repository in which to update the image tag mutability
settings.
$sel:imageTagMutability:PutImageTagMutability'
, putImageTagMutability_imageTagMutability
- The tag mutability setting for the repository. If MUTABLE
is
specified, image tags can be overwritten. If IMMUTABLE
is specified,
all image tags within the repository will be immutable which will
prevent them from being overwritten.
data PutImageTagMutabilityResponse Source #
See: newPutImageTagMutabilityResponse
smart constructor.
Instances
newPutImageTagMutabilityResponse Source #
Create a value of PutImageTagMutabilityResponse
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:PutImageTagMutability'
, putImageTagMutabilityResponse_registryId
- The registry ID associated with the request.
$sel:repositoryName:PutImageTagMutability'
, putImageTagMutabilityResponse_repositoryName
- The repository name associated with the request.
$sel:imageTagMutability:PutImageTagMutability'
, putImageTagMutabilityResponse_imageTagMutability
- The image tag mutability setting for the repository.
$sel:httpStatus:PutImageTagMutabilityResponse'
, putImageTagMutabilityResponse_httpStatus
- The response's http status code.
BatchDeleteImage
data BatchDeleteImage Source #
Deletes specified images within a specified repository. Images are
specified with either the imageTag
or imageDigest
.
See: newBatchDeleteImage
smart constructor.
Instances
Create a value of BatchDeleteImage
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:BatchDeleteImage'
, batchDeleteImage_registryId
- The Amazon Web Services account ID associated with the registry that
contains the image to delete. If you do not specify a registry, the
default registry is assumed.
$sel:repositoryName:BatchDeleteImage'
, batchDeleteImage_repositoryName
- The repository that contains the image to delete.
$sel:imageIds:BatchDeleteImage'
, batchDeleteImage_imageIds
- A list of image ID references that correspond to images to delete. The
format of the imageIds
reference is imageTag=tag
or
imageDigest=digest
.
data BatchDeleteImageResponse Source #
See: newBatchDeleteImageResponse
smart constructor.
Instances
newBatchDeleteImageResponse Source #
Create a value of BatchDeleteImageResponse
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:failures:BatchDeleteImageResponse'
, batchDeleteImageResponse_failures
- Any failures associated with the call.
$sel:imageIds:BatchDeleteImage'
, batchDeleteImageResponse_imageIds
- The image IDs of the deleted images.
$sel:httpStatus:BatchDeleteImageResponse'
, batchDeleteImageResponse_httpStatus
- The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The Amazon Resource Name (ARN) that identifies the resource for which to
list the tags. Currently, the only supported resource is an Amazon ECR
repository.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- The tags for the resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
GetLifecyclePolicyPreview (Paginated)
data GetLifecyclePolicyPreview Source #
See: newGetLifecyclePolicyPreview
smart constructor.
GetLifecyclePolicyPreview' (Maybe Text) (Maybe [ImageIdentifier]) (Maybe Text) (Maybe LifecyclePolicyPreviewFilter) (Maybe Natural) Text |
Instances
newGetLifecyclePolicyPreview Source #
Create a value of GetLifecyclePolicyPreview
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:GetLifecyclePolicyPreview'
, getLifecyclePolicyPreview_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository. If you do not specify a registry, the default
registry is assumed.
$sel:imageIds:GetLifecyclePolicyPreview'
, getLifecyclePolicyPreview_imageIds
- The list of imageIDs to be included.
$sel:nextToken:GetLifecyclePolicyPreview'
, getLifecyclePolicyPreview_nextToken
- The nextToken
value returned from a previous paginated
GetLifecyclePolicyPreviewRequest
request where maxResults
was used
and the
results exceeded the value of that parameter. Pagination
continues from the end of the
previous results that returned the
nextToken
value. This value is
null
when there are no more results
to return. This option cannot be used when you specify images with
imageIds
.
$sel:filter':GetLifecyclePolicyPreview'
, getLifecyclePolicyPreview_filter
- An optional parameter that filters results based on image tag status and
all tags, if tagged.
$sel:maxResults:GetLifecyclePolicyPreview'
, getLifecyclePolicyPreview_maxResults
- The maximum number of repository results returned by
GetLifecyclePolicyPreviewRequest
in
paginated output. When this
parameter is used, GetLifecyclePolicyPreviewRequest
only returns
maxResults
results in a single page along with a nextToken
response
element. The remaining results of the initial request can be seen by
sending
another GetLifecyclePolicyPreviewRequest
request with the
returned nextToken
value. This value can be between 1 and 1000. If
this
parameter is not used, then GetLifecyclePolicyPreviewRequest
returns up to
100 results and a nextToken
value, if
applicable. This
option cannot be used when you specify images with imageIds
.
$sel:repositoryName:GetLifecyclePolicyPreview'
, getLifecyclePolicyPreview_repositoryName
- The name of the repository.
data GetLifecyclePolicyPreviewResponse Source #
See: newGetLifecyclePolicyPreviewResponse
smart constructor.
Instances
newGetLifecyclePolicyPreviewResponse Source #
Create a value of GetLifecyclePolicyPreviewResponse
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:summary:GetLifecyclePolicyPreviewResponse'
, getLifecyclePolicyPreviewResponse_summary
- The list of images that is returned as a result of the action.
$sel:status:GetLifecyclePolicyPreviewResponse'
, getLifecyclePolicyPreviewResponse_status
- The status of the lifecycle policy preview request.
$sel:registryId:GetLifecyclePolicyPreview'
, getLifecyclePolicyPreviewResponse_registryId
- The registry ID associated with the request.
$sel:lifecyclePolicyText:GetLifecyclePolicyPreviewResponse'
, getLifecyclePolicyPreviewResponse_lifecyclePolicyText
- The JSON lifecycle policy text.
$sel:nextToken:GetLifecyclePolicyPreview'
, getLifecyclePolicyPreviewResponse_nextToken
- The nextToken
value to include in a future GetLifecyclePolicyPreview
request. When the results of a GetLifecyclePolicyPreview
request
exceed maxResults
, this value can be used to retrieve the next page of
results. This value is null
when there are no more results to return.
$sel:repositoryName:GetLifecyclePolicyPreview'
, getLifecyclePolicyPreviewResponse_repositoryName
- The repository name associated with the request.
$sel:previewResults:GetLifecyclePolicyPreviewResponse'
, getLifecyclePolicyPreviewResponse_previewResults
- The results of the lifecycle policy preview request.
$sel:httpStatus:GetLifecyclePolicyPreviewResponse'
, getLifecyclePolicyPreviewResponse_httpStatus
- The response's http status code.
BatchCheckLayerAvailability
data BatchCheckLayerAvailability Source #
See: newBatchCheckLayerAvailability
smart constructor.
Instances
newBatchCheckLayerAvailability Source #
Create a value of BatchCheckLayerAvailability
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:BatchCheckLayerAvailability'
, batchCheckLayerAvailability_registryId
- The Amazon Web Services account ID associated with the registry that
contains the image layers to check. If you do not specify a registry,
the default registry is assumed.
$sel:repositoryName:BatchCheckLayerAvailability'
, batchCheckLayerAvailability_repositoryName
- The name of the repository that is associated with the image layers to
check.
$sel:layerDigests:BatchCheckLayerAvailability'
, batchCheckLayerAvailability_layerDigests
- The digests of the image layers to check.
data BatchCheckLayerAvailabilityResponse Source #
See: newBatchCheckLayerAvailabilityResponse
smart constructor.
Instances
newBatchCheckLayerAvailabilityResponse Source #
Create a value of BatchCheckLayerAvailabilityResponse
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:failures:BatchCheckLayerAvailabilityResponse'
, batchCheckLayerAvailabilityResponse_failures
- Any failures associated with the call.
$sel:layers:BatchCheckLayerAvailabilityResponse'
, batchCheckLayerAvailabilityResponse_layers
- A list of image layer objects corresponding to the image layer
references in the request.
$sel:httpStatus:BatchCheckLayerAvailabilityResponse'
, batchCheckLayerAvailabilityResponse_httpStatus
- The response's http status code.
DescribeRegistry
data DescribeRegistry Source #
See: newDescribeRegistry
smart constructor.
Instances
newDescribeRegistry :: DescribeRegistry Source #
Create a value of DescribeRegistry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeRegistryResponse Source #
See: newDescribeRegistryResponse
smart constructor.
Instances
newDescribeRegistryResponse Source #
Create a value of DescribeRegistryResponse
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:replicationConfiguration:DescribeRegistryResponse'
, describeRegistryResponse_replicationConfiguration
- The replication configuration for the registry.
$sel:registryId:DescribeRegistryResponse'
, describeRegistryResponse_registryId
- The ID of the registry.
$sel:httpStatus:DescribeRegistryResponse'
, describeRegistryResponse_httpStatus
- The response's http status code.
DeleteRepositoryPolicy
data DeleteRepositoryPolicy Source #
See: newDeleteRepositoryPolicy
smart constructor.
Instances
newDeleteRepositoryPolicy Source #
Create a value of DeleteRepositoryPolicy
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:DeleteRepositoryPolicy'
, deleteRepositoryPolicy_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository policy to delete. If you do not specify a
registry, the default registry is assumed.
$sel:repositoryName:DeleteRepositoryPolicy'
, deleteRepositoryPolicy_repositoryName
- The name of the repository that is associated with the repository policy
to delete.
data DeleteRepositoryPolicyResponse Source #
See: newDeleteRepositoryPolicyResponse
smart constructor.
Instances
newDeleteRepositoryPolicyResponse Source #
Create a value of DeleteRepositoryPolicyResponse
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:DeleteRepositoryPolicy'
, deleteRepositoryPolicyResponse_registryId
- The registry ID associated with the request.
$sel:repositoryName:DeleteRepositoryPolicy'
, deleteRepositoryPolicyResponse_repositoryName
- The repository name associated with the request.
$sel:policyText:DeleteRepositoryPolicyResponse'
, deleteRepositoryPolicyResponse_policyText
- The JSON repository policy that was deleted from the repository.
$sel:httpStatus:DeleteRepositoryPolicyResponse'
, deleteRepositoryPolicyResponse_httpStatus
- The response's http status code.
CreateRepository
data CreateRepository Source #
See: newCreateRepository
smart constructor.
CreateRepository' (Maybe Text) (Maybe ImageScanningConfiguration) (Maybe EncryptionConfiguration) (Maybe ImageTagMutability) (Maybe [Tag]) Text |
Instances
Create a value of CreateRepository
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:CreateRepository'
, createRepository_registryId
- The AWS account ID associated with the registry to create the
repository. If you do not specify a registry, the default registry is
assumed.
$sel:imageScanningConfiguration:CreateRepository'
, createRepository_imageScanningConfiguration
- The image scanning configuration for the repository. This determines
whether images are scanned for known vulnerabilities after being pushed
to the repository.
$sel:encryptionConfiguration:CreateRepository'
, createRepository_encryptionConfiguration
- The encryption configuration for the repository. This determines how the
contents of your repository are encrypted at rest.
$sel:imageTagMutability:CreateRepository'
, createRepository_imageTagMutability
- The tag mutability setting for the repository. If this parameter is
omitted, the default setting of MUTABLE
will be used which will allow
image tags to be overwritten. If IMMUTABLE
is specified, all image
tags within the repository will be immutable which will prevent them
from being overwritten.
$sel:tags:CreateRepository'
, createRepository_tags
- The metadata that you apply to the repository 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.
$sel:repositoryName:CreateRepository'
, createRepository_repositoryName
- The name to use for the repository. The repository name may be specified
on its own (such as nginx-web-app
) or it can be prepended with a
namespace to group the repository into a category (such as
project-a/nginx-web-app
).
data CreateRepositoryResponse Source #
See: newCreateRepositoryResponse
smart constructor.
Instances
newCreateRepositoryResponse Source #
Create a value of CreateRepositoryResponse
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:repository:CreateRepositoryResponse'
, createRepositoryResponse_repository
- The repository that was created.
$sel:httpStatus:CreateRepositoryResponse'
, createRepositoryResponse_httpStatus
- The response's http status code.
CompleteLayerUpload
data CompleteLayerUpload Source #
See: newCompleteLayerUpload
smart constructor.
Instances
newCompleteLayerUpload Source #
:: Text | |
-> Text | |
-> NonEmpty Text | |
-> CompleteLayerUpload |
Create a value of CompleteLayerUpload
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:CompleteLayerUpload'
, completeLayerUpload_registryId
- The Amazon Web Services account ID associated with the registry to which
to upload layers. If you do not specify a registry, the default registry
is assumed.
$sel:repositoryName:CompleteLayerUpload'
, completeLayerUpload_repositoryName
- The name of the repository to associate with the image layer.
$sel:uploadId:CompleteLayerUpload'
, completeLayerUpload_uploadId
- The upload ID from a previous InitiateLayerUpload operation to associate
with the image layer.
$sel:layerDigests:CompleteLayerUpload'
, completeLayerUpload_layerDigests
- The sha256
digest of the image layer.
data CompleteLayerUploadResponse Source #
See: newCompleteLayerUploadResponse
smart constructor.
Instances
newCompleteLayerUploadResponse Source #
Create a value of CompleteLayerUploadResponse
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:CompleteLayerUpload'
, completeLayerUploadResponse_registryId
- The registry ID associated with the request.
$sel:layerDigest:CompleteLayerUploadResponse'
, completeLayerUploadResponse_layerDigest
- The sha256
digest of the image layer.
$sel:repositoryName:CompleteLayerUpload'
, completeLayerUploadResponse_repositoryName
- The repository name associated with the request.
$sel:uploadId:CompleteLayerUpload'
, completeLayerUploadResponse_uploadId
- The upload ID associated with the layer.
$sel:httpStatus:CompleteLayerUploadResponse'
, completeLayerUploadResponse_httpStatus
- The response's http status code.
DescribeRepositories (Paginated)
data DescribeRepositories Source #
See: newDescribeRepositories
smart constructor.
Instances
newDescribeRepositories :: DescribeRepositories Source #
Create a value of DescribeRepositories
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:DescribeRepositories'
, describeRepositories_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repositories to be described. If you do not specify a
registry, the default registry is assumed.
$sel:repositoryNames:DescribeRepositories'
, describeRepositories_repositoryNames
- A list of repositories to describe. If this parameter is omitted, then
all repositories in a registry are described.
$sel:nextToken:DescribeRepositories'
, describeRepositories_nextToken
- The nextToken
value returned from a previous paginated
DescribeRepositories
request where maxResults
was used and the
results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken
value.
This value is null
when there are no more results to return. This
option cannot be used when you specify repositories with
repositoryNames
.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
$sel:maxResults:DescribeRepositories'
, describeRepositories_maxResults
- The maximum number of repository results returned by
DescribeRepositories
in paginated output. When this parameter is used,
DescribeRepositories
only returns maxResults
results in a single
page along with a nextToken
response element. The remaining results of
the initial request can be seen by sending another
DescribeRepositories
request with the returned nextToken
value. This
value can be between 1 and 1000. If this parameter is not used, then
DescribeRepositories
returns up to 100 results and a nextToken
value, if applicable. This option cannot be used when you specify
repositories with repositoryNames
.
data DescribeRepositoriesResponse Source #
See: newDescribeRepositoriesResponse
smart constructor.
Instances
newDescribeRepositoriesResponse Source #
Create a value of DescribeRepositoriesResponse
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:repositories:DescribeRepositoriesResponse'
, describeRepositoriesResponse_repositories
- A list of repository objects corresponding to valid repositories.
$sel:nextToken:DescribeRepositories'
, describeRepositoriesResponse_nextToken
- The nextToken
value to include in a future DescribeRepositories
request. When the results of a DescribeRepositories
request exceed
maxResults
, this value can be used to retrieve the next page of
results. This value is null
when there are no more results to return.
$sel:httpStatus:DescribeRepositoriesResponse'
, describeRepositoriesResponse_httpStatus
- The response's http status code.
StartLifecyclePolicyPreview
data StartLifecyclePolicyPreview Source #
See: newStartLifecyclePolicyPreview
smart constructor.
Instances
newStartLifecyclePolicyPreview Source #
Create a value of StartLifecyclePolicyPreview
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:StartLifecyclePolicyPreview'
, startLifecyclePolicyPreview_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository. If you do not specify a registry, the default
registry is assumed.
$sel:lifecyclePolicyText:StartLifecyclePolicyPreview'
, startLifecyclePolicyPreview_lifecyclePolicyText
- The policy to be evaluated against. If you do not specify a policy, the
current policy for the repository is used.
$sel:repositoryName:StartLifecyclePolicyPreview'
, startLifecyclePolicyPreview_repositoryName
- The name of the repository to be evaluated.
data StartLifecyclePolicyPreviewResponse Source #
See: newStartLifecyclePolicyPreviewResponse
smart constructor.
StartLifecyclePolicyPreviewResponse' (Maybe LifecyclePolicyPreviewStatus) (Maybe Text) (Maybe Text) (Maybe Text) Int |
Instances
newStartLifecyclePolicyPreviewResponse Source #
Create a value of StartLifecyclePolicyPreviewResponse
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:StartLifecyclePolicyPreviewResponse'
, startLifecyclePolicyPreviewResponse_status
- The status of the lifecycle policy preview request.
$sel:registryId:StartLifecyclePolicyPreview'
, startLifecyclePolicyPreviewResponse_registryId
- The registry ID associated with the request.
$sel:lifecyclePolicyText:StartLifecyclePolicyPreview'
, startLifecyclePolicyPreviewResponse_lifecyclePolicyText
- The JSON repository policy text.
$sel:repositoryName:StartLifecyclePolicyPreview'
, startLifecyclePolicyPreviewResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:StartLifecyclePolicyPreviewResponse'
, startLifecyclePolicyPreviewResponse_httpStatus
- The response's http status code.
DeleteRegistryPolicy
data DeleteRegistryPolicy Source #
See: newDeleteRegistryPolicy
smart constructor.
Instances
newDeleteRegistryPolicy :: DeleteRegistryPolicy Source #
Create a value of DeleteRegistryPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DeleteRegistryPolicyResponse Source #
See: newDeleteRegistryPolicyResponse
smart constructor.
Instances
newDeleteRegistryPolicyResponse Source #
Create a value of DeleteRegistryPolicyResponse
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:DeleteRegistryPolicyResponse'
, deleteRegistryPolicyResponse_registryId
- The registry ID associated with the request.
$sel:policyText:DeleteRegistryPolicyResponse'
, deleteRegistryPolicyResponse_policyText
- The contents of the registry permissions policy that was deleted.
$sel:httpStatus:DeleteRegistryPolicyResponse'
, deleteRegistryPolicyResponse_httpStatus
- The response's http status code.
PutRegistryPolicy
data PutRegistryPolicy Source #
See: newPutRegistryPolicy
smart constructor.
Instances
Create a value of PutRegistryPolicy
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:policyText:PutRegistryPolicy'
, putRegistryPolicy_policyText
- The JSON policy text to apply to your registry. The policy text follows
the same format as IAM policy text. For more information, see
Registry permissions
in the Amazon Elastic Container Registry User Guide.
data PutRegistryPolicyResponse Source #
See: newPutRegistryPolicyResponse
smart constructor.
Instances
newPutRegistryPolicyResponse Source #
Create a value of PutRegistryPolicyResponse
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:PutRegistryPolicyResponse'
, putRegistryPolicyResponse_registryId
- The registry ID.
$sel:policyText:PutRegistryPolicy'
, putRegistryPolicyResponse_policyText
- The JSON policy text for your registry.
$sel:httpStatus:PutRegistryPolicyResponse'
, putRegistryPolicyResponse_httpStatus
- The response's http status code.
UploadLayerPart
data UploadLayerPart Source #
See: newUploadLayerPart
smart constructor.
Instances
:: Text | |
-> Text | |
-> Natural | |
-> Natural | |
-> ByteString | |
-> UploadLayerPart |
Create a value of UploadLayerPart
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:UploadLayerPart'
, uploadLayerPart_registryId
- The Amazon Web Services account ID associated with the registry to which
you are uploading layer parts. If you do not specify a registry, the
default registry is assumed.
$sel:repositoryName:UploadLayerPart'
, uploadLayerPart_repositoryName
- The name of the repository to which you are uploading layer parts.
$sel:uploadId:UploadLayerPart'
, uploadLayerPart_uploadId
- The upload ID from a previous InitiateLayerUpload operation to associate
with the layer part upload.
$sel:partFirstByte:UploadLayerPart'
, uploadLayerPart_partFirstByte
- The position of the first byte of the layer part witin the overall image
layer.
$sel:partLastByte:UploadLayerPart'
, uploadLayerPart_partLastByte
- The position of the last byte of the layer part within the overall image
layer.
$sel:layerPartBlob:UploadLayerPart'
, uploadLayerPart_layerPartBlob
- The base64-encoded layer part payload.--
-- 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.
data UploadLayerPartResponse Source #
See: newUploadLayerPartResponse
smart constructor.
Instances
newUploadLayerPartResponse Source #
Create a value of UploadLayerPartResponse
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:UploadLayerPart'
, uploadLayerPartResponse_registryId
- The registry ID associated with the request.
$sel:lastByteReceived:UploadLayerPartResponse'
, uploadLayerPartResponse_lastByteReceived
- The integer value of the last byte received in the request.
$sel:repositoryName:UploadLayerPart'
, uploadLayerPartResponse_repositoryName
- The repository name associated with the request.
$sel:uploadId:UploadLayerPart'
, uploadLayerPartResponse_uploadId
- The upload ID associated with the request.
$sel:httpStatus:UploadLayerPartResponse'
, uploadLayerPartResponse_httpStatus
- The response's http status code.
DescribeImageReplicationStatus
data DescribeImageReplicationStatus Source #
See: newDescribeImageReplicationStatus
smart constructor.
Instances
newDescribeImageReplicationStatus Source #
Create a value of DescribeImageReplicationStatus
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:DescribeImageReplicationStatus'
, describeImageReplicationStatus_registryId
- The Amazon Web Services account ID associated with the registry. If you
do not specify a registry, the default registry is assumed.
$sel:repositoryName:DescribeImageReplicationStatus'
, describeImageReplicationStatus_repositoryName
- The name of the repository that the image is in.
$sel:imageId:DescribeImageReplicationStatus'
, describeImageReplicationStatus_imageId
- Undocumented member.
data DescribeImageReplicationStatusResponse Source #
See: newDescribeImageReplicationStatusResponse
smart constructor.
DescribeImageReplicationStatusResponse' (Maybe ImageIdentifier) (Maybe Text) (Maybe [ImageReplicationStatus]) Int |
Instances
newDescribeImageReplicationStatusResponse Source #
Create a value of DescribeImageReplicationStatusResponse
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:imageId:DescribeImageReplicationStatus'
, describeImageReplicationStatusResponse_imageId
- Undocumented member.
$sel:repositoryName:DescribeImageReplicationStatus'
, describeImageReplicationStatusResponse_repositoryName
- The repository name associated with the request.
$sel:replicationStatuses:DescribeImageReplicationStatusResponse'
, describeImageReplicationStatusResponse_replicationStatuses
- The replication status details for the images in the specified
repository.
$sel:httpStatus:DescribeImageReplicationStatusResponse'
, describeImageReplicationStatusResponse_httpStatus
- The response's http status code.
BatchGetImage
data BatchGetImage Source #
See: newBatchGetImage
smart constructor.
BatchGetImage' (Maybe Text) (Maybe (NonEmpty Text)) Text [ImageIdentifier] |
Instances
Create a value of BatchGetImage
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:BatchGetImage'
, batchGetImage_registryId
- The Amazon Web Services account ID associated with the registry that
contains the images to describe. If you do not specify a registry, the
default registry is assumed.
$sel:acceptedMediaTypes:BatchGetImage'
, batchGetImage_acceptedMediaTypes
- The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
|
application/vnd.docker.distribution.manifest.v2+json
|
application/vnd.oci.image.manifest.v1+json
$sel:repositoryName:BatchGetImage'
, batchGetImage_repositoryName
- The repository that contains the images to describe.
$sel:imageIds:BatchGetImage'
, batchGetImage_imageIds
- A list of image ID references that correspond to images to describe. The
format of the imageIds
reference is imageTag=tag
or
imageDigest=digest
.
data BatchGetImageResponse Source #
See: newBatchGetImageResponse
smart constructor.
BatchGetImageResponse' (Maybe [Image]) (Maybe [ImageFailure]) Int |
Instances
newBatchGetImageResponse Source #
Create a value of BatchGetImageResponse
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:images:BatchGetImageResponse'
, batchGetImageResponse_images
- A list of image objects corresponding to the image references in the
request.
$sel:failures:BatchGetImageResponse'
, batchGetImageResponse_failures
- Any failures associated with the call.
$sel:httpStatus:BatchGetImageResponse'
, batchGetImageResponse_httpStatus
- The response's http status code.
PutReplicationConfiguration
data PutReplicationConfiguration Source #
See: newPutReplicationConfiguration
smart constructor.
Instances
newPutReplicationConfiguration Source #
Create a value of PutReplicationConfiguration
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:replicationConfiguration:PutReplicationConfiguration'
, putReplicationConfiguration_replicationConfiguration
- An object representing the replication configuration for a registry.
data PutReplicationConfigurationResponse Source #
See: newPutReplicationConfigurationResponse
smart constructor.
Instances
Eq PutReplicationConfigurationResponse Source # | |
Read PutReplicationConfigurationResponse Source # | |
Show PutReplicationConfigurationResponse Source # | |
Generic PutReplicationConfigurationResponse Source # | |
NFData PutReplicationConfigurationResponse Source # | |
Defined in Amazonka.ECR.PutReplicationConfiguration rnf :: PutReplicationConfigurationResponse -> () # | |
type Rep PutReplicationConfigurationResponse Source # | |
Defined in Amazonka.ECR.PutReplicationConfiguration type Rep PutReplicationConfigurationResponse = D1 ('MetaData "PutReplicationConfigurationResponse" "Amazonka.ECR.PutReplicationConfiguration" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "PutReplicationConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutReplicationConfigurationResponse Source #
Create a value of PutReplicationConfigurationResponse
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:replicationConfiguration:PutReplicationConfiguration'
, putReplicationConfigurationResponse_replicationConfiguration
- The contents of the replication configuration for the registry.
$sel:httpStatus:PutReplicationConfigurationResponse'
, putReplicationConfigurationResponse_httpStatus
- The response's http status code.
StartImageScan
data StartImageScan Source #
See: newStartImageScan
smart constructor.
Instances
:: Text | |
-> ImageIdentifier | |
-> StartImageScan |
Create a value of StartImageScan
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:StartImageScan'
, startImageScan_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository in which to start an image scan request. If you
do not specify a registry, the default registry is assumed.
$sel:repositoryName:StartImageScan'
, startImageScan_repositoryName
- The name of the repository that contains the images to scan.
$sel:imageId:StartImageScan'
, startImageScan_imageId
- Undocumented member.
data StartImageScanResponse Source #
See: newStartImageScanResponse
smart constructor.
StartImageScanResponse' (Maybe Text) (Maybe ImageScanStatus) (Maybe ImageIdentifier) (Maybe Text) Int |
Instances
newStartImageScanResponse Source #
Create a value of StartImageScanResponse
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:StartImageScan'
, startImageScanResponse_registryId
- The registry ID associated with the request.
$sel:imageScanStatus:StartImageScanResponse'
, startImageScanResponse_imageScanStatus
- The current state of the scan.
$sel:imageId:StartImageScan'
, startImageScanResponse_imageId
- Undocumented member.
$sel:repositoryName:StartImageScan'
, startImageScanResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:StartImageScanResponse'
, startImageScanResponse_httpStatus
- The response's http status code.
GetLifecyclePolicy
data GetLifecyclePolicy Source #
See: newGetLifecyclePolicy
smart constructor.
Instances
newGetLifecyclePolicy Source #
Create a value of GetLifecyclePolicy
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:GetLifecyclePolicy'
, getLifecyclePolicy_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository. If you do not specify a registry, the default
registry is assumed.
$sel:repositoryName:GetLifecyclePolicy'
, getLifecyclePolicy_repositoryName
- The name of the repository.
data GetLifecyclePolicyResponse Source #
See: newGetLifecyclePolicyResponse
smart constructor.
Instances
newGetLifecyclePolicyResponse Source #
Create a value of GetLifecyclePolicyResponse
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:GetLifecyclePolicy'
, getLifecyclePolicyResponse_registryId
- The registry ID associated with the request.
$sel:lastEvaluatedAt:GetLifecyclePolicyResponse'
, getLifecyclePolicyResponse_lastEvaluatedAt
- The time stamp of the last time that the lifecycle policy was run.
$sel:lifecyclePolicyText:GetLifecyclePolicyResponse'
, getLifecyclePolicyResponse_lifecyclePolicyText
- The JSON lifecycle policy text.
$sel:repositoryName:GetLifecyclePolicy'
, getLifecyclePolicyResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:GetLifecyclePolicyResponse'
, getLifecyclePolicyResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
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:resourceArn:TagResource'
, tagResource_resourceArn
- The Amazon Resource Name (ARN) of the the resource to which to add tags.
Currently, the only supported resource is an Amazon ECR repository.
$sel:tags:TagResource'
, tagResource_tags
- The tags to add to the resource. A tag is an array of key-value pairs.
Tag keys can have a maximum character length of 128 characters, and tag
values can have a maximum length of 256 characters.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
Create a value of TagResourceResponse
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:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
SetRepositoryPolicy
data SetRepositoryPolicy Source #
See: newSetRepositoryPolicy
smart constructor.
Instances
newSetRepositoryPolicy Source #
:: Text | |
-> Text | |
-> SetRepositoryPolicy |
Create a value of SetRepositoryPolicy
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:force:SetRepositoryPolicy'
, setRepositoryPolicy_force
- If the policy you are attempting to set on a repository policy would
prevent you from setting another policy in the future, you must force
the SetRepositoryPolicy operation. This is intended to prevent
accidental repository lock outs.
$sel:registryId:SetRepositoryPolicy'
, setRepositoryPolicy_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository. If you do not specify a registry, the default
registry is assumed.
$sel:repositoryName:SetRepositoryPolicy'
, setRepositoryPolicy_repositoryName
- The name of the repository to receive the policy.
$sel:policyText:SetRepositoryPolicy'
, setRepositoryPolicy_policyText
- The JSON repository policy text to apply to the repository. For more
information, see
Amazon ECR repository policies
in the Amazon Elastic Container Registry User Guide.
data SetRepositoryPolicyResponse Source #
See: newSetRepositoryPolicyResponse
smart constructor.
Instances
newSetRepositoryPolicyResponse Source #
Create a value of SetRepositoryPolicyResponse
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:SetRepositoryPolicy'
, setRepositoryPolicyResponse_registryId
- The registry ID associated with the request.
$sel:repositoryName:SetRepositoryPolicy'
, setRepositoryPolicyResponse_repositoryName
- The repository name associated with the request.
$sel:policyText:SetRepositoryPolicy'
, setRepositoryPolicyResponse_policyText
- The JSON repository policy text applied to the repository.
$sel:httpStatus:SetRepositoryPolicyResponse'
, setRepositoryPolicyResponse_httpStatus
- The response's http status code.
DescribeImageScanFindings (Paginated)
data DescribeImageScanFindings Source #
See: newDescribeImageScanFindings
smart constructor.
Instances
newDescribeImageScanFindings Source #
Create a value of DescribeImageScanFindings
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:DescribeImageScanFindings'
, describeImageScanFindings_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository in which to describe the image scan findings
for. If you do not specify a registry, the default registry is assumed.
$sel:nextToken:DescribeImageScanFindings'
, describeImageScanFindings_nextToken
- The nextToken
value returned from a previous paginated
DescribeImageScanFindings
request where maxResults
was used and the
results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the nextToken
value.
This value is null when there are no more results to return.
$sel:maxResults:DescribeImageScanFindings'
, describeImageScanFindings_maxResults
- The maximum number of image scan results returned by
DescribeImageScanFindings
in paginated output. When this parameter is
used, DescribeImageScanFindings
only returns maxResults
results in a
single page along with a nextToken
response element. The remaining
results of the initial request can be seen by sending another
DescribeImageScanFindings
request with the returned nextToken
value.
This value can be between 1 and 1000. If this parameter is not used,
then DescribeImageScanFindings
returns up to 100 results and a
nextToken
value, if applicable.
$sel:repositoryName:DescribeImageScanFindings'
, describeImageScanFindings_repositoryName
- The repository for the image for which to describe the scan findings.
$sel:imageId:DescribeImageScanFindings'
, describeImageScanFindings_imageId
- Undocumented member.
data DescribeImageScanFindingsResponse Source #
See: newDescribeImageScanFindingsResponse
smart constructor.
DescribeImageScanFindingsResponse' (Maybe Text) (Maybe ImageScanFindings) (Maybe ImageScanStatus) (Maybe Text) (Maybe ImageIdentifier) (Maybe Text) Int |
Instances
newDescribeImageScanFindingsResponse Source #
Create a value of DescribeImageScanFindingsResponse
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:DescribeImageScanFindings'
, describeImageScanFindingsResponse_registryId
- The registry ID associated with the request.
$sel:imageScanFindings:DescribeImageScanFindingsResponse'
, describeImageScanFindingsResponse_imageScanFindings
- The information contained in the image scan findings.
$sel:imageScanStatus:DescribeImageScanFindingsResponse'
, describeImageScanFindingsResponse_imageScanStatus
- The current state of the scan.
$sel:nextToken:DescribeImageScanFindings'
, describeImageScanFindingsResponse_nextToken
- The nextToken
value to include in a future DescribeImageScanFindings
request. When the results of a DescribeImageScanFindings
request
exceed maxResults
, this value can be used to retrieve the next page of
results. This value is null when there are no more results to return.
$sel:imageId:DescribeImageScanFindings'
, describeImageScanFindingsResponse_imageId
- Undocumented member.
$sel:repositoryName:DescribeImageScanFindings'
, describeImageScanFindingsResponse_repositoryName
- The repository name associated with the request.
$sel:httpStatus:DescribeImageScanFindingsResponse'
, describeImageScanFindingsResponse_httpStatus
- The response's http status code.
InitiateLayerUpload
data InitiateLayerUpload Source #
See: newInitiateLayerUpload
smart constructor.
Instances
newInitiateLayerUpload Source #
Create a value of InitiateLayerUpload
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:InitiateLayerUpload'
, initiateLayerUpload_registryId
- The Amazon Web Services account ID associated with the registry to which
you intend to upload layers. If you do not specify a registry, the
default registry is assumed.
$sel:repositoryName:InitiateLayerUpload'
, initiateLayerUpload_repositoryName
- The name of the repository to which you intend to upload layers.
data InitiateLayerUploadResponse Source #
See: newInitiateLayerUploadResponse
smart constructor.
Instances
newInitiateLayerUploadResponse Source #
Create a value of InitiateLayerUploadResponse
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:partSize:InitiateLayerUploadResponse'
, initiateLayerUploadResponse_partSize
- The size, in bytes, that Amazon ECR expects future layer part uploads to
be.
$sel:uploadId:InitiateLayerUploadResponse'
, initiateLayerUploadResponse_uploadId
- The upload ID for the layer upload. This parameter is passed to further
UploadLayerPart and CompleteLayerUpload operations.
$sel:httpStatus:InitiateLayerUploadResponse'
, initiateLayerUploadResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
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:resourceArn:UntagResource'
, untagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource from which to remove
tags. Currently, the only supported resource is an Amazon ECR
repository.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The keys of the tags to be removed.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
DeleteRepository
data DeleteRepository Source #
See: newDeleteRepository
smart constructor.
Instances
Create a value of DeleteRepository
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:force:DeleteRepository'
, deleteRepository_force
- If a repository contains images, forces the deletion.
$sel:registryId:DeleteRepository'
, deleteRepository_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository to delete. If you do not specify a registry, the
default registry is assumed.
$sel:repositoryName:DeleteRepository'
, deleteRepository_repositoryName
- The name of the repository to delete.
data DeleteRepositoryResponse Source #
See: newDeleteRepositoryResponse
smart constructor.
Instances
newDeleteRepositoryResponse Source #
Create a value of DeleteRepositoryResponse
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:repository:DeleteRepositoryResponse'
, deleteRepositoryResponse_repository
- The repository that was deleted.
$sel:httpStatus:DeleteRepositoryResponse'
, deleteRepositoryResponse_httpStatus
- The response's http status code.
GetRegistryPolicy
data GetRegistryPolicy Source #
See: newGetRegistryPolicy
smart constructor.
Instances
newGetRegistryPolicy :: GetRegistryPolicy Source #
Create a value of GetRegistryPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data GetRegistryPolicyResponse Source #
See: newGetRegistryPolicyResponse
smart constructor.
Instances
newGetRegistryPolicyResponse Source #
Create a value of GetRegistryPolicyResponse
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:GetRegistryPolicyResponse'
, getRegistryPolicyResponse_registryId
- The ID of the registry.
$sel:policyText:GetRegistryPolicyResponse'
, getRegistryPolicyResponse_policyText
- The JSON text of the permissions policy for a registry.
$sel:httpStatus:GetRegistryPolicyResponse'
, getRegistryPolicyResponse_httpStatus
- The response's http status code.
PutImage
See: newPutImage
smart constructor.
Instances
Create a value of PutImage
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:PutImage'
, putImage_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository in which to put the image. If you do not specify
a registry, the default registry is assumed.
$sel:imageManifestMediaType:PutImage'
, putImage_imageManifestMediaType
- The media type of the image manifest. If you push an image manifest that
does not contain the mediaType
field, you must specify the
imageManifestMediaType
in the request.
$sel:imageDigest:PutImage'
, putImage_imageDigest
- The image digest of the image manifest corresponding to the image.
$sel:imageTag:PutImage'
, putImage_imageTag
- The tag to associate with the image. This parameter is required for
images that use the Docker Image Manifest V2 Schema 2 or Open Container
Initiative (OCI) formats.
$sel:repositoryName:PutImage'
, putImage_repositoryName
- The name of the repository in which to put the image.
$sel:imageManifest:PutImage'
, putImage_imageManifest
- The image manifest corresponding to the image to be uploaded.
data PutImageResponse Source #
See: newPutImageResponse
smart constructor.
Instances
Create a value of PutImageResponse
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:image:PutImageResponse'
, putImageResponse_image
- Details of the image uploaded.
$sel:httpStatus:PutImageResponse'
, putImageResponse_httpStatus
- The response's http status code.
ListImages (Paginated)
data ListImages Source #
See: newListImages
smart constructor.
ListImages' (Maybe Text) (Maybe Text) (Maybe ListImagesFilter) (Maybe Natural) Text |
Instances
Create a value of ListImages
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:ListImages'
, listImages_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository in which to list images. If you do not specify a
registry, the default registry is assumed.
$sel:nextToken:ListImages'
, listImages_nextToken
- The nextToken
value returned from a previous paginated ListImages
request where maxResults
was used and the results exceeded the value
of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null
when
there are no more results to return.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
$sel:filter':ListImages'
, listImages_filter
- The filter key and value with which to filter your ListImages
results.
$sel:maxResults:ListImages'
, listImages_maxResults
- The maximum number of image results returned by ListImages
in
paginated output. When this parameter is used, ListImages
only returns
maxResults
results in a single page along with a nextToken
response
element. The remaining results of the initial request can be seen by
sending another ListImages
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter is not
used, then ListImages
returns up to 100 results and a nextToken
value, if applicable.
$sel:repositoryName:ListImages'
, listImages_repositoryName
- The repository with image IDs to be listed.
data ListImagesResponse Source #
See: newListImagesResponse
smart constructor.
Instances
newListImagesResponse Source #
Create a value of ListImagesResponse
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:imageIds:ListImagesResponse'
, listImagesResponse_imageIds
- The list of image IDs for the requested repository.
$sel:nextToken:ListImages'
, listImagesResponse_nextToken
- The nextToken
value to include in a future ListImages
request. When
the results of a ListImages
request exceed maxResults
, this value
can be used to retrieve the next page of results. This value is null
when there are no more results to return.
$sel:httpStatus:ListImagesResponse'
, listImagesResponse_httpStatus
- The response's http status code.
GetAuthorizationToken
data GetAuthorizationToken Source #
See: newGetAuthorizationToken
smart constructor.
Instances
newGetAuthorizationToken :: GetAuthorizationToken Source #
Create a value of GetAuthorizationToken
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:registryIds:GetAuthorizationToken'
, getAuthorizationToken_registryIds
- A list of Amazon Web Services account IDs that are associated with the
registries for which to get AuthorizationData objects. If you do not
specify a registry, the default registry is assumed.
data GetAuthorizationTokenResponse Source #
See: newGetAuthorizationTokenResponse
smart constructor.
Instances
newGetAuthorizationTokenResponse Source #
Create a value of GetAuthorizationTokenResponse
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:authorizationData:GetAuthorizationTokenResponse'
, getAuthorizationTokenResponse_authorizationData
- A list of authorization token data objects that correspond to the
registryIds
values in the request.
$sel:httpStatus:GetAuthorizationTokenResponse'
, getAuthorizationTokenResponse_httpStatus
- The response's http status code.
GetDownloadUrlForLayer
data GetDownloadUrlForLayer Source #
See: newGetDownloadUrlForLayer
smart constructor.
Instances
newGetDownloadUrlForLayer Source #
:: Text | |
-> Text | |
-> GetDownloadUrlForLayer |
Create a value of GetDownloadUrlForLayer
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:GetDownloadUrlForLayer'
, getDownloadUrlForLayer_registryId
- The Amazon Web Services account ID associated with the registry that
contains the image layer to download. If you do not specify a registry,
the default registry is assumed.
$sel:repositoryName:GetDownloadUrlForLayer'
, getDownloadUrlForLayer_repositoryName
- The name of the repository that is associated with the image layer to
download.
$sel:layerDigest:GetDownloadUrlForLayer'
, getDownloadUrlForLayer_layerDigest
- The digest of the image layer to download.
data GetDownloadUrlForLayerResponse Source #
See: newGetDownloadUrlForLayerResponse
smart constructor.
Instances
newGetDownloadUrlForLayerResponse Source #
Create a value of GetDownloadUrlForLayerResponse
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:layerDigest:GetDownloadUrlForLayer'
, getDownloadUrlForLayerResponse_layerDigest
- The digest of the image layer to download.
$sel:downloadUrl:GetDownloadUrlForLayerResponse'
, getDownloadUrlForLayerResponse_downloadUrl
- The pre-signed Amazon S3 download URL for the requested layer.
$sel:httpStatus:GetDownloadUrlForLayerResponse'
, getDownloadUrlForLayerResponse_httpStatus
- The response's http status code.
DescribeImages (Paginated)
data DescribeImages Source #
See: newDescribeImages
smart constructor.
DescribeImages' (Maybe Text) (Maybe [ImageIdentifier]) (Maybe Text) (Maybe DescribeImagesFilter) (Maybe Natural) Text |
Instances
Create a value of DescribeImages
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:DescribeImages'
, describeImages_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository in which to describe images. If you do not
specify a registry, the default registry is assumed.
$sel:imageIds:DescribeImages'
, describeImages_imageIds
- The list of image IDs for the requested repository.
$sel:nextToken:DescribeImages'
, describeImages_nextToken
- The nextToken
value returned from a previous paginated
DescribeImages
request where maxResults
was used and the results
exceeded the value of that parameter. Pagination continues from the end
of the previous results that returned the nextToken
value. This value
is null
when there are no more results to return. This option cannot
be used when you specify images with imageIds
.
$sel:filter':DescribeImages'
, describeImages_filter
- The filter key and value with which to filter your DescribeImages
results.
$sel:maxResults:DescribeImages'
, describeImages_maxResults
- The maximum number of repository results returned by DescribeImages
in
paginated output. When this parameter is used, DescribeImages
only
returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be
seen by sending another DescribeImages
request with the returned
nextToken
value. This value can be between 1 and 1000. If this
parameter is not used, then DescribeImages
returns up to 100 results
and a nextToken
value, if applicable. This option cannot be used when
you specify images with imageIds
.
$sel:repositoryName:DescribeImages'
, describeImages_repositoryName
- The repository that contains the images to describe.
data DescribeImagesResponse Source #
See: newDescribeImagesResponse
smart constructor.
Instances
newDescribeImagesResponse Source #
Create a value of DescribeImagesResponse
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:imageDetails:DescribeImagesResponse'
, describeImagesResponse_imageDetails
- A list of ImageDetail objects that contain data about the image.
$sel:nextToken:DescribeImages'
, describeImagesResponse_nextToken
- The nextToken
value to include in a future DescribeImages
request.
When the results of a DescribeImages
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:httpStatus:DescribeImagesResponse'
, describeImagesResponse_httpStatus
- The response's http status code.
Types
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.
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
.
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
.
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.
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..
Image
An object representing an Amazon ECR image.
See: newImage
smart constructor.
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.
ImageDetail
data ImageDetail Source #
An object that describes an image returned by a DescribeImages operation.
See: newImageDetail
smart constructor.
ImageDetail' (Maybe Text) (Maybe [Text]) (Maybe ImageScanStatus) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe ImageScanFindingsSummary) (Maybe Text) (Maybe POSIX) (Maybe Text) |
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.
ImageFailure
data ImageFailure Source #
An object representing an Amazon ECR image failure.
See: newImageFailure
smart constructor.
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.
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.
ImageReplicationStatus
data ImageReplicationStatus Source #
The status of the replication process for an image.
See: newImageReplicationStatus
smart constructor.
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.
ImageScanFinding
data ImageScanFinding Source #
Contains information about an image scan finding.
See: newImageScanFinding
smart constructor.
ImageScanFinding' (Maybe FindingSeverity) (Maybe Text) (Maybe Text) (Maybe [Attribute]) (Maybe Text) |
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.
ImageScanFindings
data ImageScanFindings Source #
The details of an image scan.
See: newImageScanFindings
smart constructor.
ImageScanFindings' (Maybe POSIX) (Maybe [ImageScanFinding]) (Maybe (HashMap FindingSeverity Natural)) (Maybe POSIX) |
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.
ImageScanFindingsSummary
data ImageScanFindingsSummary Source #
A summary of the last completed image scan.
See: newImageScanFindingsSummary
smart constructor.
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.
ImageScanStatus
data ImageScanStatus Source #
The current status of an image scan.
See: newImageScanStatus
smart constructor.
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.
ImageScanningConfiguration
data ImageScanningConfiguration Source #
The image scanning configuration for a repository.
See: newImageScanningConfiguration
smart constructor.
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.
Layer
An object representing an Amazon ECR image layer.
See: newLayer
smart constructor.
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.
LayerFailure
data LayerFailure Source #
An object representing an Amazon ECR image layer failure.
See: newLayerFailure
smart constructor.
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.
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.
LifecyclePolicyPreviewResult
data LifecyclePolicyPreviewResult Source #
The result of the lifecycle policy preview.
See: newLifecyclePolicyPreviewResult
smart constructor.
LifecyclePolicyPreviewResult' (Maybe [Text]) (Maybe LifecyclePolicyRuleAction) (Maybe Text) (Maybe POSIX) (Maybe Natural) |
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.
LifecyclePolicyPreviewSummary
data LifecyclePolicyPreviewSummary Source #
The summary of the lifecycle policy preview request.
See: newLifecyclePolicyPreviewSummary
smart constructor.
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.
LifecyclePolicyRuleAction
data LifecyclePolicyRuleAction Source #
The type of action to be taken.
See: newLifecyclePolicyRuleAction
smart constructor.
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.
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
.
ReplicationConfiguration
data ReplicationConfiguration Source #
The replication configuration for a registry.
See: newReplicationConfiguration
smart constructor.
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.
ReplicationDestination
data ReplicationDestination Source #
An array of objects representing the destination for a replication rule.
See: newReplicationDestination
smart constructor.
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.
ReplicationRule
data ReplicationRule Source #
An array of objects representing the replication destinations and repository filters for a replication configuration.
See: newReplicationRule
smart constructor.
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.
Repository
data Repository Source #
An object representing a repository.
See: newRepository
smart constructor.
Repository' (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe ImageScanningConfiguration) (Maybe Text) (Maybe EncryptionConfiguration) (Maybe Text) (Maybe ImageTagMutability) |
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.
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.
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.
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.