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 |
List workloads. Paginated.
Synopsis
- data ListWorkloads = ListWorkloads' {}
- newListWorkloads :: ListWorkloads
- listWorkloads_nextToken :: Lens' ListWorkloads (Maybe Text)
- listWorkloads_workloadNamePrefix :: Lens' ListWorkloads (Maybe Text)
- listWorkloads_maxResults :: Lens' ListWorkloads (Maybe Natural)
- data ListWorkloadsResponse = ListWorkloadsResponse' {}
- newListWorkloadsResponse :: Int -> ListWorkloadsResponse
- listWorkloadsResponse_workloadSummaries :: Lens' ListWorkloadsResponse (Maybe [WorkloadSummary])
- listWorkloadsResponse_nextToken :: Lens' ListWorkloadsResponse (Maybe Text)
- listWorkloadsResponse_httpStatus :: Lens' ListWorkloadsResponse Int
Creating a Request
data ListWorkloads Source #
Input to list all workloads.
See: newListWorkloads
smart constructor.
ListWorkloads' | |
|
Instances
newListWorkloads :: ListWorkloads Source #
Create a value of ListWorkloads
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:nextToken:ListWorkloads'
, listWorkloads_nextToken
- Undocumented member.
$sel:workloadNamePrefix:ListWorkloads'
, listWorkloads_workloadNamePrefix
- Undocumented member.
$sel:maxResults:ListWorkloads'
, listWorkloads_maxResults
- The maximum number of results to return for this request.
Request Lenses
listWorkloads_nextToken :: Lens' ListWorkloads (Maybe Text) Source #
Undocumented member.
listWorkloads_workloadNamePrefix :: Lens' ListWorkloads (Maybe Text) Source #
Undocumented member.
listWorkloads_maxResults :: Lens' ListWorkloads (Maybe Natural) Source #
The maximum number of results to return for this request.
Destructuring the Response
data ListWorkloadsResponse Source #
Output of a list workloads call.
See: newListWorkloadsResponse
smart constructor.
ListWorkloadsResponse' | |
|
Instances
newListWorkloadsResponse Source #
Create a value of ListWorkloadsResponse
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:workloadSummaries:ListWorkloadsResponse'
, listWorkloadsResponse_workloadSummaries
- Undocumented member.
$sel:nextToken:ListWorkloads'
, listWorkloadsResponse_nextToken
- Undocumented member.
$sel:httpStatus:ListWorkloadsResponse'
, listWorkloadsResponse_httpStatus
- The response's http status code.
Response Lenses
listWorkloadsResponse_workloadSummaries :: Lens' ListWorkloadsResponse (Maybe [WorkloadSummary]) Source #
Undocumented member.
listWorkloadsResponse_nextToken :: Lens' ListWorkloadsResponse (Maybe Text) Source #
Undocumented member.
listWorkloadsResponse_httpStatus :: Lens' ListWorkloadsResponse Int Source #
The response's http status code.