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

Description

Creates a use case for an integration association.

Synopsis

Creating a Request

data CreateUseCase Source #

See: newCreateUseCase smart constructor.

Constructors

CreateUseCase' 

Fields

Instances

Instances details
Eq CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Read CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Show CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Generic CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Associated Types

type Rep CreateUseCase :: Type -> Type #

NFData CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Methods

rnf :: CreateUseCase -> () #

Hashable CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

ToJSON CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

AWSRequest CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Associated Types

type AWSResponse CreateUseCase #

ToHeaders CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

ToPath CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

ToQuery CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

type Rep CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

type Rep CreateUseCase = D1 ('MetaData "CreateUseCase" "Amazonka.Connect.CreateUseCase" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateUseCase'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "integrationAssociationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "useCaseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UseCaseType))))
type AWSResponse CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

newCreateUseCase Source #

Create a value of CreateUseCase 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:tags:CreateUseCase', createUseCase_tags - One or more tags.

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

$sel:integrationAssociationId:CreateUseCase', createUseCase_integrationAssociationId - The identifier for the integration association.

$sel:useCaseType:CreateUseCase', createUseCase_useCaseType - The type of use case to associate to the integration association. Each integration association can have only one of each use case type.

Request Lenses

createUseCase_instanceId :: Lens' CreateUseCase Text Source #

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

createUseCase_integrationAssociationId :: Lens' CreateUseCase Text Source #

The identifier for the integration association.

createUseCase_useCaseType :: Lens' CreateUseCase UseCaseType Source #

The type of use case to associate to the integration association. Each integration association can have only one of each use case type.

Destructuring the Response

data CreateUseCaseResponse Source #

See: newCreateUseCaseResponse smart constructor.

Constructors

CreateUseCaseResponse' 

Fields

Instances

Instances details
Eq CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Read CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Show CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Generic CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Associated Types

type Rep CreateUseCaseResponse :: Type -> Type #

NFData CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Methods

rnf :: CreateUseCaseResponse -> () #

type Rep CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

type Rep CreateUseCaseResponse = D1 ('MetaData "CreateUseCaseResponse" "Amazonka.Connect.CreateUseCase" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateUseCaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "useCaseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "useCaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateUseCaseResponse Source #

Create a value of CreateUseCaseResponse 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:useCaseArn:CreateUseCaseResponse', createUseCaseResponse_useCaseArn - The Amazon Resource Name (ARN) for the use case.

$sel:useCaseId:CreateUseCaseResponse', createUseCaseResponse_useCaseId - The identifier of the use case.

$sel:httpStatus:CreateUseCaseResponse', createUseCaseResponse_httpStatus - The response's http status code.

Response Lenses

createUseCaseResponse_useCaseArn :: Lens' CreateUseCaseResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the use case.