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

Description

Lists the targets registered with the maintenance window.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeMaintenanceWindowTargets Source #

See: newDescribeMaintenanceWindowTargets smart constructor.

Constructors

DescribeMaintenanceWindowTargets' 

Fields

  • filters :: Maybe [MaintenanceWindowFilter]

    Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are Type, WindowTargetId, and OwnerInformation.

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

  • windowId :: Text

    The ID of the maintenance window whose targets should be retrieved.

Instances

Instances details
Eq DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

Read DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

Show DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

Generic DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

Associated Types

type Rep DescribeMaintenanceWindowTargets :: Type -> Type #

NFData DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

Hashable DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

ToJSON DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

AWSPager DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

AWSRequest DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

ToHeaders DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

ToPath DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

ToQuery DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

type Rep DescribeMaintenanceWindowTargets Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

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

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

newDescribeMaintenanceWindowTargets Source #

Create a value of DescribeMaintenanceWindowTargets 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:DescribeMaintenanceWindowTargets', describeMaintenanceWindowTargets_filters - Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are Type, WindowTargetId, and OwnerInformation.

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

$sel:maxResults:DescribeMaintenanceWindowTargets', describeMaintenanceWindowTargets_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:windowId:DescribeMaintenanceWindowTargets', describeMaintenanceWindowTargets_windowId - The ID of the maintenance window whose targets should be retrieved.

Request Lenses

describeMaintenanceWindowTargets_filters :: Lens' DescribeMaintenanceWindowTargets (Maybe [MaintenanceWindowFilter]) Source #

Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are Type, WindowTargetId, and OwnerInformation.

describeMaintenanceWindowTargets_nextToken :: Lens' DescribeMaintenanceWindowTargets (Maybe Text) Source #

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

describeMaintenanceWindowTargets_maxResults :: Lens' DescribeMaintenanceWindowTargets (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.

describeMaintenanceWindowTargets_windowId :: Lens' DescribeMaintenanceWindowTargets Text Source #

The ID of the maintenance window whose targets should be retrieved.

Destructuring the Response

data DescribeMaintenanceWindowTargetsResponse Source #

Constructors

DescribeMaintenanceWindowTargetsResponse' 

Fields

Instances

Instances details
Eq DescribeMaintenanceWindowTargetsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

Show DescribeMaintenanceWindowTargetsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

Generic DescribeMaintenanceWindowTargetsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

NFData DescribeMaintenanceWindowTargetsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

type Rep DescribeMaintenanceWindowTargetsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTargets

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

newDescribeMaintenanceWindowTargetsResponse Source #

Create a value of DescribeMaintenanceWindowTargetsResponse 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:DescribeMaintenanceWindowTargets', describeMaintenanceWindowTargetsResponse_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:targets:DescribeMaintenanceWindowTargetsResponse', describeMaintenanceWindowTargetsResponse_targets - Information about the targets in the maintenance window.

$sel:httpStatus:DescribeMaintenanceWindowTargetsResponse', describeMaintenanceWindowTargetsResponse_httpStatus - The response's http status code.

Response Lenses

describeMaintenanceWindowTargetsResponse_nextToken :: Lens' DescribeMaintenanceWindowTargetsResponse (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.