|
5 | 5 | "endpointPrefix":"docdb-elastic",
|
6 | 6 | "jsonVersion":"1.1",
|
7 | 7 | "protocol":"rest-json",
|
| 8 | + "protocols":["rest-json"], |
8 | 9 | "serviceAbbreviation":"DocDB Elastic",
|
9 | 10 | "serviceFullName":"Amazon DocumentDB Elastic Clusters",
|
10 | 11 | "serviceId":"DocDB Elastic",
|
11 | 12 | "signatureVersion":"v4",
|
12 | 13 | "signingName":"docdb-elastic",
|
13 |
| - "uid":"docdb-elastic-2022-11-28" |
| 14 | + "uid":"docdb-elastic-2022-11-28", |
| 15 | + "auth":["aws.auth#sigv4"] |
14 | 16 | },
|
15 | 17 | "operations":{
|
| 18 | + "ApplyPendingMaintenanceAction":{ |
| 19 | + "name":"ApplyPendingMaintenanceAction", |
| 20 | + "http":{ |
| 21 | + "method":"POST", |
| 22 | + "requestUri":"/pending-action", |
| 23 | + "responseCode":200 |
| 24 | + }, |
| 25 | + "input":{"shape":"ApplyPendingMaintenanceActionInput"}, |
| 26 | + "output":{"shape":"ApplyPendingMaintenanceActionOutput"}, |
| 27 | + "errors":[ |
| 28 | + {"shape":"ThrottlingException"}, |
| 29 | + {"shape":"ValidationException"}, |
| 30 | + {"shape":"ConflictException"}, |
| 31 | + {"shape":"InternalServerException"}, |
| 32 | + {"shape":"ResourceNotFoundException"}, |
| 33 | + {"shape":"AccessDeniedException"} |
| 34 | + ], |
| 35 | + "documentation":"<p>The type of pending maintenance action to be applied to the resource.</p>", |
| 36 | + "idempotent":true |
| 37 | + }, |
16 | 38 | "CopyClusterSnapshot":{
|
17 | 39 | "name":"CopyClusterSnapshot",
|
18 | 40 | "http":{
|
|
151 | 173 | ],
|
152 | 174 | "documentation":"<p>Returns information about a specific elastic cluster snapshot</p>"
|
153 | 175 | },
|
| 176 | + "GetPendingMaintenanceAction":{ |
| 177 | + "name":"GetPendingMaintenanceAction", |
| 178 | + "http":{ |
| 179 | + "method":"GET", |
| 180 | + "requestUri":"/pending-action/{resourceArn}", |
| 181 | + "responseCode":200 |
| 182 | + }, |
| 183 | + "input":{"shape":"GetPendingMaintenanceActionInput"}, |
| 184 | + "output":{"shape":"GetPendingMaintenanceActionOutput"}, |
| 185 | + "errors":[ |
| 186 | + {"shape":"ThrottlingException"}, |
| 187 | + {"shape":"ValidationException"}, |
| 188 | + {"shape":"ConflictException"}, |
| 189 | + {"shape":"InternalServerException"}, |
| 190 | + {"shape":"ResourceNotFoundException"}, |
| 191 | + {"shape":"AccessDeniedException"} |
| 192 | + ], |
| 193 | + "documentation":"<p>Retrieves all maintenance actions that are pending.</p>" |
| 194 | + }, |
154 | 195 | "ListClusterSnapshots":{
|
155 | 196 | "name":"ListClusterSnapshots",
|
156 | 197 | "http":{
|
|
185 | 226 | ],
|
186 | 227 | "documentation":"<p>Returns information about provisioned Amazon DocumentDB elastic clusters.</p>"
|
187 | 228 | },
|
| 229 | + "ListPendingMaintenanceActions":{ |
| 230 | + "name":"ListPendingMaintenanceActions", |
| 231 | + "http":{ |
| 232 | + "method":"GET", |
| 233 | + "requestUri":"/pending-actions", |
| 234 | + "responseCode":200 |
| 235 | + }, |
| 236 | + "input":{"shape":"ListPendingMaintenanceActionsInput"}, |
| 237 | + "output":{"shape":"ListPendingMaintenanceActionsOutput"}, |
| 238 | + "errors":[ |
| 239 | + {"shape":"ThrottlingException"}, |
| 240 | + {"shape":"ValidationException"}, |
| 241 | + {"shape":"InternalServerException"}, |
| 242 | + {"shape":"AccessDeniedException"} |
| 243 | + ], |
| 244 | + "documentation":"<p>Retrieves a list of all maintenance actions that are pending.</p>" |
| 245 | + }, |
188 | 246 | "ListTagsForResource":{
|
189 | 247 | "name":"ListTagsForResource",
|
190 | 248 | "http":{
|
|
334 | 392 | },
|
335 | 393 | "exception":true
|
336 | 394 | },
|
| 395 | + "ApplyPendingMaintenanceActionInput":{ |
| 396 | + "type":"structure", |
| 397 | + "required":[ |
| 398 | + "applyAction", |
| 399 | + "optInType", |
| 400 | + "resourceArn" |
| 401 | + ], |
| 402 | + "members":{ |
| 403 | + "applyAction":{ |
| 404 | + "shape":"InputString", |
| 405 | + "documentation":"<p>The pending maintenance action to apply to the resource.</p> <p>Valid actions are:</p> <ul> <li> <p> <code>ENGINE_UPDATE<i/> </code> </p> </li> <li> <p> <code>ENGINE_UPGRADE</code> </p> </li> <li> <p> <code>SECURITY_UPDATE</code> </p> </li> <li> <p> <code>OS_UPDATE</code> </p> </li> <li> <p> <code>MASTER_USER_PASSWORD_UPDATE</code> </p> </li> </ul>" |
| 406 | + }, |
| 407 | + "applyOn":{ |
| 408 | + "shape":"InputString", |
| 409 | + "documentation":"<p>A specific date to apply the pending maintenance action. Required if opt-in-type is <code>APPLY_ON</code>. Format: <code>yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm</code> </p>" |
| 410 | + }, |
| 411 | + "optInType":{ |
| 412 | + "shape":"OptInType", |
| 413 | + "documentation":"<p>A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type <code>IMMEDIATE</code> can't be undone.</p>" |
| 414 | + }, |
| 415 | + "resourceArn":{ |
| 416 | + "shape":"InputString", |
| 417 | + "documentation":"<p>The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.</p>" |
| 418 | + } |
| 419 | + } |
| 420 | + }, |
| 421 | + "ApplyPendingMaintenanceActionOutput":{ |
| 422 | + "type":"structure", |
| 423 | + "required":["resourcePendingMaintenanceAction"], |
| 424 | + "members":{ |
| 425 | + "resourcePendingMaintenanceAction":{ |
| 426 | + "shape":"ResourcePendingMaintenanceAction", |
| 427 | + "documentation":"<p>The output of the pending maintenance action being applied.</p>" |
| 428 | + } |
| 429 | + } |
| 430 | + }, |
337 | 431 | "Arn":{
|
338 | 432 | "type":"string",
|
339 | 433 | "max":1011,
|
|
841 | 935 | }
|
842 | 936 | }
|
843 | 937 | },
|
| 938 | + "GetPendingMaintenanceActionInput":{ |
| 939 | + "type":"structure", |
| 940 | + "required":["resourceArn"], |
| 941 | + "members":{ |
| 942 | + "resourceArn":{ |
| 943 | + "shape":"InputString", |
| 944 | + "documentation":"<p>Retrieves pending maintenance actions for a specific Amazon Resource Name (ARN).</p>", |
| 945 | + "location":"uri", |
| 946 | + "locationName":"resourceArn" |
| 947 | + } |
| 948 | + } |
| 949 | + }, |
| 950 | + "GetPendingMaintenanceActionOutput":{ |
| 951 | + "type":"structure", |
| 952 | + "required":["resourcePendingMaintenanceAction"], |
| 953 | + "members":{ |
| 954 | + "resourcePendingMaintenanceAction":{ |
| 955 | + "shape":"ResourcePendingMaintenanceAction", |
| 956 | + "documentation":"<p>Provides information about a pending maintenance action for a resource.</p>" |
| 957 | + } |
| 958 | + } |
| 959 | + }, |
| 960 | + "InputString":{ |
| 961 | + "type":"string", |
| 962 | + "max":256, |
| 963 | + "min":1 |
| 964 | + }, |
844 | 965 | "Integer":{
|
845 | 966 | "type":"integer",
|
846 | 967 | "box":true
|
|
941 | 1062 | }
|
942 | 1063 | }
|
943 | 1064 | },
|
| 1065 | + "ListPendingMaintenanceActionsInput":{ |
| 1066 | + "type":"structure", |
| 1067 | + "members":{ |
| 1068 | + "maxResults":{ |
| 1069 | + "shape":"ListPendingMaintenanceActionsInputMaxResultsInteger", |
| 1070 | + "documentation":"<p>The maximum number of results to include in the response. If more records exist than the specified <code>maxResults</code> value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.</p>", |
| 1071 | + "location":"querystring", |
| 1072 | + "locationName":"maxResults" |
| 1073 | + }, |
| 1074 | + "nextToken":{ |
| 1075 | + "shape":"PaginationToken", |
| 1076 | + "documentation":"<p>An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>", |
| 1077 | + "location":"querystring", |
| 1078 | + "locationName":"nextToken" |
| 1079 | + } |
| 1080 | + } |
| 1081 | + }, |
| 1082 | + "ListPendingMaintenanceActionsInputMaxResultsInteger":{ |
| 1083 | + "type":"integer", |
| 1084 | + "box":true, |
| 1085 | + "max":100, |
| 1086 | + "min":1 |
| 1087 | + }, |
| 1088 | + "ListPendingMaintenanceActionsOutput":{ |
| 1089 | + "type":"structure", |
| 1090 | + "required":["resourcePendingMaintenanceActions"], |
| 1091 | + "members":{ |
| 1092 | + "nextToken":{ |
| 1093 | + "shape":"PaginationToken", |
| 1094 | + "documentation":"<p>An optional pagination token provided by a previous request. If this parameter is displayed, the responses will include only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>" |
| 1095 | + }, |
| 1096 | + "resourcePendingMaintenanceActions":{ |
| 1097 | + "shape":"ResourcePendingMaintenanceActionList", |
| 1098 | + "documentation":"<p>Provides information about a pending maintenance action for a resource.</p>" |
| 1099 | + } |
| 1100 | + } |
| 1101 | + }, |
944 | 1102 | "ListTagsForResourceRequest":{
|
945 | 1103 | "type":"structure",
|
946 | 1104 | "required":["resourceArn"],
|
|
962 | 1120 | }
|
963 | 1121 | }
|
964 | 1122 | },
|
| 1123 | + "OptInType":{ |
| 1124 | + "type":"string", |
| 1125 | + "enum":[ |
| 1126 | + "IMMEDIATE", |
| 1127 | + "NEXT_MAINTENANCE", |
| 1128 | + "APPLY_ON", |
| 1129 | + "UNDO_OPT_IN" |
| 1130 | + ] |
| 1131 | + }, |
965 | 1132 | "PaginationToken":{
|
966 | 1133 | "type":"string",
|
967 |
| - "documentation":"<p>Token or cursor used in paginated operations.</p> <p>When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve.</p> <p>This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy.</p>" |
| 1134 | + "documentation":"<pre><code>Token or cursor used in paginated operations. When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve. This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy. </code></pre>" |
968 | 1135 | },
|
969 | 1136 | "Password":{
|
970 | 1137 | "type":"string",
|
971 | 1138 | "sensitive":true
|
972 | 1139 | },
|
| 1140 | + "PendingMaintenanceActionDetails":{ |
| 1141 | + "type":"structure", |
| 1142 | + "required":["action"], |
| 1143 | + "members":{ |
| 1144 | + "action":{ |
| 1145 | + "shape":"String", |
| 1146 | + "documentation":"<p>Displays the specific action of a pending maintenance action.</p>" |
| 1147 | + }, |
| 1148 | + "autoAppliedAfterDate":{ |
| 1149 | + "shape":"String", |
| 1150 | + "documentation":"<p>Displays the date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any <code>NEXT_MAINTENANCE</code> <code>optInType</code> requests are ignored.</p>" |
| 1151 | + }, |
| 1152 | + "currentApplyDate":{ |
| 1153 | + "shape":"String", |
| 1154 | + "documentation":"<p>Displays the effective date when the pending maintenance action is applied to the resource.</p>" |
| 1155 | + }, |
| 1156 | + "description":{ |
| 1157 | + "shape":"String", |
| 1158 | + "documentation":"<p>Displays a description providing more detail about the maintenance action.</p>" |
| 1159 | + }, |
| 1160 | + "forcedApplyDate":{ |
| 1161 | + "shape":"String", |
| 1162 | + "documentation":"<p>Displays the date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any <code>IMMEDIATE</code> <code>optInType</code> requests are ignored.</p>" |
| 1163 | + }, |
| 1164 | + "optInStatus":{ |
| 1165 | + "shape":"String", |
| 1166 | + "documentation":"<p>Displays the type of <code>optInType</code> request that has been received for the resource.</p>" |
| 1167 | + } |
| 1168 | + }, |
| 1169 | + "documentation":"<p>Retrieves the details of maintenance actions that are pending.</p>" |
| 1170 | + }, |
| 1171 | + "PendingMaintenanceActionDetailsList":{ |
| 1172 | + "type":"list", |
| 1173 | + "member":{"shape":"PendingMaintenanceActionDetails"} |
| 1174 | + }, |
973 | 1175 | "ResourceNotFoundException":{
|
974 | 1176 | "type":"structure",
|
975 | 1177 | "required":[
|
|
998 | 1200 | },
|
999 | 1201 | "exception":true
|
1000 | 1202 | },
|
| 1203 | + "ResourcePendingMaintenanceAction":{ |
| 1204 | + "type":"structure", |
| 1205 | + "members":{ |
| 1206 | + "pendingMaintenanceActionDetails":{ |
| 1207 | + "shape":"PendingMaintenanceActionDetailsList", |
| 1208 | + "documentation":"<p>Provides information about a pending maintenance action for a resource.</p>" |
| 1209 | + }, |
| 1210 | + "resourceArn":{ |
| 1211 | + "shape":"String", |
| 1212 | + "documentation":"<p>The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.</p>" |
| 1213 | + } |
| 1214 | + }, |
| 1215 | + "documentation":"<p>Provides information about a pending maintenance action for a resource.</p>" |
| 1216 | + }, |
| 1217 | + "ResourcePendingMaintenanceActionList":{ |
| 1218 | + "type":"list", |
| 1219 | + "member":{"shape":"ResourcePendingMaintenanceAction"} |
| 1220 | + }, |
1001 | 1221 | "RestoreClusterFromSnapshotInput":{
|
1002 | 1222 | "type":"structure",
|
1003 | 1223 | "required":[
|
|
1138 | 1358 | "COPYING",
|
1139 | 1359 | "STARTING",
|
1140 | 1360 | "STOPPING",
|
1141 |
| - "STOPPED" |
| 1361 | + "STOPPED", |
| 1362 | + "MAINTENANCE", |
| 1363 | + "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" |
1142 | 1364 | ]
|
1143 | 1365 | },
|
1144 | 1366 | "StopClusterInput":{
|
|
0 commit comments