RAM / Client / untag_resource
untag_resource#
- RAM.Client.untag_resource(**kwargs)#
Removes the specified tag key and value pairs from the specified resource share or managed permission.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource( resourceShareArn='string', tagKeys=[ 'string', ], resourceArn='string' )
- Parameters:
resourceShareArn (string) – Specifies the Amazon Resource Name (ARN) of the resource share that you want to remove tags from. The tags are removed from the resource share, not the resources in the resource share. You must specify either
resourceShareArn
, orresourceArn
, but not both.tagKeys (list) –
[REQUIRED]
Specifies a list of one or more tag keys that you want to remove.
(string) –
resourceArn (string) – Specifies the Amazon Resource Name (ARN) of the managed permission that you want to remove tags from. You must specify either
resourceArn
, orresourceShareArn
, but not both.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
RAM.Client.exceptions.UnknownResourceException
RAM.Client.exceptions.InvalidParameterException
RAM.Client.exceptions.MalformedArnException
RAM.Client.exceptions.ServerInternalException
RAM.Client.exceptions.ServiceUnavailableException