updateBrandAssignment method
Updates a brand assignment.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter awsAccountId :
The ID of the Amazon Web Services account that owns the brand assignment.
Parameter brandArn :
The Amazon Resource Name (ARN) of the brand.
Implementation
Future<UpdateBrandAssignmentResponse> updateBrandAssignment({
required String awsAccountId,
required String brandArn,
}) async {
final $payload = <String, dynamic>{
'BrandArn': brandArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/accounts/${Uri.encodeComponent(awsAccountId)}/brandassignments',
exceptionFnMap: _exceptionFns,
);
return UpdateBrandAssignmentResponse.fromJson(response);
}