Skip to content

Commit a15e6b9

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 8afaa75 commit a15e6b9

File tree

3 files changed

+45
-57
lines changed

3 files changed

+45
-57
lines changed

codegen/sdk-codegen/aws-models/cloudcontrol.json

Lines changed: 19 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
11
{
22
"smithy": "1.0",
3-
"metadata": {
4-
"suppressions": [
5-
{
6-
"id": "HttpMethodSemantics",
7-
"namespace": "*"
8-
},
9-
{
10-
"id": "HttpResponseCodeSemantics",
11-
"namespace": "*"
12-
},
13-
{
14-
"id": "PaginatedTrait",
15-
"namespace": "*"
16-
},
17-
{
18-
"id": "HttpHeaderTrait",
19-
"namespace": "*"
20-
},
21-
{
22-
"id": "HttpUriConflict",
23-
"namespace": "*"
24-
},
25-
{
26-
"id": "Service",
27-
"namespace": "*"
28-
}
29-
]
30-
},
313
"shapes": {
324
"com.amazonaws.cloudcontrol#AlreadyExistsException": {
335
"type": "structure",
@@ -119,9 +91,7 @@
11991
"traits": {
12092
"aws.api#service": {
12193
"sdkId": "CloudControl",
122-
"arnNamespace": "cloudcontrolapi",
123-
"cloudFormationName": "CloudControl",
124-
"cloudTrailEventSource": "cloudcontrol.amazonaws.com",
94+
"cloudTrailEventSource": "cloudcontrolapi.amazonaws.com",
12595
"endpointPrefix": "cloudcontrolapi"
12696
},
12797
"aws.auth#sigv4": {
@@ -439,7 +409,8 @@
439409
"smithy.api#length": {
440410
"min": 1,
441411
"max": 1024
442-
}
412+
},
413+
"smithy.api#pattern": "^.+$"
443414
}
444415
},
445416
"com.amazonaws.cloudcontrol#GeneralServiceException": {
@@ -815,7 +786,8 @@
815786
"smithy.api#paginated": {
816787
"inputToken": "NextToken",
817788
"outputToken": "NextToken",
818-
"pageSize": "MaxResults"
789+
"pageSize": "MaxResults",
790+
"items": "ResourceRequestStatusSummaries"
819791
}
820792
}
821793
},
@@ -857,6 +829,9 @@
857829
"smithy.api#documentation": "<p>If the request doesn't return all of the remaining results, <code>NextToken</code> is set to a token. To retrieve the next set of results, call <code>ListResources</code> again and assign that token to the request object's <code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to null.</p>"
858830
}
859831
}
832+
},
833+
"traits": {
834+
"smithy.api#output": {}
860835
}
861836
},
862837
"com.amazonaws.cloudcontrol#ListResources": {
@@ -925,7 +900,8 @@
925900
"smithy.api#paginated": {
926901
"inputToken": "NextToken",
927902
"outputToken": "NextToken",
928-
"pageSize": "MaxResults"
903+
"pageSize": "MaxResults",
904+
"items": "ResourceDescriptions"
929905
}
930906
}
931907
},
@@ -992,6 +968,9 @@
992968
"smithy.api#documentation": "<p>If the request doesn't return all of the remaining results, <code>NextToken</code> is set to a token. To retrieve the next set of results, call <code>ListResources</code> again and assign that token to the request object's <code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to null.</p>"
993969
}
994970
}
971+
},
972+
"traits": {
973+
"smithy.api#output": {}
995974
}
996975
},
997976
"com.amazonaws.cloudcontrol#MaxResults": {
@@ -1134,6 +1113,7 @@
11341113
"min": 1,
11351114
"max": 65536
11361115
},
1116+
"smithy.api#pattern": "^[\\s\\S]*$",
11371117
"smithy.api#sensitive": {}
11381118
}
11391119
},
@@ -1227,8 +1207,9 @@
12271207
"traits": {
12281208
"smithy.api#length": {
12291209
"min": 1,
1230-
"max": 16384
1210+
"max": 65536
12311211
},
1212+
"smithy.api#pattern": "^[\\s\\S]*$",
12321213
"smithy.api#sensitive": {}
12331214
}
12341215
},
@@ -1395,7 +1376,8 @@
13951376
"smithy.api#length": {
13961377
"min": 0,
13971378
"max": 1024
1398-
}
1379+
},
1380+
"smithy.api#pattern": "^[\\s\\S]*$"
13991381
}
14001382
},
14011383
"com.amazonaws.cloudcontrol#ThrottlingException": {
@@ -1600,4 +1582,4 @@
16001582
}
16011583
}
16021584
}
1603-
}
1585+
}

