batchDeleteWorlds method
Deletes one or more worlds in a batch operation.
May throw InvalidParameterException. May throw ThrottlingException. May throw InternalServerException.
Parameter worlds
:
A list of Amazon Resource Names (arns) that correspond to worlds to
delete.
Implementation
Future<BatchDeleteWorldsResponse> batchDeleteWorlds({
required List<String> worlds,
}) async {
ArgumentError.checkNotNull(worlds, 'worlds');
final $payload = <String, dynamic>{
'worlds': worlds,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/batchDeleteWorlds',
exceptionFnMap: _exceptionFns,
);
return BatchDeleteWorldsResponse.fromJson(response);
}