getCloudFormationTemplate method
Gets the specified AWS CloudFormation template.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter applicationId :
The Amazon Resource Name (ARN) of the application.
Parameter templateId :
The UUID returned by CreateCloudFormationTemplate.
Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Implementation
Future<GetCloudFormationTemplateResponse> getCloudFormationTemplate({
required String applicationId,
required String templateId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/applications/${Uri.encodeComponent(applicationId)}/templates/${Uri.encodeComponent(templateId)}',
exceptionFnMap: _exceptionFns,
);
return GetCloudFormationTemplateResponse.fromJson(response);
}