Skip to content

Commit 75a3fda

Browse files
Add Tagging support for ResourceSnapshotJob resources
1 parent 848b6a6 commit 75a3fda

File tree

72 files changed

+4964
-542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+4964
-542
lines changed

generator/ServiceModels/partnercentral-selling/partnercentral-selling-2022-07-26.api.json

Lines changed: 151 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"input":{"shape":"AcceptEngagementInvitationRequest"},
2525
"errors":[
2626
{"shape":"ThrottlingException"},
27+
{"shape":"ConflictException"},
2728
{"shape":"AccessDeniedException"},
2829
{"shape":"InternalServerException"},
2930
{"shape":"ValidationException"},
@@ -159,6 +160,7 @@
159160
"input":{"shape":"DeleteResourceSnapshotJobRequest"},
160161
"errors":[
161162
{"shape":"ThrottlingException"},
163+
{"shape":"ConflictException"},
162164
{"shape":"AccessDeniedException"},
163165
{"shape":"ValidationException"},
164166
{"shape":"ResourceNotFoundException"}
@@ -406,7 +408,8 @@
406408
"errors":[
407409
{"shape":"ThrottlingException"},
408410
{"shape":"AccessDeniedException"},
409-
{"shape":"ValidationException"}
411+
{"shape":"ValidationException"},
412+
{"shape":"ResourceNotFoundException"}
410413
]
411414
},
412415
"ListResourceSnapshots":{
@@ -439,6 +442,22 @@
439442
{"shape":"ResourceNotFoundException"}
440443
]
441444
},
445+
"ListTagsForResource":{
446+
"name":"ListTagsForResource",
447+
"http":{
448+
"method":"POST",
449+
"requestUri":"/"
450+
},
451+
"input":{"shape":"ListTagsForResourceRequest"},
452+
"output":{"shape":"ListTagsForResourceResponse"},
453+
"errors":[
454+
{"shape":"ThrottlingException"},
455+
{"shape":"AccessDeniedException"},
456+
{"shape":"InternalServerException"},
457+
{"shape":"ValidationException"},
458+
{"shape":"ResourceNotFoundException"}
459+
]
460+
},
442461
"PutSellingSystemSettings":{
443462
"name":"PutSellingSystemSettings",
444463
"http":{
@@ -464,6 +483,7 @@
464483
"input":{"shape":"RejectEngagementInvitationRequest"},
465484
"errors":[
466485
{"shape":"ThrottlingException"},
486+
{"shape":"ConflictException"},
467487
{"shape":"AccessDeniedException"},
468488
{"shape":"InternalServerException"},
469489
{"shape":"ValidationException"},
@@ -551,6 +571,42 @@
551571
{"shape":"ResourceNotFoundException"}
552572
]
553573
},
574+
"TagResource":{
575+
"name":"TagResource",
576+
"http":{
577+
"method":"POST",
578+
"requestUri":"/"
579+
},
580+
"input":{"shape":"TagResourceRequest"},
581+
"output":{"shape":"TagResourceResponse"},
582+
"errors":[
583+
{"shape":"ThrottlingException"},
584+
{"shape":"ConflictException"},
585+
{"shape":"AccessDeniedException"},
586+
{"shape":"InternalServerException"},
587+
{"shape":"ValidationException"},
588+
{"shape":"ResourceNotFoundException"}
589+
],
590+
"idempotent":true
591+
},
592+
"UntagResource":{
593+
"name":"UntagResource",
594+
"http":{
595+
"method":"POST",
596+
"requestUri":"/"
597+
},
598+
"input":{"shape":"UntagResourceRequest"},
599+
"output":{"shape":"UntagResourceResponse"},
600+
"errors":[
601+
{"shape":"ThrottlingException"},
602+
{"shape":"ConflictException"},
603+
{"shape":"AccessDeniedException"},
604+
{"shape":"InternalServerException"},
605+
{"shape":"ValidationException"},
606+
{"shape":"ResourceNotFoundException"}
607+
],
608+
"idempotent":true
609+
},
554610
"UpdateOpportunity":{
555611
"name":"UpdateOpportunity",
556612
"http":{
@@ -1464,7 +1520,8 @@
14641520
"EngagementIdentifier":{"shape":"EngagementIdentifier"},
14651521
"ResourceIdentifier":{"shape":"ResourceIdentifier"},
14661522
"ResourceSnapshotTemplateIdentifier":{"shape":"ResourceTemplateName"},
1467-
"ResourceType":{"shape":"ResourceType"}
1523+
"ResourceType":{"shape":"ResourceType"},
1524+
"Tags":{"shape":"TagList"}
14681525
}
14691526
},
14701527
"CreateResourceSnapshotJobRequestClientTokenString":{
@@ -2929,6 +2986,20 @@
29292986
"SolutionSummaries":{"shape":"SolutionList"}
29302987
}
29312988
},
2989+
"ListTagsForResourceRequest":{
2990+
"type":"structure",
2991+
"required":["ResourceArn"],
2992+
"members":{
2993+
"ResourceArn":{"shape":"TaggableResourceArn"}
2994+
}
2995+
},
2996+
"ListTagsForResourceResponse":{
2997+
"type":"structure",
2998+
"required":["Tags"],
2999+
"members":{
3000+
"Tags":{"shape":"TagList"}
3001+
}
3002+
},
29323003
"ListTasksSortBase":{
29333004
"type":"structure",
29343005
"required":[
@@ -3303,12 +3374,12 @@
33033374
"EngagementConflict",
33043375
"OpportunitySubmissionFailed",
33053376
"EngagementInvitationConflict",
3377+
"InternalError",
33063378
"OpportunityValidationFailed",
33073379
"OpportunityConflict",
33083380
"ResourceSnapshotAccessDenied",
33093381
"ResourceSnapshotValidationFailed",
33103382
"ResourceSnapshotConflict",
3311-
"InternalError",
33123383
"ServiceQuotaExceeded",
33133384
"RequestThrottled"
33143385
]
@@ -3655,7 +3726,8 @@
36553726
"shape":"StartEngagementByAcceptingInvitationTaskRequestClientTokenString",
36563727
"idempotencyToken":true
36573728
},
3658-
"Identifier":{"shape":"EngagementInvitationArnOrIdentifier"}
3729+
"Identifier":{"shape":"EngagementInvitationArnOrIdentifier"},
3730+
"Tags":{"shape":"TagList"}
36593731
}
36603732
},
36613733
"StartEngagementByAcceptingInvitationTaskRequestClientTokenString":{
@@ -3692,7 +3764,8 @@
36923764
"shape":"StartEngagementFromOpportunityTaskRequestClientTokenString",
36933765
"idempotencyToken":true
36943766
},
3695-
"Identifier":{"shape":"OpportunityIdentifier"}
3767+
"Identifier":{"shape":"OpportunityIdentifier"},
3768+
"Tags":{"shape":"TagList"}
36963769
}
36973770
},
36983771
"StartEngagementFromOpportunityTaskRequestClientTokenString":{
@@ -3752,6 +3825,63 @@
37523825
"Visibility":{"shape":"Visibility"}
37533826
}
37543827
},
3828+
"Tag":{
3829+
"type":"structure",
3830+
"required":[
3831+
"Key",
3832+
"Value"
3833+
],
3834+
"members":{
3835+
"Key":{"shape":"TagKey"},
3836+
"Value":{"shape":"TagValue"}
3837+
}
3838+
},
3839+
"TagKey":{
3840+
"type":"string",
3841+
"max":128,
3842+
"min":1,
3843+
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
3844+
},
3845+
"TagKeyList":{
3846+
"type":"list",
3847+
"member":{"shape":"TagKey"},
3848+
"max":50,
3849+
"min":1
3850+
},
3851+
"TagList":{
3852+
"type":"list",
3853+
"member":{"shape":"Tag"},
3854+
"max":200,
3855+
"min":1
3856+
},
3857+
"TagResourceRequest":{
3858+
"type":"structure",
3859+
"required":[
3860+
"ResourceArn",
3861+
"Tags"
3862+
],
3863+
"members":{
3864+
"ResourceArn":{"shape":"TaggableResourceArn"},
3865+
"Tags":{"shape":"TagList"}
3866+
}
3867+
},
3868+
"TagResourceResponse":{
3869+
"type":"structure",
3870+
"members":{
3871+
}
3872+
},
3873+
"TagValue":{
3874+
"type":"string",
3875+
"max":256,
3876+
"min":0,
3877+
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
3878+
},
3879+
"TaggableResourceArn":{
3880+
"type":"string",
3881+
"max":1000,
3882+
"min":1,
3883+
"pattern":"^arn:[\\w+=/,.@-]+:partnercentral:[\\w+=/,.@-]*:[0-9]{12}:catalog/([a-zA-Z]+)/[\\w+=,.@-]+(/[\\w+=,.@-]+)*$"
3884+
},
37553885
"TaskArn":{
37563886
"type":"string",
37573887
"pattern":"^arn:.*"
@@ -3791,6 +3921,22 @@
37913921
},
37923922
"exception":true
37933923
},
3924+
"UntagResourceRequest":{
3925+
"type":"structure",
3926+
"required":[
3927+
"ResourceArn",
3928+
"TagKeys"
3929+
],
3930+
"members":{
3931+
"ResourceArn":{"shape":"TaggableResourceArn"},
3932+
"TagKeys":{"shape":"TagKeyList"}
3933+
}
3934+
},
3935+
"UntagResourceResponse":{
3936+
"type":"structure",
3937+
"members":{
3938+
}
3939+
},
37943940
"UpdateOpportunityRequest":{
37953941
"type":"structure",
37963942
"required":[

0 commit comments

Comments
 (0)