amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) 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.SSM.GetParameter

Contents

Description

Get information about a parameter by using the parameter name.

Synopsis

Creating a Request

getParameter Source #

Arguments

:: Text

gName

-> GetParameter 

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

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

  • gWithDecryption - Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types.
  • gName - The name of the parameter you want to query.

data GetParameter Source #

See: getParameter smart constructor.

Instances

Eq GetParameter Source # 
Data GetParameter Source # 

Methods

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

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

toConstr :: GetParameter -> Constr #

dataTypeOf :: GetParameter -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetParameter Source # 
Show GetParameter Source # 
Generic GetParameter Source # 

Associated Types

type Rep GetParameter :: * -> * #

Hashable GetParameter Source # 
ToJSON GetParameter Source # 
NFData GetParameter Source # 

Methods

rnf :: GetParameter -> () #

AWSRequest GetParameter Source # 
ToHeaders GetParameter Source # 
ToPath GetParameter Source # 
ToQuery GetParameter Source # 
type Rep GetParameter Source # 
type Rep GetParameter = D1 * (MetaData "GetParameter" "Network.AWS.SSM.GetParameter" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "GetParameter'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gWithDecryption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_gName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetParameter Source # 

Request Lenses

gWithDecryption :: Lens' GetParameter (Maybe Bool) Source #

Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types.

gName :: Lens' GetParameter Text Source #

The name of the parameter you want to query.

Destructuring the Response

getParameterResponse Source #

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

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

data GetParameterResponse Source #

See: getParameterResponse smart constructor.

Instances

Eq GetParameterResponse Source # 
Data GetParameterResponse Source # 

Methods

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

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

toConstr :: GetParameterResponse -> Constr #

dataTypeOf :: GetParameterResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetParameterResponse Source # 
Show GetParameterResponse Source # 
Generic GetParameterResponse Source # 
NFData GetParameterResponse Source # 

Methods

rnf :: GetParameterResponse -> () #

type Rep GetParameterResponse Source # 
type Rep GetParameterResponse = D1 * (MetaData "GetParameterResponse" "Network.AWS.SSM.GetParameter" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "GetParameterResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gprsParameter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Parameter))) (S1 * (MetaSel (Just Symbol "_gprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gprsParameter :: Lens' GetParameterResponse (Maybe Parameter) Source #

Information about a parameter.

gprsResponseStatus :: Lens' GetParameterResponse Int Source #

  • - | The response status code.