Logo
Amazon Web Services (AWS) API Documentation

Add Tags To On Premises Instances

POST {{aws_codedeploy_base_url}}/?Action=AddTagsToOnPremisesInstances

 

Body PARAM

Key Datatype Required Description 
Action
string



HEADERS

Key Datatype Required Description 
Content-Type
string
User-Agent
string
X-Amz-Target
string




RESPONSES

status





Curl
curl -X POST 'aws_codedeploy_base_url/?Action=AddTagsToOnPremisesInstances?Action=AddTagsToOnPremisesInstances' -H 'Content-Type: application/x-amz-json-1.1' -H 'User-Agent: aws-cli/1.7.38 Python/2.7.9 Windows/7' -H 'X-Amz-Target: CodeDeploy_20141006.AddTagsToOnPremisesInstances' -d '{"instanceNames":["grp-b-inst-2","grp-b-inst-1"],"tags":[{"Key":"Name","Value":"Cost-Center-456"}]}'

ENDPOINTS