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

Description

Lists the use cases for the integration association.

This operation returns paginated results.

Synopsis

Creating a Request

data ListUseCases Source #

Provides summary information about the use cases for the specified integration association.

See: newListUseCases smart constructor.

Constructors

ListUseCases' 

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. You can find the instanceId in the ARN of the instance.

  • integrationAssociationId :: Text

    The identifier for the integration association.

Instances

Instances details
Eq ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Read ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Show ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Generic ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Associated Types

type Rep ListUseCases :: Type -> Type #

NFData ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Methods

rnf :: ListUseCases -> () #

Hashable ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

AWSPager ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

AWSRequest ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Associated Types

type AWSResponse ListUseCases #

ToHeaders ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

ToPath ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

ToQuery ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

type Rep ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

type Rep ListUseCases = D1 ('MetaData "ListUseCases" "Amazonka.Connect.ListUseCases" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListUseCases'" '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) :*: S1 ('MetaSel ('Just "integrationAssociationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListUseCases Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

newListUseCases Source #

Create a value of ListUseCases 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:ListUseCases', listUseCases_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:ListUseCases', listUseCases_maxResults - The maximum number of results to return per page.

$sel:instanceId:ListUseCases', listUseCases_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

$sel:integrationAssociationId:ListUseCases', listUseCases_integrationAssociationId - The identifier for the integration association.

Request Lenses

listUseCases_nextToken :: Lens' ListUseCases (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.

listUseCases_maxResults :: Lens' ListUseCases (Maybe Natural) Source #

The maximum number of results to return per page.

listUseCases_instanceId :: Lens' ListUseCases Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

listUseCases_integrationAssociationId :: Lens' ListUseCases Text Source #

The identifier for the integration association.

Destructuring the Response

data ListUseCasesResponse Source #

See: newListUseCasesResponse smart constructor.

Constructors

ListUseCasesResponse' 

Fields

Instances

Instances details
Eq ListUseCasesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Read ListUseCasesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Show ListUseCasesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Generic ListUseCasesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Associated Types

type Rep ListUseCasesResponse :: Type -> Type #

NFData ListUseCasesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

Methods

rnf :: ListUseCasesResponse -> () #

type Rep ListUseCasesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListUseCases

type Rep ListUseCasesResponse = D1 ('MetaData "ListUseCasesResponse" "Amazonka.Connect.ListUseCases" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListUseCasesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "useCaseSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UseCase])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListUseCasesResponse Source #

Create a value of ListUseCasesResponse 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:useCaseSummaryList:ListUseCasesResponse', listUseCasesResponse_useCaseSummaryList - The use cases.

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

$sel:httpStatus:ListUseCasesResponse', listUseCasesResponse_httpStatus - The response's http status code.

Response Lenses

listUseCasesResponse_nextToken :: Lens' ListUseCasesResponse (Maybe Text) Source #

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