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

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

Network.AWS.ECR.DeleteLifecyclePolicy

Contents

Description

Deletes the specified lifecycle policy.

Synopsis

Creating a Request

deleteLifecyclePolicy Source #

Creates a value of DeleteLifecyclePolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dlpRegistryId - The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
  • dlpRepositoryName - The name of the repository.

data DeleteLifecyclePolicy Source #

See: deleteLifecyclePolicy smart constructor.

Instances

Eq DeleteLifecyclePolicy Source # 
Data DeleteLifecyclePolicy Source # 

Methods

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

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

toConstr :: DeleteLifecyclePolicy -> Constr #

dataTypeOf :: DeleteLifecyclePolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLifecyclePolicy Source # 
Show DeleteLifecyclePolicy Source # 
Generic DeleteLifecyclePolicy Source # 
Hashable DeleteLifecyclePolicy Source # 
ToJSON DeleteLifecyclePolicy Source # 
NFData DeleteLifecyclePolicy Source # 

Methods

rnf :: DeleteLifecyclePolicy -> () #

AWSRequest DeleteLifecyclePolicy Source # 
ToHeaders DeleteLifecyclePolicy Source # 
ToPath DeleteLifecyclePolicy Source # 
ToQuery DeleteLifecyclePolicy Source # 
type Rep DeleteLifecyclePolicy Source # 
type Rep DeleteLifecyclePolicy = D1 * (MetaData "DeleteLifecyclePolicy" "Network.AWS.ECR.DeleteLifecyclePolicy" "amazonka-ecr-1.6.0-3Z9tWPZJrvhHtKQOsCutbq" False) (C1 * (MetaCons "DeleteLifecyclePolicy'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dlpRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dlpRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteLifecyclePolicy Source # 

Request Lenses

dlpRegistryId :: Lens' DeleteLifecyclePolicy (Maybe Text) Source #

The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Destructuring the Response

deleteLifecyclePolicyResponse Source #

Creates a value of DeleteLifecyclePolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteLifecyclePolicyResponse Source #

See: deleteLifecyclePolicyResponse smart constructor.

Instances

Eq DeleteLifecyclePolicyResponse Source # 
Data DeleteLifecyclePolicyResponse Source # 

Methods

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

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

toConstr :: DeleteLifecyclePolicyResponse -> Constr #

dataTypeOf :: DeleteLifecyclePolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLifecyclePolicyResponse Source # 
Show DeleteLifecyclePolicyResponse Source # 
Generic DeleteLifecyclePolicyResponse Source # 
NFData DeleteLifecyclePolicyResponse Source # 
type Rep DeleteLifecyclePolicyResponse Source # 
type Rep DeleteLifecyclePolicyResponse = D1 * (MetaData "DeleteLifecyclePolicyResponse" "Network.AWS.ECR.DeleteLifecyclePolicy" "amazonka-ecr-1.6.0-3Z9tWPZJrvhHtKQOsCutbq" False) (C1 * (MetaCons "DeleteLifecyclePolicyResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dlprsRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dlprsLastEvaluatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dlprsLifecyclePolicyText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dlprsRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dlprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

dlprsRegistryId :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #

The registry ID associated with the request.

dlprsLastEvaluatedAt :: Lens' DeleteLifecyclePolicyResponse (Maybe UTCTime) Source #

The time stamp of the last time that the lifecycle policy was run.

dlprsRepositoryName :: Lens' DeleteLifecyclePolicyResponse (Maybe Text) Source #

The repository name associated with the request.