untagResource method
Removes a tag from a rescore execution plan. A rescore execution plan is
an Amazon Kendra Intelligent Ranking resource used for provisioning the
Rescore operation.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceUnavailableException.
May throw ThrottlingException.
May throw ValidationException.
Parameter resourceARN :
The Amazon Resource Name (ARN) of the rescore execution plan to remove the
tag.
Parameter tagKeys :
A list of tag keys to remove from the rescore execution plan. If a tag key
does not exist on the resource, it is ignored.
Implementation
Future<void> untagResource({
required String resourceARN,
required List<String> tagKeys,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'AWSKendraRerankingFrontendService.UntagResource'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ResourceARN': resourceARN,
'TagKeys': tagKeys,
},
);
}