untagResource method

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

Untags the specified tags from the specified Amazon Chime SDK meeting resource.

May throw BadRequestException. May throw ForbiddenException. May throw NotFoundException. May throw UnauthorizedClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter resourceARN : The resource ARN.

Parameter tagKeys : The tag keys.

Implementation

Future<void> untagResource({
  required String resourceARN,
  required List<String> tagKeys,
}) async {
  ArgumentError.checkNotNull(resourceARN, 'resourceARN');
  _s.validateStringLength(
    'resourceARN',
    resourceARN,
    1,
    1024,
    isRequired: true,
  );
  ArgumentError.checkNotNull(tagKeys, 'tagKeys');
  final $payload = <String, dynamic>{
    'ResourceARN': resourceARN,
    'TagKeys': tagKeys,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/tags?operation=untag-resource',
    exceptionFnMap: _exceptionFns,
  );
}