amazonka-s3-1.5.0: Amazon Simple Storage Service SDK.

Copyright(c) 2013-2017 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.S3.DeleteBucketPolicy

Contents

Description

Deletes the policy from the bucket.

Synopsis

Creating a Request

deleteBucketPolicy Source #

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

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

data DeleteBucketPolicy Source #

See: deleteBucketPolicy smart constructor.

Instances

Eq DeleteBucketPolicy Source # 
Data DeleteBucketPolicy Source # 

Methods

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

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

toConstr :: DeleteBucketPolicy -> Constr #

dataTypeOf :: DeleteBucketPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBucketPolicy Source # 
Show DeleteBucketPolicy Source # 
Generic DeleteBucketPolicy Source # 
Hashable DeleteBucketPolicy Source # 
NFData DeleteBucketPolicy Source # 

Methods

rnf :: DeleteBucketPolicy -> () #

AWSRequest DeleteBucketPolicy Source # 
ToQuery DeleteBucketPolicy Source # 
ToPath DeleteBucketPolicy Source # 
ToHeaders DeleteBucketPolicy Source # 
type Rep DeleteBucketPolicy Source # 
type Rep DeleteBucketPolicy = D1 (MetaData "DeleteBucketPolicy" "Network.AWS.S3.DeleteBucketPolicy" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" True) (C1 (MetaCons "DeleteBucketPolicy'" PrefixI True) (S1 (MetaSel (Just Symbol "_dbpBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs DeleteBucketPolicy Source # 

Request Lenses

Destructuring the Response

deleteBucketPolicyResponse :: DeleteBucketPolicyResponse Source #

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

data DeleteBucketPolicyResponse Source #

See: deleteBucketPolicyResponse smart constructor.

Instances

Eq DeleteBucketPolicyResponse Source # 
Data DeleteBucketPolicyResponse Source # 

Methods

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

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

toConstr :: DeleteBucketPolicyResponse -> Constr #

dataTypeOf :: DeleteBucketPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBucketPolicyResponse Source # 
Show DeleteBucketPolicyResponse Source # 
Generic DeleteBucketPolicyResponse Source # 
NFData DeleteBucketPolicyResponse Source # 
type Rep DeleteBucketPolicyResponse Source # 
type Rep DeleteBucketPolicyResponse = D1 (MetaData "DeleteBucketPolicyResponse" "Network.AWS.S3.DeleteBucketPolicy" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "DeleteBucketPolicyResponse'" PrefixI False) U1)