Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- ecr :: Service
- _LayersNotFoundException :: 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
- _ImageAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _UploadNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidLayerPartException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _EmptyUploadException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- data ImageFailureCode
- data LayerAvailability
- data LayerFailureCode
- data AuthorizationData
- authorizationData :: AuthorizationData
- adExpiresAt :: Lens' AuthorizationData (Maybe UTCTime)
- adProxyEndpoint :: Lens' AuthorizationData (Maybe Text)
- adAuthorizationToken :: Lens' AuthorizationData (Maybe Text)
- data Image
- image :: Image
- iRegistryId :: Lens' Image (Maybe Text)
- iImageId :: Lens' Image (Maybe ImageIdentifier)
- iRepositoryName :: Lens' Image (Maybe Text)
- iImageManifest :: Lens' Image (Maybe Text)
- data ImageFailure
- imageFailure :: ImageFailure
- ifFailureReason :: Lens' ImageFailure (Maybe Text)
- ifFailureCode :: Lens' ImageFailure (Maybe ImageFailureCode)
- ifImageId :: Lens' ImageFailure (Maybe ImageIdentifier)
- data ImageIdentifier
- imageIdentifier :: ImageIdentifier
- iiImageDigest :: Lens' ImageIdentifier (Maybe Text)
- iiImageTag :: Lens' ImageIdentifier (Maybe Text)
- data Layer
- layer :: Layer
- lLayerDigest :: Lens' Layer (Maybe Text)
- lLayerSize :: Lens' Layer (Maybe Integer)
- lLayerAvailability :: Lens' Layer (Maybe LayerAvailability)
- data LayerFailure
- layerFailure :: LayerFailure
- lfFailureReason :: Lens' LayerFailure (Maybe Text)
- lfFailureCode :: Lens' LayerFailure (Maybe LayerFailureCode)
- lfLayerDigest :: Lens' LayerFailure (Maybe Text)
- data Repository
- repository :: Repository
- rRepositoryARN :: Lens' Repository (Maybe Text)
- rRegistryId :: Lens' Repository (Maybe Text)
- rRepositoryName :: Lens' Repository (Maybe Text)
Service Configuration
API version '2015-09-21' of the Amazon EC2 Container Registry SDK configuration.
Errors
_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.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified parameter is invalid. Review the available parameters for the API request.
_LayerAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source
The image layer already exists in the associated repository.
_ServerException :: AsError a => Getting (First ServiceError) a ServiceError Source
These errors are usually caused by a server-side issue.
_LayerInaccessibleException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified layer is not available because it is not associated with an image. Unassociated image layers may be cleaned up at any time.
_InvalidLayerException :: AsError a => Getting (First ServiceError) a ServiceError Source
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
_LayerPartTooSmallException :: AsError a => Getting (First ServiceError) a ServiceError Source
Layer parts must be at least 5 MiB in size.
_ImageAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified image has already been pushed, and there are no changes to the manifest or image tag since the last push.
_RepositoryNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
_UploadNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
The upload could not be found, or the specified upload id is not valid for this repository.
_InvalidLayerPartException :: AsError a => Getting (First ServiceError) a ServiceError Source
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
_RepositoryNotEmptyException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified repository contains images. To delete a repository that
contains images, you must force the deletion with the force
parameter.
_RepositoryAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified repository already exists in the specified registry.
_RepositoryPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified repository and registry combination does not have an associated repository policy.
_EmptyUploadException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified layer upload does not contain any layer parts.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Default Service Limits in the Amazon EC2 Container Registry User Guide.
ImageFailureCode
data ImageFailureCode Source
LayerAvailability
data LayerAvailability Source
LayerFailureCode
data LayerFailureCode Source
AuthorizationData
data AuthorizationData Source
An object representing authorization data for an Amazon ECR registry.
See: authorizationData
smart constructor.
authorizationData :: AuthorizationData Source
Creates a value of AuthorizationData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adExpiresAt :: Lens' AuthorizationData (Maybe UTCTime) Source
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
adProxyEndpoint :: Lens' AuthorizationData (Maybe Text) Source
The registry URL to use for this authorization token in a 'docker login' command. The Amazon ECR registry URL format is 'https:\/\/aws_account_id.dkr.ecr.region.amazonaws.com'. For example, 'https:\/\/012345678910.dkr.ecr.us-east-1.amazonaws.com'.
adAuthorizationToken :: Lens' AuthorizationData (Maybe Text) Source
A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format 'user:password' for private registry authentication using 'docker login'.
Image
Object representing an image.
See: image
smart constructor.
Creates a value of Image
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iRegistryId :: Lens' Image (Maybe Text) Source
The AWS account ID associated with the registry containing the image.
iImageId :: Lens' Image (Maybe ImageIdentifier) Source
An object containing the image tag and image digest associated with an image.
iRepositoryName :: Lens' Image (Maybe Text) Source
The name of the repository associated with the image.
ImageFailure
data ImageFailure Source
See: imageFailure
smart constructor.
imageFailure :: ImageFailure Source
Creates a value of ImageFailure
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ifFailureReason :: Lens' ImageFailure (Maybe Text) Source
The reason for the failure.
ifFailureCode :: Lens' ImageFailure (Maybe ImageFailureCode) Source
The code associated with the failure.
ifImageId :: Lens' ImageFailure (Maybe ImageIdentifier) Source
The image ID associated with the failure.
ImageIdentifier
data ImageIdentifier Source
See: imageIdentifier
smart constructor.
imageIdentifier :: ImageIdentifier Source
Creates a value of ImageIdentifier
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iiImageDigest :: Lens' ImageIdentifier (Maybe Text) Source
The sha256
digest of the image manifest.
iiImageTag :: Lens' ImageIdentifier (Maybe Text) Source
The tag used for the image.
Layer
See: layer
smart constructor.
Creates a value of Layer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lLayerAvailability :: Lens' Layer (Maybe LayerAvailability) Source
The availability status of the image layer. Valid values are AVAILABLE
and UNAVAILABLE
.
LayerFailure
data LayerFailure Source
See: layerFailure
smart constructor.
layerFailure :: LayerFailure Source
Creates a value of LayerFailure
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfFailureReason :: Lens' LayerFailure (Maybe Text) Source
The reason for the failure.
lfFailureCode :: Lens' LayerFailure (Maybe LayerFailureCode) Source
The failure code associated with the failure.
lfLayerDigest :: Lens' LayerFailure (Maybe Text) Source
The layer digest associated with the failure.
Repository
data Repository Source
Object representing a repository.
See: repository
smart constructor.
repository :: Repository Source
Creates a value of Repository
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rRepositoryARN :: Lens' Repository (Maybe Text) Source
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the 'arn:aws:ecr' namespace, followed by the region of the repository, the AWS account ID of the repository owner, the repository namespace, and then the repository name. For example, 'arn:aws:ecr:region:012345678910:repository\/test'.
rRegistryId :: Lens' Repository (Maybe Text) Source
The AWS account ID associated with the registry that contains the repository.
rRepositoryName :: Lens' Repository (Maybe Text) Source
The name of the repository.