| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SSM.GetMaintenanceWindowTask
Description
Lists the tasks in a Maintenance Window.
Synopsis
- getMaintenanceWindowTask :: Text -> Text -> GetMaintenanceWindowTask
- data GetMaintenanceWindowTask
- gmwtWindowId :: Lens' GetMaintenanceWindowTask Text
- gmwtWindowTaskId :: Lens' GetMaintenanceWindowTask Text
- getMaintenanceWindowTaskResponse :: Int -> GetMaintenanceWindowTaskResponse
- data GetMaintenanceWindowTaskResponse
- gmwtrsServiceRoleARN :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text)
- gmwtrsWindowTaskId :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text)
- gmwtrsTaskParameters :: Lens' GetMaintenanceWindowTaskResponse (Maybe (HashMap Text MaintenanceWindowTaskParameterValueExpression))
- gmwtrsPriority :: Lens' GetMaintenanceWindowTaskResponse (Maybe Natural)
- gmwtrsTaskType :: Lens' GetMaintenanceWindowTaskResponse (Maybe MaintenanceWindowTaskType)
- gmwtrsTaskARN :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text)
- gmwtrsMaxErrors :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text)
- gmwtrsTaskInvocationParameters :: Lens' GetMaintenanceWindowTaskResponse (Maybe MaintenanceWindowTaskInvocationParameters)
- gmwtrsName :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text)
- gmwtrsTargets :: Lens' GetMaintenanceWindowTaskResponse [Target]
- gmwtrsLoggingInfo :: Lens' GetMaintenanceWindowTaskResponse (Maybe LoggingInfo)
- gmwtrsDescription :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text)
- gmwtrsMaxConcurrency :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text)
- gmwtrsWindowId :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text)
- gmwtrsResponseStatus :: Lens' GetMaintenanceWindowTaskResponse Int
Creating a Request
getMaintenanceWindowTask Source #
Arguments
| :: Text | |
| -> Text | |
| -> 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.
data GetMaintenanceWindowTask Source #
See: getMaintenanceWindowTask smart constructor.
Instances
Request Lenses
gmwtWindowId :: Lens' GetMaintenanceWindowTask Text Source #
The Maintenance Window ID that includes the task to retrieve.
gmwtWindowTaskId :: Lens' GetMaintenanceWindowTask Text Source #
The Maintenance Window task ID to retrieve.
Destructuring the Response
getMaintenanceWindowTaskResponse Source #
Arguments
| :: Int | |
| -> 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.
data GetMaintenanceWindowTaskResponse Source #
See: getMaintenanceWindowTaskResponse smart constructor.
Instances
Response Lenses
gmwtrsServiceRoleARN :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #
The IAM service role to assume during task execution.
gmwtrsWindowTaskId :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #
The retrieved Maintenance Window task ID.
gmwtrsTaskParameters :: Lens' GetMaintenanceWindowTaskResponse (Maybe (HashMap Text MaintenanceWindowTaskParameterValueExpression)) Source #
The parameters to pass to the task when it executes.
gmwtrsPriority :: Lens' GetMaintenanceWindowTaskResponse (Maybe Natural) Source #
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 :: Lens' GetMaintenanceWindowTaskResponse (Maybe MaintenanceWindowTaskType) Source #
The type of task to execute.
gmwtrsTaskARN :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #
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 :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #
The maximum number of errors allowed before the task stops being scheduled.
gmwtrsTaskInvocationParameters :: Lens' GetMaintenanceWindowTaskResponse (Maybe MaintenanceWindowTaskInvocationParameters) Source #
The parameters to pass to the task when it executes.
gmwtrsName :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #
The retrieved task name.
gmwtrsTargets :: Lens' GetMaintenanceWindowTaskResponse [Target] Source #
The targets where the task should execute.
gmwtrsLoggingInfo :: Lens' GetMaintenanceWindowTaskResponse (Maybe LoggingInfo) Source #
The location in Amazon S3 where the task results are logged.
gmwtrsDescription :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #
The retrieved task description.
gmwtrsMaxConcurrency :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #
The maximum number of targets allowed to run this task in parallel.
gmwtrsWindowId :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #
The retrieved Maintenance Window ID.
gmwtrsResponseStatus :: Lens' GetMaintenanceWindowTaskResponse Int Source #
- - | The response status code.