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 |
Returns a list of all of the worker configurations in this account and Region.
This operation returns paginated results.
Synopsis
- data ListWorkerConfigurations = ListWorkerConfigurations' {}
- newListWorkerConfigurations :: ListWorkerConfigurations
- listWorkerConfigurations_nextToken :: Lens' ListWorkerConfigurations (Maybe Text)
- listWorkerConfigurations_maxResults :: Lens' ListWorkerConfigurations (Maybe Natural)
- data ListWorkerConfigurationsResponse = ListWorkerConfigurationsResponse' {}
- newListWorkerConfigurationsResponse :: Int -> ListWorkerConfigurationsResponse
- listWorkerConfigurationsResponse_workerConfigurations :: Lens' ListWorkerConfigurationsResponse (Maybe [WorkerConfigurationSummary])
- listWorkerConfigurationsResponse_nextToken :: Lens' ListWorkerConfigurationsResponse (Maybe Text)
- listWorkerConfigurationsResponse_httpStatus :: Lens' ListWorkerConfigurationsResponse Int
Creating a Request
data ListWorkerConfigurations Source #
See: newListWorkerConfigurations
smart constructor.
ListWorkerConfigurations' | |
|
Instances
newListWorkerConfigurations :: ListWorkerConfigurations Source #
Create a value of ListWorkerConfigurations
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:ListWorkerConfigurations'
, listWorkerConfigurations_nextToken
- If the response of a ListWorkerConfigurations operation is truncated, it
will include a NextToken. Send this NextToken in a subsequent request to
continue listing from where the previous operation left off.
$sel:maxResults:ListWorkerConfigurations'
, listWorkerConfigurations_maxResults
- The maximum number of worker configurations to list in one response.
Request Lenses
listWorkerConfigurations_nextToken :: Lens' ListWorkerConfigurations (Maybe Text) Source #
If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
listWorkerConfigurations_maxResults :: Lens' ListWorkerConfigurations (Maybe Natural) Source #
The maximum number of worker configurations to list in one response.
Destructuring the Response
data ListWorkerConfigurationsResponse Source #
See: newListWorkerConfigurationsResponse
smart constructor.
ListWorkerConfigurationsResponse' | |
|
Instances
newListWorkerConfigurationsResponse Source #
Create a value of ListWorkerConfigurationsResponse
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:workerConfigurations:ListWorkerConfigurationsResponse'
, listWorkerConfigurationsResponse_workerConfigurations
- An array of worker configuration descriptions.
$sel:nextToken:ListWorkerConfigurations'
, listWorkerConfigurationsResponse_nextToken
- If the response of a ListWorkerConfigurations operation is truncated, it
will include a NextToken. Send this NextToken in a subsequent request to
continue listing from where the previous operation left off.
$sel:httpStatus:ListWorkerConfigurationsResponse'
, listWorkerConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
listWorkerConfigurationsResponse_workerConfigurations :: Lens' ListWorkerConfigurationsResponse (Maybe [WorkerConfigurationSummary]) Source #
An array of worker configuration descriptions.
listWorkerConfigurationsResponse_nextToken :: Lens' ListWorkerConfigurationsResponse (Maybe Text) Source #
If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
listWorkerConfigurationsResponse_httpStatus :: Lens' ListWorkerConfigurationsResponse Int Source #
The response's http status code.