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 |
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_maxResults :: Lens' ListRegistries (Maybe Natural)
- listRegistries_nextToken :: Lens' ListRegistries (Maybe Text)
- data ListRegistriesResponse = ListRegistriesResponse' {
- nextToken :: Maybe Text
- registries :: Maybe [RegistryListItem]
- httpStatus :: Int
- newListRegistriesResponse :: Int -> ListRegistriesResponse
- listRegistriesResponse_nextToken :: Lens' ListRegistriesResponse (Maybe Text)
- listRegistriesResponse_registries :: Lens' ListRegistriesResponse (Maybe [RegistryListItem])
- 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: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.
ListRegistries
, listRegistries_nextToken
- A continuation token, if this is a continuation call.
Request Lenses
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.
listRegistries_nextToken :: Lens' ListRegistries (Maybe Text) Source #
A continuation token, if this is a continuation call.
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:
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:registries:ListRegistriesResponse'
, listRegistriesResponse_registries
- An array of RegistryDetailedListItem
objects containing minimal
details of each registry.
$sel:httpStatus:ListRegistriesResponse'
, listRegistriesResponse_httpStatus
- The response's http status code.
Response Lenses
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_registries :: Lens' ListRegistriesResponse (Maybe [RegistryListItem]) Source #
An array of RegistryDetailedListItem
objects containing minimal
details of each registry.
listRegistriesResponse_httpStatus :: Lens' ListRegistriesResponse Int Source #
The response's http status code.