untagResource method

Future<void> untagResource({
  1. required String resourceARN,
  2. required List<String> tagKeyList,
})

Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.

May throw InvalidArgumentException. May throw ClientLimitExceededException. May throw ResourceNotFoundException. May throw AccessDeniedException.

Parameter resourceARN : The Amazon Resource Name (ARN) of the signaling channel from which you want to remove tags.

Parameter tagKeyList : A list of the keys of the tags that you want to remove.

Implementation

Future<void> untagResource({
  required String resourceARN,
  required List<String> tagKeyList,
}) async {
  ArgumentError.checkNotNull(resourceARN, 'resourceARN');
  _s.validateStringLength(
    'resourceARN',
    resourceARN,
    1,
    1024,
    isRequired: true,
  );
  ArgumentError.checkNotNull(tagKeyList, 'tagKeyList');
  final $payload = <String, dynamic>{
    'ResourceARN': resourceARN,
    'TagKeyList': tagKeyList,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/UntagResource',
    exceptionFnMap: _exceptionFns,
  );
}