describeProvisioningTemplate method
Future<DescribeProvisioningTemplateResponse>
describeProvisioningTemplate({
- required String templateName,
Returns information about a fleet provisioning template.
May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw UnauthorizedException.
Parameter templateName
:
The name of the fleet provisioning template.
Implementation
Future<DescribeProvisioningTemplateResponse> describeProvisioningTemplate({
required String templateName,
}) async {
ArgumentError.checkNotNull(templateName, 'templateName');
_s.validateStringLength(
'templateName',
templateName,
1,
36,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/provisioning-templates/${Uri.encodeComponent(templateName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeProvisioningTemplateResponse.fromJson(response);
}