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 |
Returns the domain associations for an Amplify app.
This operation returns paginated results.
Synopsis
- data ListDomainAssociations = ListDomainAssociations' {}
- newListDomainAssociations :: Text -> ListDomainAssociations
- listDomainAssociations_nextToken :: Lens' ListDomainAssociations (Maybe Text)
- listDomainAssociations_maxResults :: Lens' ListDomainAssociations (Maybe Natural)
- listDomainAssociations_appId :: Lens' ListDomainAssociations Text
- data ListDomainAssociationsResponse = ListDomainAssociationsResponse' {}
- newListDomainAssociationsResponse :: Int -> ListDomainAssociationsResponse
- listDomainAssociationsResponse_nextToken :: Lens' ListDomainAssociationsResponse (Maybe Text)
- listDomainAssociationsResponse_httpStatus :: Lens' ListDomainAssociationsResponse Int
- listDomainAssociationsResponse_domainAssociations :: Lens' ListDomainAssociationsResponse [DomainAssociation]
Creating a Request
data ListDomainAssociations Source #
The request structure for the list domain associations request.
See: newListDomainAssociations
smart constructor.
ListDomainAssociations' | |
|
Instances
newListDomainAssociations Source #
Create a value of ListDomainAssociations
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:ListDomainAssociations'
, listDomainAssociations_nextToken
- A pagination token. Set to null to start listing apps from the start. If
non-null, a pagination token is returned in a result. Pass its value in
here to list more projects.
$sel:maxResults:ListDomainAssociations'
, listDomainAssociations_maxResults
- The maximum number of records to list in a single response.
$sel:appId:ListDomainAssociations'
, listDomainAssociations_appId
- The unique ID for an Amplify app.
Request Lenses
listDomainAssociations_nextToken :: Lens' ListDomainAssociations (Maybe Text) Source #
A pagination token. Set to null to start listing apps from the start. If non-null, a pagination token is returned in a result. Pass its value in here to list more projects.
listDomainAssociations_maxResults :: Lens' ListDomainAssociations (Maybe Natural) Source #
The maximum number of records to list in a single response.
listDomainAssociations_appId :: Lens' ListDomainAssociations Text Source #
The unique ID for an Amplify app.
Destructuring the Response
data ListDomainAssociationsResponse Source #
The result structure for the list domain association request.
See: newListDomainAssociationsResponse
smart constructor.
ListDomainAssociationsResponse' | |
|
Instances
newListDomainAssociationsResponse Source #
Create a value of ListDomainAssociationsResponse
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:ListDomainAssociations'
, listDomainAssociationsResponse_nextToken
- A pagination token. If non-null, a pagination token is returned in a
result. Pass its value in another request to retrieve more entries.
$sel:httpStatus:ListDomainAssociationsResponse'
, listDomainAssociationsResponse_httpStatus
- The response's http status code.
$sel:domainAssociations:ListDomainAssociationsResponse'
, listDomainAssociationsResponse_domainAssociations
- A list of domain associations.
Response Lenses
listDomainAssociationsResponse_nextToken :: Lens' ListDomainAssociationsResponse (Maybe Text) Source #
A pagination token. If non-null, a pagination token is returned in a result. Pass its value in another request to retrieve more entries.
listDomainAssociationsResponse_httpStatus :: Lens' ListDomainAssociationsResponse Int Source #
The response's http status code.
listDomainAssociationsResponse_domainAssociations :: Lens' ListDomainAssociationsResponse [DomainAssociation] Source #
A list of domain associations.