amazonka-ssm-1.6.1: 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.GetParametersByPath

Contents

Description

Retrieve parameters in a specific hierarchy. For more information, see Working with Systems Manager Parameters .

Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults . If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken . You can specify the NextToken in a subsequent call to get the next set of results.

This operation returns paginated results.

Synopsis

Creating a Request

getParametersByPath Source #

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

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

  • gpbpWithDecryption - Retrieve all parameters in a hierarchy with their value decrypted.
  • gpbpParameterFilters - Filters to limit the request results.
  • gpbpNextToken - A token to start the list. Use this token to get the next set of results.
  • gpbpRecursive - Retrieve all parameters within a hierarchy. Important: If a user has access to a path, then the user can access all levels of that path. For example, if a user has permission to access path a, then the user can also access ab. Even if a user has explicitly been denied access in IAM for parameter a, they can still call the GetParametersByPath API action recursively and view ab.
  • gpbpMaxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  • gpbpPath - The hierarchy for the parameter. Hierarchies start with a forward slash () and end with the parameter name. A hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: @FinanceProdIADWinServ2016license33@

data GetParametersByPath Source #

See: getParametersByPath smart constructor.

Instances
Eq GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Data GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Methods

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

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

toConstr :: GetParametersByPath -> Constr #

dataTypeOf :: GetParametersByPath -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Show GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Generic GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Associated Types

type Rep GetParametersByPath :: Type -> Type #

Hashable GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

ToJSON GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

AWSPager GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

AWSRequest GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Associated Types

type Rs GetParametersByPath :: Type #

ToHeaders GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

ToPath GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

ToQuery GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

NFData GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Methods

rnf :: GetParametersByPath -> () #

type Rep GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

type Rep GetParametersByPath = D1 (MetaData "GetParametersByPath" "Network.AWS.SSM.GetParametersByPath" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "GetParametersByPath'" PrefixI True) ((S1 (MetaSel (Just "_gpbpWithDecryption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_gpbpParameterFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParameterStringFilter])) :*: S1 (MetaSel (Just "_gpbpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gpbpRecursive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_gpbpMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_gpbpPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetParametersByPath Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Request Lenses

gpbpWithDecryption :: Lens' GetParametersByPath (Maybe Bool) Source #

Retrieve all parameters in a hierarchy with their value decrypted.

gpbpNextToken :: Lens' GetParametersByPath (Maybe Text) Source #

A token to start the list. Use this token to get the next set of results.

gpbpRecursive :: Lens' GetParametersByPath (Maybe Bool) Source #

Retrieve all parameters within a hierarchy. Important: If a user has access to a path, then the user can access all levels of that path. For example, if a user has permission to access path a, then the user can also access ab. Even if a user has explicitly been denied access in IAM for parameter a, they can still call the GetParametersByPath API action recursively and view ab.

gpbpMaxResults :: Lens' GetParametersByPath (Maybe Natural) Source #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

gpbpPath :: Lens' GetParametersByPath Text Source #

The hierarchy for the parameter. Hierarchies start with a forward slash () and end with the parameter name. A hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: @FinanceProdIADWinServ2016license33@

Destructuring the Response

getParametersByPathResponse Source #

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

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

data GetParametersByPathResponse Source #

See: getParametersByPathResponse smart constructor.

Instances
Eq GetParametersByPathResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Data GetParametersByPathResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Methods

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

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

toConstr :: GetParametersByPathResponse -> Constr #

dataTypeOf :: GetParametersByPathResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetParametersByPathResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Show GetParametersByPathResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Generic GetParametersByPathResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

Associated Types

type Rep GetParametersByPathResponse :: Type -> Type #

NFData GetParametersByPathResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

type Rep GetParametersByPathResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetParametersByPath

type Rep GetParametersByPathResponse = D1 (MetaData "GetParametersByPathResponse" "Network.AWS.SSM.GetParametersByPath" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "GetParametersByPathResponse'" PrefixI True) (S1 (MetaSel (Just "_gpbprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gpbprsParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Parameter])) :*: S1 (MetaSel (Just "_gpbprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gpbprsNextToken :: Lens' GetParametersByPathResponse (Maybe Text) Source #

The token for the next set of items to return. Use this token to get the next set of results.

gpbprsParameters :: Lens' GetParametersByPathResponse [Parameter] Source #

A list of parameters found in the specified hierarchy.