From a4da8086cfbdf1265537181827071ae5e08e781d Mon Sep 17 00:00:00 2001 From: Sergey Petrin Date: Fri, 10 Jan 2025 17:57:19 +0300 Subject: [PATCH] ps: add tags to services Added tags structure to the service object, create request, and get response --- botocore/data/paas/2022-09-06/service-2.json | 47 ++++++++++++++++++-- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/botocore/data/paas/2022-09-06/service-2.json b/botocore/data/paas/2022-09-06/service-2.json index ff7772bf10..04aa80d8f0 100644 --- a/botocore/data/paas/2022-09-06/service-2.json +++ b/botocore/data/paas/2022-09-06/service-2.json @@ -632,7 +632,8 @@ "arbitratorRequired": {"shape": "Boolean"}, "internalBalancerRequired": {"shape": "Boolean"}, "externalBalancerRequired": {"shape": "Boolean"}, - "coordinator": {"shape": "NodeRequest"} + "coordinator": {"shape": "NodeRequest"}, + "tags": {"shape": "TagList"} } }, "CreateServiceResponse": { @@ -1014,7 +1015,8 @@ "status": {"shape": "String"}, "index": {"shape": "Integer"}, "endpoints": {"shape": "InstanceEndpoints"}, - "name": {"shape": "String"} + "name": {"shape": "String"}, + "tags": {"shape": "TagList"} } }, "InstanceEndpoint": { @@ -1153,7 +1155,8 @@ "totalCpuCount": {"shape": "Integer"}, "totalMemory": {"shape": "Integer"}, "vpcId": {"shape": "String"}, - "environmentVersion": {"shape": "String"} + "environmentVersion": {"shape": "String"}, + "tags": {"shape": "TagMap"} } }, "ListServices": { @@ -1547,7 +1550,8 @@ "environmentVersion": {"shape": "String"}, "availableEnvironmentVersions": {"shape": "StringList"}, "isRolledBack": {"shape": "Boolean"}, - "supportAccessEnabled": {"shape": "Boolean"} + "supportAccessEnabled": {"shape": "Boolean"}, + "tags": {"shape": "TagMap"} } }, "ServiceEndpoint": { @@ -1566,6 +1570,41 @@ "type": "list", "member": {"shape": "String"} }, + "Tag":{ + "type":"structure", + "members":{ + "Key":{ + "shape":"String", + "documentation":"

The key of the tag.

Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:

", + "locationName":"key" + }, + "Value":{ + "shape":"String", + "documentation":"

The value of the tag.

Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

", + "locationName":"value" + } + }, + "documentation":"

Describes a tag.

" + }, + "TagKey": {"type": "string"}, + "TagValue":{ + "type":"string", + "max":256 + }, + "TagList":{ + "type":"list", + "member":{ + "shape":"Tag", + "locationName":"item" + } + }, + "TagMap":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"}, + "max":50, + "min":1 + }, "Timestamp": {"type": "timestamp"}, "UserCompactResponse": { "type": "structure",