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.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 # 
Data GetCORSPolicy Source # 

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 # 
Show GetCORSPolicy Source # 
Generic GetCORSPolicy Source # 

Associated Types

type Rep GetCORSPolicy :: * -> * #

Hashable GetCORSPolicy Source # 
ToJSON GetCORSPolicy Source # 
NFData GetCORSPolicy Source # 

Methods

rnf :: GetCORSPolicy -> () #

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

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 # 
Data GetCORSPolicyResponse Source # 

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 # 
Show GetCORSPolicyResponse Source # 
Generic GetCORSPolicyResponse Source # 
NFData GetCORSPolicyResponse Source # 

Methods

rnf :: GetCORSPolicyResponse -> () #

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

Response Lenses