put_integration
¶
put_integration(
domain_name: name,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = 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/customer_profiles.py
7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 | |