libZSservicesZSamazonka-voice-idZSamazonka-voice-id
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.VoiceId.ListDomains

Description

Lists all the domains in the Amazon Web Services account.

Synopsis

Creating a Request

data ListDomains Source #

See: newListDomains smart constructor.

Constructors

ListDomains' 

Fields

  • nextToken :: Maybe Text

    If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.

  • maxResults :: Maybe Natural

    The maximum number of results that are returned per call. You can use NextToken to obtain further pages of results. The default is 100; the maximum allowed page size is also 100.

Instances

Instances details
Eq ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Read ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Show ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Generic ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Associated Types

type Rep ListDomains :: Type -> Type #

NFData ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Methods

rnf :: ListDomains -> () #

Hashable ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

ToJSON ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

AWSRequest ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Associated Types

type AWSResponse ListDomains #

ToHeaders ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Methods

toHeaders :: ListDomains -> [Header] #

ToPath ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

ToQuery ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

type Rep ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

type Rep ListDomains = D1 ('MetaData "ListDomains" "Amazonka.VoiceId.ListDomains" "libZSservicesZSamazonka-voice-idZSamazonka-voice-id" 'False) (C1 ('MetaCons "ListDomains'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListDomains Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

newListDomains :: ListDomains Source #

Create a value of ListDomains 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:ListDomains', listDomains_nextToken - If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.

$sel:maxResults:ListDomains', listDomains_maxResults - The maximum number of results that are returned per call. You can use NextToken to obtain further pages of results. The default is 100; the maximum allowed page size is also 100.

Request Lenses

listDomains_nextToken :: Lens' ListDomains (Maybe Text) Source #

If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.

listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #

The maximum number of results that are returned per call. You can use NextToken to obtain further pages of results. The default is 100; the maximum allowed page size is also 100.

Destructuring the Response

data ListDomainsResponse Source #

See: newListDomainsResponse smart constructor.

Constructors

ListDomainsResponse' 

Fields

  • nextToken :: Maybe Text

    If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.

  • domainSummaries :: Maybe [DomainSummary]

    A list containing details about each domain in the Amazon Web Services account.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListDomainsResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Show ListDomainsResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Generic ListDomainsResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Associated Types

type Rep ListDomainsResponse :: Type -> Type #

NFData ListDomainsResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

Methods

rnf :: ListDomainsResponse -> () #

type Rep ListDomainsResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListDomains

type Rep ListDomainsResponse = D1 ('MetaData "ListDomainsResponse" "Amazonka.VoiceId.ListDomains" "libZSservicesZSamazonka-voice-idZSamazonka-voice-id" 'False) (C1 ('MetaCons "ListDomainsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "domainSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DomainSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDomainsResponse Source #

Create a value of ListDomainsResponse 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:ListDomains', listDomainsResponse_nextToken - If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.

$sel:domainSummaries:ListDomainsResponse', listDomainsResponse_domainSummaries - A list containing details about each domain in the Amazon Web Services account.

$sel:httpStatus:ListDomainsResponse', listDomainsResponse_httpStatus - The response's http status code.

Response Lenses

listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text) Source #

If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.

listDomainsResponse_domainSummaries :: Lens' ListDomainsResponse (Maybe [DomainSummary]) Source #

A list containing details about each domain in the Amazon Web Services account.