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 |
Creates a paginated call to list the aliases associated with a given entity.
This operation returns paginated results.
Synopsis
- data ListAliases = ListAliases' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- organizationId :: Text
- entityId :: Text
- newListAliases :: Text -> Text -> ListAliases
- listAliases_nextToken :: Lens' ListAliases (Maybe Text)
- listAliases_maxResults :: Lens' ListAliases (Maybe Natural)
- listAliases_organizationId :: Lens' ListAliases Text
- listAliases_entityId :: Lens' ListAliases Text
- data ListAliasesResponse = ListAliasesResponse' {}
- newListAliasesResponse :: Int -> ListAliasesResponse
- listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [Text])
- listAliasesResponse_nextToken :: Lens' ListAliasesResponse (Maybe Text)
- listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int
Creating a Request
data ListAliases Source #
See: newListAliases
smart constructor.
ListAliases' | |
|
Instances
Create a value of ListAliases
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:ListAliases'
, listAliases_nextToken
- The token to use to retrieve the next page of results. The first call
does not contain any tokens.
$sel:maxResults:ListAliases'
, listAliases_maxResults
- The maximum number of results to return in a single call.
$sel:organizationId:ListAliases'
, listAliases_organizationId
- The identifier for the organization under which the entity exists.
$sel:entityId:ListAliases'
, listAliases_entityId
- The identifier for the entity for which to list the aliases.
Request Lenses
listAliases_nextToken :: Lens' ListAliases (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not contain any tokens.
listAliases_maxResults :: Lens' ListAliases (Maybe Natural) Source #
The maximum number of results to return in a single call.
listAliases_organizationId :: Lens' ListAliases Text Source #
The identifier for the organization under which the entity exists.
listAliases_entityId :: Lens' ListAliases Text Source #
The identifier for the entity for which to list the aliases.
Destructuring the Response
data ListAliasesResponse Source #
See: newListAliasesResponse
smart constructor.
Instances
newListAliasesResponse Source #
Create a value of ListAliasesResponse
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:aliases:ListAliasesResponse'
, listAliasesResponse_aliases
- The entity's paginated aliases.
$sel:nextToken:ListAliases'
, listAliasesResponse_nextToken
- The token to use to retrieve the next page of results. The value is
"null" when there are no more results to return.
$sel:httpStatus:ListAliasesResponse'
, listAliasesResponse_httpStatus
- The response's http status code.
Response Lenses
listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [Text]) Source #
The entity's paginated aliases.
listAliasesResponse_nextToken :: Lens' ListAliasesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int Source #
The response's http status code.