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

Description

Retrieves information about the maintenance window targets or tasks that an instance is associated with.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeMaintenanceWindowsForTarget Source #

Constructors

DescribeMaintenanceWindowsForTarget' 

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

  • targets :: [Target]

    The instance ID or key-value pair to retrieve information about.

  • resourceType :: MaintenanceWindowResourceType

    The type of resource you want to retrieve information about. For example, INSTANCE.

Instances

Instances details
Eq DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

Read DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

Show DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

Generic DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

NFData DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

Hashable DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

ToJSON DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

AWSPager DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

AWSRequest DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

ToHeaders DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

ToPath DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

ToQuery DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

type Rep DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

type Rep DescribeMaintenanceWindowsForTarget = D1 ('MetaData "DescribeMaintenanceWindowsForTarget" "Amazonka.SSM.DescribeMaintenanceWindowsForTarget" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DescribeMaintenanceWindowsForTarget'" '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 "targets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Target]) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MaintenanceWindowResourceType))))
type AWSResponse DescribeMaintenanceWindowsForTarget Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

newDescribeMaintenanceWindowsForTarget Source #

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

$sel:maxResults:DescribeMaintenanceWindowsForTarget', describeMaintenanceWindowsForTarget_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:targets:DescribeMaintenanceWindowsForTarget', describeMaintenanceWindowsForTarget_targets - The instance ID or key-value pair to retrieve information about.

$sel:resourceType:DescribeMaintenanceWindowsForTarget', describeMaintenanceWindowsForTarget_resourceType - The type of resource you want to retrieve information about. For example, INSTANCE.

Request Lenses

describeMaintenanceWindowsForTarget_nextToken :: Lens' DescribeMaintenanceWindowsForTarget (Maybe Text) Source #

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

describeMaintenanceWindowsForTarget_maxResults :: Lens' DescribeMaintenanceWindowsForTarget (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.

describeMaintenanceWindowsForTarget_targets :: Lens' DescribeMaintenanceWindowsForTarget [Target] Source #

The instance ID or key-value pair to retrieve information about.

describeMaintenanceWindowsForTarget_resourceType :: Lens' DescribeMaintenanceWindowsForTarget MaintenanceWindowResourceType Source #

The type of resource you want to retrieve information about. For example, INSTANCE.

Destructuring the Response

data DescribeMaintenanceWindowsForTargetResponse Source #

Constructors

DescribeMaintenanceWindowsForTargetResponse' 

Fields

Instances

Instances details
Eq DescribeMaintenanceWindowsForTargetResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

Read DescribeMaintenanceWindowsForTargetResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

Show DescribeMaintenanceWindowsForTargetResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

Generic DescribeMaintenanceWindowsForTargetResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

NFData DescribeMaintenanceWindowsForTargetResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

type Rep DescribeMaintenanceWindowsForTargetResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowsForTarget

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

newDescribeMaintenanceWindowsForTargetResponse Source #

Create a value of DescribeMaintenanceWindowsForTargetResponse 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:windowIdentities:DescribeMaintenanceWindowsForTargetResponse', describeMaintenanceWindowsForTargetResponse_windowIdentities - Information about the maintenance window targets and tasks an instance is associated with.

$sel:nextToken:DescribeMaintenanceWindowsForTarget', describeMaintenanceWindowsForTargetResponse_nextToken - The token for the next set of items to return. (You use this token in the next call.)

$sel:httpStatus:DescribeMaintenanceWindowsForTargetResponse', describeMaintenanceWindowsForTargetResponse_httpStatus - The response's http status code.

Response Lenses

describeMaintenanceWindowsForTargetResponse_windowIdentities :: Lens' DescribeMaintenanceWindowsForTargetResponse (Maybe [MaintenanceWindowIdentityForTarget]) Source #

Information about the maintenance window targets and tasks an instance is associated with.

describeMaintenanceWindowsForTargetResponse_nextToken :: Lens' DescribeMaintenanceWindowsForTargetResponse (Maybe Text) Source #

The token for the next set of items to return. (You use this token in the next call.)