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
7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 | |