untagResource method
Removes one or more tags from an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.
May throw AccessDeniedException.
May throw DisabledOperationException.
May throw InternalException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter arn :
The Amazon Resource Name (ARN) of the pipeline to remove tags from.
Parameter tagKeys :
The tag keys to remove.
Implementation
Future<void> untagResource({
required String arn,
required List<String> tagKeys,
}) async {
final $query = <String, List<String>>{
'arn': [arn],
};
final $payload = <String, dynamic>{
'TagKeys': tagKeys,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/2022-01-01/osis/untagResource',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}