@aws-sdk/client-opensearchserverless 3.461.0 → 3.465.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/dist-cjs/models/models_0.js +5 -1
- package/dist-cjs/protocols/Aws_json1_0.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +1 -0
- package/dist-types/commands/BatchGetCollectionCommand.d.ts +1 -0
- package/dist-types/commands/CreateCollectionCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +33 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +14 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SecurityPolicyType = exports.SecurityConfigType = exports.OcuLimitExceededException = exports.VpcEndpointStatus = exports.ResourceType = exports.LifecyclePolicyType = exports.CollectionType = exports.CollectionStatus = exports.ResourceNotFoundException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessPolicyType = void 0;
|
|
3
|
+
exports.SecurityPolicyType = exports.SecurityConfigType = exports.OcuLimitExceededException = exports.VpcEndpointStatus = exports.ResourceType = exports.LifecyclePolicyType = exports.CollectionType = exports.CollectionStatus = exports.StandbyReplicas = exports.ResourceNotFoundException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessPolicyType = void 0;
|
|
4
4
|
const OpenSearchServerlessServiceException_1 = require("./OpenSearchServerlessServiceException");
|
|
5
5
|
exports.AccessPolicyType = {
|
|
6
6
|
data: "data",
|
|
@@ -74,6 +74,10 @@ class ResourceNotFoundException extends OpenSearchServerlessServiceException_1.O
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
77
|
+
exports.StandbyReplicas = {
|
|
78
|
+
DISABLED: "DISABLED",
|
|
79
|
+
ENABLED: "ENABLED",
|
|
80
|
+
};
|
|
77
81
|
exports.CollectionStatus = {
|
|
78
82
|
ACTIVE: "ACTIVE",
|
|
79
83
|
CREATING: "CREATING",
|
|
@@ -66,6 +66,10 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
66
66
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
+
export const StandbyReplicas = {
|
|
70
|
+
DISABLED: "DISABLED",
|
|
71
|
+
ENABLED: "ENABLED",
|
|
72
|
+
};
|
|
69
73
|
export const CollectionStatus = {
|
|
70
74
|
ACTIVE: "ACTIVE",
|
|
71
75
|
CREATING: "CREATING",
|
|
@@ -52,6 +52,7 @@ export interface BatchGetCollectionCommandOutput extends BatchGetCollectionRespo
|
|
|
52
52
|
* // description: "STRING_VALUE",
|
|
53
53
|
* // arn: "STRING_VALUE",
|
|
54
54
|
* // kmsKeyArn: "STRING_VALUE",
|
|
55
|
+
* // standbyReplicas: "STRING_VALUE",
|
|
55
56
|
* // createdDate: Number("long"),
|
|
56
57
|
* // lastModifiedDate: Number("long"),
|
|
57
58
|
* // collectionEndpoint: "STRING_VALUE",
|
|
@@ -41,6 +41,7 @@ export interface CreateCollectionCommandOutput extends CreateCollectionResponse,
|
|
|
41
41
|
* value: "STRING_VALUE", // required
|
|
42
42
|
* },
|
|
43
43
|
* ],
|
|
44
|
+
* standbyReplicas: "STRING_VALUE",
|
|
44
45
|
* clientToken: "STRING_VALUE",
|
|
45
46
|
* };
|
|
46
47
|
* const command = new CreateCollectionCommand(input);
|
|
@@ -54,6 +55,7 @@ export interface CreateCollectionCommandOutput extends CreateCollectionResponse,
|
|
|
54
55
|
* // description: "STRING_VALUE",
|
|
55
56
|
* // arn: "STRING_VALUE",
|
|
56
57
|
* // kmsKeyArn: "STRING_VALUE",
|
|
58
|
+
* // standbyReplicas: "STRING_VALUE",
|
|
57
59
|
* // createdDate: Number("long"),
|
|
58
60
|
* // lastModifiedDate: Number("long"),
|
|
59
61
|
* // },
|
|
@@ -418,6 +418,24 @@ export interface BatchGetCollectionRequest {
|
|
|
418
418
|
*/
|
|
419
419
|
names?: string[];
|
|
420
420
|
}
|
|
421
|
+
/**
|
|
422
|
+
* @public
|
|
423
|
+
* @enum
|
|
424
|
+
*/
|
|
425
|
+
export declare const StandbyReplicas: {
|
|
426
|
+
/**
|
|
427
|
+
* Standby replicas disabled
|
|
428
|
+
*/
|
|
429
|
+
readonly DISABLED: "DISABLED";
|
|
430
|
+
/**
|
|
431
|
+
* Standby replicas enabled
|
|
432
|
+
*/
|
|
433
|
+
readonly ENABLED: "ENABLED";
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
export type StandbyReplicas = (typeof StandbyReplicas)[keyof typeof StandbyReplicas];
|
|
421
439
|
/**
|
|
422
440
|
* @public
|
|
423
441
|
* @enum
|
|
@@ -507,6 +525,11 @@ export interface CollectionDetail {
|
|
|
507
525
|
* <p>The ARN of the Amazon Web Services KMS key used to encrypt the collection.</p>
|
|
508
526
|
*/
|
|
509
527
|
kmsKeyArn?: string;
|
|
528
|
+
/**
|
|
529
|
+
* @public
|
|
530
|
+
* <p>Details about an OpenSearch Serverless collection.</p>
|
|
531
|
+
*/
|
|
532
|
+
standbyReplicas?: StandbyReplicas;
|
|
510
533
|
/**
|
|
511
534
|
* @public
|
|
512
535
|
* <p>The Epoch time when the collection was created.</p>
|
|
@@ -968,6 +991,11 @@ export interface CreateCollectionRequest {
|
|
|
968
991
|
* <p>An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.</p>
|
|
969
992
|
*/
|
|
970
993
|
tags?: Tag[];
|
|
994
|
+
/**
|
|
995
|
+
* @public
|
|
996
|
+
* <p>Indicates whether standby replicas should be used for a collection.</p>
|
|
997
|
+
*/
|
|
998
|
+
standbyReplicas?: StandbyReplicas;
|
|
971
999
|
/**
|
|
972
1000
|
* @public
|
|
973
1001
|
* <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
|
|
@@ -1014,6 +1042,11 @@ export interface CreateCollectionDetail {
|
|
|
1014
1042
|
* <p>The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.</p>
|
|
1015
1043
|
*/
|
|
1016
1044
|
kmsKeyArn?: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* @public
|
|
1047
|
+
* <p>Creates details about an OpenSearch Serverless collection.</p>
|
|
1048
|
+
*/
|
|
1049
|
+
standbyReplicas?: StandbyReplicas;
|
|
1017
1050
|
/**
|
|
1018
1051
|
* @public
|
|
1019
1052
|
* <p>The Epoch time when the collection was created.</p>
|
|
@@ -118,6 +118,12 @@ export interface BatchGetCollectionRequest {
|
|
|
118
118
|
ids?: string[];
|
|
119
119
|
names?: string[];
|
|
120
120
|
}
|
|
121
|
+
export declare const StandbyReplicas: {
|
|
122
|
+
readonly DISABLED: "DISABLED";
|
|
123
|
+
readonly ENABLED: "ENABLED";
|
|
124
|
+
};
|
|
125
|
+
export type StandbyReplicas =
|
|
126
|
+
(typeof StandbyReplicas)[keyof typeof StandbyReplicas];
|
|
121
127
|
export declare const CollectionStatus: {
|
|
122
128
|
readonly ACTIVE: "ACTIVE";
|
|
123
129
|
readonly CREATING: "CREATING";
|
|
@@ -141,6 +147,7 @@ export interface CollectionDetail {
|
|
|
141
147
|
description?: string;
|
|
142
148
|
arn?: string;
|
|
143
149
|
kmsKeyArn?: string;
|
|
150
|
+
standbyReplicas?: StandbyReplicas;
|
|
144
151
|
createdDate?: number;
|
|
145
152
|
lastModifiedDate?: number;
|
|
146
153
|
collectionEndpoint?: string;
|
|
@@ -254,6 +261,7 @@ export interface CreateCollectionRequest {
|
|
|
254
261
|
type?: CollectionType;
|
|
255
262
|
description?: string;
|
|
256
263
|
tags?: Tag[];
|
|
264
|
+
standbyReplicas?: StandbyReplicas;
|
|
257
265
|
clientToken?: string;
|
|
258
266
|
}
|
|
259
267
|
export interface CreateCollectionDetail {
|
|
@@ -264,6 +272,7 @@ export interface CreateCollectionDetail {
|
|
|
264
272
|
description?: string;
|
|
265
273
|
arn?: string;
|
|
266
274
|
kmsKeyArn?: string;
|
|
275
|
+
standbyReplicas?: StandbyReplicas;
|
|
267
276
|
createdDate?: number;
|
|
268
277
|
lastModifiedDate?: number;
|
|
269
278
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-opensearchserverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Opensearchserverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.465.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
-
"build:docs": "typedoc",
|
|
9
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
11
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -21,19 +20,19 @@
|
|
|
21
20
|
"dependencies": {
|
|
22
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.465.0",
|
|
24
|
+
"@aws-sdk/core": "3.465.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.465.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.465.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.465.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.465.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.465.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.465.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.465.0",
|
|
32
|
+
"@aws-sdk/types": "3.465.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.465.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.465.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.465.0",
|
|
37
36
|
"@smithy/config-resolver": "^2.0.18",
|
|
38
37
|
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
38
|
"@smithy/hash-node": "^2.0.15",
|
|
@@ -68,7 +67,6 @@
|
|
|
68
67
|
"concurrently": "7.0.0",
|
|
69
68
|
"downlevel-dts": "0.10.1",
|
|
70
69
|
"rimraf": "3.0.2",
|
|
71
|
-
"typedoc": "0.23.23",
|
|
72
70
|
"typescript": "~4.9.5"
|
|
73
71
|
},
|
|
74
72
|
"engines": {
|