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.GetCORSPolicy

Contents

Description

Returns 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:GetCorsPolicy action. By default, the container owner has this permission and can grant it to others.

Synopsis

Creating a Request

getCORSPolicy Source #

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

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

data GetCORSPolicy Source #

See: getCORSPolicy smart constructor.

Instances
Eq GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Data GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Methods

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

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

toConstr :: GetCORSPolicy -> Constr #

dataTypeOf :: GetCORSPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Show GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Generic GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Associated Types

type Rep GetCORSPolicy :: Type -> Type #

Hashable GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

ToJSON GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

AWSRequest GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Associated Types

type Rs GetCORSPolicy :: Type #

ToHeaders GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

ToPath GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

ToQuery GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

NFData GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Methods

rnf :: GetCORSPolicy -> () #

type Rep GetCORSPolicy Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

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

Defined in Network.AWS.MediaStore.GetCORSPolicy

Request Lenses

gcpContainerName :: Lens' GetCORSPolicy Text Source #

The name of the container that the policy is assigned to.

Destructuring the Response

getCORSPolicyResponse Source #

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

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

data GetCORSPolicyResponse Source #

See: getCORSPolicyResponse smart constructor.

Instances
Eq GetCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Data GetCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Methods

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

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

toConstr :: GetCORSPolicyResponse -> Constr #

dataTypeOf :: GetCORSPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Show GetCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Generic GetCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Associated Types

type Rep GetCORSPolicyResponse :: Type -> Type #

NFData GetCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

Methods

rnf :: GetCORSPolicyResponse -> () #

type Rep GetCORSPolicyResponse Source # 
Instance details

Defined in Network.AWS.MediaStore.GetCORSPolicy

type Rep GetCORSPolicyResponse = D1 (MetaData "GetCORSPolicyResponse" "Network.AWS.MediaStore.GetCORSPolicy" "amazonka-mediastore-1.6.1-3eONel50QrgBP8GIIl5LPg" False) (C1 (MetaCons "GetCORSPolicyResponse'" PrefixI True) (S1 (MetaSel (Just "_gcorsprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_gcorsprsCORSPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 CORSRule))))

Response Lenses