untagResource method
Deletes the specified tags from a resource.
May throw ArgumentException.
May throw NotFoundException.
May throw TagOperationException.
Parameter resourceARN :
The Amazon Resource Name (ARN) of the resource or resources from which to
delete tags. You can associate tags with the following Device Farm
resources: PROJECT, TESTGRID_PROJECT,
RUN, NETWORK_PROFILE,
INSTANCE_PROFILE, DEVICE_INSTANCE,
SESSION, DEVICE_POOL, DEVICE, and
VPCE_CONFIGURATION.
Parameter tagKeys :
The keys of the tags to be removed.
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': 'DeviceFarm_20150623.UntagResource'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ResourceARN': resourceARN,
'TagKeys': tagKeys,
},
);
}