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 registration tokens for the specified extension(s).
Synopsis
- data ListTypeRegistrations = ListTypeRegistrations' {}
- newListTypeRegistrations :: ListTypeRegistrations
- listTypeRegistrations_maxResults :: Lens' ListTypeRegistrations (Maybe Natural)
- listTypeRegistrations_nextToken :: Lens' ListTypeRegistrations (Maybe Text)
- listTypeRegistrations_registrationStatusFilter :: Lens' ListTypeRegistrations (Maybe RegistrationStatus)
- listTypeRegistrations_type :: Lens' ListTypeRegistrations (Maybe RegistryType)
- listTypeRegistrations_typeArn :: Lens' ListTypeRegistrations (Maybe Text)
- listTypeRegistrations_typeName :: Lens' ListTypeRegistrations (Maybe Text)
- data ListTypeRegistrationsResponse = ListTypeRegistrationsResponse' {
- nextToken :: Maybe Text
- registrationTokenList :: Maybe [Text]
- httpStatus :: Int
- newListTypeRegistrationsResponse :: Int -> ListTypeRegistrationsResponse
- listTypeRegistrationsResponse_nextToken :: Lens' ListTypeRegistrationsResponse (Maybe Text)
- listTypeRegistrationsResponse_registrationTokenList :: Lens' ListTypeRegistrationsResponse (Maybe [Text])
- listTypeRegistrationsResponse_httpStatus :: Lens' ListTypeRegistrationsResponse Int
Creating a Request
data ListTypeRegistrations Source #
See: newListTypeRegistrations
smart constructor.
ListTypeRegistrations' | |
|
Instances
newListTypeRegistrations :: ListTypeRegistrations Source #
Create a value of ListTypeRegistrations
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:ListTypeRegistrations'
, listTypeRegistrations_maxResults
- The maximum number of results to be returned with a single call. If the
number of available results exceeds this maximum, the response includes
a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.
ListTypeRegistrations
, listTypeRegistrations_nextToken
- If the previous paginated request didn't return all the remaining
results, the response object's NextToken
parameter value is set to a
token. To retrieve the next set of results, call this action again and
assign that token to the request object's NextToken
parameter. If
there are no remaining results, the previous response object's
NextToken
parameter is set to null
.
$sel:registrationStatusFilter:ListTypeRegistrations'
, listTypeRegistrations_registrationStatusFilter
- The current status of the extension registration request.
The default is IN_PROGRESS
.
ListTypeRegistrations
, listTypeRegistrations_type
- The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
ListTypeRegistrations
, listTypeRegistrations_typeArn
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
ListTypeRegistrations
, listTypeRegistrations_typeName
- The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
Request Lenses
listTypeRegistrations_maxResults :: Lens' ListTypeRegistrations (Maybe Natural) Source #
The maximum number of results to be returned with a single call. If the
number of available results exceeds this maximum, the response includes
a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.
listTypeRegistrations_nextToken :: Lens' ListTypeRegistrations (Maybe Text) Source #
If the previous paginated request didn't return all the remaining
results, the response object's NextToken
parameter value is set to a
token. To retrieve the next set of results, call this action again and
assign that token to the request object's NextToken
parameter. If
there are no remaining results, the previous response object's
NextToken
parameter is set to null
.
listTypeRegistrations_registrationStatusFilter :: Lens' ListTypeRegistrations (Maybe RegistrationStatus) Source #
The current status of the extension registration request.
The default is IN_PROGRESS
.
listTypeRegistrations_type :: Lens' ListTypeRegistrations (Maybe RegistryType) Source #
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
listTypeRegistrations_typeArn :: Lens' ListTypeRegistrations (Maybe Text) Source #
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
listTypeRegistrations_typeName :: Lens' ListTypeRegistrations (Maybe Text) Source #
The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
Destructuring the Response
data ListTypeRegistrationsResponse Source #
See: newListTypeRegistrationsResponse
smart constructor.
ListTypeRegistrationsResponse' | |
|
Instances
newListTypeRegistrationsResponse Source #
Create a value of ListTypeRegistrationsResponse
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:
ListTypeRegistrations
, listTypeRegistrationsResponse_nextToken
- If the request doesn't return all the remaining results, NextToken
is
set to a token. To retrieve the next set of results, call this action
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
$sel:registrationTokenList:ListTypeRegistrationsResponse'
, listTypeRegistrationsResponse_registrationTokenList
- A list of extension registration tokens.
Use
DescribeTypeRegistration
to return detailed information
about a type registration request.
$sel:httpStatus:ListTypeRegistrationsResponse'
, listTypeRegistrationsResponse_httpStatus
- The response's http status code.
Response Lenses
listTypeRegistrationsResponse_nextToken :: Lens' ListTypeRegistrationsResponse (Maybe Text) Source #
If the request doesn't return all the remaining results, NextToken
is
set to a token. To retrieve the next set of results, call this action
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
listTypeRegistrationsResponse_registrationTokenList :: Lens' ListTypeRegistrationsResponse (Maybe [Text]) Source #
A list of extension registration tokens.
Use
DescribeTypeRegistration
to return detailed information
about a type registration request.
listTypeRegistrationsResponse_httpStatus :: Lens' ListTypeRegistrationsResponse Int Source #
The response's http status code.