Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns a list of all domains in the user's account.
This operation returns paginated results.
Synopsis
- getDomains :: GetDomains
- data GetDomains
- gdPageToken :: Lens' GetDomains (Maybe Text)
- getDomainsResponse :: Int -> GetDomainsResponse
- data GetDomainsResponse
- ggrsNextPageToken :: Lens' GetDomainsResponse (Maybe Text)
- ggrsDomains :: Lens' GetDomainsResponse [Domain]
- ggrsResponseStatus :: Lens' GetDomainsResponse Int
Creating a Request
getDomains :: GetDomains Source #
Creates a value of GetDomains
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdPageToken
- A token used for advancing to the next page of results from your get domains request.
data GetDomains Source #
See: getDomains
smart constructor.
Instances
Request Lenses
gdPageToken :: Lens' GetDomains (Maybe Text) Source #
A token used for advancing to the next page of results from your get domains request.
Destructuring the Response
Creates a value of GetDomainsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ggrsNextPageToken
- A token used for advancing to the next page of results from your get active names request.ggrsDomains
- An array of key-value pairs containing information about each of the domain entries in the user's account.ggrsResponseStatus
- -- | The response status code.
data GetDomainsResponse Source #
See: getDomainsResponse
smart constructor.
Instances
Response Lenses
ggrsNextPageToken :: Lens' GetDomainsResponse (Maybe Text) Source #
A token used for advancing to the next page of results from your get active names request.
ggrsDomains :: Lens' GetDomainsResponse [Domain] Source #
An array of key-value pairs containing information about each of the domain entries in the user's account.
ggrsResponseStatus :: Lens' GetDomainsResponse Int Source #
- - | The response status code.