| 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.GetMaintenanceWindowExecutionTaskInvocation
Description
Retrieves a task invocation. A task invocation is a specific task executing on a specific target. Maintenance Windows report status for all invocations.
Synopsis
- getMaintenanceWindowExecutionTaskInvocation :: Text -> Text -> Text -> GetMaintenanceWindowExecutionTaskInvocation
- data GetMaintenanceWindowExecutionTaskInvocation
- gmwetiWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text
- gmwetiTaskId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text
- gmwetiInvocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text
- getMaintenanceWindowExecutionTaskInvocationResponse :: Int -> GetMaintenanceWindowExecutionTaskInvocationResponse
- data GetMaintenanceWindowExecutionTaskInvocationResponse
- gmwetirsStatus :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowExecutionStatus)
- gmwetirsExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- gmwetirsTaskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- gmwetirsStartTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime)
- gmwetirsInvocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- gmwetirsOwnerInformation :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- gmwetirsTaskType :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowTaskType)
- gmwetirsWindowTargetId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- gmwetirsWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- gmwetirsStatusDetails :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- gmwetirsEndTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime)
- gmwetirsParameters :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- gmwetirsResponseStatus :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse Int
Creating a Request
getMaintenanceWindowExecutionTaskInvocation Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> GetMaintenanceWindowExecutionTaskInvocation |
Creates a value of GetMaintenanceWindowExecutionTaskInvocation with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmwetiWindowExecutionId- The ID of the Maintenance Window execution for which the task is a part.gmwetiTaskId- The ID of the specific task in the Maintenance Window task that should be retrieved.gmwetiInvocationId- The invocation ID to retrieve.
data GetMaintenanceWindowExecutionTaskInvocation Source #
See: getMaintenanceWindowExecutionTaskInvocation smart constructor.
Instances
Request Lenses
gmwetiWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text Source #
The ID of the Maintenance Window execution for which the task is a part.
gmwetiTaskId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text Source #
The ID of the specific task in the Maintenance Window task that should be retrieved.
gmwetiInvocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text Source #
The invocation ID to retrieve.
Destructuring the Response
getMaintenanceWindowExecutionTaskInvocationResponse Source #
Creates a value of GetMaintenanceWindowExecutionTaskInvocationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmwetirsStatus- The task status for an invocation.gmwetirsExecutionId- The execution ID.gmwetirsTaskExecutionId- The task execution ID.gmwetirsStartTime- The time that the task started executing on the target.gmwetirsInvocationId- The invocation ID.gmwetirsOwnerInformation- User-provided value to be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.gmwetirsTaskType- Retrieves the task type for a Maintenance Window. Task types include the following: LAMBDA, STEP_FUNCTION, AUTOMATION, RUN_COMMAND.gmwetirsWindowTargetId- The Maintenance Window target ID.gmwetirsWindowExecutionId- The Maintenance Window execution ID.gmwetirsStatusDetails- The details explaining the status. Details are only available for certain status values.gmwetirsEndTime- The time that the task finished executing on the target.gmwetirsParameters- The parameters used at the time that the task executed.gmwetirsResponseStatus- -- | The response status code.
data GetMaintenanceWindowExecutionTaskInvocationResponse Source #
See: getMaintenanceWindowExecutionTaskInvocationResponse smart constructor.
Instances
Response Lenses
gmwetirsStatus :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowExecutionStatus) Source #
The task status for an invocation.
gmwetirsExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The execution ID.
gmwetirsTaskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The task execution ID.
gmwetirsStartTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime) Source #
The time that the task started executing on the target.
gmwetirsInvocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The invocation ID.
gmwetirsOwnerInformation :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
User-provided value to be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
gmwetirsTaskType :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowTaskType) Source #
Retrieves the task type for a Maintenance Window. Task types include the following: LAMBDA, STEP_FUNCTION, AUTOMATION, RUN_COMMAND.
gmwetirsWindowTargetId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The Maintenance Window target ID.
gmwetirsWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The Maintenance Window execution ID.
gmwetirsStatusDetails :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The details explaining the status. Details are only available for certain status values.
gmwetirsEndTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime) Source #
The time that the task finished executing on the target.
gmwetirsParameters :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The parameters used at the time that the task executed.
gmwetirsResponseStatus :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse Int Source #
- - | The response status code.