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

Description

Lists all patch groups that have been registered with patch baselines.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribePatchGroups Source #

See: newDescribePatchGroups smart constructor.

Constructors

DescribePatchGroups' 

Fields

  • filters :: Maybe [PatchOrchestratorFilter]

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

    Supported keys for DescribePatchGroups include the following:

    • NAME_PREFIX

      Sample values: AWS- | My-.

    • 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 groups to return (per page).

Instances

Instances details
Eq DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Read DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Show DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Generic DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Associated Types

type Rep DescribePatchGroups :: Type -> Type #

NFData DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Methods

rnf :: DescribePatchGroups -> () #

Hashable DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

ToJSON DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

AWSPager DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

AWSRequest DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Associated Types

type AWSResponse DescribePatchGroups #

ToHeaders DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

ToPath DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

ToQuery DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

type Rep DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

type Rep DescribePatchGroups = D1 ('MetaData "DescribePatchGroups" "Amazonka.SSM.DescribePatchGroups" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DescribePatchGroups'" '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 DescribePatchGroups Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

newDescribePatchGroups :: DescribePatchGroups Source #

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

Supported keys for DescribePatchGroups include the following:

  • NAME_PREFIX

    Sample values: AWS- | My-.

  • OPERATING_SYSTEM

    Sample values: AMAZON_LINUX | SUSE | WINDOWS

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

$sel:maxResults:DescribePatchGroups', describePatchGroups_maxResults - The maximum number of patch groups to return (per page).

Request Lenses

describePatchGroups_filters :: Lens' DescribePatchGroups (Maybe [PatchOrchestratorFilter]) Source #

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

Supported keys for DescribePatchGroups include the following:

  • NAME_PREFIX

    Sample values: AWS- | My-.

  • OPERATING_SYSTEM

    Sample values: AMAZON_LINUX | SUSE | WINDOWS

describePatchGroups_nextToken :: Lens' DescribePatchGroups (Maybe Text) Source #

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

describePatchGroups_maxResults :: Lens' DescribePatchGroups (Maybe Natural) Source #

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

Destructuring the Response

data DescribePatchGroupsResponse Source #

See: newDescribePatchGroupsResponse smart constructor.

Constructors

DescribePatchGroupsResponse' 

Fields

  • mappings :: Maybe [PatchGroupPatchBaselineMapping]

    Each entry in the array contains:

    • PatchGroup: string (between 1 and 256 characters. Regex: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)
    • PatchBaselineIdentity: A PatchBaselineIdentity element.
  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribePatchGroupsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Read DescribePatchGroupsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Show DescribePatchGroupsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Generic DescribePatchGroupsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

Associated Types

type Rep DescribePatchGroupsResponse :: Type -> Type #

NFData DescribePatchGroupsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

type Rep DescribePatchGroupsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribePatchGroups

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

newDescribePatchGroupsResponse Source #

Create a value of DescribePatchGroupsResponse 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:mappings:DescribePatchGroupsResponse', describePatchGroupsResponse_mappings - Each entry in the array contains:

  • PatchGroup: string (between 1 and 256 characters. Regex: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)
  • PatchBaselineIdentity: A PatchBaselineIdentity element.

$sel:nextToken:DescribePatchGroups', describePatchGroupsResponse_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:DescribePatchGroupsResponse', describePatchGroupsResponse_httpStatus - The response's http status code.

Response Lenses

describePatchGroupsResponse_mappings :: Lens' DescribePatchGroupsResponse (Maybe [PatchGroupPatchBaselineMapping]) Source #

Each entry in the array contains:

  • PatchGroup: string (between 1 and 256 characters. Regex: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$)
  • PatchBaselineIdentity: A PatchBaselineIdentity element.

describePatchGroupsResponse_nextToken :: Lens' DescribePatchGroupsResponse (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.