describeKeyValueStore method

Future<DescribeKeyValueStoreResult> describeKeyValueStore({
  1. required String name,
})

Specifies the key value store and its configuration.

May throw AccessDenied. May throw EntityNotFound. May throw InvalidArgument. May throw UnsupportedOperation.

Parameter name : The name of the key value store.

Implementation

Future<DescribeKeyValueStoreResult> describeKeyValueStore({
  required String name,
}) async {
  final $result = await _protocol.sendRaw(
    method: 'GET',
    requestUri: '/2020-05-31/key-value-store/${Uri.encodeComponent(name)}',
    exceptionFnMap: _exceptionFns,
  );
  final $elem = await _s.xmlFromResponse($result);
  return DescribeKeyValueStoreResult(
    keyValueStore: KeyValueStore.fromXml($elem),
    eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
  );
}