Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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' {
- alarmConfiguration :: Maybe AlarmConfiguration
- endTime :: Maybe POSIX
- maxConcurrency :: Maybe Text
- maxErrors :: Maybe Text
- priority :: Maybe Natural
- serviceRole :: Maybe Text
- startTime :: Maybe POSIX
- status :: Maybe MaintenanceWindowExecutionStatus
- statusDetails :: Maybe Text
- taskArn :: Maybe Text
- taskExecutionId :: Maybe Text
- taskParameters :: Maybe (Sensitive [Sensitive (HashMap Text (Sensitive MaintenanceWindowTaskParameterValueExpression))])
- triggeredAlarms :: Maybe (NonEmpty AlarmStateInformation)
- type' :: Maybe MaintenanceWindowTaskType
- windowExecutionId :: Maybe Text
- httpStatus :: Int
- newGetMaintenanceWindowExecutionTaskResponse :: Int -> GetMaintenanceWindowExecutionTaskResponse
- getMaintenanceWindowExecutionTaskResponse_alarmConfiguration :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe AlarmConfiguration)
- getMaintenanceWindowExecutionTaskResponse_endTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionTaskResponse_maxConcurrency :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_maxErrors :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_priority :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Natural)
- getMaintenanceWindowExecutionTaskResponse_serviceRole :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_startTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionTaskResponse_status :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowExecutionStatus)
- getMaintenanceWindowExecutionTaskResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_taskArn :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskResponse_taskParameters :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe [HashMap Text MaintenanceWindowTaskParameterValueExpression])
- getMaintenanceWindowExecutionTaskResponse_triggeredAlarms :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe (NonEmpty AlarmStateInformation))
- getMaintenanceWindowExecutionTaskResponse_type :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowTaskType)
- getMaintenanceWindowExecutionTaskResponse_windowExecutionId :: 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:
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:
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_alarmConfiguration
- The details for the CloudWatch alarm you applied to your maintenance
window task.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_endTime
- The time the task execution completed.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_maxConcurrency
- The defined maximum number of task executions that could be run in
parallel.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_maxErrors
- The defined maximum number of task execution errors allowed before
scheduling of the task execution would have been stopped.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_priority
- The priority of the task.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_serviceRole
- The role that was assumed when running the task.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_startTime
- The time the task execution started.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_status
- The status of the task.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_statusDetails
- The details explaining the status. Not available for all status values.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_taskArn
- The Amazon Resource Name (ARN) of the task that ran.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_taskExecutionId
- The ID of the specific task execution in the maintenance window task
that was retrieved.
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
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_triggeredAlarms
- The CloudWatch alarms that were invoked by the maintenance window task.
GetMaintenanceWindowExecutionTaskResponse
, getMaintenanceWindowExecutionTaskResponse_type
- The type of task that was run.
GetMaintenanceWindowExecutionTask
, getMaintenanceWindowExecutionTaskResponse_windowExecutionId
- The ID of the maintenance window execution that includes the task.
$sel:httpStatus:GetMaintenanceWindowExecutionTaskResponse'
, getMaintenanceWindowExecutionTaskResponse_httpStatus
- The response's http status code.
Response Lenses
getMaintenanceWindowExecutionTaskResponse_alarmConfiguration :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe AlarmConfiguration) Source #
The details for the CloudWatch alarm you applied to your maintenance window task.
getMaintenanceWindowExecutionTaskResponse_endTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime) Source #
The time the task execution completed.
getMaintenanceWindowExecutionTaskResponse_maxConcurrency :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The defined maximum number of task executions that could be run in parallel.
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_priority :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Natural) Source #
The priority of the task.
getMaintenanceWindowExecutionTaskResponse_serviceRole :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The role that was assumed when running the task.
getMaintenanceWindowExecutionTaskResponse_startTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime) Source #
The time the task execution started.
getMaintenanceWindowExecutionTaskResponse_status :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowExecutionStatus) Source #
The status of the task.
getMaintenanceWindowExecutionTaskResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The details explaining the status. Not available for all status values.
getMaintenanceWindowExecutionTaskResponse_taskArn :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the task that ran.
getMaintenanceWindowExecutionTaskResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The ID of the specific task execution in the maintenance window task that was retrieved.
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_triggeredAlarms :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe (NonEmpty AlarmStateInformation)) Source #
The CloudWatch alarms that were invoked by the maintenance window task.
getMaintenanceWindowExecutionTaskResponse_type :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowTaskType) Source #
The type of task that was run.
getMaintenanceWindowExecutionTaskResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The ID of the maintenance window execution that includes the task.
getMaintenanceWindowExecutionTaskResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionTaskResponse Int Source #
The response's http status code.