amazonka-ecr-1.4.2: Amazon EC2 Container Registry SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECR

Contents

Description

Amazon EC2 Container Registry (Amazon ECR) is a managed AWS Docker registry service. Customers can use the familiar Docker CLI to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry. Amazon ECR supports private Docker repositories with resource-based permissions using AWS IAM so that specific users or Amazon EC2 instances can access repositories and images. Developers can use the Docker CLI to author and manage images.

Synopsis

Service Configuration

ecr :: 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.

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.

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.

ImageAlreadyExistsException

_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

_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

_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

_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

_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

_RepositoryAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified repository already exists in the specified registry.

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 Default Service Limits in the Amazon EC2 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.

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

BatchDeleteImage

BatchCheckLayerAvailability

DeleteRepositoryPolicy

CreateRepository

CompleteLayerUpload

DescribeRepositories

UploadLayerPart

BatchGetImage

SetRepositoryPolicy

InitiateLayerUpload

DeleteRepository

PutImage

ListImages

GetAuthorizationToken

GetDownloadURLForLayer

Types

ImageFailureCode

data ImageFailureCode Source #

Instances

Bounded ImageFailureCode Source # 
Enum ImageFailureCode Source # 
Eq ImageFailureCode Source # 
Data ImageFailureCode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImageFailureCode -> c ImageFailureCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageFailureCode #

toConstr :: ImageFailureCode -> Constr #

dataTypeOf :: ImageFailureCode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ImageFailureCode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageFailureCode) #

gmapT :: (forall b. Data b => b -> b) -> ImageFailureCode -> ImageFailureCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageFailureCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageFailureCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> ImageFailureCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageFailureCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageFailureCode -> m ImageFailureCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageFailureCode -> m ImageFailureCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageFailureCode -> m ImageFailureCode #

Ord ImageFailureCode Source # 
Read ImageFailureCode Source # 
Show ImageFailureCode Source # 
Generic ImageFailureCode Source # 
FromJSON ImageFailureCode Source # 
Hashable ImageFailureCode Source # 
NFData ImageFailureCode Source # 

Methods

rnf :: ImageFailureCode -> () #

ToHeader ImageFailureCode Source # 
ToQuery ImageFailureCode Source # 
ToByteString ImageFailureCode Source # 
FromText ImageFailureCode Source # 
ToText ImageFailureCode Source # 
type Rep ImageFailureCode Source # 
type Rep ImageFailureCode = D1 (MetaData "ImageFailureCode" "Network.AWS.ECR.Types.Sum" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) ((:+:) ((:+:) (C1 (MetaCons "ImageNotFound" PrefixI False) U1) (C1 (MetaCons "ImageTagDoesNotMatchDigest" PrefixI False) U1)) ((:+:) (C1 (MetaCons "InvalidImageDigest" PrefixI False) U1) ((:+:) (C1 (MetaCons "InvalidImageTag" PrefixI False) U1) (C1 (MetaCons "MissingDigestAndTag" PrefixI False) U1))))

LayerAvailability

data LayerAvailability Source #

Constructors

Available 
Unavailable 

Instances

Bounded LayerAvailability Source # 
Enum LayerAvailability Source # 
Eq LayerAvailability Source # 
Data LayerAvailability Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LayerAvailability -> c LayerAvailability #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LayerAvailability #

toConstr :: LayerAvailability -> Constr #

dataTypeOf :: LayerAvailability -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LayerAvailability) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LayerAvailability) #

gmapT :: (forall b. Data b => b -> b) -> LayerAvailability -> LayerAvailability #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LayerAvailability -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LayerAvailability -> r #

gmapQ :: (forall d. Data d => d -> u) -> LayerAvailability -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LayerAvailability -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LayerAvailability -> m LayerAvailability #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LayerAvailability -> m LayerAvailability #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LayerAvailability -> m LayerAvailability #

Ord LayerAvailability Source # 
Read LayerAvailability Source # 
Show LayerAvailability Source # 
Generic LayerAvailability Source # 
FromJSON LayerAvailability Source # 
Hashable LayerAvailability Source # 
NFData LayerAvailability Source # 

