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