S3Vectors / Client / untag_resource
untag_resource¶
- S3Vectors.Client.untag_resource(**kwargs)¶
Removes the specified user-defined tags from an Amazon S3 Vectors resource. You can pass one or more tag keys.
Note
For a list of S3 resources that support tagging, see Managing tags for Amazon S3 resources.
Permissions
For vector buckets and vector indexes, you must have the
s3vectors:UntagResourcepermission to use this operation.See also: AWS API Documentation
Request Syntax
response = client.untag_resource( resourceArn='string', tagKeys=[ 'string', ] )
- Parameters:
resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the Amazon S3 Vectors resource that you’re removing tags from. The tagged resource can be a vector bucket or a vector index.
tagKeys (list) –
[REQUIRED]
The array of tag keys that you’re removing from the S3 Vectors resource. For more information, see Tagging for cost allocation or attribute-based access control (ABAC).
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
S3Vectors.Client.exceptions.ValidationExceptionS3Vectors.Client.exceptions.ServiceUnavailableExceptionS3Vectors.Client.exceptions.TooManyRequestsExceptionS3Vectors.Client.exceptions.InternalServerExceptionS3Vectors.Client.exceptions.AccessDeniedExceptionS3Vectors.Client.exceptions.RequestTimeoutExceptionS3Vectors.Client.exceptions.NotFoundExceptionS3Vectors.Client.exceptions.ConflictException