amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

Lists the tasks in a Maintenance Window.

# Creating a Request

Arguments

 :: Text gmwtWindowId -> Text gmwtWindowTaskId -> GetMaintenanceWindowTask

Creates a value of GetMaintenanceWindowTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• gmwtWindowId - The Maintenance Window ID that includes the task to retrieve.
• gmwtWindowTaskId - The Maintenance Window task ID to retrieve.

See: getMaintenanceWindowTask smart constructor.

Instances

# Request Lenses

The Maintenance Window ID that includes the task to retrieve.

The Maintenance Window task ID to retrieve.

# Destructuring the Response

Arguments

 :: Int gmwtrsResponseStatus -> GetMaintenanceWindowTaskResponse

Creates a value of GetMaintenanceWindowTaskResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• gmwtrsServiceRoleARN - The IAM service role to assume during task execution.
• gmwtrsWindowTaskId - The retrieved Maintenance Window task ID.
• gmwtrsTaskParameters - The parameters to pass to the task when it executes.
• gmwtrsPriority - The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
• gmwtrsTaskType - The type of task to execute.
• gmwtrsTaskARN - The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn is the Systems Manager Document nameARN. For LAMBDA tasks, the value is the function nameARN. For STEP_FUNCTION tasks, the value is the state machine ARN.
• gmwtrsMaxErrors - The maximum number of errors allowed before the task stops being scheduled.
• gmwtrsTaskInvocationParameters - The parameters to pass to the task when it executes.
• gmwtrsName - The retrieved task name.
• gmwtrsTargets - The targets where the task should execute.
• gmwtrsLoggingInfo - The location in Amazon S3 where the task results are logged.
• gmwtrsDescription - The retrieved task description.
• gmwtrsMaxConcurrency - The maximum number of targets allowed to run this task in parallel.
• gmwtrsWindowId - The retrieved Maintenance Window ID.
• gmwtrsResponseStatus - -- | The response status code.

See: getMaintenanceWindowTaskResponse smart constructor.

Instances

# Response Lenses

The IAM service role to assume during task execution.

The retrieved Maintenance Window task ID.

The parameters to pass to the task when it executes.

The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.

The type of task to execute.

The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn is the Systems Manager Document nameARN. For LAMBDA tasks, the value is the function nameARN. For STEP_FUNCTION tasks, the value is the state machine ARN.

The maximum number of errors allowed before the task stops being scheduled.

The parameters to pass to the task when it executes.