describeEntity method
Returns the metadata and content of the entity.
May throw AccessDeniedException.
May throw InternalServiceException.
May throw ResourceNotFoundException.
May throw ResourceNotSupportedException.
May throw ThrottlingException.
May throw ValidationException.
Parameter catalog :
Required. The catalog related to the request. Fixed value:
AWSMarketplace
Parameter entityId :
Required. The unique ID of the entity to describe.
Implementation
Future<DescribeEntityResponse> describeEntity({
required String catalog,
required String entityId,
}) async {
final $query = <String, List<String>>{
'catalog': [catalog],
'entityId': [entityId],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/DescribeEntity',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DescribeEntityResponse.fromJson(response);
}