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

Description

Retrieves the high-level patch state of one or more instances.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeInstancePatchStates Source #

See: newDescribeInstancePatchStates smart constructor.

Constructors

DescribeInstancePatchStates' 

Fields

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

  • instanceIds :: [Text]

    The ID of the instance for which patch state information should be retrieved.

Instances

Instances details
Eq DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

Read DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

Show DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

Generic DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

Associated Types

type Rep DescribeInstancePatchStates :: Type -> Type #

NFData DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

Hashable DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

ToJSON DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

AWSPager DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

AWSRequest DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

ToHeaders DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

ToPath DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

ToQuery DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

type Rep DescribeInstancePatchStates Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

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

Defined in Amazonka.SSM.DescribeInstancePatchStates

newDescribeInstancePatchStates :: DescribeInstancePatchStates Source #

Create a value of DescribeInstancePatchStates 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:DescribeInstancePatchStates', describeInstancePatchStates_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:maxResults:DescribeInstancePatchStates', describeInstancePatchStates_maxResults - The maximum number of instances to return (per page).

$sel:instanceIds:DescribeInstancePatchStates', describeInstancePatchStates_instanceIds - The ID of the instance for which patch state information should be retrieved.

Request Lenses

describeInstancePatchStates_nextToken :: Lens' DescribeInstancePatchStates (Maybe Text) Source #

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

describeInstancePatchStates_maxResults :: Lens' DescribeInstancePatchStates (Maybe Natural) Source #

The maximum number of instances to return (per page).

describeInstancePatchStates_instanceIds :: Lens' DescribeInstancePatchStates [Text] Source #

The ID of the instance for which patch state information should be retrieved.

Destructuring the Response

data DescribeInstancePatchStatesResponse Source #

Constructors

DescribeInstancePatchStatesResponse' 

Fields

Instances

Instances details
Eq DescribeInstancePatchStatesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

Show DescribeInstancePatchStatesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

Generic DescribeInstancePatchStatesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

NFData DescribeInstancePatchStatesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

type Rep DescribeInstancePatchStatesResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeInstancePatchStates

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

newDescribeInstancePatchStatesResponse Source #

Create a value of DescribeInstancePatchStatesResponse 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:DescribeInstancePatchStates', describeInstancePatchStatesResponse_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:DescribeInstancePatchStatesResponse', describeInstancePatchStatesResponse_instancePatchStates - The high-level patch state for the requested instances.

$sel:httpStatus:DescribeInstancePatchStatesResponse', describeInstancePatchStatesResponse_httpStatus - The response's http status code.

Response Lenses

describeInstancePatchStatesResponse_nextToken :: Lens' DescribeInstancePatchStatesResponse (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.