| 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.WellArchitected.GetWorkload
Description
Get an existing workload.
Synopsis
- data GetWorkload = GetWorkload' {
- workloadId :: Text
- newGetWorkload :: Text -> GetWorkload
- getWorkload_workloadId :: Lens' GetWorkload Text
- data GetWorkloadResponse = GetWorkloadResponse' {
- workload :: Maybe Workload
- httpStatus :: Int
- newGetWorkloadResponse :: Int -> GetWorkloadResponse
- getWorkloadResponse_workload :: Lens' GetWorkloadResponse (Maybe Workload)
- getWorkloadResponse_httpStatus :: Lens' GetWorkloadResponse Int
Creating a Request
data GetWorkload Source #
Input to get a workload.
See: newGetWorkload smart constructor.
Constructors
| GetWorkload' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetWorkload |
Create a value of GetWorkload 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:
GetWorkload, getWorkload_workloadId - Undocumented member.
Request Lenses
getWorkload_workloadId :: Lens' GetWorkload Text Source #
Undocumented member.
Destructuring the Response
data GetWorkloadResponse Source #
Output of a get workload call.
See: newGetWorkloadResponse smart constructor.
Constructors
| GetWorkloadResponse' | |
Fields
| |
Instances
newGetWorkloadResponse Source #
Arguments
| :: Int | |
| -> GetWorkloadResponse |
Create a value of GetWorkloadResponse 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:
GetWorkloadResponse, getWorkloadResponse_workload - Undocumented member.
$sel:httpStatus:GetWorkloadResponse', getWorkloadResponse_httpStatus - The response's http status code.
Response Lenses
getWorkloadResponse_workload :: Lens' GetWorkloadResponse (Maybe Workload) Source #
Undocumented member.
getWorkloadResponse_httpStatus :: Lens' GetWorkloadResponse Int Source #
The response's http status code.