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 |
List the registries.
This operation returns paginated results.
Synopsis
- data ListRegistries = ListRegistries' {}
- newListRegistries :: ListRegistries
- listRegistries_limit :: Lens' ListRegistries (Maybe Int)
- listRegistries_nextToken :: Lens' ListRegistries (Maybe Text)
- listRegistries_registryNamePrefix :: Lens' ListRegistries (Maybe Text)
- listRegistries_scope :: Lens' ListRegistries (Maybe Text)
- data ListRegistriesResponse = ListRegistriesResponse' {
- nextToken :: Maybe Text
- registries :: Maybe [RegistrySummary]
- httpStatus :: Int
- newListRegistriesResponse :: Int -> ListRegistriesResponse
- listRegistriesResponse_nextToken :: Lens' ListRegistriesResponse (Maybe Text)
- listRegistriesResponse_registries :: Lens' ListRegistriesResponse (Maybe [RegistrySummary])
- listRegistriesResponse_httpStatus :: Lens' ListRegistriesResponse Int
Creating a Request
data ListRegistries Source #
See: newListRegistries
smart constructor.
ListRegistries' | |
|
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:limit:ListRegistries'
, listRegistries_limit
- Undocumented member.
ListRegistries
, listRegistries_nextToken
- The token that specifies the next page of results to return. To request
the first page, leave NextToken empty. The token will expire in 24
hours, and cannot be shared with other accounts.
$sel:registryNamePrefix:ListRegistries'
, listRegistries_registryNamePrefix
- Specifying this limits the results to only those registry names that
start with the specified prefix.
$sel:scope:ListRegistries'
, listRegistries_scope
- Can be set to Local or AWS to limit responses to your custom registries,
or the ones provided by AWS.
Request Lenses
listRegistries_limit :: Lens' ListRegistries (Maybe Int) Source #
Undocumented member.
listRegistries_nextToken :: Lens' ListRegistries (Maybe Text) Source #
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
listRegistries_registryNamePrefix :: Lens' ListRegistries (Maybe Text) Source #
Specifying this limits the results to only those registry names that start with the specified prefix.
listRegistries_scope :: Lens' ListRegistries (Maybe Text) Source #
Can be set to Local or AWS to limit responses to your custom registries, or the ones provided by AWS.
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
- The token that specifies the next page of results to return. To request
the first page, leave NextToken empty. The token will expire in 24
hours, and cannot be shared with other accounts.
$sel:registries:ListRegistriesResponse'
, listRegistriesResponse_registries
- An array of registry summaries.
$sel:httpStatus:ListRegistriesResponse'
, listRegistriesResponse_httpStatus
- The response's http status code.
Response Lenses
listRegistriesResponse_nextToken :: Lens' ListRegistriesResponse (Maybe Text) Source #
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
listRegistriesResponse_registries :: Lens' ListRegistriesResponse (Maybe [RegistrySummary]) Source #
An array of registry summaries.
listRegistriesResponse_httpStatus :: Lens' ListRegistriesResponse Int Source #
The response's http status code.