amazonka-serverlessrepo-1.6.0: Amazon ServerlessApplicationRepository 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.ServerlessApplicationRepository.GetApplicationPolicy

Contents

Description

Gets the policy for the specified application.

Synopsis

Creating a Request

getApplicationPolicy Source #

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

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

data GetApplicationPolicy Source #

See: getApplicationPolicy smart constructor.

Instances

Eq GetApplicationPolicy Source # 
Data GetApplicationPolicy Source # 

Methods

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

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

toConstr :: GetApplicationPolicy -> Constr #

dataTypeOf :: GetApplicationPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetApplicationPolicy Source # 
Show GetApplicationPolicy Source # 
Generic GetApplicationPolicy Source # 
Hashable GetApplicationPolicy Source # 
NFData GetApplicationPolicy Source # 

Methods

rnf :: GetApplicationPolicy -> () #

AWSRequest GetApplicationPolicy Source # 
ToHeaders GetApplicationPolicy Source # 
ToPath GetApplicationPolicy Source # 
ToQuery GetApplicationPolicy Source # 
type Rep GetApplicationPolicy Source # 
type Rep GetApplicationPolicy = D1 * (MetaData "GetApplicationPolicy" "Network.AWS.ServerlessApplicationRepository.GetApplicationPolicy" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" True) (C1 * (MetaCons "GetApplicationPolicy'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gapApplicationId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetApplicationPolicy Source # 

Request Lenses

gapApplicationId :: Lens' GetApplicationPolicy Text Source #

The ID of the application to get.

Destructuring the Response

getApplicationPolicyResponse Source #

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

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

data GetApplicationPolicyResponse Source #

See: getApplicationPolicyResponse smart constructor.

Instances

Eq GetApplicationPolicyResponse Source # 
Data GetApplicationPolicyResponse Source # 

Methods

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

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

toConstr :: GetApplicationPolicyResponse -> Constr #

dataTypeOf :: GetApplicationPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetApplicationPolicyResponse Source # 
Show GetApplicationPolicyResponse Source # 
Generic GetApplicationPolicyResponse Source # 
NFData GetApplicationPolicyResponse Source # 
type Rep GetApplicationPolicyResponse Source # 
type Rep GetApplicationPolicyResponse = D1 * (MetaData "GetApplicationPolicyResponse" "Network.AWS.ServerlessApplicationRepository.GetApplicationPolicy" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "GetApplicationPolicyResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gaprsStatements") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ApplicationPolicyStatement]))) (S1 * (MetaSel (Just Symbol "_gaprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gaprsStatements :: Lens' GetApplicationPolicyResponse [ApplicationPolicyStatement] Source #

Array of policy statements applied to the application.