Skip to content

Commit 0387e17

Browse files
authored
chore: sync models and endpoints (#317)
1 parent 4d290a5 commit 0387e17

File tree

162 files changed

+107858
-17126
lines changed

Some content is hidden

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

162 files changed

+107858
-17126
lines changed

codegen/sdk/aws-models/accessanalyzer.2019-11-01.json

Lines changed: 59 additions & 56 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/acm.2015-12-08.json

Lines changed: 42 additions & 26 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/acmpca.2017-08-22.json

Lines changed: 66 additions & 17 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/amp.2020-08-01.json

Lines changed: 257 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@
2121
"com.amazonaws.amp#AmazonPrometheusService": {
2222
"type": "service",
2323
"version": "2020-08-01",
24+
"operations": [
25+
{
26+
"target": "com.amazonaws.amp#ListTagsForResource"
27+
},
28+
{
29+
"target": "com.amazonaws.amp#TagResource"
30+
},
31+
{
32+
"target": "com.amazonaws.amp#UntagResource"
33+
}
34+
],
2435
"resources": [
2536
{
2637
"target": "com.amazonaws.amp#Workspace"
@@ -31,7 +42,8 @@
3142
"sdkId": "amp",
3243
"arnNamespace": "aps",
3344
"cloudFormationName": "AmazonPrometheusService",
34-
"cloudTrailEventSource": "CLOUDTRAIL_PLACEHOLDER_REPLACED_BY_CDK"
45+
"cloudTrailEventSource": "CLOUDTRAIL_PLACEHOLDER_REPLACED_BY_CDK",
46+
"endpointPrefix": "aps"
3547
},
3648
"aws.auth#sigv4": {
3749
"name": "aps"
@@ -148,6 +160,12 @@
148160
"smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.",
149161
"smithy.api#idempotencyToken": {}
150162
}
163+
},
164+
"tags": {
165+
"target": "com.amazonaws.amp#TagMap",
166+
"traits": {
167+
"smithy.api#documentation": "Optional, user-provided tags for this workspace."
168+
}
151169
}
152170
},
153171
"traits": {
@@ -177,6 +195,12 @@
177195
"smithy.api#documentation": "The status of the workspace that was just created (usually CREATING).",
178196
"smithy.api#required": {}
179197
}
198+
},
199+
"tags": {
200+
"target": "com.amazonaws.amp#TagMap",
201+
"traits": {
202+
"smithy.api#documentation": "The tags of this workspace."
203+
}
180204
}
181205
},
182206
"traits": {
@@ -341,6 +365,62 @@
341365
"smithy.api#retryable": {}
342366
}
343367
},
368+
"com.amazonaws.amp#ListTagsForResource": {
369+
"type": "operation",
370+
"input": {
371+
"target": "com.amazonaws.amp#ListTagsForResourceRequest"
372+
},
373+
"output": {
374+
"target": "com.amazonaws.amp#ListTagsForResourceResponse"
375+
},
376+
"errors": [
377+
{
378+
"target": "com.amazonaws.amp#AccessDeniedException"
379+
},
380+
{
381+
"target": "com.amazonaws.amp#InternalServerException"
382+
},
383+
{
384+
"target": "com.amazonaws.amp#ResourceNotFoundException"
385+
},
386+
{
387+
"target": "com.amazonaws.amp#ThrottlingException"
388+
},
389+
{
390+
"target": "com.amazonaws.amp#ValidationException"
391+
}
392+
],
393+
"traits": {
394+
"smithy.api#documentation": "Lists the tags you have assigned to the resource.",
395+
"smithy.api#http": {
396+
"method": "GET",
397+
"uri": "/tags/{resourceArn}",
398+
"code": 200
399+
},
400+
"smithy.api#readonly": {}
401+
}
402+
},
403+
"com.amazonaws.amp#ListTagsForResourceRequest": {
404+
"type": "structure",
405+
"members": {
406+
"resourceArn": {
407+
"target": "smithy.api#String",
408+
"traits": {
409+
"smithy.api#documentation": "The ARN of the resource.",
410+
"smithy.api#httpLabel": {},
411+
"smithy.api#required": {}
412+
}
413+
}
414+
}
415+
},
416+
"com.amazonaws.amp#ListTagsForResourceResponse": {
417+
"type": "structure",
418+
"members": {
419+
"tags": {
420+
"target": "com.amazonaws.amp#TagMap"
421+
}
422+
}
423+
},
344424
"com.amazonaws.amp#ListWorkspaces": {
345425
"type": "operation",
346426
"input": {
@@ -515,6 +595,110 @@
515595
"smithy.api#httpError": 402
516596
}
517597
},
598+
"com.amazonaws.amp#TagKey": {
599+
"type": "string",
600+
"traits": {
601+
"smithy.api#length": {
602+
"min": 1,
603+
"max": 128
604+
},
605+
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
606+
}
607+
},
608+
"com.amazonaws.amp#TagKeys": {
609+
"type": "list",
610+
"member": {
611+
"target": "com.amazonaws.amp#TagKey"
612+
}
613+
},
614+
"com.amazonaws.amp#TagMap": {
615+
"type": "map",
616+
"key": {
617+
"target": "com.amazonaws.amp#TagKey",
618+
"traits": {
619+
"smithy.api#documentation": "The key of the tag.\n\nConstraints: Tag keys are case-sensitive and accept a maximum of 128 Unicode characters.\nValid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @\nMay not begin with `aws:`.\n"
620+
}
621+
},
622+
"value": {
623+
"target": "com.amazonaws.amp#TagValue",
624+
"traits": {
625+
"smithy.api#documentation": "The value of the tag.\n\nConstraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.\nValid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @\n"
626+
}
627+
},
628+
"traits": {
629+
"smithy.api#documentation": "The list of tags assigned to the resource.",
630+
"smithy.api#length": {
631+
"max": 50
632+
}
633+
}
634+
},
635+
"com.amazonaws.amp#TagResource": {
636+
"type": "operation",
637+
"input": {
638+
"target": "com.amazonaws.amp#TagResourceRequest"
639+
},
640+
"output": {
641+
"target": "com.amazonaws.amp#TagResourceResponse"
642+
},
643+
"errors": [
644+
{
645+
"target": "com.amazonaws.amp#AccessDeniedException"
646+
},
647+
{
648+
"target": "com.amazonaws.amp#InternalServerException"
649+
},
650+
{
651+
"target": "com.amazonaws.amp#ResourceNotFoundException"
652+
},
653+
{
654+
"target": "com.amazonaws.amp#ThrottlingException"
655+
},
656+
{
657+
"target": "com.amazonaws.amp#ValidationException"
658+
}
659+
],
660+
"traits": {
661+
"smithy.api#documentation": "Creates tags for the specified resource.",
662+
"smithy.api#http": {
663+
"method": "POST",
664+
"uri": "/tags/{resourceArn}",
665+
"code": 200
666+
}
667+
}
668+
},
669+
"com.amazonaws.amp#TagResourceRequest": {
670+
"type": "structure",
671+
"members": {
672+
"resourceArn": {
673+
"target": "smithy.api#String",
674+
"traits": {
675+
"smithy.api#documentation": "The ARN of the resource.",
676+
"smithy.api#httpLabel": {},
677+
"smithy.api#required": {}
678+
}
679+
},
680+
"tags": {
681+
"target": "com.amazonaws.amp#TagMap",
682+
"traits": {
683+
"smithy.api#required": {}
684+
}
685+
}
686+
}
687+
},
688+
"com.amazonaws.amp#TagResourceResponse": {
689+
"type": "structure",
690+
"members": {}
691+
},
692+
"com.amazonaws.amp#TagValue": {
693+
"type": "string",
694+
"traits": {
695+
"smithy.api#length": {
696+
"min": 0,
697+
"max": 256
698+
},
699+
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
700+
}
701+
},
518702
"com.amazonaws.amp#ThrottlingException": {
519703
"type": "structure",
520704
"members": {
@@ -552,6 +736,66 @@
552736
"smithy.api#retryable": {}
553737
}
554738
},
739+
"com.amazonaws.amp#UntagResource": {
740+
"type": "operation",
741+
"input": {
742+
"target": "com.amazonaws.amp#UntagResourceRequest"
743+
},
744+
"output": {
745+
"target": "com.amazonaws.amp#UntagResourceResponse"
746+
},
747+
"errors": [
748+
{
749+
"target": "com.amazonaws.amp#AccessDeniedException"
750+
},
751+
{
752+
"target": "com.amazonaws.amp#InternalServerException"
753+
},
754+
{
755+
"target": "com.amazonaws.amp#ResourceNotFoundException"
756+
},
757+
{
758+
"target": "com.amazonaws.amp#ThrottlingException"
759+
},
760+
{
761+
"target": "com.amazonaws.amp#ValidationException"
762+
}
763+
],
764+
"traits": {
765+
"smithy.api#documentation": "Deletes tags from the specified resource.",
766+
"smithy.api#http": {
767+
"method": "DELETE",
768+
"uri": "/tags/{resourceArn}",
769+
"code": 200
770+
},
771+
"smithy.api#idempotent": {}
772+
}
773+
},
774+
"com.amazonaws.amp#UntagResourceRequest": {
775+
"type": "structure",
776+
"members": {
777+
"resourceArn": {
778+
"target": "smithy.api#String",
779+
"traits": {
780+
"smithy.api#documentation": "The ARN of the resource.",
781+
"smithy.api#httpLabel": {},
782+
"smithy.api#required": {}
783+
}
784+
},
785+
"tagKeys": {
786+
"target": "com.amazonaws.amp#TagKeys",
787+
"traits": {
788+
"smithy.api#documentation": "One or more tag keys",
789+
"smithy.api#httpQuery": "tagKeys",
790+
"smithy.api#required": {}
791+
}
792+
}
793+
}
794+
},
795+
"com.amazonaws.amp#UntagResourceResponse": {
796+
"type": "structure",
797+
"members": {}
798+
},
555799
"com.amazonaws.amp#UpdateWorkspaceAlias": {
556800
"type": "operation",
557801
"input": {
@@ -808,6 +1052,12 @@
8081052
"smithy.api#documentation": "The time when the workspace was created.",
8091053
"smithy.api#required": {}
8101054
}
1055+
},
1056+
"tags": {
1057+
"target": "com.amazonaws.amp#TagMap",
1058+
"traits": {
1059+
"smithy.api#documentation": "The tags of this workspace."
1060+
}
8111061
}
8121062
},
8131063
"traits": {
@@ -914,6 +1164,12 @@
9141164
"smithy.api#documentation": "The time when the workspace was created.",
9151165
"smithy.api#required": {}
9161166
}
1167+
},
1168+
"tags": {
1169+
"target": "com.amazonaws.amp#TagMap",
1170+
"traits": {
1171+
"smithy.api#documentation": "The tags of this workspace."
1172+
}
9171173
}
9181174
},
9191175
"traits": {

0 commit comments

Comments
 (0)