Methods

rnf :: LayerAvailability -> () #

ToHeader LayerAvailability Source # 
ToQuery LayerAvailability Source # 
ToByteString LayerAvailability Source # 
FromText LayerAvailability Source # 
ToText LayerAvailability Source # 
type Rep LayerAvailability Source # 
type Rep LayerAvailability = D1 (MetaData "LayerAvailability" "Network.AWS.ECR.Types.Sum" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) ((:+:) (C1 (MetaCons "Available" PrefixI False) U1) (C1 (MetaCons "Unavailable" PrefixI False) U1))

LayerFailureCode

data LayerFailureCode Source #

Instances

Bounded LayerFailureCode Source # 
Enum LayerFailureCode Source # 
Eq LayerFailureCode Source # 
Data LayerFailureCode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LayerFailureCode -> c LayerFailureCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LayerFailureCode #

toConstr :: LayerFailureCode -> Constr #

dataTypeOf :: LayerFailureCode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LayerFailureCode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LayerFailureCode) #

gmapT :: (forall b. Data b => b -> b) -> LayerFailureCode -> LayerFailureCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LayerFailureCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LayerFailureCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> LayerFailureCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LayerFailureCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LayerFailureCode -> m LayerFailureCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LayerFailureCode -> m LayerFailureCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LayerFailureCode -> m LayerFailureCode #

Ord LayerFailureCode Source # 
Read LayerFailureCode Source # 
Show LayerFailureCode Source # 
Generic LayerFailureCode Source # 
FromJSON LayerFailureCode Source # 
Hashable LayerFailureCode Source # 
NFData LayerFailureCode Source # 

Methods

rnf :: LayerFailureCode -> () #

ToHeader LayerFailureCode Source # 
ToQuery LayerFailureCode Source # 
ToByteString LayerFailureCode Source # 
FromText LayerFailureCode Source # 
ToText LayerFailureCode Source # 
type Rep LayerFailureCode Source # 
type Rep LayerFailureCode = D1 (MetaData "LayerFailureCode" "Network.AWS.ECR.Types.Sum" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) ((:+:) (C1 (MetaCons "InvalidLayerDigest" PrefixI False) U1) (C1 (MetaCons "MissingLayerDigest" PrefixI False) U1))

AuthorizationData

data AuthorizationData Source #

An object representing authorization data for an Amazon ECR registry.

See: authorizationData smart constructor.

Instances

Eq AuthorizationData Source # 
Data AuthorizationData Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AuthorizationData -> c AuthorizationData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AuthorizationData #

toConstr :: AuthorizationData -> Constr #

dataTypeOf :: AuthorizationData -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AuthorizationData) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuthorizationData) #

gmapT :: (forall b. Data b => b -> b) -> AuthorizationData -> AuthorizationData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AuthorizationData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AuthorizationData -> r #

gmapQ :: (forall d. Data d => d -> u) -> AuthorizationData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AuthorizationData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AuthorizationData -> m AuthorizationData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthorizationData -> m AuthorizationData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthorizationData -> m AuthorizationData #

Read AuthorizationData Source # 
Show AuthorizationData Source # 
Generic AuthorizationData Source # 
FromJSON AuthorizationData Source # 
Hashable AuthorizationData Source # 
NFData AuthorizationData Source # 

Methods

rnf :: AuthorizationData -> () #

type Rep AuthorizationData Source # 
type Rep AuthorizationData = D1 (MetaData "AuthorizationData" "Network.AWS.ECR.Types.Product" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) (C1 (MetaCons "AuthorizationData'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_adExpiresAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_adProxyEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_adAuthorizationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

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

data Image Source #

Object representing an image.

See: image smart constructor.

Instances

Eq Image Source # 

Methods

(==) :: Image -> Image -> Bool #

(/=) :: Image -> Image -> Bool #

Data Image Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Image -> c Image #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Image #

toConstr :: Image -> Constr #

dataTypeOf :: Image -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Image) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Image) #

gmapT :: (forall b. Data b => b -> b) -> Image -> Image #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r #

