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 registries that you have created, with minimal
registry information. Registries in the Deleting
status will not be
included in the results. Empty results will be returned if there are no
registries available.
This operation returns paginated results.
Synopsis
- data ListRegistries = ListRegistries' {}
- newListRegistries :: ListRegistries
- listRegistries_nextToken :: Lens' ListRegistries (Maybe Text)
- listRegistries_maxResults :: Lens' ListRegistries (Maybe Natural)
- data ListRegistriesResponse = ListRegistriesResponse' {
- registries :: Maybe [RegistryListItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListRegistriesResponse :: Int -> ListRegistriesResponse
- listRegistriesResponse_registries :: Lens' ListRegistriesResponse (Maybe [RegistryListItem])
- listRegistriesResponse_nextToken :: Lens' ListRegistriesResponse (Maybe Text)
- listRegistriesResponse_httpStatus :: Lens' ListRegistriesResponse Int
Creating a Request
data ListRegistries Source #
See: newListRegistries
smart constructor.
Instances
newListRegistries :: ListRegistries Source #
Create a value of ListRegistries
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:ListRegistries'
, listRegistries_nextToken
- A continuation token, if this is a continuation call.
$sel:maxResults:ListRegistries'
, listRegistries_maxResults
- Maximum number of results required per page. If the value is not
supplied, this will be defaulted to 25 per page.
Request Lenses
listRegistries_nextToken :: Lens' ListRegistries (Maybe Text) Source #
A continuation token, if this is a continuation call.
listRegistries_maxResults :: Lens' ListRegistries (Maybe Natural) Source #
Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.
Destructuring the Response
data ListRegistriesResponse Source #
See: newListRegistriesResponse
smart constructor.
ListRegistriesResponse' | |
|
Instances
newListRegistriesResponse Source #
Create a value of ListRegistriesResponse
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:registries:ListRegistriesResponse'
, listRegistriesResponse_registries
- An array of RegistryDetailedListItem
objects containing minimal
details of each registry.
$sel:nextToken:ListRegistries'
, listRegistriesResponse_nextToken
- A continuation token for paginating the returned list of tokens,
returned if the current segment of the list is not the last.
$sel:httpStatus:ListRegistriesResponse'
, listRegistriesResponse_httpStatus
- The response's http status code.
Response Lenses
listRegistriesResponse_registries :: Lens' ListRegistriesResponse (Maybe [RegistryListItem]) Source #
An array of RegistryDetailedListItem
objects containing minimal
details of each registry.
listRegistriesResponse_nextToken :: Lens' ListRegistriesResponse (Maybe Text) Source #
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
listRegistriesResponse_httpStatus :: Lens' ListRegistriesResponse Int Source #
The response's http status code.