deleteWorldTemplate method

Future<void> deleteWorldTemplate({
  1. required String template,
})

Deletes 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 delete.

Implementation

Future<void> deleteWorldTemplate({
  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: '/deleteWorldTemplate',
    exceptionFnMap: _exceptionFns,
  );
}