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

Description

Retrieves the high-level patch state for the instances in the specified patch group.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeInstancePatchStatesForPatchGroup Source #

Constructors

DescribeInstancePatchStatesForPatchGroup' 

Fields

  • filters :: Maybe [InstancePatchStateFilter]

    Each entry in the array is a structure containing:

    • Key (string between 1 and 200 characters)
    • Values (array containing a single string)
    • Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")
  • 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 patches to return (per page).

  • patchGroup :: Text

    The name of the patch group for which the patch state information should be retrieved.

Instances

Instances details
Eq DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

Read DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

Show DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

Generic DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

NFData DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

Hashable DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

ToJSON DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

AWSPager DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

AWSRequest DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

ToHeaders DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

ToPath DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

ToQuery DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

type Rep DescribeInstancePatchStatesForPatchGroup Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

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

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

newDescribeInstancePatchStatesForPatchGroup Source #

Create a value of DescribeInstancePatchStatesForPatchGroup 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:DescribeInstancePatchStatesForPatchGroup', describeInstancePatchStatesForPatchGroup_filters - Each entry in the array is a structure containing:

  • Key (string between 1 and 200 characters)
  • Values (array containing a single string)
  • Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")

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

$sel:maxResults:DescribeInstancePatchStatesForPatchGroup', describeInstancePatchStatesForPatchGroup_maxResults - The maximum number of patches to return (per page).

$sel:patchGroup:DescribeInstancePatchStatesForPatchGroup', describeInstancePatchStatesForPatchGroup_patchGroup - The name of the patch group for which the patch state information should be retrieved.

Request Lenses

describeInstancePatchStatesForPatchGroup_filters :: Lens' DescribeInstancePatchStatesForPatchGroup (Maybe [InstancePatchStateFilter]) Source #

Each entry in the array is a structure containing:

  • Key (string between 1 and 200 characters)
  • Values (array containing a single string)
  • Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")

describeInstancePatchStatesForPatchGroup_nextToken :: Lens' DescribeInstancePatchStatesForPatchGroup (Maybe Text) Source #

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

describeInstancePatchStatesForPatchGroup_patchGroup :: Lens' DescribeInstancePatchStatesForPatchGroup Text Source #

The name of the patch group for which the patch state information should be retrieved.

Destructuring the Response

data DescribeInstancePatchStatesForPatchGroupResponse Source #

Constructors

DescribeInstancePatchStatesForPatchGroupResponse' 

Fields

Instances

Instances details
Eq DescribeInstancePatchStatesForPatchGroupResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

Show DescribeInstancePatchStatesForPatchGroupResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

Generic DescribeInstancePatchStatesForPatchGroupResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

NFData DescribeInstancePatchStatesForPatchGroupResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

type Rep DescribeInstancePatchStatesForPatchGroupResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup

type Rep DescribeInstancePatchStatesForPatchGroupResponse = D1 ('MetaData "DescribeInstancePatchStatesForPatchGroupResponse" "Amazonka.SSM.DescribeInstancePatchStatesForPatchGroup" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DescribeInstancePatchStatesForPatchGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instancePatchStates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty InstancePatchState))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeInstancePatchStatesForPatchGroupResponse Source #

Create a value of DescribeInstancePatchStatesForPatchGroupResponse 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:DescribeInstancePatchStatesForPatchGroup', describeInstancePatchStatesForPatchGroupResponse_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:instancePatchStates:DescribeInstancePatchStatesForPatchGroupResponse', describeInstancePatchStatesForPatchGroupResponse_instancePatchStates - The high-level patch state for the requested instances.

$sel:httpStatus:DescribeInstancePatchStatesForPatchGroupResponse', describeInstancePatchStatesForPatchGroupResponse_httpStatus - The response's http status code.

Response Lenses

describeInstancePatchStatesForPatchGroupResponse_nextToken :: Lens' DescribeInstancePatchStatesForPatchGroupResponse (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.