amazonka-voice-id-2.0: Amazon Voice ID SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.VoiceId.ListSpeakers

Description

Lists all speakers in a specified domain.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSpeakers Source #

See: newListSpeakers smart constructor.

Constructors

ListSpeakers' 

Fields

  • 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.

  • 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.

  • domainId :: Text

    The identifier of the domain.

Instances

Instances details
ToJSON ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

ToHeaders ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

ToPath ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

ToQuery ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

AWSPager ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

AWSRequest ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

Associated Types

type AWSResponse ListSpeakers #

Generic ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

Associated Types

type Rep ListSpeakers :: Type -> Type #

Read ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

Show ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

NFData ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

Methods

rnf :: ListSpeakers -> () #

Eq ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

Hashable ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

type AWSResponse ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

type Rep ListSpeakers Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

type Rep ListSpeakers = D1 ('MetaData "ListSpeakers" "Amazonka.VoiceId.ListSpeakers" "amazonka-voice-id-2.0-E9fR3xKghdA6rj9Pl7P2NC" 'False) (C1 ('MetaCons "ListSpeakers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListSpeakers Source #

Create a value of ListSpeakers 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:ListSpeakers', listSpeakers_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.

ListSpeakers, listSpeakers_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.

ListSpeakers, listSpeakers_domainId - The identifier of the domain.

Request Lenses

listSpeakers_maxResults :: Lens' ListSpeakers (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.

listSpeakers_nextToken :: Lens' ListSpeakers (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.

listSpeakers_domainId :: Lens' ListSpeakers Text Source #

The identifier of the domain.

Destructuring the Response

data ListSpeakersResponse Source #

See: newListSpeakersResponse smart constructor.

Constructors

ListSpeakersResponse' 

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.

  • speakerSummaries :: Maybe [SpeakerSummary]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListSpeakersResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

Associated Types

type Rep ListSpeakersResponse :: Type -> Type #

Show ListSpeakersResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

NFData ListSpeakersResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

Methods

rnf :: ListSpeakersResponse -> () #

Eq ListSpeakersResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

type Rep ListSpeakersResponse Source # 
Instance details

Defined in Amazonka.VoiceId.ListSpeakers

type Rep ListSpeakersResponse = D1 ('MetaData "ListSpeakersResponse" "Amazonka.VoiceId.ListSpeakers" "amazonka-voice-id-2.0-E9fR3xKghdA6rj9Pl7P2NC" 'False) (C1 ('MetaCons "ListSpeakersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "speakerSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SpeakerSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSpeakersResponse Source #

Create a value of ListSpeakersResponse 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:

ListSpeakers, listSpeakersResponse_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:speakerSummaries:ListSpeakersResponse', listSpeakersResponse_speakerSummaries - A list containing details about each speaker in the Amazon Web Services account.

$sel:httpStatus:ListSpeakersResponse', listSpeakersResponse_httpStatus - The response's http status code.

Response Lenses

listSpeakersResponse_nextToken :: Lens' ListSpeakersResponse (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.

listSpeakersResponse_speakerSummaries :: Lens' ListSpeakersResponse (Maybe [SpeakerSummary]) Source #

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