Copyright | (c) 2013-2017 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 |
Retrieves the details about a specific task executed as part of a Maintenance Window execution.
- getMaintenanceWindowExecutionTask :: Text -> Text -> GetMaintenanceWindowExecutionTask
- data GetMaintenanceWindowExecutionTask
- gmwetWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTask Text
- gmwetTaskId :: Lens' GetMaintenanceWindowExecutionTask Text
- getMaintenanceWindowExecutionTaskResponse :: Int -> GetMaintenanceWindowExecutionTaskResponse
- data GetMaintenanceWindowExecutionTaskResponse
- gmwetrsStatus :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowExecutionStatus)
- gmwetrsTaskParameters :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe [HashMap Text MaintenanceWindowTaskParameterValueExpression])
- gmwetrsTaskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- gmwetrsPriority :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Natural)
- gmwetrsStartTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime)
- gmwetrsTaskARN :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- gmwetrsWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- gmwetrsStatusDetails :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- gmwetrsMaxErrors :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- gmwetrsEndTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime)
- gmwetrsType :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowTaskType)
- gmwetrsMaxConcurrency :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- gmwetrsServiceRole :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text)
- gmwetrsResponseStatus :: Lens' GetMaintenanceWindowExecutionTaskResponse Int
Creating a Request
getMaintenanceWindowExecutionTask Source #
Creates a value of GetMaintenanceWindowExecutionTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmwetWindowExecutionId
- The ID of the Maintenance Window execution that includes the task.gmwetTaskId
- The ID of the specific task execution in the Maintenance Window task that should be retrieved.
data GetMaintenanceWindowExecutionTask Source #
See: getMaintenanceWindowExecutionTask
smart constructor.
Request Lenses
gmwetWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTask Text Source #
The ID of the Maintenance Window execution that includes the task.
gmwetTaskId :: Lens' GetMaintenanceWindowExecutionTask Text Source #
The ID of the specific task execution in the Maintenance Window task that should be retrieved.
Destructuring the Response
getMaintenanceWindowExecutionTaskResponse Source #
Creates a value of GetMaintenanceWindowExecutionTaskResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmwetrsStatus
- The status of the task.gmwetrsTaskParameters
- The parameters passed to the task when it was executed. The map has the following format: Key: string, between 1 and 255 characters Value: an array of strings, each string is between 1 and 255 charactersgmwetrsTaskExecutionId
- The ID of the specific task execution in the Maintenance Window task that was retrieved.gmwetrsPriority
- The priority of the task.gmwetrsStartTime
- The time the task execution started.gmwetrsTaskARN
- The ARN of the executed task.gmwetrsWindowExecutionId
- The ID of the Maintenance Window execution that includes the task.gmwetrsStatusDetails
- The details explaining the Status. Only available for certain status values.gmwetrsMaxErrors
- The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.gmwetrsEndTime
- The time the task execution completed.gmwetrsType
- The type of task executed.gmwetrsMaxConcurrency
- The defined maximum number of task executions that could be run in parallel.gmwetrsServiceRole
- The role that was assumed when executing the task.gmwetrsResponseStatus
- -- | The response status code.
data GetMaintenanceWindowExecutionTaskResponse Source #
See: getMaintenanceWindowExecutionTaskResponse
smart constructor.
Response Lenses
gmwetrsStatus :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowExecutionStatus) Source #
The status of the task.
gmwetrsTaskParameters :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe [HashMap Text MaintenanceWindowTaskParameterValueExpression]) Source #
The parameters passed to the task when it was executed. The map has the following format: Key: string, between 1 and 255 characters Value: an array of strings, each string is between 1 and 255 characters
gmwetrsTaskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The ID of the specific task execution in the Maintenance Window task that was retrieved.
gmwetrsPriority :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Natural) Source #
The priority of the task.
gmwetrsStartTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime) Source #
The time the task execution started.
gmwetrsTaskARN :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The ARN of the executed task.
gmwetrsWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The ID of the Maintenance Window execution that includes the task.
gmwetrsStatusDetails :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The details explaining the Status. Only available for certain status values.
gmwetrsMaxErrors :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.
gmwetrsEndTime :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe UTCTime) Source #
The time the task execution completed.
gmwetrsType :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe MaintenanceWindowTaskType) Source #
The type of task executed.
gmwetrsMaxConcurrency :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The defined maximum number of task executions that could be run in parallel.
gmwetrsServiceRole :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #
The role that was assumed when executing the task.
gmwetrsResponseStatus :: Lens' GetMaintenanceWindowExecutionTaskResponse Int Source #
- - | The response status code.