amazonka-ecr-1.4.4: 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.DeleteRepositoryPolicy

Contents

Description

Deletes the repository policy from a specified repository.

Synopsis

Creating a Request

deleteRepositoryPolicy Source #

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

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

data DeleteRepositoryPolicy Source #

See: deleteRepositoryPolicy smart constructor.

Instances

Eq DeleteRepositoryPolicy Source # 
Data DeleteRepositoryPolicy Source # 

Methods

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

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

toConstr :: DeleteRepositoryPolicy -> Constr #

dataTypeOf :: DeleteRepositoryPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRepositoryPolicy Source # 
Show DeleteRepositoryPolicy Source # 
Generic DeleteRepositoryPolicy Source # 
Hashable DeleteRepositoryPolicy Source # 
NFData DeleteRepositoryPolicy Source # 

Methods

rnf :: DeleteRepositoryPolicy -> () #

AWSRequest DeleteRepositoryPolicy Source # 
ToPath DeleteRepositoryPolicy Source # 
ToHeaders DeleteRepositoryPolicy Source # 
ToQuery DeleteRepositoryPolicy Source # 
ToJSON DeleteRepositoryPolicy Source # 
type Rep DeleteRepositoryPolicy Source # 
type Rep DeleteRepositoryPolicy = D1 (MetaData "DeleteRepositoryPolicy" "Network.AWS.ECR.DeleteRepositoryPolicy" "amazonka-ecr-1.4.4-A4Pky1aCrQ8Q8zCT22L20" False) (C1 (MetaCons "DeleteRepositoryPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drpRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drpRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteRepositoryPolicy Source # 

Request Lenses

drpRegistryId :: Lens' DeleteRepositoryPolicy (Maybe Text) Source #

The AWS 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.

drpRepositoryName :: Lens' DeleteRepositoryPolicy Text Source #

The name of the repository that is associated with the repository policy to delete.

Destructuring the Response

deleteRepositoryPolicyResponse Source #

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

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

data DeleteRepositoryPolicyResponse Source #

See: deleteRepositoryPolicyResponse smart constructor.

Instances

Eq DeleteRepositoryPolicyResponse Source # 
Data DeleteRepositoryPolicyResponse Source # 

Methods

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

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

toConstr :: DeleteRepositoryPolicyResponse -> Constr #

dataTypeOf :: DeleteRepositoryPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRepositoryPolicyResponse Source # 
Show DeleteRepositoryPolicyResponse Source # 
Generic DeleteRepositoryPolicyResponse Source # 
NFData DeleteRepositoryPolicyResponse Source # 
type Rep DeleteRepositoryPolicyResponse Source # 
type Rep DeleteRepositoryPolicyResponse = D1 (MetaData "DeleteRepositoryPolicyResponse" "Network.AWS.ECR.DeleteRepositoryPolicy" "amazonka-ecr-1.4.4-A4Pky1aCrQ8Q8zCT22L20" False) (C1 (MetaCons "DeleteRepositoryPolicyResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_drprsRegistryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drprsRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_drprsPolicyText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

drprsRegistryId :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #

The registry ID associated with the request.

drprsRepositoryName :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #

The repository name associated with the request.

drprsPolicyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #

The JSON repository policy that was deleted from the repository.