getImage method
Gets an image.
May throw ServiceException. May throw ClientException. May throw ServiceUnavailableException. May throw InvalidRequestException. May throw ForbiddenException. May throw CallRateLimitExceededException.
Parameter imageBuildVersionArn
:
The Amazon Resource Name (ARN) of the image that you want to retrieve.
Implementation
Future<GetImageResponse> getImage({
required String imageBuildVersionArn,
}) async {
ArgumentError.checkNotNull(imageBuildVersionArn, 'imageBuildVersionArn');
final $query = <String, List<String>>{
'imageBuildVersionArn': [imageBuildVersionArn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/GetImage',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetImageResponse.fromJson(response);
}