Skip to content

Commit b27b3bc

Browse files
Updated API models and rebuilt service gems.
1 parent a3f158e commit b27b3bc

File tree

3,111 files changed

+15463
-5158
lines changed

Some content is hidden

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

3,111 files changed

+15463
-5158
lines changed

apis/dynamodb/2011-12-05/endpoint-rule-set-1.json

Lines changed: 373 additions & 18 deletions
Large diffs are not rendered by default.

apis/dynamodb/2011-12-05/endpoint-tests-1.json

Lines changed: 837 additions & 0 deletions
Large diffs are not rendered by default.

apis/dynamodb/2012-08-10/endpoint-rule-set-1.json

Lines changed: 373 additions & 18 deletions
Large diffs are not rendered by default.

apis/dynamodb/2012-08-10/endpoint-tests-1.json

Lines changed: 837 additions & 0 deletions
Large diffs are not rendered by default.

apis/neptune/2014-10-31/endpoint-tests-1.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -685,17 +685,6 @@
685685
"expect": {
686686
"error": "Invalid Configuration: Missing Region"
687687
}
688-
},
689-
{
690-
"documentation": "Partition doesn't support DualStack",
691-
"expect": {
692-
"error": "DualStack is enabled but this partition does not support DualStack"
693-
},
694-
"params": {
695-
"Region": "us-isob-east-1",
696-
"UseFIPS": false,
697-
"UseDualStack": true
698-
}
699688
}
700689
],
701690
"version": "1.0"

apis/neptune/2014-10-31/smoke-2.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"version": 2,
3+
"testCases": [
4+
{
5+
"id": "DescribeDBEngineVersionsSuccess",
6+
"operationName": "DescribeDBEngineVersions",
7+
"input": {},
8+
"expectation": {
9+
"success": {}
10+
},
11+
"config": {
12+
"region": "us-west-2"
13+
}
14+
},
15+
{
16+
"id": "DescribeDBInstancesFailure",
17+
"operationName": "DescribeDBInstances",
18+
"input": {
19+
"DBInstanceIdentifier": "fake-id"
20+
},
21+
"expectation": {
22+
"failure": {}
23+
},
24+
"config": {
25+
"region": "us-west-2"
26+
}
27+
}
28+
]
29+
}

apis/sagemaker-metrics/2022-09-30/api-2.json

