EndUserMessaging / Client / update_registrations_from_brand_profile
update_registrations_from_brand_profile¶
- EndUserMessaging.Client.update_registrations_from_brand_profile(**kwargs)¶
Repushes the attributes of a brand profile into existing DRAFT registrations. This operation runs asynchronously. Use the GetJob operation to track its progress.
See also: AWS API Documentation
Request Syntax
response = client.update_registrations_from_brand_profile( brandProfileId='string', registrationIds=[ '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).
registrationIds (list) –
[REQUIRED]
The identifiers of the registrations.
(string) –
Registration identifier or ARN.
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