getComponent method
Gets a component object.
May throw CallRateLimitExceededException.
May throw ClientException.
May throw ForbiddenException.
May throw InvalidRequestException.
May throw ServiceException.
May throw ServiceUnavailableException.
Parameter componentBuildVersionArn :
The Amazon Resource Name (ARN) of the component that you want to get.
Regex requires the suffix /\d+$.
Implementation
Future<GetComponentResponse> getComponent({
required String componentBuildVersionArn,
}) async {
final $query = <String, List<String>>{
'componentBuildVersionArn': [componentBuildVersionArn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/GetComponent',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetComponentResponse.fromJson(response);
}