updateBrandPublishedVersion method
Updates the published version of a brand.
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.
Parameter brandId :
The ID of the Quick brand.
Parameter versionId :
The ID of the published version.
Implementation
Future<UpdateBrandPublishedVersionResponse> updateBrandPublishedVersion({
required String awsAccountId,
required String brandId,
required String versionId,
}) async {
final $payload = <String, dynamic>{
'VersionId': versionId,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/accounts/${Uri.encodeComponent(awsAccountId)}/brands/${Uri.encodeComponent(brandId)}/publishedversion',
exceptionFnMap: _exceptionFns,
);
return UpdateBrandPublishedVersionResponse.fromJson(response);
}