untagResource method

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

Removes tags from an Cloud9 development environment.

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

Parameter resourceARN : The Amazon Resource Name (ARN) of the Cloud9 development environment to remove tags from.

Parameter tagKeys : The tag names of the tags to remove from the given Cloud9 development environment.

Implementation

Future<void> untagResource({
  required String resourceARN,
  required List<String> tagKeys,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSCloud9WorkspaceManagementService.UntagResource'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ResourceARN': resourceARN,
      'TagKeys': tagKeys,
    },
  );
}