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