| 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 |
Amazonka.Amplify.ListDomainAssociations
Description
Returns the domain associations for an Amplify app.
This operation returns paginated results.
Synopsis
- data ListDomainAssociations = ListDomainAssociations' {}
- newListDomainAssociations :: Text -> ListDomainAssociations
- listDomainAssociations_maxResults :: Lens' ListDomainAssociations (Maybe Natural)
- listDomainAssociations_nextToken :: Lens' ListDomainAssociations (Maybe Text)
- 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.
Constructors
| ListDomainAssociations' | |
Fields
| |
Instances
newListDomainAssociations Source #
Arguments
| :: Text | |
| -> ListDomainAssociations |
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:maxResults:ListDomainAssociations', listDomainAssociations_maxResults - The maximum number of records to list in a single response.
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.
ListDomainAssociations, listDomainAssociations_appId - The unique ID for an Amplify app.
Request Lenses
listDomainAssociations_maxResults :: Lens' ListDomainAssociations (Maybe Natural) Source #
The maximum number of records to list in a single response.
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_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.
Constructors
| ListDomainAssociationsResponse' | |
Fields
| |
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:
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.