put_integration
async
¶
put_integration(
domain_name: name,
*,
config_overrides: Optional[AsyncCustomerProfilesClientConfig] = None,
uri: Optional[string1To255] = None,
object_type_name: Optional[typeName] = None,
object_type_names: Optional[ObjectTypeNames] = None,
tags: Optional[TagMap] = None,
flow_definition: Optional[FlowDefinition] = None,
role_arn: Optional[RoleArn] = None,
event_trigger_names: Optional[EventTriggerNames] = None,
scope: Optional[Scope] = None,
) -> PutIntegrationResponse
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.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
uri(Optional[string1To255], default:None) –The URI of the S3 bucket or any other type of data source.
-
object_type_name(Optional[typeName], default:None) –The name of the profile object type.
-
object_type_names(Optional[ObjectTypeNames], default:None) –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, andShopifyUpdatedOrders. -
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource.
-
flow_definition(Optional[FlowDefinition], default:None) –The configuration that controls how Customer Profiles retrieves data from the source.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make Customer Profiles requests on your behalf.
-
event_trigger_names(Optional[EventTriggerNames], default:None) –A list of unique names for active event triggers associated with the integration.
-
scope(Optional[Scope], default:None) –Specifies whether the integration applies to profile level data (associated with profiles) or domain level data (not associated with any specific profile). The default value is PROFILE.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
BadRequestException–The input you provided is invalid.
-
InternalServerException–An internal service error occurred.
-
ResourceNotFoundException–The requested resource does not exist, or access was denied.
-
ThrottlingException–You exceeded the maximum number of requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_customer_profiles/_services/async_customer_profiles.py
7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 | |