| 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.KafkaConnect.ListWorkerConfigurations
Description
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_maxResults :: Lens' ListWorkerConfigurations (Maybe Natural)
- listWorkerConfigurations_nextToken :: Lens' ListWorkerConfigurations (Maybe Text)
- data ListWorkerConfigurationsResponse = ListWorkerConfigurationsResponse' {}
- newListWorkerConfigurationsResponse :: Int -> ListWorkerConfigurationsResponse
- listWorkerConfigurationsResponse_nextToken :: Lens' ListWorkerConfigurationsResponse (Maybe Text)
- listWorkerConfigurationsResponse_workerConfigurations :: Lens' ListWorkerConfigurationsResponse (Maybe [WorkerConfigurationSummary])
- listWorkerConfigurationsResponse_httpStatus :: Lens' ListWorkerConfigurationsResponse Int
Creating a Request
data ListWorkerConfigurations Source #
See: newListWorkerConfigurations smart constructor.
Constructors
| ListWorkerConfigurations' | |
Fields
| |
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:maxResults:ListWorkerConfigurations', listWorkerConfigurations_maxResults - The maximum number of worker configurations to list in one response.
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.
Request Lenses
listWorkerConfigurations_maxResults :: Lens' ListWorkerConfigurations (Maybe Natural) Source #
The maximum number of worker configurations to list in one response.
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.
Destructuring the Response
data ListWorkerConfigurationsResponse Source #
See: newListWorkerConfigurationsResponse smart constructor.
Constructors
| ListWorkerConfigurationsResponse' | |
Fields
| |
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:
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:workerConfigurations:ListWorkerConfigurationsResponse', listWorkerConfigurationsResponse_workerConfigurations - An array of worker configuration descriptions.
$sel:httpStatus:ListWorkerConfigurationsResponse', listWorkerConfigurationsResponse_httpStatus - The response's http status code.
Response Lenses
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_workerConfigurations :: Lens' ListWorkerConfigurationsResponse (Maybe [WorkerConfigurationSummary]) Source #
An array of worker configuration descriptions.
listWorkerConfigurationsResponse_httpStatus :: Lens' ListWorkerConfigurationsResponse Int Source #
The response's http status code.