codegen/sdk-codegen/aws-models/evidently.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,7 @@
20002000
}
20012001
],
20022002
"traits": {
2003-
"smithy.api#documentation": "<p>Retrieves the results of a running or completed experiment.</p>",
2003+
"smithy.api#documentation": "<p>Retrieves the results of a running or completed experiment. No results are available until\n there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment.</p>\n <p>Experiment\n results are available up to 63 days after the start of the experiment. They are not available after that because\n of CloudWatch data retention policies.</p>",
20042004
"smithy.api#http": {
20052005
"method": "POST",
20062006
"uri": "/projects/{project}/experiments/{experiment}/results",
@@ -2036,7 +2036,7 @@
20362036
"endTime": {
20372037
"target": "smithy.api#Timestamp",
20382038
"traits": {
2039-
"smithy.api#documentation": "<p>The date and time that the experiment ended, if it is completed.</p>"
2039+
"smithy.api#documentation": "<p>The date and time that the experiment ended, if it is completed. This must be no longer than 30 days \n after the experiment start time.</p>"
20402040
}
20412041
},
20422042
"metricNames": {
@@ -2099,6 +2099,12 @@
20992099
"traits": {
21002100
"smithy.api#documentation": "<p>The timestamps of each result returned.</p>"
21012101
}
2102+
},
2103+
"details": {
2104+
"target": "smithy.api#String",
2105+
"traits": {
2106+
"smithy.api#documentation": "<p>If the experiment doesn't yet have enough events to provide valid results, this \n field is returned with the message <code>Not enough events to generate results</code>. If there are \n enough events to provide valid results, this field is not returned.</p>"
2107+
}
21022108
}
21032109
}
21042110
},
@@ -4141,7 +4147,7 @@
41414147
"analysisCompleteTime": {
41424148
"target": "smithy.api#Timestamp",
41434149
"traits": {
4144-
"smithy.api#documentation": "<p>The date and time to end the experiment.</p>",
4150+
"smithy.api#documentation": "<p>The date and time to end the experiment. This must be no more than 30 days after\n the experiment starts.</p>",
41454151
"smithy.api#required": {}
41464152
}
41474153
}

codegen/sdk-codegen/aws-models/ssm-contacts.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@
20992099
}
21002100
],
21012101
"traits": {
2102-
"smithy.api#documentation": "<p>Adds a resource to the specified contact or escalation plan.</p>"
2102+
"smithy.api#documentation": "<p>Adds a resource policy to the specified contact or escalation plan. The resource policy\n is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see <a href=\"https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html\">Setting up\n cross-account functionality</a>.</p>"
21032103
}
21042104
},
21052105
"com.amazonaws.ssmcontacts#PutContactPolicyRequest": {
@@ -2247,6 +2247,21 @@
22472247
},
22482248
"com.amazonaws.ssmcontacts#SSMContacts": {
22492249
"type": "service",
2250+
"traits": {
2251+
"aws.api#service": {
2252+
"sdkId": "SSM Contacts",
2253+
"arnNamespace": "ssm-contacts",
2254+
"cloudFormationName": "SSMContacts",
2255+
"cloudTrailEventSource": "ssmcontacts.amazonaws.com",
2256+
"endpointPrefix": "ssm-contacts"
2257+
},
2258+
"aws.auth#sigv4": {
2259+
"name": "ssm-contacts"
2260+
},
2261+
"aws.protocols#awsJson1_1": {},
2262+
"smithy.api#documentation": "<p>Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.\n An incident is any unplanned interruption or reduction in quality of services. </p>\n <p>Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get\n services back up and running. To achieve the primary goal of reducing the\n time-to-resolution of critical incidents, Incident Manager automates response plans\n and enables responder team escalation. </p>",
2263+
"smithy.api#title": "AWS Systems Manager Incident Manager Contacts"
2264+
},
22502265
"version": "2021-05-03",
22512266
"operations": [
22522267
{
@@ -2330,22 +2345,7 @@
23302345
{
23312346
"target": "com.amazonaws.ssmcontacts#UpdateContactChannel"
23322347
}
2333-
],
2334-
"traits": {
2335-
"aws.api#service": {
2336-
"sdkId": "SSM Contacts",
2337-
"arnNamespace": "ssm-contacts",
2338-
"cloudFormationName": "SSMContacts",
2339-
"cloudTrailEventSource": "ssmcontacts.amazonaws.com",
2340-
"endpointPrefix": "ssm-contacts"
2341-
},
2342-
"aws.auth#sigv4": {
2343-
"name": "ssm-contacts"
2344-
},
2345-
"aws.protocols#awsJson1_1": {},
2346-
"smithy.api#documentation": "<p>Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.\n An incident is any unplanned interruption or reduction in quality of services. </p>\n <p>Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get\n services back up and running. To achieve the primary goal of reducing the\n time-to-resolution of critical incidents, Incident Manager automates response plans\n and enables responder team escalation. </p>",
2347-
"smithy.api#title": "AWS Systems Manager Incident Manager Contacts"
2348-
}
2348+
]
23492349
},
23502350
"com.amazonaws.ssmcontacts#SendActivationCode": {
23512351
"type": "operation",

0 commit comments

Comments
 (0)