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

Description

Lists the patch baselines in your Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribePatchBaselines Source #

See: newDescribePatchBaselines smart constructor.

Constructors

DescribePatchBaselines' 

Fields

  • filters :: Maybe [PatchOrchestratorFilter]

    Each element in the array is a structure containing a key-value pair.

    Supported keys for DescribePatchBaselines include the following:

    • NAME_PREFIX

      Sample values: AWS- | My-

    • OWNER

      Sample values: AWS | Self

    • OPERATING_SYSTEM

      Sample values: AMAZON_LINUX | SUSE | WINDOWS

  • nextToken :: Maybe Text

    The token for the next set of items to return. (You received this token from a previous call.)

  • maxResults :: Maybe Natural

    The maximum number of patch baselines to return (per page).

Instances

Instances details
Eq DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Read DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Show DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Generic DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Associated Types

type Rep DescribePatchBaselines :: Type -> Type #

NFData DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Methods

rnf :: DescribePatchBaselines -> () #

Hashable DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

ToJSON DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

AWSPager DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

AWSRequest DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Associated Types

type AWSResponse DescribePatchBaselines #

ToHeaders DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

ToPath DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

ToQuery DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

type Rep DescribePatchBaselines Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

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

Defined in Amazonka.SSM.DescribePatchBaselines

newDescribePatchBaselines :: DescribePatchBaselines Source #

Create a value of DescribePatchBaselines 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:filters:DescribePatchBaselines', describePatchBaselines_filters - Each element in the array is a structure containing a key-value pair.

Supported keys for DescribePatchBaselines include the following:

  • NAME_PREFIX

    Sample values: AWS- | My-

  • OWNER

    Sample values: AWS | Self

  • OPERATING_SYSTEM

    Sample values: AMAZON_LINUX | SUSE | WINDOWS

$sel:nextToken:DescribePatchBaselines', describePatchBaselines_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:maxResults:DescribePatchBaselines', describePatchBaselines_maxResults - The maximum number of patch baselines to return (per page).

Request Lenses

describePatchBaselines_filters :: Lens' DescribePatchBaselines (Maybe [PatchOrchestratorFilter]) Source #

Each element in the array is a structure containing a key-value pair.

Supported keys for DescribePatchBaselines include the following:

  • NAME_PREFIX

    Sample values: AWS- | My-

  • OWNER

    Sample values: AWS | Self

  • OPERATING_SYSTEM

    Sample values: AMAZON_LINUX | SUSE | WINDOWS

describePatchBaselines_nextToken :: Lens' DescribePatchBaselines (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

describePatchBaselines_maxResults :: Lens' DescribePatchBaselines (Maybe Natural) Source #

The maximum number of patch baselines to return (per page).

Destructuring the Response

data DescribePatchBaselinesResponse Source #

See: newDescribePatchBaselinesResponse smart constructor.

Constructors

DescribePatchBaselinesResponse' 

Fields

Instances

Instances details
Eq DescribePatchBaselinesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Read DescribePatchBaselinesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Show DescribePatchBaselinesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Generic DescribePatchBaselinesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

Associated Types

type Rep DescribePatchBaselinesResponse :: Type -> Type #

NFData DescribePatchBaselinesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

type Rep DescribePatchBaselinesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchBaselines

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

newDescribePatchBaselinesResponse Source #

Create a value of DescribePatchBaselinesResponse 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:baselineIdentities:DescribePatchBaselinesResponse', describePatchBaselinesResponse_baselineIdentities - An array of PatchBaselineIdentity elements.

$sel:nextToken:DescribePatchBaselines', describePatchBaselinesResponse_nextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

$sel:httpStatus:DescribePatchBaselinesResponse', describePatchBaselinesResponse_httpStatus - The response's http status code.

Response Lenses

describePatchBaselinesResponse_nextToken :: Lens' DescribePatchBaselinesResponse (Maybe Text) Source #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.