EndUserMessaging / Client / update_brand_profile_from_registration
update_brand_profile_from_registration¶
- EndUserMessaging.Client.update_brand_profile_from_registration(**kwargs)¶
Imports or refreshes the attributes of an existing brand profile from an existing registration. This operation runs asynchronously. Use the GetJob operation to track its progress.
See also: AWS API Documentation
Request Syntax
response = client.update_brand_profile_from_registration( brandProfileId='string', registrationId='string', smartMatch=True|False, onAttributeConflict='REPLACE'|'PRESERVE', clientToken='string' )
- Parameters:
brandProfileId (string) –
[REQUIRED]
The unique identifier of the brand profile. You can specify either the bare ID or the full Amazon Resource Name (ARN).
registrationId (string) –
[REQUIRED]
The identifier or Amazon Resource Name (ARN) of the registration to import attributes from.
smartMatch (boolean) – Specifies whether to use semantic field mapping between brand profile attributes and registration fields. The default is true. When false, the service maps fields using a fixed set of standard field types.
onAttributeConflict (string) – Specifies how the service resolves an attribute that already exists. REPLACE overwrites the existing value with the incoming value. PRESERVE keeps the existing value.
clientToken (string) –
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you do not specify a client token, the AWS SDK automatically generates one.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'results': [ { 'jobId': 'string', 'resourceIdentifier': 'string' }, ] }
Response Structure
(dict) –
results (list) –
The results of the operation. Each result pairs a requested item with the asynchronous job that processes it.
(dict) –
Pairs an asynchronous job with the resource identifier from your request that the job processes.
jobId (string) –
The unique identifier of the asynchronous job. Use the GetJob operation to check the status of the job and to retrieve its results.
resourceIdentifier (string) –
The identifier from your request that this job is processing.
Exceptions
EndUserMessaging.Client.exceptions.ValidationExceptionEndUserMessaging.Client.exceptions.ThrottlingExceptionEndUserMessaging.Client.exceptions.AccessDeniedExceptionEndUserMessaging.Client.exceptions.ResourceNotFoundExceptionEndUserMessaging.Client.exceptions.InternalServerExceptionEndUserMessaging.Client.exceptions.ConflictException