removeTags method

Future<void> removeTags({
  1. required String arn,
  2. required List<String> tagKeys,
})

Removes the specified set of tags from the specified Elasticsearch domain.

May throw BaseException. May throw ValidationException. May throw InternalException.

Parameter arn : Specifies the ARN for the Elasticsearch domain from which you want to delete the specified tags.

Parameter tagKeys : Specifies the TagKey list which you want to remove from the Elasticsearch domain.

Implementation

Future<void> removeTags({
  required String arn,
  required List<String> tagKeys,
}) async {
  ArgumentError.checkNotNull(arn, 'arn');
  ArgumentError.checkNotNull(tagKeys, 'tagKeys');
  final $payload = <String, dynamic>{
    'ARN': arn,
    'TagKeys': tagKeys,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/2015-01-01/tags-removal',
    exceptionFnMap: _exceptionFns,
  );
}