getComposition method
Get information about the specified Composition resource.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ValidationException.
Parameter arn :
ARN of the Composition resource.
Implementation
Future<GetCompositionResponse> getComposition({
required String arn,
}) async {
final $payload = <String, dynamic>{
'arn': arn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/GetComposition',
exceptionFnMap: _exceptionFns,
);
return GetCompositionResponse.fromJson(response);
}