amazonka-customer-profiles-2.0: Amazon Connect Customer Profiles 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.CustomerProfiles.PutIntegration

Description

Adds an integration between the service and a third-party service, which includes Amazon AppFlow and Amazon Connect.

An integration can belong to only one domain.

To add or remove tags on an existing Integration, see TagResource / UntagResource.

Synopsis

Creating a Request

data PutIntegration Source #

See: newPutIntegration smart constructor.

Constructors

PutIntegration' 

Fields

  • flowDefinition :: Maybe FlowDefinition

    The configuration that controls how Customer Profiles retrieves data from the source.

  • objectTypeName :: Maybe Text

    The name of the profile object type.

  • objectTypeNames :: Maybe (HashMap Text Text)

    A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.

  • tags :: Maybe (HashMap Text Text)

    The tags used to organize, track, or control access for this resource.

  • uri :: Maybe Text

    The URI of the S3 bucket or any other type of data source.

  • domainName :: Text

    The unique name of the domain.

Instances

Instances details
ToJSON PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

ToHeaders PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

ToPath PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

ToQuery PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

AWSRequest PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

Associated Types

type AWSResponse PutIntegration #

Generic PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

Associated Types

type Rep PutIntegration :: Type -> Type #

Read PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

Show PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

NFData PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

Methods

rnf :: PutIntegration -> () #

Eq PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

Hashable PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

type AWSResponse PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

type Rep PutIntegration Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

type Rep PutIntegration = D1 ('MetaData "PutIntegration" "Amazonka.CustomerProfiles.PutIntegration" "amazonka-customer-profiles-2.0-7iC4NjyJEW8JuQGNtDiJ1f" 'False) (C1 ('MetaCons "PutIntegration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "flowDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FlowDefinition)) :*: (S1 ('MetaSel ('Just "objectTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objectTypeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newPutIntegration Source #

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

PutIntegration, putIntegration_flowDefinition - The configuration that controls how Customer Profiles retrieves data from the source.

PutIntegration, putIntegration_objectTypeName - The name of the profile object type.

PutIntegration, putIntegration_objectTypeNames - A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.

PutIntegration, putIntegration_tags - The tags used to organize, track, or control access for this resource.

PutIntegration, putIntegration_uri - The URI of the S3 bucket or any other type of data source.

PutIntegration, putIntegration_domainName - The unique name of the domain.

Request Lenses

putIntegration_flowDefinition :: Lens' PutIntegration (Maybe FlowDefinition) Source #

The configuration that controls how Customer Profiles retrieves data from the source.

putIntegration_objectTypeName :: Lens' PutIntegration (Maybe Text) Source #

The name of the profile object type.

putIntegration_objectTypeNames :: Lens' PutIntegration (Maybe (HashMap Text Text)) Source #

A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.

putIntegration_tags :: Lens' PutIntegration (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource.

putIntegration_uri :: Lens' PutIntegration (Maybe Text) Source #

The URI of the S3 bucket or any other type of data source.

putIntegration_domainName :: Lens' PutIntegration Text Source #

The unique name of the domain.

Destructuring the Response

data PutIntegrationResponse Source #

See: newPutIntegrationResponse smart constructor.

Constructors

PutIntegrationResponse' 

Fields

  • isUnstructured :: Maybe Bool

    Boolean to indicate if the Flow associated with the Integration is created via Appflow console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition

  • objectTypeName :: Maybe Text

    The name of the profile object type.

  • objectTypeNames :: Maybe (HashMap Text Text)

    A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.

  • tags :: Maybe (HashMap Text Text)

    The tags used to organize, track, or control access for this resource.

  • workflowId :: Maybe Text

    Unique identifier for the workflow.

  • httpStatus :: Int

    The response's http status code.

  • domainName :: Text

    The unique name of the domain.

  • uri :: Text

    The URI of the S3 bucket or any other type of data source.

  • createdAt :: POSIX

    The timestamp of when the domain was created.

  • lastUpdatedAt :: POSIX

    The timestamp of when the domain was most recently edited.

Instances

Instances details
Generic PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

Associated Types

type Rep PutIntegrationResponse :: Type -> Type #

Read PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

Show PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

NFData PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

Methods

rnf :: PutIntegrationResponse -> () #

Eq PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

type Rep PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.PutIntegration

newPutIntegrationResponse Source #

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

PutIntegrationResponse, putIntegrationResponse_isUnstructured - Boolean to indicate if the Flow associated with the Integration is created via Appflow console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition

PutIntegration, putIntegrationResponse_objectTypeName - The name of the profile object type.

PutIntegration, putIntegrationResponse_objectTypeNames - A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.

PutIntegration, putIntegrationResponse_tags - The tags used to organize, track, or control access for this resource.

PutIntegrationResponse, putIntegrationResponse_workflowId - Unique identifier for the workflow.

$sel:httpStatus:PutIntegrationResponse', putIntegrationResponse_httpStatus - The response's http status code.

PutIntegration, putIntegrationResponse_domainName - The unique name of the domain.

PutIntegration, putIntegrationResponse_uri - The URI of the S3 bucket or any other type of data source.

PutIntegrationResponse, putIntegrationResponse_createdAt - The timestamp of when the domain was created.

PutIntegrationResponse, putIntegrationResponse_lastUpdatedAt - The timestamp of when the domain was most recently edited.

Response Lenses

putIntegrationResponse_isUnstructured :: Lens' PutIntegrationResponse (Maybe Bool) Source #

Boolean to indicate if the Flow associated with the Integration is created via Appflow console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition

putIntegrationResponse_objectTypeNames :: Lens' PutIntegrationResponse (Maybe (HashMap Text Text)) Source #

A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.

putIntegrationResponse_tags :: Lens' PutIntegrationResponse (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource.

putIntegrationResponse_uri :: Lens' PutIntegrationResponse Text Source #

The URI of the S3 bucket or any other type of data source.

putIntegrationResponse_createdAt :: Lens' PutIntegrationResponse UTCTime Source #

The timestamp of when the domain was created.

putIntegrationResponse_lastUpdatedAt :: Lens' PutIntegrationResponse UTCTime Source #

The timestamp of when the domain was most recently edited.