Lines changed: 130 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@
1414
"auth":["aws.auth#sigv4"]
1515
},
1616
"operations":{
17+
"BatchGetMetrics":{
18+
"name":"BatchGetMetrics",
19+
"http":{
20+
"method":"POST",
21+
"requestUri":"/BatchGetMetrics"
22+
},
23+
"input":{"shape":"BatchGetMetricsRequest"},
24+
"output":{"shape":"BatchGetMetricsResponse"}
25+
},
1726
"BatchPutMetrics":{
1827
"name":"BatchPutMetrics",
1928
"http":{
@@ -25,6 +34,19 @@
2534
}
2635
},
2736
"shapes":{
37+
"BatchGetMetricsRequest":{
38+
"type":"structure",
39+
"required":["MetricQueries"],
40+
"members":{
41+
"MetricQueries":{"shape":"MetricQueryList"}
42+
}
43+
},
44+
"BatchGetMetricsResponse":{
45+
"type":"structure",
46+
"members":{
47+
"MetricQueryResults":{"shape":"MetricQueryResultList"}
48+
}
49+
},
2850
"BatchPutMetricsError":{
2951
"type":"structure",
3052
"members":{
@@ -60,15 +82,105 @@
6082
"type":"string",
6183
"max":120,
6284
"min":1,
63-
"pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}"
85+
"pattern":"^[a-z0-9](-*[a-z0-9]){0,119}"
6486
},
6587
"Integer":{"type":"integer"},
88+
"Long":{"type":"long"},
89+
"Message":{
90+
"type":"string",
91+
"max":2048,
92+
"pattern":".*"
93+
},
6694
"MetricName":{
6795
"type":"string",
6896
"max":255,
6997
"min":1,
7098
"pattern":".+"
7199
},
100+
"MetricQuery":{
101+
"type":"structure",
102+
"required":[
103+
"MetricName",
104+
"ResourceArn",
105+
"MetricStat",
106+
"Period",
107+
"XAxisType"
108+
],
109+
"members":{
110+
"MetricName":{"shape":"MetricName"},
111+
"ResourceArn":{"shape":"SageMakerResourceArn"},
112+
"MetricStat":{"shape":"MetricStatistic"},
113+
"Period":{"shape":"Period"},
114+
"XAxisType":{"shape":"XAxisType"},
115+
"Start":{
116+
"shape":"Long",
117+
"box":true
118+
},
119+
"End":{
120+
"shape":"Long",
121+
"box":true
122+
}
123+
}
124+
},
125+
"MetricQueryList":{
126+
"type":"list",
127+
"member":{"shape":"MetricQuery"},
128+
"max":100,
129+
"min":1
130+
},
131+
"MetricQueryResult":{
132+
"type":"structure",
133+
"required":[
134+
"Status",
135+
"XAxisValues",
136+
"MetricValues"
137+
],
138+
"members":{
139+
"Status":{"shape":"MetricQueryResultStatus"},
140+
"Message":{"shape":"Message"},
141+
"XAxisValues":{"shape":"XAxisValues"},
142+
"MetricValues":{"shape":"MetricValues"}
143+
}
144+
},
145+
"MetricQueryResultList":{
146+
"type":"list",
147+
"member":{"shape":"MetricQueryResult"},
148+
"max":100,
149+
"min":1
150+
},
151+
"MetricQueryResultStatus":{
152+
"type":"string",
153+
"enum":[
154+
"Complete",
155+
"Truncated",
156+
"InternalError",
157+
"ValidationError"
158+
]
159+
},
160+
"MetricStatistic":{
161+
"type":"string",
162+
"enum":[
163+
"Min",
164+
"Max",
165+
"Avg",
166+
"Count",
167+
"StdDev",
168+
"Last"
169+
]
170+
},
171+
"MetricValues":{
172+
"type":"list",
173+
"member":{"shape":"Double"}
174+
},
175+
"Period":{
176+
"type":"string",
177+
"enum":[
178+
"OneMinute",
179+
"FiveMinute",
180+
"OneHour",
181+
"IterationNumber"
182+
]
183+
},
72184
"PutMetricsErrorCode":{
73185
"type":"string",
74186
"enum":[
@@ -98,10 +210,26 @@
98210
"max":10,
99211
"min":1
100212
},
213+
"SageMakerResourceArn":{
214+
"type":"string",
215+
"max":2048,
216+
"pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:[a-z\\-].*/.*"
217+
},
101218
"Step":{
102219
"type":"integer",
103220
"min":0
104221
},
105-
"Timestamp":{"type":"timestamp"}
222+
"Timestamp":{"type":"timestamp"},
223+
"XAxisType":{
224+
"type":"string",
225+
"enum":[
226+
"IterationNumber",
227+
"Timestamp"
228+
]
229+
},
230+
"XAxisValues":{
231+
"type":"list",
232+
"member":{"shape":"Long"}
233+
}
106234
}
107235
}

apis/sagemaker-metrics/2022-09-30/docs-2.json

Lines changed: 95 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,20 @@
22
"version": "2.0",
33
"service": "<p>Contains all data plane API operations and data types for Amazon SageMaker Metrics. Use these APIs to put and retrieve (get) features related to your training run.</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_metrics_BatchPutMetrics.html\">BatchPutMetrics</a> </p> </li> </ul>",
44
"operations": {
5-
"BatchPutMetrics": "<p>Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio and retrieved with the <code>GetMetrics</code> API. </p>"
5+
"BatchGetMetrics": "<p>Used to retrieve training metrics from SageMaker.</p>",
6+
"BatchPutMetrics": "<p>Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio. </p>"
67
},
78
"shapes": {
9+
"BatchGetMetricsRequest": {
10+
"base": null,
11+
"refs": {
12+
}
13+
},
14+
"BatchGetMetricsResponse": {
15+
"base": null,
16+
"refs": {
17+
}
18+
},
819
"BatchPutMetricsError": {
920
"base": "<p>An error that occured when putting the metric data.</p>",
1021
"refs": {
@@ -30,13 +41,14 @@
3041
"Double": {
3142
"base": null,
3243
"refs": {
44+
"MetricValues$member": null,
3345
"RawMetricData$Value": "<p>The metric value.</p>"
3446
}
3547
},
3648
"ExperimentEntityName": {
3749
"base": null,
3850
"refs": {
39-
"BatchPutMetricsRequest$TrialComponentName": "<p>The name of the Trial Component to associate with the metrics.</p>"
51+
"BatchPutMetricsRequest$TrialComponentName": "<p>The name of the Trial Component to associate with the metrics. The Trial Component name must be entirely lowercase.</p>"
4052
}
4153
},
4254
"Integer": {
@@ -45,12 +57,75 @@
4557
"BatchPutMetricsError$MetricIndex": "<p>An index that corresponds to the metric in the request.</p>"
4658
}
4759
},
60+
"Long": {
61+
"base": null,
62+
"refs": {
63+
"MetricQuery$Start": "<p>The start time of metrics to retrieve.</p>",
64+
"MetricQuery$End": "<p>The end time of metrics to retrieve.</p>",
65+
"XAxisValues$member": null
66+
}
67+
},
68+
"Message": {
69+
"base": null,
70+
"refs": {
71+
"MetricQueryResult$Message": "<p>A message describing the status of the metric query.</p>"
72+
}
73+
},
4874
"MetricName": {
4975
"base": null,
5076
"refs": {
77+
"MetricQuery$MetricName": "<p>The name of the metric to retrieve.</p>",
5178
"RawMetricData$MetricName": "<p>The name of the metric.</p>"
5279
}
5380
},
81+
"MetricQuery": {
82+
"base": "<p>Specifies a query to retrieve training metrics from SageMaker.</p>",
83+
"refs": {
84+
"MetricQueryList$member": null
85+
}
86+
},
87+
"MetricQueryList": {
88+
"base": null,
89+
"refs": {
90+
"BatchGetMetricsRequest$MetricQueries": "<p>Queries made to retrieve training metrics from SageMaker.</p>"
91+
}
92+
},
93+
"MetricQueryResult": {
94+
"base": "<p>The result of a query to retrieve training metrics from SageMaker.</p>",
95+
"refs": {
96+
"MetricQueryResultList$member": null
97+
}
98+
},
99+
"MetricQueryResultList": {
100+
"base": null,
101+
"refs": {
102+
"BatchGetMetricsResponse$MetricQueryResults": "<p>The results of a query to retrieve training metrics from SageMaker.</p>"
103+
}
104+
},
105+
"MetricQueryResultStatus": {
106+
"base": null,
107+
"refs": {
108+
"MetricQueryResult$Status": "<p>The status of the metric query.</p>"
109+
}
110+
},
111+
"MetricStatistic": {
112+
"base": null,
113+
"refs": {
114+
"MetricQuery$MetricStat": "<p>The metrics stat type of metrics to retrieve.</p>"
115+
}
116+
},
117+
"MetricValues": {
118+
"base": null,
119+
"refs": {
120+
"MetricQueryResult$MetricValues": "<p>The metric values retrieved by the query.</p>"
121+
}
122+
},
123+
"Period": {
124+
"base": null,
125+
"refs": {
126+
"MetricQuery$Period": "<p>The time period of metrics to retrieve.</p>"
127+
}
128+
},
54129
"PutMetricsErrorCode": {
55130
"base": null,
56131
"refs": {
@@ -69,6 +144,12 @@
69144
"BatchPutMetricsRequest$MetricData": "<p>A list of raw metric values to put.</p>"
70145
}
71146
},
147+
"SageMakerResourceArn": {
148+
"base": null,
149+
"refs": {
150+
"MetricQuery$ResourceArn": "<p>The ARN of the SageMaker resource to retrieve metrics for.</p>"
151+
}
152+
},
72153
"Step": {
73154
"base": null,
74155
"refs": {
@@ -80,6 +161,18 @@
80161
"refs": {
81162
"RawMetricData$Timestamp": "<p>The time that the metric was recorded.</p>"
82163
}
164+
},
165+
"XAxisType": {
166+
"base": null,
167+
"refs": {
168+
"MetricQuery$XAxisType": "<p>The x-axis type of metrics to retrieve.</p>"
169+
}
170+
},
171+
"XAxisValues": {
172+
"base": null,
173+
"refs": {
174+
"MetricQueryResult$XAxisValues": "<p>The values for the x-axis of the metrics.</p>"
175+
}
83176
}
84177
}
85178
}

0 commit comments

Comments
 (0)