describeBrand method

Future<DescribeBrandResponse> describeBrand({
  1. required String awsAccountId,
  2. required String brandId,
  3. String? versionId,
})

Describes 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 specific version. The default value is the latest version.

Implementation

Future<DescribeBrandResponse> describeBrand({
  required String awsAccountId,
  required String brandId,
  String? versionId,
}) async {
  final $query = <String, List<String>>{
    if (versionId != null) 'versionId': [versionId],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/accounts/${Uri.encodeComponent(awsAccountId)}/brands/${Uri.encodeComponent(brandId)}',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return DescribeBrandResponse.fromJson(response);
}