amazonka-mediastore-1.6.0: Amazon Elemental MediaStore 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.MediaStore.DeleteCORSPolicy

Contents

Description

Deletes the cross-origin resource sharing (CORS) configuration information that is set for the container.

To use this operation, you must have permission to perform the MediaStore:DeleteCorsPolicy action. The container owner has this permission by default and can grant this permission to others.

Synopsis

Creating a Request

deleteCORSPolicy Source #

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

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

data DeleteCORSPolicy Source #

See: deleteCORSPolicy smart constructor.

Instances

Eq DeleteCORSPolicy Source # 
Data DeleteCORSPolicy Source # 

Methods

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

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

toConstr :: DeleteCORSPolicy -> Constr #

dataTypeOf :: DeleteCORSPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteCORSPolicy -> () #

AWSRequest DeleteCORSPolicy Source # 
ToHeaders DeleteCORSPolicy Source # 
ToPath DeleteCORSPolicy Source # 
ToQuery DeleteCORSPolicy Source # 
type Rep DeleteCORSPolicy Source # 
type Rep DeleteCORSPolicy = D1 * (MetaData "DeleteCORSPolicy" "Network.AWS.MediaStore.DeleteCORSPolicy" "amazonka-mediastore-1.6.0-A5BXmXPQvTC35jIUjzEuvm" True) (C1 * (MetaCons "DeleteCORSPolicy'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dcpContainerName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteCORSPolicy Source # 

Request Lenses

dcpContainerName :: Lens' DeleteCORSPolicy Text Source #

The name of the container to remove the policy from.

Destructuring the Response

deleteCORSPolicyResponse Source #

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

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

data DeleteCORSPolicyResponse Source #

See: deleteCORSPolicyResponse smart constructor.

Instances

Eq DeleteCORSPolicyResponse Source # 
Data DeleteCORSPolicyResponse Source # 

Methods

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

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

toConstr :: DeleteCORSPolicyResponse -> Constr #

dataTypeOf :: DeleteCORSPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteCORSPolicyResponse Source # 
Show DeleteCORSPolicyResponse Source # 
Generic DeleteCORSPolicyResponse Source # 
NFData DeleteCORSPolicyResponse Source # 
type Rep DeleteCORSPolicyResponse Source # 
type Rep DeleteCORSPolicyResponse = D1 * (MetaData "DeleteCORSPolicyResponse" "Network.AWS.MediaStore.DeleteCORSPolicy" "amazonka-mediastore-1.6.0-A5BXmXPQvTC35jIUjzEuvm" True) (C1 * (MetaCons "DeleteCORSPolicyResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dcorsprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses