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
7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 | |