MWAA.Client.
tag_resource
(**kwargs)¶Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment
.
[REQUIRED]
The key-value tag pairs you want to associate to your environment. For example, "Environment": "Staging"
. To learn more, see Tagging Amazon Web Services resources.
dict
Response Syntax
{}
Response Structure
Exceptions
MWAA.Client.exceptions.ResourceNotFoundException
MWAA.Client.exceptions.ValidationException
MWAA.Client.exceptions.InternalServerException