libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.GetParametersByPath

Description

Retrieve information about one or more parameters in a specific hierarchy.

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

data GetParametersByPath Source #

See: newGetParametersByPath smart constructor.

Constructors

GetParametersByPath' 

Fields

  • withDecryption :: Maybe Bool

    Retrieve all parameters in a hierarchy with their value decrypted.

  • parameterFilters :: Maybe [ParameterStringFilter]

    Filters to limit the request results.

    The following Key values are supported for GetParametersByPath: Type, KeyId, and Label.

    The following Key values aren't supported for GetParametersByPath: tag, DataType, Name, Path, and Tier.

  • nextToken :: Maybe Text

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

  • recursive :: Maybe Bool

    Retrieve all parameters within a hierarchy.

    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 /a/b. Even if a user has explicitly been denied access in IAM for parameter /a/b, they can still call the GetParametersByPath API operation recursively for /a and view /a/b.

  • maxResults :: Maybe Natural

    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.

  • path :: Text

    The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierachy is the parameter name except the last part of the parameter. For the API call to succeeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33

Instances

Instances details
Eq GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Read GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Show GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Generic GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Associated Types

type Rep GetParametersByPath :: Type -> Type #

NFData GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Methods

rnf :: GetParametersByPath -> () #

Hashable GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

ToJSON GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

AWSPager GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

AWSRequest GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Associated Types

type AWSResponse GetParametersByPath #

ToHeaders GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

ToPath GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

ToQuery GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

type Rep GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

type Rep GetParametersByPath = D1 ('MetaData "GetParametersByPath" "Amazonka.SSM.GetParametersByPath" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetParametersByPath'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "withDecryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "parameterFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterStringFilter])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "recursive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse GetParametersByPath Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

newGetParametersByPath Source #

Create a value of GetParametersByPath with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:withDecryption:GetParametersByPath', getParametersByPath_withDecryption - Retrieve all parameters in a hierarchy with their value decrypted.

$sel:parameterFilters:GetParametersByPath', getParametersByPath_parameterFilters - Filters to limit the request results.

The following Key values are supported for GetParametersByPath: Type, KeyId, and Label.

The following Key values aren't supported for GetParametersByPath: tag, DataType, Name, Path, and Tier.

$sel:nextToken:GetParametersByPath', getParametersByPath_nextToken - A token to start the list. Use this token to get the next set of results.

$sel:recursive:GetParametersByPath', getParametersByPath_recursive - Retrieve all parameters within a hierarchy.

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 /a/b. Even if a user has explicitly been denied access in IAM for parameter /a/b, they can still call the GetParametersByPath API operation recursively for /a and view /a/b.

$sel:maxResults:GetParametersByPath', getParametersByPath_maxResults - 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.

$sel:path:GetParametersByPath', getParametersByPath_path - The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierachy is the parameter name except the last part of the parameter. For the API call to succeeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33

Request Lenses

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

Retrieve all parameters in a hierarchy with their value decrypted.

getParametersByPath_parameterFilters :: Lens' GetParametersByPath (Maybe [ParameterStringFilter]) Source #

Filters to limit the request results.

The following Key values are supported for GetParametersByPath: Type, KeyId, and Label.

The following Key values aren't supported for GetParametersByPath: tag, DataType, Name, Path, and Tier.

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

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

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

Retrieve all parameters within a hierarchy.

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 /a/b. Even if a user has explicitly been denied access in IAM for parameter /a/b, they can still call the GetParametersByPath API operation recursively for /a and view /a/b.

getParametersByPath_maxResults :: 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.

getParametersByPath_path :: Lens' GetParametersByPath Text Source #

The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierachy is the parameter name except the last part of the parameter. For the API call to succeeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33

Destructuring the Response

data GetParametersByPathResponse Source #

See: newGetParametersByPathResponse smart constructor.

Constructors

GetParametersByPathResponse' 

Fields

Instances

Instances details
Eq GetParametersByPathResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Show GetParametersByPathResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Generic GetParametersByPathResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

Associated Types

type Rep GetParametersByPathResponse :: Type -> Type #

NFData GetParametersByPathResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

type Rep GetParametersByPathResponse Source # 
Instance details

Defined in Amazonka.SSM.GetParametersByPath

type Rep GetParametersByPathResponse = D1 ('MetaData "GetParametersByPathResponse" "Amazonka.SSM.GetParametersByPath" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetParametersByPathResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Parameter])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetParametersByPathResponse Source #

Create a value of GetParametersByPathResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:GetParametersByPath', getParametersByPathResponse_nextToken - The token for the next set of items to return. Use this token to get the next set of results.

$sel:parameters:GetParametersByPathResponse', getParametersByPathResponse_parameters - A list of parameters found in the specified hierarchy.

$sel:httpStatus:GetParametersByPathResponse', getParametersByPathResponse_httpStatus - The response's http status code.

Response Lenses

getParametersByPathResponse_nextToken :: 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.

getParametersByPathResponse_parameters :: Lens' GetParametersByPathResponse (Maybe [Parameter]) Source #

A list of parameters found in the specified hierarchy.