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

Description

Creates an Amazon Web Services resource association with an Amazon Connect instance.

Synopsis

Creating a Request

data CreateIntegrationAssociation Source #

See: newCreateIntegrationAssociation smart constructor.

Constructors

CreateIntegrationAssociation' 

Fields

  • sourceApplicationName :: Maybe Text

    The name of the external application. This field is only required for the EVENT integration type.

  • sourceApplicationUrl :: Maybe Text

    The URL for the external application. This field is only required for the EVENT integration type.

  • sourceType :: Maybe SourceType

    The type of the data source. This field is only required for the EVENT integration type.

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

  • integrationType :: IntegrationType

    The type of information to be ingested.

  • integrationArn :: Text

    The Amazon Resource Name (ARN) of the integration.

    When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.

Instances

Instances details
ToJSON CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

ToHeaders CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

ToPath CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

ToQuery CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

AWSRequest CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

Generic CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

Associated Types

type Rep CreateIntegrationAssociation :: Type -> Type #

Read CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

Show CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

NFData CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

Eq CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

Hashable CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

type AWSResponse CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

type Rep CreateIntegrationAssociation Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

type Rep CreateIntegrationAssociation = D1 ('MetaData "CreateIntegrationAssociation" "Amazonka.Connect.CreateIntegrationAssociation" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "CreateIntegrationAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceApplicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceApplicationUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceType)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "integrationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IntegrationType) :*: S1 ('MetaSel ('Just "integrationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateIntegrationAssociation Source #

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

CreateIntegrationAssociation, createIntegrationAssociation_sourceApplicationName - The name of the external application. This field is only required for the EVENT integration type.

CreateIntegrationAssociation, createIntegrationAssociation_sourceApplicationUrl - The URL for the external application. This field is only required for the EVENT integration type.

CreateIntegrationAssociation, createIntegrationAssociation_sourceType - The type of the data source. This field is only required for the EVENT integration type.

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

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

CreateIntegrationAssociation, createIntegrationAssociation_integrationType - The type of information to be ingested.

CreateIntegrationAssociation, createIntegrationAssociation_integrationArn - The Amazon Resource Name (ARN) of the integration.

When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.

Request Lenses

createIntegrationAssociation_sourceApplicationName :: Lens' CreateIntegrationAssociation (Maybe Text) Source #

The name of the external application. This field is only required for the EVENT integration type.

createIntegrationAssociation_sourceApplicationUrl :: Lens' CreateIntegrationAssociation (Maybe Text) Source #

The URL for the external application. This field is only required for the EVENT integration type.

createIntegrationAssociation_sourceType :: Lens' CreateIntegrationAssociation (Maybe SourceType) Source #

The type of the data source. This field is only required for the EVENT integration type.

createIntegrationAssociation_tags :: Lens' CreateIntegrationAssociation (Maybe (HashMap Text Text)) Source #

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

createIntegrationAssociation_instanceId :: Lens' CreateIntegrationAssociation Text Source #

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

createIntegrationAssociation_integrationArn :: Lens' CreateIntegrationAssociation Text Source #

The Amazon Resource Name (ARN) of the integration.

When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.

Destructuring the Response

data CreateIntegrationAssociationResponse Source #

Constructors

CreateIntegrationAssociationResponse' 

Fields

Instances

Instances details
Generic CreateIntegrationAssociationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

Read CreateIntegrationAssociationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

Show CreateIntegrationAssociationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

NFData CreateIntegrationAssociationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

Eq CreateIntegrationAssociationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

type Rep CreateIntegrationAssociationResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateIntegrationAssociation

type Rep CreateIntegrationAssociationResponse = D1 ('MetaData "CreateIntegrationAssociationResponse" "Amazonka.Connect.CreateIntegrationAssociation" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "CreateIntegrationAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "integrationAssociationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "integrationAssociationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateIntegrationAssociationResponse Source #

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

CreateIntegrationAssociationResponse, createIntegrationAssociationResponse_integrationAssociationArn - The Amazon Resource Name (ARN) for the association.

CreateIntegrationAssociationResponse, createIntegrationAssociationResponse_integrationAssociationId - The identifier for the integration association.

$sel:httpStatus:CreateIntegrationAssociationResponse', createIntegrationAssociationResponse_httpStatus - The response's http status code.

Response Lenses