gmapQ :: (forall d. Data d => d -> u) -> Image -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Image -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Image -> m Image #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image #

Read Image Source # 
Show Image Source # 

Methods

showsPrec :: Int -> Image -> ShowS #

show :: Image -> String #

showList :: [Image] -> ShowS #

Generic Image Source # 

Associated Types

type Rep Image :: * -> * #

Methods

from :: Image -> Rep Image x #

to :: Rep Image x -> Image #

FromJSON Image Source # 
Hashable Image Source # 

Methods

hashWithSalt :: Int -> Image -> Int #

hash :: Image -> Int #

NFData Image Source # 

Methods

rnf :: Image -> () #

type Rep Image Source # 
type Rep Image = D1 (MetaData "Image" "Network.AWS.ECR.Types.Product" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) (C1 (MetaCons "Image'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImageIdentifier)))) ((:*:) (S1 (MetaSel (Just Symbol "_iRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iImageManifest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

image :: Image Source #

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.

iImageManifest :: Lens' Image (Maybe Text) Source #

The image manifest associated with the image.

ImageFailure

data ImageFailure Source #

See: imageFailure smart constructor.

Instances

Eq ImageFailure Source # 
Data ImageFailure Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImageFailure -> c ImageFailure #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageFailure #

toConstr :: ImageFailure -> Constr #

dataTypeOf :: ImageFailure -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ImageFailure) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageFailure) #

gmapT :: (forall b. Data b => b -> b) -> ImageFailure -> ImageFailure #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageFailure -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageFailure -> r #

gmapQ :: (forall d. Data d => d -> u) -> ImageFailure -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageFailure -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageFailure -> m ImageFailure #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageFailure -> m ImageFailure #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageFailure -> m ImageFailure #

Read ImageFailure Source # 
Show ImageFailure Source # 
Generic ImageFailure Source # 

Associated Types

type Rep ImageFailure :: * -> * #

FromJSON ImageFailure Source # 
Hashable ImageFailure Source # 
NFData ImageFailure Source # 

Methods

rnf :: ImageFailure -> () #

type Rep ImageFailure Source # 
type Rep ImageFailure = D1 (MetaData "ImageFailure" "Network.AWS.ECR.Types.Product" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) (C1 (MetaCons "ImageFailure'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ifFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ifFailureCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImageFailureCode))) (S1 (MetaSel (Just Symbol "_ifImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImageIdentifier))))))

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.

Instances

Eq ImageIdentifier Source # 
Data ImageIdentifier Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImageIdentifier -> c ImageIdentifier #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageIdentifier #

toConstr :: ImageIdentifier -> Constr #

dataTypeOf :: ImageIdentifier -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ImageIdentifier) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageIdentifier) #

gmapT :: (forall b. Data b => b -> b) -> ImageIdentifier -> ImageIdentifier #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageIdentifier -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageIdentifier -> r #

gmapQ :: (forall d. Data d => d -> u) -> ImageIdentifier -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageIdentifier -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageIdentifier -> m ImageIdentifier #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageIdentifier -> m ImageIdentifier #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageIdentifier -> m ImageIdentifier #

Read ImageIdentifier Source # 
Show ImageIdentifier Source # 
Generic ImageIdentifier Source # 
ToJSON ImageIdentifier Source # 
FromJSON ImageIdentifier Source # 
Hashable ImageIdentifier Source # 
NFData ImageIdentifier Source # 

Methods

rnf :: ImageIdentifier -> () #

type Rep ImageIdentifier Source # 
type Rep ImageIdentifier = D1 (MetaData "ImageIdentifier" "Network.AWS.ECR.Types.Product" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) (C1 (MetaCons "ImageIdentifier'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_iiImageDigest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iiImageTag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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

data Layer Source #

See: layer smart constructor.

Instances

Eq Layer Source # 

Methods

(==) :: Layer -> Layer -> Bool #

(/=) :: Layer -> Layer -> Bool #

Data Layer Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Layer -> c Layer #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Layer #

toConstr :: Layer -> Constr #

dataTypeOf :: Layer -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Layer) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Layer) #

