| 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.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_endTime :: Lens' GetMaintenanceWindowExecutionResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionResponse_startTime :: Lens' GetMaintenanceWindowExecutionResponse (Maybe UTCTime)
- getMaintenanceWindowExecutionResponse_status :: Lens' GetMaintenanceWindowExecutionResponse (Maybe MaintenanceWindowExecutionStatus)
- getMaintenanceWindowExecutionResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionResponse (Maybe Text)
- getMaintenanceWindowExecutionResponse_taskIds :: Lens' GetMaintenanceWindowExecutionResponse (Maybe [Text])
- getMaintenanceWindowExecutionResponse_windowExecutionId :: 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 #
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:
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:
GetMaintenanceWindowExecutionResponse, getMaintenanceWindowExecutionResponse_endTime - The time the maintenance window finished running.
GetMaintenanceWindowExecutionResponse, getMaintenanceWindowExecutionResponse_startTime - The time the maintenance window started running.
GetMaintenanceWindowExecutionResponse, getMaintenanceWindowExecutionResponse_status - The status of the maintenance window execution.
GetMaintenanceWindowExecutionResponse, getMaintenanceWindowExecutionResponse_statusDetails - The details explaining the status. Not available for all status values.
$sel:taskIds:GetMaintenanceWindowExecutionResponse', getMaintenanceWindowExecutionResponse_taskIds - The ID of the task executions from the maintenance window execution.
GetMaintenanceWindowExecution, getMaintenanceWindowExecutionResponse_windowExecutionId - The ID of the maintenance window execution.
$sel:httpStatus:GetMaintenanceWindowExecutionResponse', getMaintenanceWindowExecutionResponse_httpStatus - The response's http status code.
Response Lenses
getMaintenanceWindowExecutionResponse_endTime :: Lens' GetMaintenanceWindowExecutionResponse (Maybe UTCTime) Source #
The time the maintenance window finished running.
getMaintenanceWindowExecutionResponse_startTime :: Lens' GetMaintenanceWindowExecutionResponse (Maybe UTCTime) Source #
The time the maintenance window started running.
getMaintenanceWindowExecutionResponse_status :: Lens' GetMaintenanceWindowExecutionResponse (Maybe MaintenanceWindowExecutionStatus) Source #
The status of the maintenance window execution.
getMaintenanceWindowExecutionResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionResponse (Maybe Text) Source #
The details explaining the status. Not available for all status values.
getMaintenanceWindowExecutionResponse_taskIds :: Lens' GetMaintenanceWindowExecutionResponse (Maybe [Text]) Source #
The ID of the task executions from the maintenance window execution.
getMaintenanceWindowExecutionResponse_windowExecutionId :: Lens' GetMaintenanceWindowExecutionResponse (Maybe Text) Source #
The ID of the maintenance window execution.
getMaintenanceWindowExecutionResponse_httpStatus :: Lens' GetMaintenanceWindowExecutionResponse Int Source #
The response's http status code.