untagGlobalResource method

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

Removes tags from a global resource in AWS Elemental MediaConnect. The API supports the following global resources: router inputs, router outputs and router network interfaces.

May throw BadRequestException. May throw InternalServerErrorException. May throw NotFoundException.

Parameter resourceArn : The Amazon Resource Name (ARN) of the global resource to remove tags from.

Parameter tagKeys : The keys of the tags to remove from the global resource.

Implementation

Future<void> untagGlobalResource({
  required String resourceArn,
  required List<String> tagKeys,
}) async {
  final $query = <String, List<String>>{
    'tagKeys': tagKeys,
  };
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/tags/global/${Uri.encodeComponent(resourceArn)}',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
}