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

Description

Creates a use case for an integration association.

Synopsis

Creating a Request

data CreateUseCase Source #

See: newCreateUseCase smart constructor.

Constructors

CreateUseCase' 

Fields

  • tags :: Maybe (HashMap Text Text)

    The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

  • useCaseType :: UseCaseType

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

Instances

Instances details
ToJSON CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.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

AWSRequest CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Associated Types

type AWSResponse CreateUseCase #

Generic CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Associated Types

type Rep CreateUseCase :: Type -> Type #

Read CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Show CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

NFData CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Methods

rnf :: CreateUseCase -> () #

Eq CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Hashable CreateUseCase Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

type AWSResponse 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" '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))))

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:

CreateUseCase, createUseCase_tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

CreateUseCase, createUseCase_integrationAssociationId - The identifier for the integration association.

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_tags :: Lens' CreateUseCase (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

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
Generic CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Associated Types

type Rep CreateUseCaseResponse :: Type -> Type #

Read CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Show CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

NFData CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

Methods

rnf :: CreateUseCaseResponse -> () #

Eq CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

type Rep CreateUseCaseResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateUseCase

type Rep CreateUseCaseResponse = D1 ('MetaData "CreateUseCaseResponse" "Amazonka.Connect.CreateUseCase" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" '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:

CreateUseCaseResponse, createUseCaseResponse_useCaseArn - The Amazon Resource Name (ARN) for the use case.

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.