@aws-sdk/client-opensearch 3.1157.0 → 3.1159.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 +42 -0
- package/dist-cjs/index.js +279 -41
- package/dist-es/OpenSearch.js +12 -0
- package/dist-es/commands/AddReplicationPeerCommand.js +4 -0
- package/dist-es/commands/CompareDomainConfigurationCommand.js +4 -0
- package/dist-es/commands/DescribeDomainReplicationCommand.js +4 -0
- package/dist-es/commands/FailoverReplicationCommand.js +4 -0
- package/dist-es/commands/RemoveReplicationPeerCommand.js +4 -0
- package/dist-es/commands/SwitchoverReplicationCommand.js +4 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +21 -0
- package/dist-es/models/errors.js +13 -13
- package/dist-es/schemas/schemas_0.js +189 -27
- package/dist-types/OpenSearch.d.ts +42 -0
- package/dist-types/OpenSearchClient.d.ts +8 -2
- package/dist-types/commands/AddReplicationPeerCommand.d.ts +93 -0
- package/dist-types/commands/CompareDomainConfigurationCommand.d.ts +124 -0
- package/dist-types/commands/DescribeDomainReplicationCommand.d.ts +96 -0
- package/dist-types/commands/FailoverReplicationCommand.d.ts +91 -0
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +2 -1
- package/dist-types/commands/ListMigrationsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/commands/RemoveReplicationPeerCommand.d.ts +86 -0
- package/dist-types/commands/SwitchoverReplicationCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +53 -0
- package/dist-types/models/errors.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +382 -314
- package/dist-types/models/models_1.d.ts +381 -2
- package/dist-types/schemas/schemas_0.d.ts +23 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +102 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/AddReplicationPeerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CompareDomainConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDomainReplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/FailoverReplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListMigrationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveReplicationPeerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SwitchoverReplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +25 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -6
- package/dist-types/ts3.4/models/models_0.d.ts +70 -72
- package/dist-types/ts3.4/models/models_1.d.ts +92 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -0
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListMigrationsRequest, ListMigrationsResponse } from "../models/
|
|
2
|
+
import type { ListMigrationsRequest, ListMigrationsResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListPackagesForDomainRequest, ListPackagesForDomainResponse } from "../models/
|
|
2
|
+
import type { ListPackagesForDomainRequest, ListPackagesForDomainResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListScheduledActionsRequest, ListScheduledActionsResponse } from "../models/
|
|
2
|
+
import type { ListScheduledActionsRequest, ListScheduledActionsResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RemoveReplicationPeerRequest, RemoveReplicationPeerResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RemoveReplicationPeerCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RemoveReplicationPeerCommandInput extends RemoveReplicationPeerRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RemoveReplicationPeerCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RemoveReplicationPeerCommandOutput extends RemoveReplicationPeerResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RemoveReplicationPeerCommand_base: {
|
|
22
|
+
new (input: RemoveReplicationPeerCommandInput): import("@smithy/core/client").CommandImpl<RemoveReplicationPeerCommandInput, RemoveReplicationPeerCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RemoveReplicationPeerCommandInput): import("@smithy/core/client").CommandImpl<RemoveReplicationPeerCommandInput, RemoveReplicationPeerCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Stops replicating a domain to its peer. Replication ends for both domains, and each domain
|
|
28
|
+
* keeps the data it holds at that point. Neither domain is deleted.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { OpenSearchClient, RemoveReplicationPeerCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
33
|
+
* // const { OpenSearchClient, RemoveReplicationPeerCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
34
|
+
* // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
|
|
35
|
+
* const config = {}; // type is OpenSearchClientConfig
|
|
36
|
+
* const client = new OpenSearchClient(config);
|
|
37
|
+
* const input = { // RemoveReplicationPeerRequest
|
|
38
|
+
* DomainName: "STRING_VALUE", // required
|
|
39
|
+
* PeerDomainArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new RemoveReplicationPeerCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // RemoveReplicationPeerResponse
|
|
44
|
+
* // DomainArn: "STRING_VALUE",
|
|
45
|
+
* // Status: "PENDING_SETUP" || "ACTIVE" || "SWITCHING_OVER" || "FAILING_OVER" || "PENDING_REMOVAL" || "DETACHED" || "EJECTED" || "FAILED",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param RemoveReplicationPeerCommandInput - {@link RemoveReplicationPeerCommandInput}
|
|
51
|
+
* @returns {@link RemoveReplicationPeerCommandOutput}
|
|
52
|
+
* @see {@link RemoveReplicationPeerCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link RemoveReplicationPeerCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
57
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalException} (server fault)
|
|
60
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link OpenSearchServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class RemoveReplicationPeerCommand extends RemoveReplicationPeerCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: RemoveReplicationPeerRequest;
|
|
79
|
+
output: RemoveReplicationPeerResponse;
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: RemoveReplicationPeerCommandInput;
|
|
83
|
+
output: RemoveReplicationPeerCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { SwitchoverReplicationRequest, SwitchoverReplicationResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link SwitchoverReplicationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface SwitchoverReplicationCommandInput extends SwitchoverReplicationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link SwitchoverReplicationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface SwitchoverReplicationCommandOutput extends SwitchoverReplicationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const SwitchoverReplicationCommand_base: {
|
|
22
|
+
new (input: SwitchoverReplicationCommandInput): import("@smithy/core/client").CommandImpl<SwitchoverReplicationCommandInput, SwitchoverReplicationCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: SwitchoverReplicationCommandInput): import("@smithy/core/client").CommandImpl<SwitchoverReplicationCommandInput, SwitchoverReplicationCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Promotes a secondary domain to primary, coordinating with the current primary so that no
|
|
28
|
+
* writes are lost. Use this operation for planned role changes, such as testing your recovery
|
|
29
|
+
* procedure or moving write traffic to another Region.</p>
|
|
30
|
+
* <p>Call this operation in the Region of the domain you want to promote. If the current primary
|
|
31
|
+
* is unreachable, use the <code>FailoverReplication</code> operation
|
|
32
|
+
* instead.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OpenSearchClient, SwitchoverReplicationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
37
|
+
* // const { OpenSearchClient, SwitchoverReplicationCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
38
|
+
* // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
|
|
39
|
+
* const config = {}; // type is OpenSearchClientConfig
|
|
40
|
+
* const client = new OpenSearchClient(config);
|
|
41
|
+
* const input = { // SwitchoverReplicationRequest
|
|
42
|
+
* DomainName: "STRING_VALUE", // required
|
|
43
|
+
* PeerDomainArn: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new SwitchoverReplicationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // SwitchoverReplicationResponse
|
|
48
|
+
* // DomainArn: "STRING_VALUE",
|
|
49
|
+
* // Status: "PENDING_SETUP" || "ACTIVE" || "SWITCHING_OVER" || "FAILING_OVER" || "PENDING_REMOVAL" || "DETACHED" || "EJECTED" || "FAILED",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param SwitchoverReplicationCommandInput - {@link SwitchoverReplicationCommandInput}
|
|
55
|
+
* @returns {@link SwitchoverReplicationCommandOutput}
|
|
56
|
+
* @see {@link SwitchoverReplicationCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link SwitchoverReplicationCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
61
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalException} (server fault)
|
|
64
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link OpenSearchServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class SwitchoverReplicationCommand extends SwitchoverReplicationCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: SwitchoverReplicationRequest;
|
|
83
|
+
output: SwitchoverReplicationResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: SwitchoverReplicationCommandInput;
|
|
87
|
+
output: SwitchoverReplicationCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AcceptInboundConnectionCommand";
|
|
2
2
|
export * from "./AddDataSourceCommand";
|
|
3
3
|
export * from "./AddDirectQueryDataSourceCommand";
|
|
4
|
+
export * from "./AddReplicationPeerCommand";
|
|
4
5
|
export * from "./AddTagsCommand";
|
|
5
6
|
export * from "./AssociatePackageCommand";
|
|
6
7
|
export * from "./AssociatePackagesCommand";
|
|
@@ -8,6 +9,7 @@ export * from "./AttachDataSourceCommand";
|
|
|
8
9
|
export * from "./AuthorizeVpcEndpointAccessCommand";
|
|
9
10
|
export * from "./CancelDomainConfigChangeCommand";
|
|
10
11
|
export * from "./CancelServiceSoftwareUpdateCommand";
|
|
12
|
+
export * from "./CompareDomainConfigurationCommand";
|
|
11
13
|
export * from "./CreateApplicationCommand";
|
|
12
14
|
export * from "./CreateDomainCommand";
|
|
13
15
|
export * from "./CreateIndexCommand";
|
|
@@ -31,6 +33,7 @@ export * from "./DescribeDomainCommand";
|
|
|
31
33
|
export * from "./DescribeDomainConfigCommand";
|
|
32
34
|
export * from "./DescribeDomainHealthCommand";
|
|
33
35
|
export * from "./DescribeDomainNodesCommand";
|
|
36
|
+
export * from "./DescribeDomainReplicationCommand";
|
|
34
37
|
export * from "./DescribeDomainsCommand";
|
|
35
38
|
export * from "./DescribeDryRunProgressCommand";
|
|
36
39
|
export * from "./DescribeInboundConnectionsCommand";
|
|
@@ -44,6 +47,7 @@ export * from "./DescribeVpcEndpointsCommand";
|
|
|
44
47
|
export * from "./DetachDataSourceCommand";
|
|
45
48
|
export * from "./DissociatePackageCommand";
|
|
46
49
|
export * from "./DissociatePackagesCommand";
|
|
50
|
+
export * from "./FailoverReplicationCommand";
|
|
47
51
|
export * from "./GetApplicationCommand";
|
|
48
52
|
export * from "./GetCapabilityCommand";
|
|
49
53
|
export * from "./GetCompatibleVersionsCommand";
|
|
@@ -78,12 +82,14 @@ export * from "./PurchaseReservedInstanceOfferingCommand";
|
|
|
78
82
|
export * from "./PutDefaultApplicationSettingCommand";
|
|
79
83
|
export * from "./RegisterCapabilityCommand";
|
|
80
84
|
export * from "./RejectInboundConnectionCommand";
|
|
85
|
+
export * from "./RemoveReplicationPeerCommand";
|
|
81
86
|
export * from "./RemoveTagsCommand";
|
|
82
87
|
export * from "./RevokeVpcEndpointAccessCommand";
|
|
83
88
|
export * from "./RollbackServiceSoftwareUpdateCommand";
|
|
84
89
|
export * from "./StartDomainMaintenanceCommand";
|
|
85
90
|
export * from "./StartMigrationCommand";
|
|
86
91
|
export * from "./StartServiceSoftwareUpdateCommand";
|
|
92
|
+
export * from "./SwitchoverReplicationCommand";
|
|
87
93
|
export * from "./UpdateApplicationCommand";
|
|
88
94
|
export * from "./UpdateDataSourceCommand";
|
|
89
95
|
export * from "./UpdateDirectQueryDataSourceCommand";
|
|
@@ -83,6 +83,24 @@ export declare const ActionType: {
|
|
|
83
83
|
* @public
|
|
84
84
|
*/
|
|
85
85
|
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
* @enum
|
|
89
|
+
*/
|
|
90
|
+
export declare const ReplicationStatus: {
|
|
91
|
+
readonly ACTIVE: "ACTIVE";
|
|
92
|
+
readonly DETACHED: "DETACHED";
|
|
93
|
+
readonly EJECTED: "EJECTED";
|
|
94
|
+
readonly FAILED: "FAILED";
|
|
95
|
+
readonly FAILING_OVER: "FAILING_OVER";
|
|
96
|
+
readonly PENDING_REMOVAL: "PENDING_REMOVAL";
|
|
97
|
+
readonly PENDING_SETUP: "PENDING_SETUP";
|
|
98
|
+
readonly SWITCHING_OVER: "SWITCHING_OVER";
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
|
|
86
104
|
/**
|
|
87
105
|
* @public
|
|
88
106
|
* @enum
|
|
@@ -192,6 +210,29 @@ export declare const DeploymentStatus: {
|
|
|
192
210
|
* @public
|
|
193
211
|
*/
|
|
194
212
|
export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
* @enum
|
|
216
|
+
*/
|
|
217
|
+
export declare const DiffFieldPolicy: {
|
|
218
|
+
readonly REDACTED: "redacted";
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
export type DiffFieldPolicy = (typeof DiffFieldPolicy)[keyof typeof DiffFieldPolicy];
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
* @enum
|
|
227
|
+
*/
|
|
228
|
+
export declare const DiffStatus: {
|
|
229
|
+
readonly COMPARED: "compared";
|
|
230
|
+
readonly ERROR: "error";
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export type DiffStatus = (typeof DiffStatus)[keyof typeof DiffStatus];
|
|
195
236
|
/**
|
|
196
237
|
* @public
|
|
197
238
|
* @enum
|
|
@@ -849,6 +890,18 @@ export declare const NodeType: {
|
|
|
849
890
|
* @public
|
|
850
891
|
*/
|
|
851
892
|
export type NodeType = (typeof NodeType)[keyof typeof NodeType];
|
|
893
|
+
/**
|
|
894
|
+
* @public
|
|
895
|
+
* @enum
|
|
896
|
+
*/
|
|
897
|
+
export declare const ReplicationRole: {
|
|
898
|
+
readonly PRIMARY: "PRIMARY";
|
|
899
|
+
readonly SECONDARY: "SECONDARY";
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* @public
|
|
903
|
+
*/
|
|
904
|
+
export type ReplicationRole = (typeof ReplicationRole)[keyof typeof ReplicationRole];
|
|
852
905
|
/**
|
|
853
906
|
* @public
|
|
854
907
|
* @enum
|
|
@@ -105,43 +105,43 @@ export declare class ValidationException extends __BaseException {
|
|
|
105
105
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
* <p>An
|
|
108
|
+
* <p>An exception for creating a resource that already exists.</p>
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
|
-
export declare class
|
|
111
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
112
112
|
static readonly shapeId: string;
|
|
113
|
-
readonly name: "
|
|
113
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
114
114
|
readonly $fault: "client";
|
|
115
115
|
/**
|
|
116
116
|
* @internal
|
|
117
117
|
*/
|
|
118
|
-
constructor(opts: __ExceptionOptionType<
|
|
118
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
* <p>An
|
|
121
|
+
* <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
|
|
122
122
|
* @public
|
|
123
123
|
*/
|
|
124
|
-
export declare class
|
|
124
|
+
export declare class ConflictException extends __BaseException {
|
|
125
125
|
static readonly shapeId: string;
|
|
126
|
-
readonly name: "
|
|
126
|
+
readonly name: "ConflictException";
|
|
127
127
|
readonly $fault: "client";
|
|
128
128
|
/**
|
|
129
129
|
* @internal
|
|
130
130
|
*/
|
|
131
|
-
constructor(opts: __ExceptionOptionType<
|
|
131
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
|
-
* <p>An exception for
|
|
134
|
+
* <p>An exception for trying to create or access a sub-resource that's either invalid or not supported.</p>
|
|
135
135
|
* @public
|
|
136
136
|
*/
|
|
137
|
-
export declare class
|
|
137
|
+
export declare class InvalidTypeException extends __BaseException {
|
|
138
138
|
static readonly shapeId: string;
|
|
139
|
-
readonly name: "
|
|
139
|
+
readonly name: "InvalidTypeException";
|
|
140
140
|
readonly $fault: "client";
|
|
141
141
|
/**
|
|
142
142
|
* @internal
|
|
143
143
|
*/
|
|
144
|
-
constructor(opts: __ExceptionOptionType<
|
|
144
|
+
constructor(opts: __ExceptionOptionType<InvalidTypeException, __BaseException>);
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* <p>The request was denied due to request throttling. Reduce the frequency of your requests and try again.</p>
|