libZSservicesZSamazonka-connectZSamazonka-connect
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.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

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

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

  • instanceId :: Text

    The identifier of the Amazon Connect instance.

Instances

Instances details
Eq ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Read ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Show ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Generic ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Associated Types

type Rep ListPrompts :: Type -> Type #

NFData ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Methods

rnf :: ListPrompts -> () #

Hashable 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 #

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

type Rep ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

type Rep ListPrompts = D1 ('MetaData "ListPrompts" "Amazonka.Connect.ListPrompts" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListPrompts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListPrompts Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

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:nextToken: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.

$sel:maxResults:ListPrompts', listPrompts_maxResults - The maximum number of results to return per page.

$sel:instanceId:ListPrompts', listPrompts_instanceId - The identifier of the Amazon Connect instance.

Request Lenses

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_maxResults :: Lens' ListPrompts (Maybe Natural) Source #

The maximum number of results to return per page.

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
Eq ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Read ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Show ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Generic ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Associated Types

type Rep ListPromptsResponse :: Type -> Type #

NFData ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

Methods

rnf :: ListPromptsResponse -> () #

type Rep ListPromptsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListPrompts

type Rep ListPromptsResponse = D1 ('MetaData "ListPromptsResponse" "Amazonka.Connect.ListPrompts" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListPromptsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "promptSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PromptSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

$sel:nextToken:ListPrompts', listPromptsResponse_nextToken - If there are additional results, this is the token for the next set of results.

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