|
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 | + "idempotent":true |
| 36 | + }, |
16 | 37 | "CopyClusterSnapshot":{
|
17 | 38 | "name":"CopyClusterSnapshot",
|
18 | 39 | "http":{
|
|
144 | 165 | {"shape":"AccessDeniedException"}
|
145 | 166 | ]
|
146 | 167 | },
|
| 168 | + "GetPendingMaintenanceAction":{ |
| 169 | + "name":"GetPendingMaintenanceAction", |
| 170 | + "http":{ |
| 171 | + "method":"GET", |
| 172 | + "requestUri":"/pending-action/{resourceArn}", |
| 173 | + "responseCode":200 |
| 174 | + }, |
| 175 | + "input":{"shape":"GetPendingMaintenanceActionInput"}, |
| 176 | + "output":{"shape":"GetPendingMaintenanceActionOutput"}, |
| 177 | + "errors":[ |
| 178 | + {"shape":"ThrottlingException"}, |
| 179 | + {"shape":"ValidationException"}, |
| 180 | + {"shape":"ConflictException"}, |
| 181 | + {"shape":"InternalServerException"}, |
| 182 | + {"shape":"ResourceNotFoundException"}, |
| 183 | + {"shape":"AccessDeniedException"} |
| 184 | + ] |
| 185 | + }, |
147 | 186 | "ListClusterSnapshots":{
|
148 | 187 | "name":"ListClusterSnapshots",
|
149 | 188 | "http":{
|
|
176 | 215 | {"shape":"AccessDeniedException"}
|
177 | 216 | ]
|
178 | 217 | },
|
| 218 | + "ListPendingMaintenanceActions":{ |
| 219 | + "name":"ListPendingMaintenanceActions", |
| 220 | + "http":{ |
| 221 | + "method":"GET", |
| 222 | + "requestUri":"/pending-actions", |
| 223 | + "responseCode":200 |
| 224 | + }, |
| 225 | + "input":{"shape":"ListPendingMaintenanceActionsInput"}, |
| 226 | + "output":{"shape":"ListPendingMaintenanceActionsOutput"}, |
| 227 | + "errors":[ |
| 228 | + {"shape":"ThrottlingException"}, |
| 229 | + {"shape":"ValidationException"}, |
| 230 | + {"shape":"InternalServerException"}, |
| 231 | + {"shape":"AccessDeniedException"} |
| 232 | + ] |
| 233 | + }, |
179 | 234 | "ListTagsForResource":{
|
180 | 235 | "name":"ListTagsForResource",
|
181 | 236 | "http":{
|
|
314 | 369 | },
|
315 | 370 | "exception":true
|
316 | 371 | },
|
| 372 | + "ApplyPendingMaintenanceActionInput":{ |
| 373 | + "type":"structure", |
| 374 | + "required":[ |
| 375 | + "applyAction", |
| 376 | + "optInType", |
| 377 | + "resourceArn" |
| 378 | + ], |
| 379 | + "members":{ |
| 380 | + "applyAction":{"shape":"InputString"}, |
| 381 | + "applyOn":{"shape":"InputString"}, |
| 382 | + "optInType":{"shape":"OptInType"}, |
| 383 | + "resourceArn":{"shape":"InputString"} |
| 384 | + } |
| 385 | + }, |
| 386 | + "ApplyPendingMaintenanceActionOutput":{ |
| 387 | + "type":"structure", |
| 388 | + "required":["resourcePendingMaintenanceAction"], |
| 389 | + "members":{ |
| 390 | + "resourcePendingMaintenanceAction":{"shape":"ResourcePendingMaintenanceAction"} |
| 391 | + } |
| 392 | + }, |
317 | 393 | "Arn":{
|
318 | 394 | "type":"string",
|
319 | 395 | "max":1011,
|
|
615 | 691 | "snapshot":{"shape":"ClusterSnapshot"}
|
616 | 692 | }
|
617 | 693 | },
|
| 694 | + "GetPendingMaintenanceActionInput":{ |
| 695 | + "type":"structure", |
| 696 | + "required":["resourceArn"], |
| 697 | + "members":{ |
| 698 | + "resourceArn":{ |
| 699 | + "shape":"InputString", |
| 700 | + "location":"uri", |
| 701 | + "locationName":"resourceArn" |
| 702 | + } |
| 703 | + } |
| 704 | + }, |
| 705 | + "GetPendingMaintenanceActionOutput":{ |
| 706 | + "type":"structure", |
| 707 | + "required":["resourcePendingMaintenanceAction"], |
| 708 | + "members":{ |
| 709 | + "resourcePendingMaintenanceAction":{"shape":"ResourcePendingMaintenanceAction"} |
| 710 | + } |
| 711 | + }, |
| 712 | + "InputString":{ |
| 713 | + "type":"string", |
| 714 | + "max":256, |
| 715 | + "min":1 |
| 716 | + }, |
618 | 717 | "Integer":{
|
619 | 718 | "type":"integer",
|
620 | 719 | "box":true
|
|
696 | 795 | "nextToken":{"shape":"PaginationToken"}
|
697 | 796 | }
|
698 | 797 | },
|
| 798 | + "ListPendingMaintenanceActionsInput":{ |
| 799 | + "type":"structure", |
| 800 | + "members":{ |
| 801 | + "maxResults":{ |
| 802 | + "shape":"ListPendingMaintenanceActionsInputMaxResultsInteger", |
| 803 | + "location":"querystring", |
| 804 | + "locationName":"maxResults" |
| 805 | + }, |
| 806 | + "nextToken":{ |
| 807 | + "shape":"PaginationToken", |
| 808 | + "location":"querystring", |
| 809 | + "locationName":"nextToken" |
| 810 | + } |
| 811 | + } |
| 812 | + }, |
| 813 | + "ListPendingMaintenanceActionsInputMaxResultsInteger":{ |
| 814 | + "type":"integer", |
| 815 | + "box":true, |
| 816 | + "max":100, |
| 817 | + "min":1 |
| 818 | + }, |
| 819 | + "ListPendingMaintenanceActionsOutput":{ |
| 820 | + "type":"structure", |
| 821 | + "required":["resourcePendingMaintenanceActions"], |
| 822 | + "members":{ |
| 823 | + "nextToken":{"shape":"PaginationToken"}, |
| 824 | + "resourcePendingMaintenanceActions":{"shape":"ResourcePendingMaintenanceActionList"} |
| 825 | + } |
| 826 | + }, |
699 | 827 | "ListTagsForResourceRequest":{
|
700 | 828 | "type":"structure",
|
701 | 829 | "required":["resourceArn"],
|
|
713 | 841 | "tags":{"shape":"TagMap"}
|
714 | 842 | }
|
715 | 843 | },
|
| 844 | + "OptInType":{ |
| 845 | + "type":"string", |
| 846 | + "enum":[ |
| 847 | + "IMMEDIATE", |
| 848 | + "NEXT_MAINTENANCE", |
| 849 | + "APPLY_ON", |
| 850 | + "UNDO_OPT_IN" |
| 851 | + ] |
| 852 | + }, |
716 | 853 | "PaginationToken":{"type":"string"},
|
717 | 854 | "Password":{
|
718 | 855 | "type":"string",
|
719 | 856 | "sensitive":true
|
720 | 857 | },
|
| 858 | + "PendingMaintenanceActionDetails":{ |
| 859 | + "type":"structure", |
| 860 | + "required":["action"], |
| 861 | + "members":{ |
| 862 | + "action":{"shape":"String"}, |
| 863 | + "autoAppliedAfterDate":{"shape":"String"}, |
| 864 | + "currentApplyDate":{"shape":"String"}, |
| 865 | + "description":{"shape":"String"}, |
| 866 | + "forcedApplyDate":{"shape":"String"}, |
| 867 | + "optInStatus":{"shape":"String"} |
| 868 | + } |
| 869 | + }, |
| 870 | + "PendingMaintenanceActionDetailsList":{ |
| 871 | + "type":"list", |
| 872 | + "member":{"shape":"PendingMaintenanceActionDetails"} |
| 873 | + }, |
721 | 874 | "ResourceNotFoundException":{
|
722 | 875 | "type":"structure",
|
723 | 876 | "required":[
|
|
736 | 889 | },
|
737 | 890 | "exception":true
|
738 | 891 | },
|
| 892 | + "ResourcePendingMaintenanceAction":{ |
| 893 | + "type":"structure", |
| 894 | + "members":{ |
| 895 | + "pendingMaintenanceActionDetails":{"shape":"PendingMaintenanceActionDetailsList"}, |
| 896 | + "resourceArn":{"shape":"String"} |
| 897 | + } |
| 898 | + }, |
| 899 | + "ResourcePendingMaintenanceActionList":{ |
| 900 | + "type":"list", |
| 901 | + "member":{"shape":"ResourcePendingMaintenanceAction"} |
| 902 | + }, |
739 | 903 | "RestoreClusterFromSnapshotInput":{
|
740 | 904 | "type":"structure",
|
741 | 905 | "required":[
|
|
839 | 1003 | "COPYING",
|
840 | 1004 | "STARTING",
|
841 | 1005 | "STOPPING",
|
842 |
| - "STOPPED" |
| 1006 | + "STOPPED", |
| 1007 | + "MAINTENANCE", |
| 1008 | + "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" |
843 | 1009 | ]
|
844 | 1010 | },
|
845 | 1011 | "StopClusterInput":{
|
|
0 commit comments