getPreset method
Retrieve the JSON for a specific preset.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceQuotaExceededException.
May throw TooManyRequestsException.
Parameter name :
The name of the preset.
Implementation
Future<GetPresetResponse> getPreset({
required String name,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/2017-08-29/presets/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
return GetPresetResponse.fromJson(response);
}