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

Description

Lists the tasks in a maintenance window.

For maintenance window tasks without a specified target, you can't supply values for --max-errors and --max-concurrency. Instead, the system inserts a placeholder value of 1, which may be reported in the response to this command. These values don't affect the running of your task and can be ignored.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeMaintenanceWindowTasks Source #

See: newDescribeMaintenanceWindowTasks smart constructor.

Constructors

DescribeMaintenanceWindowTasks' 

Fields

  • filters :: Maybe [MaintenanceWindowFilter]

    Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId, TaskArn, Priority, and TaskType.

  • 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 tasks should be retrieved.

Instances

Instances details
Eq DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

Read DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

Show DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

Generic DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

Associated Types

type Rep DescribeMaintenanceWindowTasks :: Type -> Type #

NFData DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

Hashable DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

ToJSON DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

AWSPager DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

AWSRequest DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

ToHeaders DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

ToPath DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

ToQuery DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

type Rep DescribeMaintenanceWindowTasks Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

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

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

newDescribeMaintenanceWindowTasks Source #

Create a value of DescribeMaintenanceWindowTasks 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:DescribeMaintenanceWindowTasks', describeMaintenanceWindowTasks_filters - Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId, TaskArn, Priority, and TaskType.

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

$sel:maxResults:DescribeMaintenanceWindowTasks', describeMaintenanceWindowTasks_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:DescribeMaintenanceWindowTasks', describeMaintenanceWindowTasks_windowId - The ID of the maintenance window whose tasks should be retrieved.

Request Lenses

describeMaintenanceWindowTasks_filters :: Lens' DescribeMaintenanceWindowTasks (Maybe [MaintenanceWindowFilter]) Source #

Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId, TaskArn, Priority, and TaskType.

describeMaintenanceWindowTasks_nextToken :: Lens' DescribeMaintenanceWindowTasks (Maybe Text) Source #

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

describeMaintenanceWindowTasks_maxResults :: Lens' DescribeMaintenanceWindowTasks (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.

describeMaintenanceWindowTasks_windowId :: Lens' DescribeMaintenanceWindowTasks Text Source #

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

Destructuring the Response

data DescribeMaintenanceWindowTasksResponse Source #

Constructors

DescribeMaintenanceWindowTasksResponse' 

Fields

Instances

Instances details
Eq DescribeMaintenanceWindowTasksResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

Show DescribeMaintenanceWindowTasksResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

Generic DescribeMaintenanceWindowTasksResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

NFData DescribeMaintenanceWindowTasksResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

type Rep DescribeMaintenanceWindowTasksResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindowTasks

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

newDescribeMaintenanceWindowTasksResponse Source #

Create a value of DescribeMaintenanceWindowTasksResponse 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:tasks:DescribeMaintenanceWindowTasksResponse', describeMaintenanceWindowTasksResponse_tasks - Information about the tasks in the maintenance window.

$sel:nextToken:DescribeMaintenanceWindowTasks', describeMaintenanceWindowTasksResponse_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:DescribeMaintenanceWindowTasksResponse', describeMaintenanceWindowTasksResponse_httpStatus - The response's http status code.

Response Lenses

describeMaintenanceWindowTasksResponse_nextToken :: Lens' DescribeMaintenanceWindowTasksResponse (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.