Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Sep 20, 2024
1 parent a3f158e commit b27b3bc
Show file tree
Hide file tree
Showing 3,111 changed files with 15,463 additions and 5,158 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
391 changes: 373 additions & 18 deletions apis/dynamodb/2011-12-05/endpoint-rule-set-1.json

Large diffs are not rendered by default.

837 changes: 837 additions & 0 deletions apis/dynamodb/2011-12-05/endpoint-tests-1.json

Large diffs are not rendered by default.

391 changes: 373 additions & 18 deletions apis/dynamodb/2012-08-10/endpoint-rule-set-1.json

Large diffs are not rendered by default.

837 changes: 837 additions & 0 deletions apis/dynamodb/2012-08-10/endpoint-tests-1.json

Large diffs are not rendered by default.

11 changes: 0 additions & 11 deletions apis/neptune/2014-10-31/endpoint-tests-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -685,17 +685,6 @@
"expect": {
"error": "Invalid Configuration: Missing Region"
}
},
{
"documentation": "Partition doesn't support DualStack",
"expect": {
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": true
}
}
],
"version": "1.0"
Expand Down
29 changes: 29 additions & 0 deletions apis/neptune/2014-10-31/smoke-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": 2,
"testCases": [
{
"id": "DescribeDBEngineVersionsSuccess",
"operationName": "DescribeDBEngineVersions",
"input": {},
"expectation": {
"success": {}
},
"config": {
"region": "us-west-2"
}
},
{
"id": "DescribeDBInstancesFailure",
"operationName": "DescribeDBInstances",
"input": {
"DBInstanceIdentifier": "fake-id"
},
"expectation": {
"failure": {}
},
"config": {
"region": "us-west-2"
}
}
]
}
132 changes: 130 additions & 2 deletions apis/sagemaker-metrics/2022-09-30/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
"auth":["aws.auth#sigv4"]
},
"operations":{
"BatchGetMetrics":{
"name":"BatchGetMetrics",
"http":{
"method":"POST",
"requestUri":"/BatchGetMetrics"
},
"input":{"shape":"BatchGetMetricsRequest"},
"output":{"shape":"BatchGetMetricsResponse"}
},
"BatchPutMetrics":{
"name":"BatchPutMetrics",
"http":{
Expand All @@ -25,6 +34,19 @@
}
},
"shapes":{
"BatchGetMetricsRequest":{
"type":"structure",
"required":["MetricQueries"],
"members":{
"MetricQueries":{"shape":"MetricQueryList"}
}
},
"BatchGetMetricsResponse":{
"type":"structure",
"members":{
"MetricQueryResults":{"shape":"MetricQueryResultList"}
}
},
"BatchPutMetricsError":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -60,15 +82,105 @@
"type":"string",
"max":120,
"min":1,
"pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}"
"pattern":"^[a-z0-9](-*[a-z0-9]){0,119}"
},
"Integer":{"type":"integer"},
"Long":{"type":"long"},
"Message":{
"type":"string",
"max":2048,
"pattern":".*"
},
"MetricName":{
"type":"string",
"max":255,
"min":1,
"pattern":".+"
},
"MetricQuery":{
"type":"structure",
"required":[
"MetricName",
"ResourceArn",
"MetricStat",
"Period",
"XAxisType"
],
"members":{
"MetricName":{"shape":"MetricName"},
"ResourceArn":{"shape":"SageMakerResourceArn"},
"MetricStat":{"shape":"MetricStatistic"},
"Period":{"shape":"Period"},
"XAxisType":{"shape":"XAxisType"},
"Start":{
"shape":"Long",
"box":true
},
"End":{
"shape":"Long",
"box":true
}
}
},
"MetricQueryList":{
"type":"list",
"member":{"shape":"MetricQuery"},
"max":100,
"min":1
},
"MetricQueryResult":{
"type":"structure",
"required":[
"Status",
"XAxisValues",
"MetricValues"
],
"members":{
"Status":{"shape":"MetricQueryResultStatus"},
"Message":{"shape":"Message"},
"XAxisValues":{"shape":"XAxisValues"},
"MetricValues":{"shape":"MetricValues"}
}
},
"MetricQueryResultList":{
"type":"list",
"member":{"shape":"MetricQueryResult"},
"max":100,
"min":1
},
"MetricQueryResultStatus":{
"type":"string",
"enum":[
"Complete",
"Truncated",
"InternalError",
"ValidationError"
]
},
"MetricStatistic":{
"type":"string",
"enum":[
"Min",
"Max",
"Avg",
"Count",
"StdDev",
"Last"
]
},
"MetricValues":{
"type":"list",
"member":{"shape":"Double"}
},
"Period":{
"type":"string",
"enum":[
"OneMinute",
"FiveMinute",
"OneHour",
"IterationNumber"
]
},
"PutMetricsErrorCode":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -98,10 +210,26 @@
"max":10,
"min":1
},
"SageMakerResourceArn":{
"type":"string",
"max":2048,
"pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:[a-z\\-].*/.*"
},
"Step":{
"type":"integer",
"min":0
},
"Timestamp":{"type":"timestamp"}
"Timestamp":{"type":"timestamp"},
"XAxisType":{
"type":"string",
"enum":[
"IterationNumber",
"Timestamp"
]
},
"XAxisValues":{
"type":"list",
"member":{"shape":"Long"}
}
}
}
97 changes: 95 additions & 2 deletions apis/sagemaker-metrics/2022-09-30/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@
"version": "2.0",
"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>",
"operations": {
"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>"
"BatchGetMetrics": "<p>Used to retrieve training metrics from SageMaker.</p>",
"BatchPutMetrics": "<p>Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio. </p>"
},
"shapes": {
"BatchGetMetricsRequest": {
"base": null,
"refs": {
}
},
"BatchGetMetricsResponse": {
"base": null,
"refs": {
}
},
"BatchPutMetricsError": {
"base": "<p>An error that occured when putting the metric data.</p>",
"refs": {
Expand All @@ -30,13 +41,14 @@
"Double": {
"base": null,
"refs": {
"MetricValues$member": null,
"RawMetricData$Value": "<p>The metric value.</p>"
}
},
"ExperimentEntityName": {
"base": null,
"refs": {
"BatchPutMetricsRequest$TrialComponentName": "<p>The name of the Trial Component to associate with the metrics.</p>"
"BatchPutMetricsRequest$TrialComponentName": "<p>The name of the Trial Component to associate with the metrics. The Trial Component name must be entirely lowercase.</p>"
}
},
"Integer": {
Expand All @@ -45,12 +57,75 @@
"BatchPutMetricsError$MetricIndex": "<p>An index that corresponds to the metric in the request.</p>"
}
},
"Long": {
"base": null,
"refs": {
"MetricQuery$Start": "<p>The start time of metrics to retrieve.</p>",
"MetricQuery$End": "<p>The end time of metrics to retrieve.</p>",
"XAxisValues$member": null
}
},
"Message": {
"base": null,
"refs": {
"MetricQueryResult$Message": "<p>A message describing the status of the metric query.</p>"
}
},
"MetricName": {
"base": null,
"refs": {
"MetricQuery$MetricName": "<p>The name of the metric to retrieve.</p>",
"RawMetricData$MetricName": "<p>The name of the metric.</p>"
}
},
"MetricQuery": {
"base": "<p>Specifies a query to retrieve training metrics from SageMaker.</p>",
"refs": {
"MetricQueryList$member": null
}
},
"MetricQueryList": {
"base": null,
"refs": {
"BatchGetMetricsRequest$MetricQueries": "<p>Queries made to retrieve training metrics from SageMaker.</p>"
}
},
"MetricQueryResult": {
"base": "<p>The result of a query to retrieve training metrics from SageMaker.</p>",
"refs": {
"MetricQueryResultList$member": null
}
},
"MetricQueryResultList": {
"base": null,
"refs": {
"BatchGetMetricsResponse$MetricQueryResults": "<p>The results of a query to retrieve training metrics from SageMaker.</p>"
}
},
"MetricQueryResultStatus": {
"base": null,
"refs": {
"MetricQueryResult$Status": "<p>The status of the metric query.</p>"
}
},
"MetricStatistic": {
"base": null,
"refs": {
"MetricQuery$MetricStat": "<p>The metrics stat type of metrics to retrieve.</p>"
}
},
"MetricValues": {
"base": null,
"refs": {
"MetricQueryResult$MetricValues": "<p>The metric values retrieved by the query.</p>"
}
},
"Period": {
"base": null,
"refs": {
"MetricQuery$Period": "<p>The time period of metrics to retrieve.</p>"
}
},
"PutMetricsErrorCode": {
"base": null,
"refs": {
Expand All @@ -69,6 +144,12 @@
"BatchPutMetricsRequest$MetricData": "<p>A list of raw metric values to put.</p>"
}
},
"SageMakerResourceArn": {
"base": null,
"refs": {
"MetricQuery$ResourceArn": "<p>The ARN of the SageMaker resource to retrieve metrics for.</p>"
}
},
"Step": {
"base": null,
"refs": {
Expand All @@ -80,6 +161,18 @@
"refs": {
"RawMetricData$Timestamp": "<p>The time that the metric was recorded.</p>"
}
},
"XAxisType": {
"base": null,
"refs": {
"MetricQuery$XAxisType": "<p>The x-axis type of metrics to retrieve.</p>"
}
},
"XAxisValues": {
"base": null,
"refs": {
"MetricQueryResult$XAxisValues": "<p>The values for the x-axis of the metrics.</p>"
}
}
}
}
Loading

0 comments on commit b27b3bc

Please sign in to comment.