Skip to content

Commit 890e918

Browse files
committed
chore(models): update api models as of 09/10/2021
1 parent 1fdae73 commit 890e918

23 files changed

+9205
-279
lines changed

codegen/sdk-codegen/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": {

codegen/sdk-codegen/aws-models/chime-sdk-identity.2021-04-20.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
"name": "chime"
335335
},
336336
"aws.protocols#restJson1": {},
337-
"smithy.api#documentation": "<p>The Amazon Chime SDK Identity APIs in this section allow software developers to create\n and manage unique instances of their messaging applications. These APIs provide the\n overarching framework for creating and sending messages. For more information about the\n identity APIs, refer to .</p>",
337+
"smithy.api#documentation": "<p>The Amazon Chime SDK Identity APIs in this section allow software developers to create\n and manage unique instances of their messaging applications. These APIs provide the\n overarching framework for creating and sending messages. For more information about the\n identity APIs, refer to <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Identity.html\">Amazon Chime SDK identity</a>.</p>",
338338
"smithy.api#title": "Amazon Chime SDK Identity"
339339
}
340340
},

codegen/sdk-codegen/aws-models/chime-sdk-messaging.2021-05-15.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@
877877
"name": "chime"
878878
},
879879
"aws.protocols#restJson1": {},
880-
"smithy.api#documentation": "<p>The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see .</p>",
880+
"smithy.api#documentation": "<p>The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging\">Amazon Chime SDK messaging</a>\n </p>",
881881
"smithy.api#title": "Amazon Chime SDK Messaging"
882882
}
883883
},

codegen/sdk-codegen/aws-models/cloudformation.2010-05-15.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
}
5959
},
6060
"traits": {
61-
"smithy.api#documentation": "<p>Structure that contains the results of the account gate function which\n CloudFormation invokes, if present, before proceeding with a stack set operation in an\n account and Region.</p>\n <p>For each account and Region, CloudFormation lets you specify a Lamdba function\n that encapsulates any requirements that must be met before CloudFormation can proceed with\n a stack set operation in that account and Region. CloudFormation invokes the function each\n time a stack set operation is requested for that account and Region; if the function\n returns <code>FAILED</code>, CloudFormation cancels the operation in that account and\n Region, and sets the stack set operation result status for that account and Region to\n <code>FAILED</code>. </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html\">Configuring a\n target account gate</a>.</p>"
61+
"smithy.api#documentation": "<p>Structure that contains the results of the account gate function which CloudFormation invokes, if present, before proceeding with a stack set operation in an\n account and Region.</p>\n <p>For each account and Region, CloudFormation lets you specify a Lambda\n function that encapsulates any requirements that must be met before CloudFormation\n can proceed with a stack set operation in that account and Region. CloudFormation\n invokes the function each time a stack set operation is requested for that account and\n Region; if the function returns <code>FAILED</code>, CloudFormation cancels the\n operation in that account and Region, and sets the stack set operation result status for\n that account and Region to <code>FAILED</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html\">Configuring a\n target account gate</a>.</p>"
6262
}
6363
},
6464
"com.amazonaws.cloudformation#AccountGateStatus": {
@@ -2553,7 +2553,7 @@
25532553
"target": "com.amazonaws.cloudformation#DescribeStackResourceDriftsOutput"
25542554
},
25552555
"traits": {
2556-
"smithy.api#documentation": "<p>Returns drift information for the resources that have been checked for drift in the\n specified stack. This includes actual and expected configuration values for resources where\n CloudFormation detects configuration drift.</p>\n <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack\n resource that has been checked for drift. Resources that have not yet been checked for\n drift are not included. Resources that do not currently support drift detection are not\n checked, and so not included. For a list of resources that support drift detection, see\n <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html\">Resources that Support Drift Detection</a>.</p>\n <p>Use <a>DetectStackResourceDrift</a> to detect drift on individual\n resources, or <a>DetectStackDrift</a> to detect drift on all supported resources\n for a given stack.</p>",
2556+
"smithy.api#documentation": "<p>Returns drift information for the resources that have been checked for drift in the\n specified stack. This includes actual and expected configuration values for resources where\n CloudFormation detects configuration drift.</p>\n <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack\n resource that has been checked for drift. Resources that haven't yet been checked for drift\n are not included. Resources that do not currently support drift detection are not checked,\n and so not included. For a list of resources that support drift detection, see <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html\">Resources that Support Drift Detection</a>.</p>\n <p>Use <a>DetectStackResourceDrift</a> to detect drift on individual\n resources, or <a>DetectStackDrift</a> to detect drift on all supported resources\n for a given stack.</p>",
25572557
"smithy.api#paginated": {
25582558
"inputToken": "NextToken",
25592559
"outputToken": "NextToken",
@@ -2808,7 +2808,7 @@
28082808
"target": "com.amazonaws.cloudformation#DescribeStacksOutput"
28092809
},
28102810
"traits": {
2811-
"smithy.api#documentation": "<p>Returns the description for the specified stack; if no stack name was specified, then\n it returns the description for all the stacks created.</p>\n <note>\n <p>If the stack does not exist, an <code>AmazonCloudFormationException</code> is\n returned.</p>\n </note>",
2811+
"smithy.api#documentation": "<p>Returns the description for the specified stack; if no stack name was specified, then\n it returns the description for all the stacks created.</p>\n <note>\n <p>If the stack does not exist, an <code>ValidationError</code> is\n returned.</p>\n </note>",
28122812
"smithy.api#paginated": {
28132813
"inputToken": "NextToken",
28142814
"outputToken": "NextToken",
@@ -4154,7 +4154,7 @@
41544154
"Capabilities": {
41554155
"target": "com.amazonaws.cloudformation#Capabilities",
41564156
"traits": {
4157-
"smithy.api#documentation": "<p>The capabilities found within the template. If your template contains IAM resources,\n you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when\n you use the <a>CreateStack</a> or <a>UpdateStack</a> actions with\n your template; otherwise, those actions return an InsufficientCapabilities error.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities\">Acknowledging IAM Resources in CloudFormation Templates</a>.</p>"
4157+
"smithy.api#documentation": "<p>The capabilities found within the template. If your template contains IAM resources,\n you must specify the <code>CAPABILITY_IAM</code> or <code>CAPABILITY_NAMED_IAM</code> value for this parameter when\n you use the <a>CreateStack</a> or <a>UpdateStack</a> actions with\n your template; otherwise, those actions return an <code>InsufficientCapabilities</code> error.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities\">Acknowledging IAM Resources in CloudFormation Templates</a>.</p>"
41584158
}
41594159
},
41604160
"CapabilitiesReason": {

0 commit comments

Comments
 (0)