@aws-sdk/client-odb 3.1064.0 → 3.1065.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,216 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateAutonomousDatabaseInput, CreateAutonomousDatabaseOutput } 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 CreateAutonomousDatabaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAutonomousDatabaseCommandInput extends CreateAutonomousDatabaseInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAutonomousDatabaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAutonomousDatabaseCommandOutput extends CreateAutonomousDatabaseOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAutonomousDatabaseCommand_base: {
|
|
25
|
+
new (input: CreateAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<CreateAutonomousDatabaseCommandInput, CreateAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [CreateAutonomousDatabaseCommandInput]): import("@smithy/core/client").CommandImpl<CreateAutonomousDatabaseCommandInput, CreateAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a new 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, CreateAutonomousDatabaseCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, CreateAutonomousDatabaseCommand } = 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 = { // CreateAutonomousDatabaseInput
|
|
42
|
+
* odbNetworkId: "STRING_VALUE",
|
|
43
|
+
* displayName: "STRING_VALUE",
|
|
44
|
+
* dbName: "STRING_VALUE",
|
|
45
|
+
* adminPassword: "STRING_VALUE",
|
|
46
|
+
* computeCount: Number("double"),
|
|
47
|
+
* dataStorageSizeInTBs: Number("int"),
|
|
48
|
+
* dataStorageSizeInGBs: Number("int"),
|
|
49
|
+
* dbWorkload: "OLTP" || "AJD" || "APEX" || "LH",
|
|
50
|
+
* isAutoScalingEnabled: true || false,
|
|
51
|
+
* isAutoScalingForStorageEnabled: true || false,
|
|
52
|
+
* licenseModel: "BRING_YOUR_OWN_LICENSE" || "LICENSE_INCLUDED",
|
|
53
|
+
* characterSet: "STRING_VALUE",
|
|
54
|
+
* ncharacterSet: "STRING_VALUE",
|
|
55
|
+
* dbVersion: "STRING_VALUE",
|
|
56
|
+
* databaseEdition: "STANDARD_EDITION" || "ENTERPRISE_EDITION",
|
|
57
|
+
* standbyAllowlistedIpsSource: "PRIMARY" || "SEPARATE" || "NOT_APPLICABLE",
|
|
58
|
+
* autonomousMaintenanceScheduleType: "EARLY" || "REGULAR",
|
|
59
|
+
* backupRetentionPeriodInDays: Number("int"),
|
|
60
|
+
* byolComputeCountLimit: Number("double"),
|
|
61
|
+
* cpuCoreCount: Number("int"),
|
|
62
|
+
* customerContactsToSendToOCI: [ // CustomerContacts
|
|
63
|
+
* { // CustomerContact
|
|
64
|
+
* email: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* privateEndpointIp: "STRING_VALUE",
|
|
68
|
+
* privateEndpointLabel: "STRING_VALUE",
|
|
69
|
+
* resourcePoolLeaderId: "STRING_VALUE",
|
|
70
|
+
* resourcePoolSummary: { // ResourcePoolSummary
|
|
71
|
+
* isDisabled: true || false,
|
|
72
|
+
* poolSize: Number("int"),
|
|
73
|
+
* poolStorageSizeInTBs: Number("int"),
|
|
74
|
+
* availableStorageCapacityInTBs: Number("double"),
|
|
75
|
+
* totalComputeCapacity: Number("int"),
|
|
76
|
+
* availableComputeCapacity: Number("int"),
|
|
77
|
+
* },
|
|
78
|
+
* scheduledOperations: [ // ScheduledOperationDetailsList
|
|
79
|
+
* { // ScheduledOperationDetails
|
|
80
|
+
* dayOfWeek: { // DayOfWeek
|
|
81
|
+
* name: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY",
|
|
82
|
+
* },
|
|
83
|
+
* scheduledStartTime: "STRING_VALUE",
|
|
84
|
+
* scheduledStopTime: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* standbyAllowlistedIps: [ // StringList
|
|
88
|
+
* "STRING_VALUE",
|
|
89
|
+
* ],
|
|
90
|
+
* allowlistedIps: [
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* transportableTablespace: { // TransportableTablespace
|
|
94
|
+
* ttsBundleUrl: "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* isBackupRetentionLocked: true || false,
|
|
97
|
+
* isLocalDataGuardEnabled: true || false,
|
|
98
|
+
* isMtlsConnectionRequired: true || false,
|
|
99
|
+
* dbToolsDetails: [ // DatabaseToolList
|
|
100
|
+
* { // DatabaseTool
|
|
101
|
+
* isEnabled: true || false,
|
|
102
|
+
* name: "STRING_VALUE",
|
|
103
|
+
* computeCount: Number("double"),
|
|
104
|
+
* maxIdleTimeInMinutes: Number("int"),
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* source: "NONE" || "DATABASE" || "BACKUP_FROM_ID" || "BACKUP_FROM_TIMESTAMP" || "CROSS_REGION_DATAGUARD" || "CROSS_REGION_DISASTER_RECOVERY" || "CLONE_TO_REFRESHABLE",
|
|
108
|
+
* sourceConfiguration: { // SourceConfiguration Union: only one key present
|
|
109
|
+
* databaseClone: { // DatabaseCloneConfiguration
|
|
110
|
+
* sourceAutonomousDatabaseId: "STRING_VALUE", // required
|
|
111
|
+
* cloneType: "FULL" || "METADATA" || "PARTIAL", // required
|
|
112
|
+
* },
|
|
113
|
+
* restoreFromBackup: { // RestoreFromBackupConfiguration
|
|
114
|
+
* autonomousDatabaseBackupId: "STRING_VALUE", // required
|
|
115
|
+
* cloneType: "FULL" || "METADATA" || "PARTIAL", // required
|
|
116
|
+
* cloneTableSpaceList: [ // IntegerList
|
|
117
|
+
* Number("int"),
|
|
118
|
+
* ],
|
|
119
|
+
* },
|
|
120
|
+
* pointInTimeRestore: { // PointInTimeRestoreConfiguration
|
|
121
|
+
* sourceAutonomousDatabaseId: "STRING_VALUE", // required
|
|
122
|
+
* cloneType: "FULL" || "METADATA" || "PARTIAL", // required
|
|
123
|
+
* timestamp: new Date("TIMESTAMP"),
|
|
124
|
+
* useLatestAvailableBackupTimestamp: true || false,
|
|
125
|
+
* cloneTableSpaceList: [
|
|
126
|
+
* Number("int"),
|
|
127
|
+
* ],
|
|
128
|
+
* },
|
|
129
|
+
* crossRegionDataGuard: { // CrossRegionDataGuardConfiguration
|
|
130
|
+
* sourceAutonomousDatabaseArn: "STRING_VALUE", // required
|
|
131
|
+
* },
|
|
132
|
+
* crossRegionDisasterRecovery: { // CrossRegionDisasterRecoveryConfiguration
|
|
133
|
+
* sourceAutonomousDatabaseArn: "STRING_VALUE", // required
|
|
134
|
+
* remoteDisasterRecoveryType: "ADG" || "BACKUP_BASED", // required
|
|
135
|
+
* isReplicateAutomaticBackups: true || false,
|
|
136
|
+
* },
|
|
137
|
+
* cloneToRefreshable: { // CloneToRefreshableConfiguration
|
|
138
|
+
* sourceAutonomousDatabaseId: "STRING_VALUE", // required
|
|
139
|
+
* refreshableMode: "AUTOMATIC" || "MANUAL",
|
|
140
|
+
* autoRefreshFrequencyInSeconds: Number("int"),
|
|
141
|
+
* autoRefreshPointLagInSeconds: Number("int"),
|
|
142
|
+
* timeOfAutoRefreshStart: new Date("TIMESTAMP"),
|
|
143
|
+
* openMode: "READ_ONLY" || "READ_WRITE",
|
|
144
|
+
* cloneType: "FULL" || "METADATA" || "PARTIAL",
|
|
145
|
+
* },
|
|
146
|
+
* },
|
|
147
|
+
* encryptionKeyProvider: "ORACLE_MANAGED" || "AWS_KMS",
|
|
148
|
+
* encryptionKeyConfiguration: { // EncryptionKeyConfigurationInput Union: only one key present
|
|
149
|
+
* awsEncryptionKey: { // AwsEncryptionKeyConfigurationInput
|
|
150
|
+
* iamRoleArn: "STRING_VALUE",
|
|
151
|
+
* externalIdType: "database_ocid" || "compartment_ocid" || "tenant_ocid",
|
|
152
|
+
* kmsKeyId: "STRING_VALUE",
|
|
153
|
+
* },
|
|
154
|
+
* },
|
|
155
|
+
* clientToken: "STRING_VALUE",
|
|
156
|
+
* tags: { // RequestTagMap
|
|
157
|
+
* "<keys>": "STRING_VALUE",
|
|
158
|
+
* },
|
|
159
|
+
* };
|
|
160
|
+
* const command = new CreateAutonomousDatabaseCommand(input);
|
|
161
|
+
* const response = await client.send(command);
|
|
162
|
+
* // { // CreateAutonomousDatabaseOutput
|
|
163
|
+
* // autonomousDatabaseId: "STRING_VALUE", // required
|
|
164
|
+
* // displayName: "STRING_VALUE",
|
|
165
|
+
* // 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",
|
|
166
|
+
* // statusReason: "STRING_VALUE",
|
|
167
|
+
* // };
|
|
168
|
+
*
|
|
169
|
+
* ```
|
|
170
|
+
*
|
|
171
|
+
* @param CreateAutonomousDatabaseCommandInput - {@link CreateAutonomousDatabaseCommandInput}
|
|
172
|
+
* @returns {@link CreateAutonomousDatabaseCommandOutput}
|
|
173
|
+
* @see {@link CreateAutonomousDatabaseCommandInput} for command's `input` shape.
|
|
174
|
+
* @see {@link CreateAutonomousDatabaseCommandOutput} for command's `response` shape.
|
|
175
|
+
* @see {@link OdbClientResolvedConfig | config} for OdbClient's `config` shape.
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
178
|
+
* <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link ConflictException} (client fault)
|
|
181
|
+
* <p>Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.</p>
|
|
182
|
+
*
|
|
183
|
+
* @throws {@link InternalServerException} (server fault)
|
|
184
|
+
* <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
187
|
+
* <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
190
|
+
* <p>You have exceeded the service quota.</p>
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
193
|
+
* <p>The request was denied due to request throttling.</p>
|
|
194
|
+
*
|
|
195
|
+
* @throws {@link ValidationException} (client fault)
|
|
196
|
+
* <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
|
|
197
|
+
*
|
|
198
|
+
* @throws {@link OdbServiceException}
|
|
199
|
+
* <p>Base exception class for all service exceptions from Odb service.</p>
|
|
200
|
+
*
|
|
201
|
+
*
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
export declare class CreateAutonomousDatabaseCommand extends CreateAutonomousDatabaseCommand_base {
|
|
205
|
+
/** @internal type navigation helper, not in runtime. */
|
|
206
|
+
protected static __types: {
|
|
207
|
+
api: {
|
|
208
|
+
input: CreateAutonomousDatabaseInput;
|
|
209
|
+
output: CreateAutonomousDatabaseOutput;
|
|
210
|
+
};
|
|
211
|
+
sdk: {
|
|
212
|
+
input: CreateAutonomousDatabaseCommandInput;
|
|
213
|
+
output: CreateAutonomousDatabaseCommandOutput;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateAutonomousDatabaseWalletInput, CreateAutonomousDatabaseWalletOutput } 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 CreateAutonomousDatabaseWalletCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAutonomousDatabaseWalletCommandInput extends CreateAutonomousDatabaseWalletInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAutonomousDatabaseWalletCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAutonomousDatabaseWalletCommandOutput extends CreateAutonomousDatabaseWalletOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAutonomousDatabaseWalletCommand_base: {
|
|
25
|
+
new (input: CreateAutonomousDatabaseWalletCommandInput): import("@smithy/core/client").CommandImpl<CreateAutonomousDatabaseWalletCommandInput, CreateAutonomousDatabaseWalletCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAutonomousDatabaseWalletCommandInput): import("@smithy/core/client").CommandImpl<CreateAutonomousDatabaseWalletCommandInput, CreateAutonomousDatabaseWalletCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a new wallet for 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, CreateAutonomousDatabaseWalletCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, CreateAutonomousDatabaseWalletCommand } = 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 = { // CreateAutonomousDatabaseWalletInput
|
|
42
|
+
* autonomousDatabaseId: "STRING_VALUE", // required
|
|
43
|
+
* walletType: "REGIONAL" || "INSTANCE",
|
|
44
|
+
* password: "STRING_VALUE", // required
|
|
45
|
+
* clientToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CreateAutonomousDatabaseWalletCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateAutonomousDatabaseWalletOutput
|
|
50
|
+
* // autonomousDatabaseWalletFile: new Uint8Array(), // required
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param CreateAutonomousDatabaseWalletCommandInput - {@link CreateAutonomousDatabaseWalletCommandInput}
|
|
56
|
+
* @returns {@link CreateAutonomousDatabaseWalletCommandOutput}
|
|
57
|
+
* @see {@link CreateAutonomousDatabaseWalletCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link CreateAutonomousDatabaseWalletCommandOutput} 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 InternalServerException} (server fault)
|
|
65
|
+
* <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link OdbServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Odb service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class CreateAutonomousDatabaseWalletCommand extends CreateAutonomousDatabaseWalletCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: CreateAutonomousDatabaseWalletInput;
|
|
87
|
+
output: CreateAutonomousDatabaseWalletOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: CreateAutonomousDatabaseWalletCommandInput;
|
|
91
|
+
output: CreateAutonomousDatabaseWalletCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteAutonomousDatabaseBackupInput, DeleteAutonomousDatabaseBackupOutput } 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 DeleteAutonomousDatabaseBackupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAutonomousDatabaseBackupCommandInput extends DeleteAutonomousDatabaseBackupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAutonomousDatabaseBackupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAutonomousDatabaseBackupCommandOutput extends DeleteAutonomousDatabaseBackupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAutonomousDatabaseBackupCommand_base: {
|
|
25
|
+
new (input: DeleteAutonomousDatabaseBackupCommandInput): import("@smithy/core/client").CommandImpl<DeleteAutonomousDatabaseBackupCommandInput, DeleteAutonomousDatabaseBackupCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAutonomousDatabaseBackupCommandInput): import("@smithy/core/client").CommandImpl<DeleteAutonomousDatabaseBackupCommandInput, DeleteAutonomousDatabaseBackupCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes the specified Autonomous Database backup.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OdbClient, DeleteAutonomousDatabaseBackupCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, DeleteAutonomousDatabaseBackupCommand } = 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 = { // DeleteAutonomousDatabaseBackupInput
|
|
42
|
+
* autonomousDatabaseBackupId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteAutonomousDatabaseBackupCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteAutonomousDatabaseBackupCommandInput - {@link DeleteAutonomousDatabaseBackupCommandInput}
|
|
51
|
+
* @returns {@link DeleteAutonomousDatabaseBackupCommandOutput}
|
|
52
|
+
* @see {@link DeleteAutonomousDatabaseBackupCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteAutonomousDatabaseBackupCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link OdbClientResolvedConfig | config} for OdbClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link OdbServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Odb service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteAutonomousDatabaseBackupCommand extends DeleteAutonomousDatabaseBackupCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteAutonomousDatabaseBackupInput;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteAutonomousDatabaseBackupCommandInput;
|
|
89
|
+
output: DeleteAutonomousDatabaseBackupCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteAutonomousDatabaseInput, DeleteAutonomousDatabaseOutput } 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 DeleteAutonomousDatabaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAutonomousDatabaseCommandInput extends DeleteAutonomousDatabaseInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAutonomousDatabaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAutonomousDatabaseCommandOutput extends DeleteAutonomousDatabaseOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAutonomousDatabaseCommand_base: {
|
|
25
|
+
new (input: DeleteAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DeleteAutonomousDatabaseCommandInput, DeleteAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<DeleteAutonomousDatabaseCommandInput, DeleteAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes 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, DeleteAutonomousDatabaseCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, DeleteAutonomousDatabaseCommand } = 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 = { // DeleteAutonomousDatabaseInput
|
|
42
|
+
* autonomousDatabaseId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteAutonomousDatabaseCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteAutonomousDatabaseCommandInput - {@link DeleteAutonomousDatabaseCommandInput}
|
|
51
|
+
* @returns {@link DeleteAutonomousDatabaseCommandOutput}
|
|
52
|
+
* @see {@link DeleteAutonomousDatabaseCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteAutonomousDatabaseCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link OdbClientResolvedConfig | config} for OdbClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link OdbServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Odb service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteAutonomousDatabaseCommand extends DeleteAutonomousDatabaseCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteAutonomousDatabaseInput;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteAutonomousDatabaseCommandInput;
|
|
89
|
+
output: DeleteAutonomousDatabaseCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -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 { FailoverAutonomousDatabaseInput, FailoverAutonomousDatabaseOutput } 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 FailoverAutonomousDatabaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface FailoverAutonomousDatabaseCommandInput extends FailoverAutonomousDatabaseInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link FailoverAutonomousDatabaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface FailoverAutonomousDatabaseCommandOutput extends FailoverAutonomousDatabaseOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const FailoverAutonomousDatabaseCommand_base: {
|
|
25
|
+
new (input: FailoverAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<FailoverAutonomousDatabaseCommandInput, FailoverAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: FailoverAutonomousDatabaseCommandInput): import("@smithy/core/client").CommandImpl<FailoverAutonomousDatabaseCommandInput, FailoverAutonomousDatabaseCommandOutput, OdbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Initiates a failover of the specified Autonomous Database to a standby peer 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, FailoverAutonomousDatabaseCommand } from "@aws-sdk/client-odb"; // ES Modules import
|
|
37
|
+
* // const { OdbClient, FailoverAutonomousDatabaseCommand } = 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 = { // FailoverAutonomousDatabaseInput
|
|
42
|
+
* autonomousDatabaseId: "STRING_VALUE", // required
|
|
43
|
+
* peerDbArn: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new FailoverAutonomousDatabaseCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // FailoverAutonomousDatabaseOutput
|
|
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 FailoverAutonomousDatabaseCommandInput - {@link FailoverAutonomousDatabaseCommandInput}
|
|
57
|
+
* @returns {@link FailoverAutonomousDatabaseCommandOutput}
|
|
58
|
+
* @see {@link FailoverAutonomousDatabaseCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link FailoverAutonomousDatabaseCommandOutput} 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 FailoverAutonomousDatabaseCommand extends FailoverAutonomousDatabaseCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: FailoverAutonomousDatabaseInput;
|
|
91
|
+
output: FailoverAutonomousDatabaseOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: FailoverAutonomousDatabaseCommandInput;
|
|
95
|
+
output: FailoverAutonomousDatabaseCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|