Copyright | (c) 2013-2021 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 |
Retrieves the details about a specific task run as part of a maintenance window execution.
Synopsis
- data GetMaintenanceWindowExecutionTask = GetMaintenanceWindowExecutionTask' {
- windowExecutionId :: Text
- taskId :: Text
- newGetMaintenanceWindowExecutionTask :: Text -> Text -> GetMaintenanceWindowExecutionTask
- getMaintenanceWindowExecutionTask_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTask Text
- getMaintenanceWindowExecutionTask_taskId :: Lens' GetMaintenanceWindowExecutionTask Text
- data GetMaintenanceWindowExecutionTaskResponse = GetMaintenanceWindowExecutionTaskResponse' {
- status :: Maybe MaintenanceWindowExecutionStatus
- taskParameters :: Maybe (Sensitive [Sensitive (HashMap Text (Sensitive MaintenanceWindowTaskParameterValueExpression))])
- taskExecutionId :: Maybe Text
- priority :: Maybe Natural
- startTime :: Maybe POSIX
- taskArn :: Maybe Text
- windowExecutionId :: Maybe Text
- statusDetails :: Maybe Text
- maxErrors :: Maybe Text
- endTime :: Maybe POSIX
- type' :: Maybe MaintenanceWindowTaskType
- maxConcurrency :: Maybe Text
- serviceRole :: Maybe Text
- httpStatus :: Int
- newGetMaintenanceWindowExecutionTaskResponse :: Int -> GetMaintenanceWindowExecutionTaskResponse
- getMaintenanceWindowExecutionTaskResponse_status :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowExecutionStatus)
- getMaintenanceWindowExecutionTaskResponse_taskParameters :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe [HashMap Text MaintenanceWindowTaskParameterValueExpression])
- getMaintenanceWindowExecutionTaskResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_priority :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Natural)
- getMaintenanceWindowExecutionTaskResponse_startTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionTaskResponse_taskArn :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_maxErrors :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_endTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionTaskResponse_type :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowTaskType)
- getMaintenanceWindowExecutionTaskResponse_maxConcurrency :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_serviceRole :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionTaskResponse Int
Creating a Request
data GetMaintenanceWindowExecutionTask Source #
See: newGetMaintenanceWindowExecutionTask
smart constructor.
GetMaintenanceWindowExecutionTask' | |
|
Instances
newGetMaintenanceWindowExecutionTask Source #
Create a value of GetMaintenanceWindowExecutionTask
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:windowExecutionId:GetMaintenanceWindowExecutionTask'
, getMaintenanceWindowExecutionTask_windowExecutionId
- The ID of the maintenance window execution that includes the task.
$sel:taskId:GetMaintenanceWindowExecutionTask'
, getMaintenanceWindowExecutionTask_taskId
- The ID of the specific task execution in the maintenance window task
that should be retrieved.
Request Lenses
getMaintenanceWindowExecutionTask_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTask Text Source #
The ID of the maintenance window execution that includes the task.
getMaintenanceWindowExecutionTask_taskId :: Lens' GetMaintenanceWindowExecutionTask Text Source #
The ID of the specific task execution in the maintenance window task that should be retrieved.
Destructuring the Response
data GetMaintenanceWindowExecutionTaskResponse Source #
See: newGetMaintenanceWindowExecutionTaskResponse
smart constructor.
GetMaintenanceWindowExecutionTaskResponse' | |
|
Instances
newGetMaintenanceWindowExecutionTaskResponse Source #
Create a value of GetMaintenanceWindowExecutionTaskResponse
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:status:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_status
- The status of the task.
$sel:taskParameters:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_taskParameters
- The parameters passed to the task when it was run.
TaskParameters
has been deprecated. To specify parameters to pass to a
task when it runs, instead use the Parameters
option in the
TaskInvocationParameters
structure. For information about how Systems
Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
The map has the following format:
Key
: string, between 1 and 255 charactersValue
: an array of strings, each between 1 and 255 characters
$sel:taskExecutionId:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_taskExecutionId
- The ID of the specific task execution in the maintenance window task
that was retrieved.
$sel:priority:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_priority
- The priority of the task.
$sel:startTime:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_startTime
- The time the task execution started.
$sel:taskArn:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_taskArn
- The Amazon Resource Name (ARN) of the task that ran.
$sel:windowExecutionId:GetMaintenanceWindowExecutionTask'
, getMaintenanceWindowExecutionTaskResponse_windowExecutionId
- The ID of the maintenance window execution that includes the task.
$sel:statusDetails:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_statusDetails
- The details explaining the status. Not available for all status values.
$sel:maxErrors:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_maxErrors
- The defined maximum number of task execution errors allowed before
scheduling of the task execution would have been stopped.
$sel:endTime:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_endTime
- The time the task execution completed.
$sel:type':GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_type
- The type of task that was run.
$sel:maxConcurrency:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_maxConcurrency
- The defined maximum number of task executions that could be run in
parallel.
$sel:serviceRole:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_serviceRole
- The role that was assumed when running the task.
$sel:httpStatus:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_httpStatus
- The response's http status code.
Response Lenses
getMaintenanceWindowExecutionTaskResponse_status :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowExecutionStatus) Source #
The status of the task.
getMaintenanceWindowExecutionTaskResponse_taskParameters :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe [HashMap Text MaintenanceWindowTaskParameterValueExpression]) Source #
The parameters passed to the task when it was run.
TaskParameters
has been deprecated. To specify parameters to pass to a
task when it runs, instead use the Parameters
option in the
TaskInvocationParameters
structure. For information about how Systems
Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
The map has the following format:
Key
: string, between 1 and 255 charactersValue
: an array of strings, each between 1 and 255 characters
getMaintenanceWindowExecutionTaskResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The ID of the specific task execution in the maintenance window task that was retrieved.
getMaintenanceWindowExecutionTaskResponse_priority :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Natural) Source #
The priority of the task.
getMaintenanceWindowExecutionTaskResponse_startTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime) Source #
The time the task execution started.
getMaintenanceWindowExecutionTaskResponse_taskArn :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the task that ran.
getMaintenanceWindowExecutionTaskResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The ID of the maintenance window execution that includes the task.
getMaintenanceWindowExecutionTaskResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The details explaining the status. Not available for all status values.
getMaintenanceWindowExecutionTaskResponse_maxErrors :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
getMaintenanceWindowExecutionTaskResponse_endTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime) Source #
The time the task execution completed.
getMaintenanceWindowExecutionTaskResponse_type :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowTaskType) Source #
The type of task that was run.
getMaintenanceWindowExecutionTaskResponse_maxConcurrency :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The defined maximum number of task executions that could be run in parallel.
getMaintenanceWindowExecutionTaskResponse_serviceRole :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The role that was assumed when running the task.
getMaintenanceWindowExecutionTaskResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionTaskResponse Int Source #
The response's http status code.