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 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' {
- status :: Maybe MaintenanceWindowExecutionStatus
- executionId :: Maybe Text
- taskExecutionId :: Maybe Text
- startTime :: Maybe POSIX
- invocationId :: Maybe Text
- ownerInformation :: Maybe (Sensitive Text)
- taskType :: Maybe MaintenanceWindowTaskType
- windowTargetId :: Maybe Text
- windowExecutionId :: Maybe Text
- statusDetails :: Maybe Text
- endTime :: Maybe POSIX
- parameters :: Maybe (Sensitive Text)
- httpStatus :: Int
- newGetMaintenanceWindowExecutionTaskInvocationResponse :: Int -> GetMaintenanceWindowExecutionTaskInvocationResponse
- getMaintenanceWindowExecutionTaskInvocationResponse_status :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowExecutionStatus)
- getMaintenanceWindowExecutionTaskInvocationResponse_executionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_startTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionTaskInvocationResponse_invocationId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_ownerInformation :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_taskType :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowTaskType)
- getMaintenanceWindowExecutionTaskInvocationResponse_windowTargetId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_endTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionTaskInvocationResponse_parameters :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text)
- getMaintenanceWindowExecutionTaskInvocationResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse Int
Creating a Request
data GetMaintenanceWindowExecutionTaskInvocation Source #
See: newGetMaintenanceWindowExecutionTaskInvocation
smart constructor.
GetMaintenanceWindowExecutionTaskInvocation' | |
|
Instances
newGetMaintenanceWindowExecutionTaskInvocation Source #
:: 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:
$sel:windowExecutionId: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.
$sel:invocationId: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.
GetMaintenanceWindowExecutionTaskInvocationResponse' | |
|
Instances
newGetMaintenanceWindowExecutionTaskInvocationResponse Source #
:: 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:
$sel:status:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_status
- The task status for an invocation.
$sel:executionId:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_executionId
- The execution ID.
$sel:taskExecutionId:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_taskExecutionId
- The task execution ID.
$sel:startTime:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_startTime
- The time that the task started running on the target.
$sel:invocationId:GetMaintenanceWindowExecutionTaskInvocation'
, getMaintenanceWindowExecutionTaskInvocationResponse_invocationId
- The invocation ID.
$sel:ownerInformation: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.
$sel:taskType:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_taskType
- Retrieves the task type for a maintenance window.
$sel:windowTargetId:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_windowTargetId
- The maintenance window target ID.
$sel:windowExecutionId:GetMaintenanceWindowExecutionTaskInvocation'
, getMaintenanceWindowExecutionTaskInvocationResponse_windowExecutionId
- The maintenance window execution ID.
$sel:statusDetails:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_statusDetails
- The details explaining the status. Details are only available for
certain status values.
$sel:endTime:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_endTime
- The time that the task finished running on the target.
$sel:parameters:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_parameters
- The parameters used at the time that the task ran.
$sel:httpStatus:GetMaintenanceWindowExecutionTaskInvocationResponse'
, getMaintenanceWindowExecutionTaskInvocationResponse_httpStatus
- The response's http status code.
Response Lenses
getMaintenanceWindowExecutionTaskInvocationResponse_status :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowExecutionStatus) Source #
The task status for an invocation.
getMaintenanceWindowExecutionTaskInvocationResponse_executionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The execution ID.
getMaintenanceWindowExecutionTaskInvocationResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The task execution ID.
getMaintenanceWindowExecutionTaskInvocationResponse_startTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime) Source #
The time that the task started running on the target.
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_taskType :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowTaskType) Source #
Retrieves the task type for a maintenance window.
getMaintenanceWindowExecutionTaskInvocationResponse_windowTargetId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The maintenance window target ID.
getMaintenanceWindowExecutionTaskInvocationResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The maintenance window execution ID.
getMaintenanceWindowExecutionTaskInvocationResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The details explaining the status. Details are only available for certain status values.
getMaintenanceWindowExecutionTaskInvocationResponse_endTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime) Source #
The time that the task finished running on the target.
getMaintenanceWindowExecutionTaskInvocationResponse_parameters :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #
The parameters used at the time that the task ran.
getMaintenanceWindowExecutionTaskInvocationResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse Int Source #
The response's http status code.