describeWorldTemplate method
Describes a world template.
May throw InvalidParameterException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalServerException.
Parameter template
:
The Amazon Resource Name (arn) of the world template you want to describe.
Implementation
Future<DescribeWorldTemplateResponse> describeWorldTemplate({
required String template,
}) async {
ArgumentError.checkNotNull(template, 'template');
_s.validateStringLength(
'template',
template,
1,
1224,
isRequired: true,
);
final $payload = <String, dynamic>{
'template': template,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/describeWorldTemplate',
exceptionFnMap: _exceptionFns,
);
return DescribeWorldTemplateResponse.fromJson(response);
}