removeTagsFromResource method

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

Removes metadata tags from an Amazon DocumentDB resource.

May throw DBInstanceNotFoundFault. May throw DBSnapshotNotFoundFault. May throw DBClusterNotFoundFault.

Parameter resourceName : The Amazon DocumentDB resource that the tags are removed from. This value is an Amazon Resource Name (ARN).

Parameter tagKeys : The tag key (name) of the tag to be removed.

Implementation

Future<void> removeTagsFromResource({
  required String resourceName,
  required List<String> tagKeys,
}) async {
  ArgumentError.checkNotNull(resourceName, 'resourceName');
  ArgumentError.checkNotNull(tagKeys, 'tagKeys');
  final $request = <String, dynamic>{};
  $request['ResourceName'] = resourceName;
  $request['TagKeys'] = tagKeys;
  await _protocol.send(
    $request,
    action: 'RemoveTagsFromResource',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['RemoveTagsFromResourceMessage'],
    shapes: shapes,
  );
}