| 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 |
Amazonka.SSM.GetMaintenanceWindowExecution
Description
Retrieves details about a specific a maintenance window execution.
Synopsis
- data GetMaintenanceWindowExecution = GetMaintenanceWindowExecution' {}
- newGetMaintenanceWindowExecution :: Text -> GetMaintenanceWindowExecution
- getMaintenanceWindowExecution_windowExecutionId :: Lens' GetMaintenanceWindowExecution Text
- data GetMaintenanceWindowExecutionResponse = GetMaintenanceWindowExecutionResponse' {}
- newGetMaintenanceWindowExecutionResponse :: Int -> GetMaintenanceWindowExecutionResponse
- getMaintenanceWindowExecutionResponse_status :: Lens' GetMaintenanceWindowExecutionResponse (Maybe MaintenanceWindowExecutionStatus)
- getMaintenanceWindowExecutionResponse_startTime :: Lens' GetMaintenanceWindowExecutionResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionResponse (Maybe Text)
- getMaintenanceWindowExecutionResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionResponse (Maybe Text)
- getMaintenanceWindowExecutionResponse_endTime :: Lens' GetMaintenanceWindowExecutionResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionResponse_taskIds :: Lens' GetMaintenanceWindowExecutionResponse (Maybe [Text])
- getMaintenanceWindowExecutionResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionResponse Int
Creating a Request
data GetMaintenanceWindowExecution Source #
See: newGetMaintenanceWindowExecution smart constructor.
Constructors
| GetMaintenanceWindowExecution' | |
Fields
| |
Instances
newGetMaintenanceWindowExecution Source #
Arguments
| :: Text | |
| -> GetMaintenanceWindowExecution |
Create a value of GetMaintenanceWindowExecution 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:GetMaintenanceWindowExecution', getMaintenanceWindowExecution_windowExecutionId - The ID of the maintenance window execution that includes the task.
Request Lenses
getMaintenanceWindowExecution_windowExecutionId :: Lens' GetMaintenanceWindowExecution Text Source #
The ID of the maintenance window execution that includes the task.
Destructuring the Response
data GetMaintenanceWindowExecutionResponse Source #
See: newGetMaintenanceWindowExecutionResponse smart constructor.
Constructors
| GetMaintenanceWindowExecutionResponse' | |
Fields
| |
Instances
newGetMaintenanceWindowExecutionResponse Source #
Arguments
| :: Int | |
| -> GetMaintenanceWindowExecutionResponse |
Create a value of GetMaintenanceWindowExecutionResponse 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:GetMaintenanceWindowExecutionResponse', getMaintenanceWindowExecutionResponse_status - The status of the maintenance window execution.
$sel:startTime:GetMaintenanceWindowExecutionResponse', getMaintenanceWindowExecutionResponse_startTime - The time the maintenance window started running.
$sel:windowExecutionId:GetMaintenanceWindowExecution', getMaintenanceWindowExecutionResponse_windowExecutionId - The ID of the maintenance window execution.
$sel:statusDetails:GetMaintenanceWindowExecutionResponse', getMaintenanceWindowExecutionResponse_statusDetails - The details explaining the status. Not available for all status values.
$sel:endTime:GetMaintenanceWindowExecutionResponse', getMaintenanceWindowExecutionResponse_endTime - The time the maintenance window finished running.
$sel:taskIds:GetMaintenanceWindowExecutionResponse', getMaintenanceWindowExecutionResponse_taskIds - The ID of the task executions from the maintenance window execution.
$sel:httpStatus:GetMaintenanceWindowExecutionResponse', getMaintenanceWindowExecutionResponse_httpStatus - The response's http status code.
Response Lenses
getMaintenanceWindowExecutionResponse_status :: Lens' GetMaintenanceWindowExecutionResponse (Maybe MaintenanceWindowExecutionStatus) Source #
The status of the maintenance window execution.
getMaintenanceWindowExecutionResponse_startTime :: Lens' GetMaintenanceWindowExecutionResponse (Maybe UTCTime) Source #
The time the maintenance window started running.
getMaintenanceWindowExecutionResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionResponse (Maybe Text) Source #
The ID of the maintenance window execution.
getMaintenanceWindowExecutionResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionResponse (Maybe Text) Source #
The details explaining the status. Not available for all status values.
getMaintenanceWindowExecutionResponse_endTime :: Lens' GetMaintenanceWindowExecutionResponse (Maybe UTCTime) Source #
The time the maintenance window finished running.
getMaintenanceWindowExecutionResponse_taskIds :: Lens' GetMaintenanceWindowExecutionResponse (Maybe [Text]) Source #
The ID of the task executions from the maintenance window execution.
getMaintenanceWindowExecutionResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionResponse Int Source #
The response's http status code.