amazonka-connect-2.0: Amazon Connect Service 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.Connect.ListPrompts

Description

Provides information about the prompts for the specified Amazon Connect instance.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPrompts Source #

See: newListPrompts smart constructor.

Constructors

ListPrompts' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return per page. The default MaxResult size is 100.

  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • instanceId :: Text

    The identifier of the Amazon Connect instance.

Instances

Instances details
ToHeaders ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Methods

toHeaders :: ListPrompts -> [Header] #

ToPath ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

ToQuery ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

AWSPager ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

AWSRequest ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Associated Types

type AWSResponse ListPrompts #

Generic ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Associated Types

type Rep ListPrompts :: Type -> Type #

Read ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Show ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

NFData ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Methods

rnf :: ListPrompts -> () #

Eq ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Hashable ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

type AWSResponse ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

type Rep ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

type Rep ListPrompts = D1 ('MetaData "ListPrompts" "Amazonka.Connect.ListPrompts" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListPrompts'" '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 "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListPrompts Source #

Create a value of ListPrompts 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:ListPrompts', listPrompts_maxResults - The maximum number of results to return per page. The default MaxResult size is 100.

ListPrompts, listPrompts_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

ListPrompts, listPrompts_instanceId - The identifier of the Amazon Connect instance.

Request Lenses

listPrompts_maxResults :: Lens' ListPrompts (Maybe Natural) Source #

The maximum number of results to return per page. The default MaxResult size is 100.

listPrompts_nextToken :: Lens' ListPrompts (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

listPrompts_instanceId :: Lens' ListPrompts Text Source #

The identifier of the Amazon Connect instance.

Destructuring the Response

data ListPromptsResponse Source #

See: newListPromptsResponse smart constructor.

Constructors

ListPromptsResponse' 

Fields

Instances

Instances details
Generic ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Associated Types

type Rep ListPromptsResponse :: Type -> Type #

Read ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Show ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

NFData ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Methods

rnf :: ListPromptsResponse -> () #

Eq ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

type Rep ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

type Rep ListPromptsResponse = D1 ('MetaData "ListPromptsResponse" "Amazonka.Connect.ListPrompts" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListPromptsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "promptSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PromptSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPromptsResponse Source #

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

ListPrompts, listPromptsResponse_nextToken - If there are additional results, this is the token for the next set of results.

$sel:promptSummaryList:ListPromptsResponse', listPromptsResponse_promptSummaryList - Information about the prompts.

$sel:httpStatus:ListPromptsResponse', listPromptsResponse_httpStatus - The response's http status code.

Response Lenses

listPromptsResponse_nextToken :: Lens' ListPromptsResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.