UntagResource - Amazon OpenSearch Service

UntagResource

Removes one or more tags from an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.

Request Syntax

POST /2022-01-01/osis/untagResource/?arn=Arn HTTP/1.1 Content-type: application/json { "TagKeys": [ "string" ] }

URI Request Parameters

The request uses the following URI parameters.

Arn

The Amazon Resource Name (ARN) of the pipeline to remove tags from.

Length Constraints: Minimum length of 46. Maximum length of 76.

Pattern: ^arn:(aws|aws\-cn|aws\-us\-gov|aws\-iso|aws\-iso\-b):osis:.+:pipeline\/.+$

Required: Yes

Request Body

The request accepts the following data in JSON format.

TagKeys

The tag keys to remove.

Type: Array of strings

Required: Yes

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You don't have permissions to access the resource.

HTTP Status Code: 403

DisabledOperationException

Exception is thrown when an operation has been disabled.

HTTP Status Code: 409

InternalException

The request failed because of an unknown error, exception, or failure (the failure is internal to the service).

HTTP Status Code: 500

ResourceNotFoundException

You attempted to access or delete a resource that does not exist.

HTTP Status Code: 404

ValidationException

An exception for missing or invalid input fields.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: