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

Contents

Description

Retrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide .

Synopsis

Creating a Request

getContainerPolicy Source #

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

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

data GetContainerPolicy Source #

See: getContainerPolicy smart constructor.

Instances

Eq GetContainerPolicy Source # 
Data GetContainerPolicy Source # 

Methods

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

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

toConstr :: GetContainerPolicy -> Constr #

dataTypeOf :: GetContainerPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetContainerPolicy -> () #

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

Request Lenses

gContainerName :: Lens' GetContainerPolicy Text Source #

The name of the container.

Destructuring the Response

getContainerPolicyResponse Source #

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

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

data GetContainerPolicyResponse Source #

See: getContainerPolicyResponse smart constructor.

Instances

Eq GetContainerPolicyResponse Source # 
Data GetContainerPolicyResponse Source # 

Methods

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

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

toConstr :: GetContainerPolicyResponse -> Constr #

dataTypeOf :: GetContainerPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetContainerPolicyResponse Source # 
Show GetContainerPolicyResponse Source # 
Generic GetContainerPolicyResponse Source # 
NFData GetContainerPolicyResponse Source # 
type Rep GetContainerPolicyResponse Source # 
type Rep GetContainerPolicyResponse = D1 * (MetaData "GetContainerPolicyResponse" "Network.AWS.MediaStore.GetContainerPolicy" "amazonka-mediastore-1.6.0-A5BXmXPQvTC35jIUjzEuvm" False) (C1 * (MetaCons "GetContainerPolicyResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_gcprsPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

Response Lenses

gcprsPolicy :: Lens' GetContainerPolicyResponse Text Source #

The contents of the access policy.