@aws-sdk/client-odb 3.1064.0 → 3.1066.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +161 -0
- package/dist-cjs/index.js +555 -15
- package/dist-cjs/schemas/schemas_0.js +861 -43
- package/dist-es/Odb.js +58 -0
- package/dist-es/commands/CreateAutonomousDatabaseBackupCommand.js +16 -0
- package/dist-es/commands/CreateAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/CreateAutonomousDatabaseWalletCommand.js +16 -0
- package/dist-es/commands/DeleteAutonomousDatabaseBackupCommand.js +16 -0
- package/dist-es/commands/DeleteAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/FailoverAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/GetAutonomousDatabaseBackupCommand.js +16 -0
- package/dist-es/commands/GetAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/GetAutonomousDatabaseWalletDetailsCommand.js +16 -0
- package/dist-es/commands/ListAutonomousDatabaseBackupsCommand.js +16 -0
- package/dist-es/commands/ListAutonomousDatabaseCharacterSetsCommand.js +16 -0
- package/dist-es/commands/ListAutonomousDatabaseClonesCommand.js +16 -0
- package/dist-es/commands/ListAutonomousDatabasePeersCommand.js +16 -0
- package/dist-es/commands/ListAutonomousDatabaseVersionsCommand.js +16 -0
- package/dist-es/commands/ListAutonomousDatabasesCommand.js +16 -0
- package/dist-es/commands/RebootAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/RestoreAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/ShrinkAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/StartAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/StopAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/SwitchoverAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/UpdateAutonomousDatabaseBackupCommand.js +16 -0
- package/dist-es/commands/UpdateAutonomousDatabaseCommand.js +16 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/models/enums.js +181 -15
- package/dist-es/pagination/ListAutonomousDatabaseBackupsPaginator.js +4 -0
- package/dist-es/pagination/ListAutonomousDatabaseCharacterSetsPaginator.js +4 -0
- package/dist-es/pagination/ListAutonomousDatabaseClonesPaginator.js +4 -0
- package/dist-es/pagination/ListAutonomousDatabasePeersPaginator.js +4 -0
- package/dist-es/pagination/ListAutonomousDatabaseVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAutonomousDatabasesPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/schemas/schemas_0.js +855 -39
- package/dist-types/Odb.d.ts +207 -0
- package/dist-types/OdbClient.d.ts +25 -2
- package/dist-types/commands/CreateAutonomousDatabaseBackupCommand.d.ts +106 -0
- package/dist-types/commands/CreateAutonomousDatabaseCommand.d.ts +216 -0
- package/dist-types/commands/CreateAutonomousDatabaseWalletCommand.d.ts +94 -0
- package/dist-types/commands/DeleteAutonomousDatabaseBackupCommand.d.ts +92 -0
- package/dist-types/commands/DeleteAutonomousDatabaseCommand.d.ts +92 -0
- package/dist-types/commands/FailoverAutonomousDatabaseCommand.d.ts +98 -0
- package/dist-types/commands/GetAutonomousDatabaseBackupCommand.d.ts +107 -0
- package/dist-types/commands/GetAutonomousDatabaseCommand.d.ts +317 -0
- package/dist-types/commands/GetAutonomousDatabaseWalletDetailsCommand.d.ts +94 -0
- package/dist-types/commands/GetOciOnboardingStatusCommand.d.ts +13 -0
- package/dist-types/commands/ListAutonomousDatabaseBackupsCommand.d.ts +114 -0
- package/dist-types/commands/ListAutonomousDatabaseCharacterSetsCommand.d.ts +95 -0
- package/dist-types/commands/ListAutonomousDatabaseClonesCommand.d.ts +322 -0
- package/dist-types/commands/ListAutonomousDatabasePeersCommand.d.ts +101 -0
- package/dist-types/commands/ListAutonomousDatabaseVersionsCommand.d.ts +97 -0
- package/dist-types/commands/ListAutonomousDatabasesCommand.d.ts +318 -0
- package/dist-types/commands/RebootAutonomousDatabaseCommand.d.ts +98 -0
- package/dist-types/commands/RestoreAutonomousDatabaseCommand.d.ts +98 -0
- package/dist-types/commands/ShrinkAutonomousDatabaseCommand.d.ts +97 -0
- package/dist-types/commands/StartAutonomousDatabaseCommand.d.ts +97 -0
- package/dist-types/commands/StopAutonomousDatabaseCommand.d.ts +97 -0
- package/dist-types/commands/SwitchoverAutonomousDatabaseCommand.d.ts +98 -0
- package/dist-types/commands/UpdateAutonomousDatabaseBackupCommand.d.ts +98 -0
- package/dist-types/commands/UpdateAutonomousDatabaseCommand.d.ts +180 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/models/enums.d.ts +407 -17
- package/dist-types/models/models_0.d.ts +3320 -23
- package/dist-types/pagination/ListAutonomousDatabaseBackupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutonomousDatabaseCharacterSetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutonomousDatabaseClonesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutonomousDatabasePeersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutonomousDatabaseVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutonomousDatabasesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/schemas/schemas_0.d.ts +105 -1
- package/dist-types/ts3.4/Odb.d.ts +449 -0
- package/dist-types/ts3.4/OdbClient.d.ts +138 -0
- package/dist-types/ts3.4/commands/CreateAutonomousDatabaseBackupCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateAutonomousDatabaseWalletCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteAutonomousDatabaseBackupCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/FailoverAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetAutonomousDatabaseBackupCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetAutonomousDatabaseWalletDetailsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAutonomousDatabaseBackupsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAutonomousDatabaseCharacterSetsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAutonomousDatabaseClonesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAutonomousDatabasePeersCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAutonomousDatabaseVersionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAutonomousDatabasesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/RebootAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/RestoreAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ShrinkAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StartAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StopAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/SwitchoverAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateAutonomousDatabaseBackupCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateAutonomousDatabaseCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/models/enums.d.ts +232 -18
- package/dist-types/ts3.4/models/models_0.d.ts +874 -6
- package/dist-types/ts3.4/pagination/ListAutonomousDatabaseBackupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutonomousDatabaseCharacterSetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutonomousDatabaseClonesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutonomousDatabasePeersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutonomousDatabaseVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutonomousDatabasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +105 -0
- package/package.json +3 -3
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListAutonomousDatabasesInput, ListAutonomousDatabasesOutput } from "../models/models_0";
|
|
4
|
+
import type { OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OdbClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAutonomousDatabasesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAutonomousDatabasesCommandInput extends ListAutonomousDatabasesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAutonomousDatabasesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAutonomousDatabasesCommandOutput extends ListAutonomousDatabasesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAutonomousDatabasesCommand_base: {
|
|
25
|
+
new (input: ListAutonomousDatabasesCommandInput): import("@smithy/core/client").CommandImpl<ListAutonomousDatabasesCommandInput, ListAutonomousDatabasesCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAutonomousDatabasesCommandInput]): import("@smithy/core/client").CommandImpl<ListAutonomousDatabasesCommandInput, ListAutonomousDatabasesCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Returns information about the Autonomous Databases owned by your Amazon Web Services account in the current Amazon Web Services Region.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OdbClient, ListAutonomousDatabasesCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, ListAutonomousDatabasesCommand } = require("@aws-sdk/client-odb"); // CommonJS import
|
|
38
|
+
* // import type { OdbClientConfig } from "@aws-sdk/client-odb";
|
|
39
|
+
* const config = {}; // type is OdbClientConfig
|
|
40
|
+
* const client = new OdbClient(config);
|
|
41
|
+
* const input = { // ListAutonomousDatabasesInput
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListAutonomousDatabasesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListAutonomousDatabasesOutput
|
|
48
|
+
* // nextToken: "STRING_VALUE",
|
|
49
|
+
* // autonomousDatabases: [ // AutonomousDatabaseList // required
|
|
50
|
+
* // { // AutonomousDatabaseSummary
|
|
51
|
+
* // autonomousDatabaseId: "STRING_VALUE",
|
|
52
|
+
* // autonomousDatabaseArn: "STRING_VALUE",
|
|
53
|
+
* // ociResourceAnchorName: "STRING_VALUE",
|
|
54
|
+
* // percentProgress: Number("float"),
|
|
55
|
+
* // ocid: "STRING_VALUE",
|
|
56
|
+
* // ociUrl: "STRING_VALUE",
|
|
57
|
+
* // displayName: "STRING_VALUE",
|
|
58
|
+
* // dbName: "STRING_VALUE",
|
|
59
|
+
* // sourceId: "STRING_VALUE",
|
|
60
|
+
* // status: "AVAILABLE" || "FAILED" || "PROVISIONING" || "TERMINATED" || "TERMINATING" || "UPDATING" || "MAINTENANCE_IN_PROGRESS" || "STOPPING" || "STOPPED" || "STARTING" || "UNAVAILABLE" || "RESTORE_IN_PROGRESS" || "RESTORE_FAILED" || "BACKUP_IN_PROGRESS" || "SCALE_IN_PROGRESS" || "AVAILABLE_NEEDS_ATTENTION" || "RESTARTING" || "RECREATING" || "ROLE_CHANGE_IN_PROGRESS" || "UPGRADING" || "INACCESSIBLE" || "STANDBY",
|
|
61
|
+
* // statusReason: "STRING_VALUE",
|
|
62
|
+
* // databaseType: "REGULAR" || "CLONE",
|
|
63
|
+
* // dbVersion: "STRING_VALUE",
|
|
64
|
+
* // dbWorkload: "OLTP" || "AJD" || "APEX" || "LH",
|
|
65
|
+
* // characterSet: "STRING_VALUE",
|
|
66
|
+
* // ncharacterSet: "STRING_VALUE",
|
|
67
|
+
* // databaseEdition: "STANDARD_EDITION" || "ENTERPRISE_EDITION",
|
|
68
|
+
* // licenseModel: "BRING_YOUR_OWN_LICENSE" || "LICENSE_INCLUDED",
|
|
69
|
+
* // openMode: "READ_ONLY" || "READ_WRITE",
|
|
70
|
+
* // permissionLevel: "RESTRICTED" || "UNRESTRICTED",
|
|
71
|
+
* // isMtlsConnectionRequired: true || false,
|
|
72
|
+
* // autonomousMaintenanceScheduleType: "EARLY" || "REGULAR",
|
|
73
|
+
* // netServicesArchitecture: "DEDICATED" || "SHARED",
|
|
74
|
+
* // availableUpgradeVersions: [ // StringList
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // byolComputeCountLimit: Number("int"),
|
|
78
|
+
* // connectionStringDetails: { // AutonomousDatabaseConnectionStrings
|
|
79
|
+
* // allConnectionStrings: { // DatabaseConnectionStringMap
|
|
80
|
+
* // "<keys>": "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // dedicated: "STRING_VALUE",
|
|
83
|
+
* // high: "STRING_VALUE",
|
|
84
|
+
* // medium: "STRING_VALUE",
|
|
85
|
+
* // low: "STRING_VALUE",
|
|
86
|
+
* // profiles: [ // DatabaseConnectionStringProfileList
|
|
87
|
+
* // { // DatabaseConnectionStringProfile
|
|
88
|
+
* // consumerGroup: "STRING_VALUE",
|
|
89
|
+
* // displayName: "STRING_VALUE",
|
|
90
|
+
* // hostFormat: "STRING_VALUE",
|
|
91
|
+
* // isRegional: true || false,
|
|
92
|
+
* // protocol: "STRING_VALUE",
|
|
93
|
+
* // sessionMode: "STRING_VALUE",
|
|
94
|
+
* // syntaxFormat: "STRING_VALUE",
|
|
95
|
+
* // tlsAuthentication: "STRING_VALUE",
|
|
96
|
+
* // value: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // serviceConsoleUrl: "STRING_VALUE",
|
|
101
|
+
* // sqlWebDeveloperUrl: "STRING_VALUE",
|
|
102
|
+
* // customerContacts: [ // CustomerContacts
|
|
103
|
+
* // { // CustomerContact
|
|
104
|
+
* // email: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // apexDetails: { // AutonomousDatabaseApex
|
|
108
|
+
* // apexVersion: "STRING_VALUE",
|
|
109
|
+
* // ordsVersion: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // standbyDb: { // DatabaseStandbySummary
|
|
112
|
+
* // availabilityDomain: "STRING_VALUE",
|
|
113
|
+
* // lagTimeInSeconds: Number("int"),
|
|
114
|
+
* // status: "AVAILABLE" || "FAILED" || "PROVISIONING" || "TERMINATED" || "TERMINATING" || "UPDATING" || "MAINTENANCE_IN_PROGRESS" || "STOPPING" || "STOPPED" || "STARTING" || "UNAVAILABLE" || "RESTORE_IN_PROGRESS" || "RESTORE_FAILED" || "BACKUP_IN_PROGRESS" || "SCALE_IN_PROGRESS" || "AVAILABLE_NEEDS_ATTENTION" || "RESTARTING" || "RECREATING" || "ROLE_CHANGE_IN_PROGRESS" || "UPGRADING" || "INACCESSIBLE" || "STANDBY",
|
|
115
|
+
* // statusReason: "STRING_VALUE",
|
|
116
|
+
* // maintenanceTargetComponent: "STRING_VALUE",
|
|
117
|
+
* // timeDataGuardRoleChanged: new Date("TIMESTAMP"),
|
|
118
|
+
* // timeDisasterRecoveryRoleChanged: new Date("TIMESTAMP"),
|
|
119
|
+
* // timeMaintenanceBegin: new Date("TIMESTAMP"),
|
|
120
|
+
* // timeMaintenanceEnd: new Date("TIMESTAMP"),
|
|
121
|
+
* // },
|
|
122
|
+
* // localStandbyDb: {
|
|
123
|
+
* // availabilityDomain: "STRING_VALUE",
|
|
124
|
+
* // lagTimeInSeconds: Number("int"),
|
|
125
|
+
* // status: "AVAILABLE" || "FAILED" || "PROVISIONING" || "TERMINATED" || "TERMINATING" || "UPDATING" || "MAINTENANCE_IN_PROGRESS" || "STOPPING" || "STOPPED" || "STARTING" || "UNAVAILABLE" || "RESTORE_IN_PROGRESS" || "RESTORE_FAILED" || "BACKUP_IN_PROGRESS" || "SCALE_IN_PROGRESS" || "AVAILABLE_NEEDS_ATTENTION" || "RESTARTING" || "RECREATING" || "ROLE_CHANGE_IN_PROGRESS" || "UPGRADING" || "INACCESSIBLE" || "STANDBY",
|
|
126
|
+
* // statusReason: "STRING_VALUE",
|
|
127
|
+
* // maintenanceTargetComponent: "STRING_VALUE",
|
|
128
|
+
* // timeDataGuardRoleChanged: new Date("TIMESTAMP"),
|
|
129
|
+
* // timeDisasterRecoveryRoleChanged: new Date("TIMESTAMP"),
|
|
130
|
+
* // timeMaintenanceBegin: new Date("TIMESTAMP"),
|
|
131
|
+
* // timeMaintenanceEnd: new Date("TIMESTAMP"),
|
|
132
|
+
* // },
|
|
133
|
+
* // dataSafeStatus: "REGISTERING" || "REGISTERED" || "DEREGISTERING" || "NOT_REGISTERED" || "FAILED",
|
|
134
|
+
* // databaseManagementStatus: "ENABLING" || "ENABLED" || "DISABLING" || "NOT_ENABLED" || "FAILED_ENABLING" || "FAILED_DISABLING",
|
|
135
|
+
* // operationsInsightsStatus: "ENABLING" || "ENABLED" || "DISABLING" || "NOT_ENABLED" || "FAILED_ENABLING" || "FAILED_DISABLING",
|
|
136
|
+
* // availabilityZone: "STRING_VALUE",
|
|
137
|
+
* // availabilityZoneId: "STRING_VALUE",
|
|
138
|
+
* // maintenanceTargetComponent: "STRING_VALUE",
|
|
139
|
+
* // connectionUrls: { // AutonomousDatabaseConnectionUrls
|
|
140
|
+
* // apexUrl: "STRING_VALUE",
|
|
141
|
+
* // databaseTransformsUrl: "STRING_VALUE",
|
|
142
|
+
* // graphStudioUrl: "STRING_VALUE",
|
|
143
|
+
* // machineLearningNotebookUrl: "STRING_VALUE",
|
|
144
|
+
* // machineLearningUserManagementUrl: "STRING_VALUE",
|
|
145
|
+
* // mongoDbUrl: "STRING_VALUE",
|
|
146
|
+
* // ordsUrl: "STRING_VALUE",
|
|
147
|
+
* // spatialStudioUrl: "STRING_VALUE",
|
|
148
|
+
* // sqlDevWebUrl: "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // dbToolsDetails: [ // DatabaseToolList
|
|
151
|
+
* // { // DatabaseTool
|
|
152
|
+
* // isEnabled: true || false,
|
|
153
|
+
* // name: "STRING_VALUE",
|
|
154
|
+
* // computeCount: Number("double"),
|
|
155
|
+
* // maxIdleTimeInMinutes: Number("int"),
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // scheduledOperations: [ // ScheduledOperationDetailsList
|
|
159
|
+
* // { // ScheduledOperationDetails
|
|
160
|
+
* // dayOfWeek: { // DayOfWeek
|
|
161
|
+
* // name: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY",
|
|
162
|
+
* // },
|
|
163
|
+
* // scheduledStartTime: "STRING_VALUE",
|
|
164
|
+
* // scheduledStopTime: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // ],
|
|
167
|
+
* // resourcePoolLeaderId: "STRING_VALUE",
|
|
168
|
+
* // computeCount: Number("float"),
|
|
169
|
+
* // computeModel: "ECPU" || "OCPU",
|
|
170
|
+
* // cpuCoreCount: Number("int"),
|
|
171
|
+
* // memoryPerOracleComputeUnitInGBs: Number("int"),
|
|
172
|
+
* // provisionableCpus: [ // IntegerList
|
|
173
|
+
* // Number("int"),
|
|
174
|
+
* // ],
|
|
175
|
+
* // isAutoScalingEnabled: true || false,
|
|
176
|
+
* // dataStorageSizeInTBs: Number("double"),
|
|
177
|
+
* // dataStorageSizeInGBs: Number("int"),
|
|
178
|
+
* // usedDataStorageSizeInTBs: Number("double"),
|
|
179
|
+
* // usedDataStorageSizeInGBs: Number("int"),
|
|
180
|
+
* // actualUsedDataStorageSizeInTBs: Number("double"),
|
|
181
|
+
* // allocatedStorageSizeInTBs: Number("double"),
|
|
182
|
+
* // inMemoryAreaInGBs: Number("int"),
|
|
183
|
+
* // isAutoScalingForStorageEnabled: true || false,
|
|
184
|
+
* // odbNetworkId: "STRING_VALUE",
|
|
185
|
+
* // odbNetworkArn: "STRING_VALUE",
|
|
186
|
+
* // privateEndpoint: "STRING_VALUE",
|
|
187
|
+
* // privateEndpointIp: "STRING_VALUE",
|
|
188
|
+
* // privateEndpointLabel: "STRING_VALUE",
|
|
189
|
+
* // allowlistedIps: [
|
|
190
|
+
* // "STRING_VALUE",
|
|
191
|
+
* // ],
|
|
192
|
+
* // standbyAllowlistedIps: [
|
|
193
|
+
* // "STRING_VALUE",
|
|
194
|
+
* // ],
|
|
195
|
+
* // standbyAllowlistedIpsSource: "PRIMARY" || "SEPARATE" || "NOT_APPLICABLE",
|
|
196
|
+
* // isLocalDataGuardEnabled: true || false,
|
|
197
|
+
* // isRemoteDataGuardEnabled: true || false,
|
|
198
|
+
* // localDisasterRecoveryType: "ADG" || "BACKUP_BASED",
|
|
199
|
+
* // role: "PRIMARY" || "STANDBY" || "DISABLED_STANDBY" || "BACKUP_COPY" || "SNAPSHOT_STANDBY",
|
|
200
|
+
* // peerDbIds: [
|
|
201
|
+
* // "STRING_VALUE",
|
|
202
|
+
* // ],
|
|
203
|
+
* // failedDataRecoveryInSeconds: Number("int"),
|
|
204
|
+
* // localAdgAutoFailoverMaxDataLossLimit: Number("int"),
|
|
205
|
+
* // remoteDisasterRecoveryConfiguration: { // DisasterRecoveryConfiguration
|
|
206
|
+
* // disasterRecoveryType: "ADG" || "BACKUP_BASED",
|
|
207
|
+
* // isReplicateAutomaticBackups: true || false,
|
|
208
|
+
* // isSnapshotStandby: true || false,
|
|
209
|
+
* // timeSnapshotStandbyEnabledTill: new Date("TIMESTAMP"),
|
|
210
|
+
* // },
|
|
211
|
+
* // isRefreshableClone: true || false,
|
|
212
|
+
* // refreshableMode: "AUTOMATIC" || "MANUAL",
|
|
213
|
+
* // refreshableStatus: "REFRESHING" || "NOT_REFRESHING",
|
|
214
|
+
* // autoRefreshFrequencyInSeconds: Number("int"),
|
|
215
|
+
* // autoRefreshPointLagInSeconds: Number("int"),
|
|
216
|
+
* // isReconnectCloneEnabled: true || false,
|
|
217
|
+
* // cloneTableSpaceList: [
|
|
218
|
+
* // Number("int"),
|
|
219
|
+
* // ],
|
|
220
|
+
* // backupRetentionPeriodInDays: Number("int"),
|
|
221
|
+
* // longTermBackupSchedule: { // LongTermBackupSchedule
|
|
222
|
+
* // isDisabled: true || false,
|
|
223
|
+
* // repeatCadence: "ONE_TIME" || "WEEKLY" || "MONTHLY" || "YEARLY",
|
|
224
|
+
* // retentionPeriodInDays: Number("int"),
|
|
225
|
+
* // timeOfBackup: new Date("TIMESTAMP"),
|
|
226
|
+
* // },
|
|
227
|
+
* // isBackupRetentionLocked: true || false,
|
|
228
|
+
* // totalBackupStorageSizeInGBs: Number("double"),
|
|
229
|
+
* // resourcePoolSummary: { // ResourcePoolSummary
|
|
230
|
+
* // isDisabled: true || false,
|
|
231
|
+
* // poolSize: Number("int"),
|
|
232
|
+
* // poolStorageSizeInTBs: Number("int"),
|
|
233
|
+
* // availableStorageCapacityInTBs: Number("double"),
|
|
234
|
+
* // totalComputeCapacity: Number("int"),
|
|
235
|
+
* // availableComputeCapacity: Number("int"),
|
|
236
|
+
* // },
|
|
237
|
+
* // encryptionSummary: { // EncryptionSummary
|
|
238
|
+
* // encryptionKeyProvider: "ORACLE_MANAGED" || "AWS_KMS" || "OKV" || "OCI",
|
|
239
|
+
* // encryptionKeyConfiguration: { // EncryptionKeyConfiguration Union: only one key present
|
|
240
|
+
* // awsEncryptionKey: { // AwsEncryptionKeyConfiguration
|
|
241
|
+
* // iamRoleArn: "STRING_VALUE",
|
|
242
|
+
* // externalIdType: "database_ocid" || "compartment_ocid" || "tenant_ocid",
|
|
243
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
244
|
+
* // },
|
|
245
|
+
* // ociEncryptionKey: { // OciEncryptionKeyConfiguration
|
|
246
|
+
* // kmsKeyId: "STRING_VALUE", // required
|
|
247
|
+
* // vaultId: "STRING_VALUE", // required
|
|
248
|
+
* // },
|
|
249
|
+
* // okvEncryptionKey: { // OkvEncryptionKeyConfiguration
|
|
250
|
+
* // certificateDirectoryName: "STRING_VALUE", // required
|
|
251
|
+
* // certificateId: "STRING_VALUE",
|
|
252
|
+
* // directoryName: "STRING_VALUE", // required
|
|
253
|
+
* // okvKmsKey: "STRING_VALUE", // required
|
|
254
|
+
* // okvUri: "STRING_VALUE", // required
|
|
255
|
+
* // },
|
|
256
|
+
* // },
|
|
257
|
+
* // },
|
|
258
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
259
|
+
* // timeOfLastBackup: new Date("TIMESTAMP"),
|
|
260
|
+
* // timeMaintenanceBegin: new Date("TIMESTAMP"),
|
|
261
|
+
* // timeMaintenanceEnd: new Date("TIMESTAMP"),
|
|
262
|
+
* // timeLocalDataGuardEnabled: new Date("TIMESTAMP"),
|
|
263
|
+
* // timeDataGuardRoleChanged: new Date("TIMESTAMP"),
|
|
264
|
+
* // timeOfLastSwitchover: new Date("TIMESTAMP"),
|
|
265
|
+
* // timeOfLastFailover: new Date("TIMESTAMP"),
|
|
266
|
+
* // timeOfLastRefresh: new Date("TIMESTAMP"),
|
|
267
|
+
* // timeOfLastRefreshPoint: new Date("TIMESTAMP"),
|
|
268
|
+
* // timeOfNextRefresh: new Date("TIMESTAMP"),
|
|
269
|
+
* // timeOfAutoRefreshStart: new Date("TIMESTAMP"),
|
|
270
|
+
* // timeDeletionOfFreeAutonomousDatabase: new Date("TIMESTAMP"),
|
|
271
|
+
* // timeReclamationOfFreeAutonomousDatabase: new Date("TIMESTAMP"),
|
|
272
|
+
* // timeDisasterRecoveryRoleChanged: new Date("TIMESTAMP"),
|
|
273
|
+
* // timeUntilReconnectCloneEnabled: new Date("TIMESTAMP"),
|
|
274
|
+
* // nextLongTermBackupTimeStamp: new Date("TIMESTAMP"),
|
|
275
|
+
* // timeUndeleted: new Date("TIMESTAMP"),
|
|
276
|
+
* // },
|
|
277
|
+
* // ],
|
|
278
|
+
* // };
|
|
279
|
+
*
|
|
280
|
+
* ```
|
|
281
|
+
*
|
|
282
|
+
* @param ListAutonomousDatabasesCommandInput - {@link ListAutonomousDatabasesCommandInput}
|
|
283
|
+
* @returns {@link ListAutonomousDatabasesCommandOutput}
|
|
284
|
+
* @see {@link ListAutonomousDatabasesCommandInput} for command's `input` shape.
|
|
285
|
+
* @see {@link ListAutonomousDatabasesCommandOutput} for command's `response` shape.
|
|
286
|
+
* @see {@link OdbClientResolvedConfig | config} for OdbClient's `config` shape.
|
|
287
|
+
*
|
|
288
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
289
|
+
* <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
|
|
290
|
+
*
|
|
291
|
+
* @throws {@link InternalServerException} (server fault)
|
|
292
|
+
* <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
|
|
293
|
+
*
|
|
294
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
295
|
+
* <p>The request was denied due to request throttling.</p>
|
|
296
|
+
*
|
|
297
|
+
* @throws {@link ValidationException} (client fault)
|
|
298
|
+
* <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
|
|
299
|
+
*
|
|
300
|
+
* @throws {@link OdbServiceException}
|
|
301
|
+
* <p>Base exception class for all service exceptions from Odb service.</p>
|
|
302
|
+
*
|
|
303
|
+
*
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
export declare class ListAutonomousDatabasesCommand extends ListAutonomousDatabasesCommand_base {
|
|
307
|
+
/** @internal type navigation helper, not in runtime. */
|
|
308
|
+
protected static __types: {
|
|
309
|
+
api: {
|
|
310
|
+
input: ListAutonomousDatabasesInput;
|
|
311
|
+
output: ListAutonomousDatabasesOutput;
|
|
312
|
+
};
|
|
313
|
+
sdk: {
|
|
314
|
+
input: ListAutonomousDatabasesCommandInput;
|
|
315
|
+
output: ListAutonomousDatabasesCommandOutput;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { RebootAutonomousDatabaseInput, RebootAutonomousDatabaseOutput } from "../models/models_0";
|
|
4
|
+
import type { OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OdbClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RebootAutonomousDatabaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RebootAutonomousDatabaseCommandInput extends RebootAutonomousDatabaseInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RebootAutonomousDatabaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RebootAutonomousDatabaseCommandOutput extends RebootAutonomousDatabaseOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RebootAutonomousDatabaseCommand_base: {
|
|
25
|
+
new (input: RebootAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<RebootAutonomousDatabaseCommandInput, RebootAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RebootAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<RebootAutonomousDatabaseCommandInput, RebootAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Reboots the specified Autonomous Database.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OdbClient, RebootAutonomousDatabaseCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, RebootAutonomousDatabaseCommand } = require("@aws-sdk/client-odb"); // CommonJS import
|
|
38
|
+
* // import type { OdbClientConfig } from "@aws-sdk/client-odb";
|
|
39
|
+
* const config = {}; // type is OdbClientConfig
|
|
40
|
+
* const client = new OdbClient(config);
|
|
41
|
+
* const input = { // RebootAutonomousDatabaseInput
|
|
42
|
+
* autonomousDatabaseId: "STRING_VALUE", // required
|
|
43
|
+
* isOnlineReboot: true || false,
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RebootAutonomousDatabaseCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // RebootAutonomousDatabaseOutput
|
|
48
|
+
* // autonomousDatabaseId: "STRING_VALUE", // required
|
|
49
|
+
* // displayName: "STRING_VALUE",
|
|
50
|
+
* // status: "AVAILABLE" || "FAILED" || "PROVISIONING" || "TERMINATED" || "TERMINATING" || "UPDATING" || "MAINTENANCE_IN_PROGRESS" || "STOPPING" || "STOPPED" || "STARTING" || "UNAVAILABLE" || "RESTORE_IN_PROGRESS" || "RESTORE_FAILED" || "BACKUP_IN_PROGRESS" || "SCALE_IN_PROGRESS" || "AVAILABLE_NEEDS_ATTENTION" || "RESTARTING" || "RECREATING" || "ROLE_CHANGE_IN_PROGRESS" || "UPGRADING" || "INACCESSIBLE" || "STANDBY",
|
|
51
|
+
* // statusReason: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param RebootAutonomousDatabaseCommandInput - {@link RebootAutonomousDatabaseCommandInput}
|
|
57
|
+
* @returns {@link RebootAutonomousDatabaseCommandOutput}
|
|
58
|
+
* @see {@link RebootAutonomousDatabaseCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link RebootAutonomousDatabaseCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link OdbClientResolvedConfig | config} for OdbClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The request was denied due to request throttling.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OdbServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Odb service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class RebootAutonomousDatabaseCommand extends RebootAutonomousDatabaseCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: RebootAutonomousDatabaseInput;
|
|
91
|
+
output: RebootAutonomousDatabaseOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: RebootAutonomousDatabaseCommandInput;
|
|
95
|
+
output: RebootAutonomousDatabaseCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { RestoreAutonomousDatabaseInput, RestoreAutonomousDatabaseOutput } from "../models/models_0";
|
|
4
|
+
import type { OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OdbClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RestoreAutonomousDatabaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RestoreAutonomousDatabaseCommandInput extends RestoreAutonomousDatabaseInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RestoreAutonomousDatabaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RestoreAutonomousDatabaseCommandOutput extends RestoreAutonomousDatabaseOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RestoreAutonomousDatabaseCommand_base: {
|
|
25
|
+
new (input: RestoreAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<RestoreAutonomousDatabaseCommandInput, RestoreAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RestoreAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<RestoreAutonomousDatabaseCommandInput, RestoreAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Restores the specified Autonomous Database to a point in time.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OdbClient, RestoreAutonomousDatabaseCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, RestoreAutonomousDatabaseCommand } = require("@aws-sdk/client-odb"); // CommonJS import
|
|
38
|
+
* // import type { OdbClientConfig } from "@aws-sdk/client-odb";
|
|
39
|
+
* const config = {}; // type is OdbClientConfig
|
|
40
|
+
* const client = new OdbClient(config);
|
|
41
|
+
* const input = { // RestoreAutonomousDatabaseInput
|
|
42
|
+
* autonomousDatabaseId: "STRING_VALUE", // required
|
|
43
|
+
* timestamp: new Date("TIMESTAMP"), // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RestoreAutonomousDatabaseCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // RestoreAutonomousDatabaseOutput
|
|
48
|
+
* // autonomousDatabaseId: "STRING_VALUE", // required
|
|
49
|
+
* // displayName: "STRING_VALUE",
|
|
50
|
+
* // status: "AVAILABLE" || "FAILED" || "PROVISIONING" || "TERMINATED" || "TERMINATING" || "UPDATING" || "MAINTENANCE_IN_PROGRESS" || "STOPPING" || "STOPPED" || "STARTING" || "UNAVAILABLE" || "RESTORE_IN_PROGRESS" || "RESTORE_FAILED" || "BACKUP_IN_PROGRESS" || "SCALE_IN_PROGRESS" || "AVAILABLE_NEEDS_ATTENTION" || "RESTARTING" || "RECREATING" || "ROLE_CHANGE_IN_PROGRESS" || "UPGRADING" || "INACCESSIBLE" || "STANDBY",
|
|
51
|
+
* // statusReason: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param RestoreAutonomousDatabaseCommandInput - {@link RestoreAutonomousDatabaseCommandInput}
|
|
57
|
+
* @returns {@link RestoreAutonomousDatabaseCommandOutput}
|
|
58
|
+
* @see {@link RestoreAutonomousDatabaseCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link RestoreAutonomousDatabaseCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link OdbClientResolvedConfig | config} for OdbClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The request was denied due to request throttling.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OdbServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Odb service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class RestoreAutonomousDatabaseCommand extends RestoreAutonomousDatabaseCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: RestoreAutonomousDatabaseInput;
|
|
91
|
+
output: RestoreAutonomousDatabaseOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: RestoreAutonomousDatabaseCommandInput;
|
|
95
|
+
output: RestoreAutonomousDatabaseCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ShrinkAutonomousDatabaseInput, ShrinkAutonomousDatabaseOutput } from "../models/models_0";
|
|
4
|
+
import type { OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OdbClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ShrinkAutonomousDatabaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ShrinkAutonomousDatabaseCommandInput extends ShrinkAutonomousDatabaseInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ShrinkAutonomousDatabaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ShrinkAutonomousDatabaseCommandOutput extends ShrinkAutonomousDatabaseOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ShrinkAutonomousDatabaseCommand_base: {
|
|
25
|
+
new (input: ShrinkAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<ShrinkAutonomousDatabaseCommandInput, ShrinkAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ShrinkAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<ShrinkAutonomousDatabaseCommandInput, ShrinkAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Shrinks the storage of the specified Autonomous Database to reclaim unused space.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OdbClient, ShrinkAutonomousDatabaseCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, ShrinkAutonomousDatabaseCommand } = require("@aws-sdk/client-odb"); // CommonJS import
|
|
38
|
+
* // import type { OdbClientConfig } from "@aws-sdk/client-odb";
|
|
39
|
+
* const config = {}; // type is OdbClientConfig
|
|
40
|
+
* const client = new OdbClient(config);
|
|
41
|
+
* const input = { // ShrinkAutonomousDatabaseInput
|
|
42
|
+
* autonomousDatabaseId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ShrinkAutonomousDatabaseCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ShrinkAutonomousDatabaseOutput
|
|
47
|
+
* // autonomousDatabaseId: "STRING_VALUE", // required
|
|
48
|
+
* // displayName: "STRING_VALUE",
|
|
49
|
+
* // status: "AVAILABLE" || "FAILED" || "PROVISIONING" || "TERMINATED" || "TERMINATING" || "UPDATING" || "MAINTENANCE_IN_PROGRESS" || "STOPPING" || "STOPPED" || "STARTING" || "UNAVAILABLE" || "RESTORE_IN_PROGRESS" || "RESTORE_FAILED" || "BACKUP_IN_PROGRESS" || "SCALE_IN_PROGRESS" || "AVAILABLE_NEEDS_ATTENTION" || "RESTARTING" || "RECREATING" || "ROLE_CHANGE_IN_PROGRESS" || "UPGRADING" || "INACCESSIBLE" || "STANDBY",
|
|
50
|
+
* // statusReason: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ShrinkAutonomousDatabaseCommandInput - {@link ShrinkAutonomousDatabaseCommandInput}
|
|
56
|
+
* @returns {@link ShrinkAutonomousDatabaseCommandOutput}
|
|
57
|
+
* @see {@link ShrinkAutonomousDatabaseCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ShrinkAutonomousDatabaseCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link OdbClientResolvedConfig | config} for OdbClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The request was denied due to request throttling.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link OdbServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Odb service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ShrinkAutonomousDatabaseCommand extends ShrinkAutonomousDatabaseCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: ShrinkAutonomousDatabaseInput;
|
|
90
|
+
output: ShrinkAutonomousDatabaseOutput;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: ShrinkAutonomousDatabaseCommandInput;
|
|
94
|
+
output: ShrinkAutonomousDatabaseCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|