gmapT :: (forall b. Data b => b -> b) -> Layer -> Layer #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Layer -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Layer -> r #

gmapQ :: (forall d. Data d => d -> u) -> Layer -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Layer -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Layer -> m Layer #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Layer -> m Layer #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Layer -> m Layer #

Read Layer Source # 
Show Layer Source # 

Methods

showsPrec :: Int -> Layer -> ShowS #

show :: Layer -> String #

showList :: [Layer] -> ShowS #

Generic Layer Source # 

Associated Types

type Rep Layer :: * -> * #

Methods

from :: Layer -> Rep Layer x #

to :: Rep Layer x -> Layer #

FromJSON Layer Source # 
Hashable Layer Source # 

Methods

hashWithSalt :: Int -> Layer -> Int #

hash :: Layer -> Int #

NFData Layer Source # 

Methods

rnf :: Layer -> () #

type Rep Layer Source # 
type Rep Layer = D1 (MetaData "Layer" "Network.AWS.ECR.Types.Product" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) (C1 (MetaCons "Layer'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lLayerDigest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lLayerSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_lLayerAvailability") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LayerAvailability))))))

layer :: Layer Source #

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:

lLayerDigest :: Lens' Layer (Maybe Text) Source #

The sha256 digest of the image layer.

lLayerSize :: Lens' Layer (Maybe Integer) Source #

The size, in bytes, of the image layer.

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.

Instances

Eq LayerFailure Source # 
Data LayerFailure Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LayerFailure -> c LayerFailure #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LayerFailure #

toConstr :: LayerFailure -> Constr #

dataTypeOf :: LayerFailure -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LayerFailure) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LayerFailure) #

gmapT :: (forall b. Data b => b -> b) -> LayerFailure -> LayerFailure #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LayerFailure -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LayerFailure -> r #

gmapQ :: (forall d. Data d => d -> u) -> LayerFailure -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LayerFailure -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LayerFailure -> m LayerFailure #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LayerFailure -> m LayerFailure #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LayerFailure -> m LayerFailure #

Read LayerFailure Source # 
Show LayerFailure Source # 
Generic LayerFailure Source # 

Associated Types

type Rep LayerFailure :: * -> * #

FromJSON LayerFailure Source # 
Hashable LayerFailure Source # 
NFData LayerFailure Source # 

Methods

rnf :: LayerFailure -> () #

type Rep LayerFailure Source # 
type Rep LayerFailure = D1 (MetaData "LayerFailure" "Network.AWS.ECR.Types.Product" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) (C1 (MetaCons "LayerFailure'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lfFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lfFailureCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LayerFailureCode))) (S1 (MetaSel (Just Symbol "_lfLayerDigest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

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.

Instances

Eq Repository Source # 
Data Repository Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Repository -> c Repository #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Repository #

toConstr :: Repository -> Constr #

dataTypeOf :: Repository -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Repository) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Repository) #

gmapT :: (forall b. Data b => b -> b) -> Repository -> Repository #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Repository -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Repository -> r #

gmapQ :: (forall d. Data d => d -> u) -> Repository -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Repository -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Repository -> m Repository #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Repository -> m Repository #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Repository -> m Repository #

Read Repository Source # 
Show Repository Source # 
Generic Repository Source # 

Associated Types

type Rep Repository :: * -> * #

FromJSON Repository Source # 
Hashable Repository Source # 
NFData Repository Source # 

Methods

rnf :: Repository -> () #

type Rep Repository Source # 
type Rep Repository = D1 (MetaData "Repository" "Network.AWS.ECR.Types.Product" "amazonka-ecr-1.4.2-Fp72XPzRUrd39DRabYi9cP" False) (C1 (MetaCons "Repository'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rRepositoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_rRepositoryURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

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.

rRepositoryURI :: Lens' Repository (Maybe Text) Source #

The URI for the repository. You can use this URI for Docker push and pull operations.

rRepositoryName :: Lens' Repository (Maybe Text) Source #

The name of the repository.