untagResource method
Removes tags from an Amazon Web Services resource.
May throw InternalException.
May throw InvalidRequestException.
Parameter keys :
Specifies the keys in the tags that you want to remove.
Parameter resourceArn :
Specifies the Amazon Resource Name (ARN) of the resource to remove the
tags from.
Implementation
Future<void> untagResource({
required List<String> keys,
required String resourceArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'FmrsService.UntagResource'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'Keys': keys,
'ResourceArn': resourceArn,
},
);
}