v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User Guide</i>.

post/#X-Amz-Target=CodeCommit_20150413.TagResource

Headers

X-Amz-Target'CodeCommit_20150413.TagResource' required

Request body

resourceArnstring required

The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

tagsobject required

The key-value pair to use when tagging this repository.

Response

Success