Skip to content

Commit d98e059

Browse files
author
AWS
committed
AWS RDS DataService Update: Add support for the automatic pause/resume feature of Aurora Serverless v2.
1 parent 2914618 commit d98e059

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS RDS DataService",
4+
"contributor": "",
5+
"description": "Add support for the automatic pause/resume feature of Aurora Serverless v2."
6+
}

services/rdsdata/src/main/resources/codegen-resources/service-2.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
{"shape":"SecretsErrorException"},
2727
{"shape":"HttpEndpointNotEnabledException"},
2828
{"shape":"DatabaseErrorException"},
29+
{"shape":"DatabaseResumingException"},
2930
{"shape":"DatabaseUnavailableException"},
3031
{"shape":"TransactionNotFoundException"},
3132
{"shape":"InvalidSecretException"},
@@ -52,6 +53,7 @@
5253
{"shape":"SecretsErrorException"},
5354
{"shape":"HttpEndpointNotEnabledException"},
5455
{"shape":"DatabaseErrorException"},
56+
{"shape":"DatabaseResumingException"},
5557
{"shape":"DatabaseUnavailableException"},
5658
{"shape":"TransactionNotFoundException"},
5759
{"shape":"InvalidSecretException"},
@@ -110,7 +112,8 @@
110112
],
111113
"documentation":"<p>Runs one or more SQL statements.</p> <note> <p>This operation isn't supported for Aurora Serverless v2 and provisioned DB clusters. For Aurora Serverless v1 DB clusters, the operation is deprecated. Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation.</p> </note>",
112114
"deprecated":true,
113-
"deprecatedMessage":"The ExecuteSql API is deprecated, please use the ExecuteStatement API."
115+
"deprecatedMessage":"The ExecuteSql API is deprecated, please use the ExecuteStatement API.",
116+
"deprecatedSince":"2019-03-21"
114117
},
115118
"ExecuteStatement":{
116119
"name":"ExecuteStatement",
@@ -125,6 +128,7 @@
125128
{"shape":"SecretsErrorException"},
126129
{"shape":"HttpEndpointNotEnabledException"},
127130
{"shape":"DatabaseErrorException"},
131+
{"shape":"DatabaseResumingException"},
128132
{"shape":"DatabaseUnavailableException"},
129133
{"shape":"TransactionNotFoundException"},
130134
{"shape":"InvalidSecretException"},
@@ -467,6 +471,18 @@
467471
},
468472
"exception":true
469473
},
474+
"DatabaseResumingException":{
475+
"type":"structure",
476+
"members":{
477+
"message":{"shape":"ErrorMessage"}
478+
},
479+
"documentation":"<p>A request was canceled because the Aurora Serverless v2 DB instance was in a paused state. The Data API request automatically causes the DB instance to begin resuming. Wait a few seconds and try again.</p>",
480+
"error":{
481+
"httpStatusCode":400,
482+
"senderFault":true
483+
},
484+
"exception":true
485+
},
470486
"DatabaseUnavailableException":{
471487
"type":"structure",
472488
"members":{

0 commit comments

Comments
 (0)