| 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 |
Amazonka.SSM.GetMaintenanceWindowExecutionTaskInvocation
Description
Retrieves information about a specific task running on a specific target.
Synopsis
- data GetMaintenanceWindowExecutionTaskInvocation = GetMaintenanceWindowExecutionTaskInvocation' {
- windowExecutionId :: Text
- taskId :: Text
- invocationId :: Text
- newGetMaintenanceWindowExecutionTaskInvocation :: Text -> Text -> Text -> GetMaintenanceWindowExecutionTaskInvocation
- getMaintenanceWindowExecutionTaskInvocation_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text
- getMaintenanceWindowExecutionTaskInvocation_taskId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text
- getMaintenanceWindowExecutionTaskInvocation_invocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text
- data GetMaintenanceWindowExecutionTaskInvocationResponse = GetMaintenanceWindowExecutionTaskInvocationResponse' {
- endTime :: Maybe POSIX
- executionId :: Maybe Text
- invocationId :: Maybe Text
- ownerInformation :: Maybe (Sensitive Text)
- parameters :: Maybe (Sensitive Text)
- startTime :: Maybe POSIX
- status :: Maybe MaintenanceWindowExecutionStatus
- statusDetails :: Maybe Text
- taskExecutionId :: Maybe Text
- taskType :: Maybe MaintenanceWindowTaskType
- windowExecutionId :: Maybe Text
- windowTargetId :: Maybe Text
- httpStatus :: Int
- newGetMaintenanceWindowExecutionTaskInvocationResponse :: Int -> GetMaintenanceWindowExecutionTaskInvocationResponse
- getMaintenanceWindowExecutionTaskInvocationResponse_endTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionTaskInvocationResponse_executionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_invocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_ownerInformation :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_parameters :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_startTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionTaskInvocationResponse_status :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowExecutionStatus)
- getMaintenanceWindowExecutionTaskInvocationResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_taskType :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowTaskType)
- getMaintenanceWindowExecutionTaskInvocationResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_windowTargetId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse Int
Creating a Request
data GetMaintenanceWindowExecutionTaskInvocation Source #
See: newGetMaintenanceWindowExecutionTaskInvocation smart constructor.
Constructors
| GetMaintenanceWindowExecutionTaskInvocation' | |
Fields
| |
Instances
newGetMaintenanceWindowExecutionTaskInvocation Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> GetMaintenanceWindowExecutionTaskInvocation |
Create a value of GetMaintenanceWindowExecutionTaskInvocation 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:
GetMaintenanceWindowExecutionTaskInvocation, getMaintenanceWindowExecutionTaskInvocation_windowExecutionId - The ID of the maintenance window execution for which the task is a part.
$sel:taskId:GetMaintenanceWindowExecutionTaskInvocation', getMaintenanceWindowExecutionTaskInvocation_taskId - The ID of the specific task in the maintenance window task that should
be retrieved.
GetMaintenanceWindowExecutionTaskInvocation, getMaintenanceWindowExecutionTaskInvocation_invocationId - The invocation ID to retrieve.
Request Lenses
getMaintenanceWindowExecutionTaskInvocation_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text Source #
The ID of the maintenance window execution for which the task is a part.
getMaintenanceWindowExecutionTaskInvocation_taskId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text Source #
The ID of the specific task in the maintenance window task that should be retrieved.
getMaintenanceWindowExecutionTaskInvocation_invocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text Source #
The invocation ID to retrieve.
Destructuring the Response
data GetMaintenanceWindowExecutionTaskInvocationResponse Source #
See: newGetMaintenanceWindowExecutionTaskInvocationResponse smart constructor.
Constructors
| GetMaintenanceWindowExecutionTaskInvocationResponse' | |
Fields
| |
Instances
newGetMaintenanceWindowExecutionTaskInvocationResponse Source #
Arguments
| :: Int |
|
| -> GetMaintenanceWindowExecutionTaskInvocationResponse |
Create a value of GetMaintenanceWindowExecutionTaskInvocationResponse 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:
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_endTime - The time that the task finished running on the target.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_executionId - The execution ID.
GetMaintenanceWindowExecutionTaskInvocation, getMaintenanceWindowExecutionTaskInvocationResponse_invocationId - The invocation ID.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_ownerInformation - User-provided value to be included in any Amazon CloudWatch Events or
Amazon EventBridge events raised while running tasks for these targets
in this maintenance window.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_parameters - The parameters used at the time that the task ran.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_startTime - The time that the task started running on the target.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_status - The task status for an invocation.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_statusDetails - The details explaining the status. Details are only available for
certain status values.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_taskExecutionId - The task execution ID.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_taskType - Retrieves the task type for a maintenance window.
GetMaintenanceWindowExecutionTaskInvocation, getMaintenanceWindowExecutionTaskInvocationResponse_windowExecutionId - The maintenance window execution ID.
GetMaintenanceWindowExecutionTaskInvocationResponse, getMaintenanceWindowExecutionTaskInvocationResponse_windowTargetId - The maintenance window target ID.
$sel:httpStatus:GetMaintenanceWindowExecutionTaskInvocationResponse', getMaintenanceWindowExecutionTaskInvocationResponse_httpStatus - The response's http status code.
Response Lenses
getMaintenanceWindowExecutionTaskInvocationResponse_endTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime) Source #
The time that the task finished running on the target.
getMaintenanceWindowExecutionTaskInvocationResponse_executionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The execution ID.
getMaintenanceWindowExecutionTaskInvocationResponse_invocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The invocation ID.
getMaintenanceWindowExecutionTaskInvocationResponse_ownerInformation :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while running tasks for these targets in this maintenance window.
getMaintenanceWindowExecutionTaskInvocationResponse_parameters :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The parameters used at the time that the task ran.
getMaintenanceWindowExecutionTaskInvocationResponse_startTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime) Source #
The time that the task started running on the target.
getMaintenanceWindowExecutionTaskInvocationResponse_status :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowExecutionStatus) Source #
The task status for an invocation.
getMaintenanceWindowExecutionTaskInvocationResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The details explaining the status. Details are only available for certain status values.
getMaintenanceWindowExecutionTaskInvocationResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The task execution ID.
getMaintenanceWindowExecutionTaskInvocationResponse_taskType :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowTaskType) Source #
Retrieves the task type for a maintenance window.
getMaintenanceWindowExecutionTaskInvocationResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The maintenance window execution ID.
getMaintenanceWindowExecutionTaskInvocationResponse_windowTargetId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The maintenance window target ID.
getMaintenanceWindowExecutionTaskInvocationResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse Int Source #
The response's http status code.