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 |
List the registries.
This operation returns paginated results.
Synopsis
- data ListRegistries = ListRegistries' {}
- newListRegistries :: ListRegistries
- listRegistries_registryNamePrefix :: Lens' ListRegistries (Maybe Text)
- listRegistries_nextToken :: Lens' ListRegistries (Maybe Text)
- listRegistries_scope :: Lens' ListRegistries (Maybe Text)
- listRegistries_limit :: Lens' ListRegistries (Maybe Int)
- data ListRegistriesResponse = ListRegistriesResponse' {
- registries :: Maybe [RegistrySummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListRegistriesResponse :: Int -> ListRegistriesResponse
- listRegistriesResponse_registries :: Lens' ListRegistriesResponse (Maybe [RegistrySummary])
- listRegistriesResponse_nextToken :: Lens' ListRegistriesResponse (Maybe Text)
- 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:registryNamePrefix:ListRegistries'
, listRegistries_registryNamePrefix
- Specifying this limits the results to only those registry names that
start with the specified prefix.
$sel:nextToken: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:scope:ListRegistries'
, listRegistries_scope
- Can be set to Local or AWS to limit responses to your custom registries,
or the ones provided by AWS.
$sel:limit:ListRegistries'
, listRegistries_limit
- Undocumented member.
Request Lenses
listRegistries_registryNamePrefix :: Lens' ListRegistries (Maybe Text) Source #
Specifying this limits the results to only those registry names that start with the specified prefix.
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_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.
listRegistries_limit :: Lens' ListRegistries (Maybe Int) Source #
Undocumented member.
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 registry summaries.
$sel:nextToken: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:httpStatus:ListRegistriesResponse'
, listRegistriesResponse_httpStatus
- The response's http status code.
Response Lenses
listRegistriesResponse_registries :: Lens' ListRegistriesResponse (Maybe [RegistrySummary]) Source #
An array of registry summaries.
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_httpStatus :: Lens' ListRegistriesResponse Int Source #
The response's http status code.