amazonka-mediastore-1.6.1: 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 # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Data DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

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 # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Show DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Generic DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Associated Types

type Rep DeleteCORSPolicy :: Type -> Type #

Hashable DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

ToJSON DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

AWSRequest DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Associated Types

type Rs DeleteCORSPolicy :: Type #

ToHeaders DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

ToPath DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

ToQuery DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

NFData DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Methods

rnf :: DeleteCORSPolicy -> () #

type Rep DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

type Rep DeleteCORSPolicy = D1 (MetaData "DeleteCORSPolicy" "Network.AWS.MediaStore.DeleteCORSPolicy" "amazonka-mediastore-1.6.1-3eONel50QrgBP8GIIl5LPg" True) (C1 (MetaCons "DeleteCORSPolicy'" PrefixI True) (S1 (MetaSel (Just "_dcpContainerName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

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 # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Data DeleteCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

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 # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Show DeleteCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Generic DeleteCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

Associated Types

type Rep DeleteCORSPolicyResponse :: Type -> Type #

NFData DeleteCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

type Rep DeleteCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.DeleteCORSPolicy

type Rep DeleteCORSPolicyResponse = D1 (MetaData "DeleteCORSPolicyResponse" "Network.AWS.MediaStore.DeleteCORSPolicy" "amazonka-mediastore-1.6.1-3eONel50QrgBP8GIIl5LPg" True) (C1 (MetaCons "DeleteCORSPolicyResponse'" PrefixI True) (S1 (MetaSel (Just "_dcorsprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses