@aws-sdk/client-opensearchserverless 3.1014.0 → 3.1016.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/index.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +4 -4
- package/dist-es/models/enums.js +2 -0
- package/dist-es/schemas/schemas_0.js +4 -4
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateCollectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateCollectionGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateIndexCommand.d.ts +1 -1
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCollectionGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCollectionCommand.d.ts +7 -1
- package/dist-types/commands/UpdateCollectionGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +8 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -968,8 +968,8 @@ exports.UpdateAccountSettingsResponse$ = [3, n0, _UASRp,
|
|
|
968
968
|
];
|
|
969
969
|
exports.UpdateCollectionDetail$ = [3, n0, _UCD,
|
|
970
970
|
0,
|
|
971
|
-
[_id_, _n, _st, _t, _d, _a, _cD, _lMD],
|
|
972
|
-
[0, 0, 0, 0, 0, 0, 1, 1]
|
|
971
|
+
[_id_, _n, _st, _t, _d, _vO, _a, _cD, _lMD],
|
|
972
|
+
[0, 0, 0, 0, 0, () => exports.VectorOptions$, 0, 1, 1]
|
|
973
973
|
];
|
|
974
974
|
exports.UpdateCollectionGroupDetail$ = [3, n0, _UCGD,
|
|
975
975
|
0,
|
|
@@ -988,8 +988,8 @@ exports.UpdateCollectionGroupResponse$ = [3, n0, _UCGRp,
|
|
|
988
988
|
];
|
|
989
989
|
exports.UpdateCollectionRequest$ = [3, n0, _UCR,
|
|
990
990
|
0,
|
|
991
|
-
[_id_, _d, _cT],
|
|
992
|
-
[0, 0, [0, 4]], 1
|
|
991
|
+
[_id_, _d, _vO, _cT],
|
|
992
|
+
[0, 0, () => exports.VectorOptions$, [0, 4]], 1
|
|
993
993
|
];
|
|
994
994
|
exports.UpdateCollectionResponse$ = [3, n0, _UCRp,
|
|
995
995
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -962,8 +962,8 @@ export var UpdateAccountSettingsResponse$ = [3, n0, _UASRp,
|
|
|
962
962
|
];
|
|
963
963
|
export var UpdateCollectionDetail$ = [3, n0, _UCD,
|
|
964
964
|
0,
|
|
965
|
-
[_id_, _n, _st, _t, _d, _a, _cD, _lMD],
|
|
966
|
-
[0, 0, 0, 0, 0, 0, 1, 1]
|
|
965
|
+
[_id_, _n, _st, _t, _d, _vO, _a, _cD, _lMD],
|
|
966
|
+
[0, 0, 0, 0, 0, () => VectorOptions$, 0, 1, 1]
|
|
967
967
|
];
|
|
968
968
|
export var UpdateCollectionGroupDetail$ = [3, n0, _UCGD,
|
|
969
969
|
0,
|
|
@@ -982,8 +982,8 @@ export var UpdateCollectionGroupResponse$ = [3, n0, _UCGRp,
|
|
|
982
982
|
];
|
|
983
983
|
export var UpdateCollectionRequest$ = [3, n0, _UCR,
|
|
984
984
|
0,
|
|
985
|
-
[_id_, _d, _cT],
|
|
986
|
-
[0, 0, [0, 4]], 1
|
|
985
|
+
[_id_, _d, _vO, _cT],
|
|
986
|
+
[0, 0, () => VectorOptions$, [0, 4]], 1
|
|
987
987
|
];
|
|
988
988
|
export var UpdateCollectionResponse$ = [3, n0, _UCRp,
|
|
989
989
|
0,
|
|
@@ -66,7 +66,7 @@ declare const CreateAccessPolicyCommand_base: {
|
|
|
66
66
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ConflictException} (client fault)
|
|
69
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
69
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InternalServerException} (server fault)
|
|
72
72
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -87,7 +87,7 @@ declare const CreateCollectionCommand_base: {
|
|
|
87
87
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link ConflictException} (client fault)
|
|
90
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
90
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
91
91
|
*
|
|
92
92
|
* @throws {@link InternalServerException} (server fault)
|
|
93
93
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -88,7 +88,7 @@ declare const CreateCollectionGroupCommand_base: {
|
|
|
88
88
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
89
89
|
*
|
|
90
90
|
* @throws {@link ConflictException} (client fault)
|
|
91
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
91
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
92
92
|
*
|
|
93
93
|
* @throws {@link InternalServerException} (server fault)
|
|
94
94
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -54,7 +54,7 @@ declare const CreateIndexCommand_base: {
|
|
|
54
54
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ConflictException} (client fault)
|
|
57
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
57
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InternalServerException} (server fault)
|
|
60
60
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -66,7 +66,7 @@ declare const CreateLifecyclePolicyCommand_base: {
|
|
|
66
66
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ConflictException} (client fault)
|
|
69
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
69
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InternalServerException} (server fault)
|
|
72
72
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -99,7 +99,7 @@ declare const CreateSecurityConfigCommand_base: {
|
|
|
99
99
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
100
100
|
*
|
|
101
101
|
* @throws {@link ConflictException} (client fault)
|
|
102
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
102
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
103
103
|
*
|
|
104
104
|
* @throws {@link InternalServerException} (server fault)
|
|
105
105
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -66,7 +66,7 @@ declare const CreateSecurityPolicyCommand_base: {
|
|
|
66
66
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ConflictException} (client fault)
|
|
69
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
69
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InternalServerException} (server fault)
|
|
72
72
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -66,7 +66,7 @@ declare const CreateVpcEndpointCommand_base: {
|
|
|
66
66
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ConflictException} (client fault)
|
|
69
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
69
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InternalServerException} (server fault)
|
|
72
72
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -54,7 +54,7 @@ declare const DeleteAccessPolicyCommand_base: {
|
|
|
54
54
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ConflictException} (client fault)
|
|
57
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
57
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InternalServerException} (server fault)
|
|
60
60
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -59,7 +59,7 @@ declare const DeleteCollectionCommand_base: {
|
|
|
59
59
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ConflictException} (client fault)
|
|
62
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
62
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link InternalServerException} (server fault)
|
|
65
65
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -53,7 +53,7 @@ declare const DeleteCollectionGroupCommand_base: {
|
|
|
53
53
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
56
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerException} (server fault)
|
|
59
59
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -54,7 +54,7 @@ declare const DeleteLifecyclePolicyCommand_base: {
|
|
|
54
54
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ConflictException} (client fault)
|
|
57
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
57
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InternalServerException} (server fault)
|
|
60
60
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -53,7 +53,7 @@ declare const DeleteSecurityConfigCommand_base: {
|
|
|
53
53
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
56
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerException} (server fault)
|
|
59
59
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -54,7 +54,7 @@ declare const DeleteSecurityPolicyCommand_base: {
|
|
|
54
54
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ConflictException} (client fault)
|
|
57
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
57
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InternalServerException} (server fault)
|
|
60
60
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -59,7 +59,7 @@ declare const DeleteVpcEndpointCommand_base: {
|
|
|
59
59
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ConflictException} (client fault)
|
|
62
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
62
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link InternalServerException} (server fault)
|
|
65
65
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -58,7 +58,7 @@ declare const TagResourceCommand_base: {
|
|
|
58
58
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ConflictException} (client fault)
|
|
61
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
61
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link InternalServerException} (server fault)
|
|
64
64
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -55,7 +55,7 @@ declare const UntagResourceCommand_base: {
|
|
|
55
55
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ConflictException} (client fault)
|
|
58
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
58
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerException} (server fault)
|
|
61
61
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -67,7 +67,7 @@ declare const UpdateAccessPolicyCommand_base: {
|
|
|
67
67
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ConflictException} (client fault)
|
|
70
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
70
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link InternalServerException} (server fault)
|
|
73
73
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -39,6 +39,9 @@ declare const UpdateCollectionCommand_base: {
|
|
|
39
39
|
* const input = { // UpdateCollectionRequest
|
|
40
40
|
* id: "STRING_VALUE", // required
|
|
41
41
|
* description: "STRING_VALUE",
|
|
42
|
+
* vectorOptions: { // VectorOptions
|
|
43
|
+
* ServerlessVectorAcceleration: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
42
45
|
* clientToken: "STRING_VALUE",
|
|
43
46
|
* };
|
|
44
47
|
* const command = new UpdateCollectionCommand(input);
|
|
@@ -50,6 +53,9 @@ declare const UpdateCollectionCommand_base: {
|
|
|
50
53
|
* // status: "STRING_VALUE",
|
|
51
54
|
* // type: "STRING_VALUE",
|
|
52
55
|
* // description: "STRING_VALUE",
|
|
56
|
+
* // vectorOptions: { // VectorOptions
|
|
57
|
+
* // ServerlessVectorAcceleration: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
53
59
|
* // arn: "STRING_VALUE",
|
|
54
60
|
* // createdDate: Number("long"),
|
|
55
61
|
* // lastModifiedDate: Number("long"),
|
|
@@ -65,7 +71,7 @@ declare const UpdateCollectionCommand_base: {
|
|
|
65
71
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
66
72
|
*
|
|
67
73
|
* @throws {@link ConflictException} (client fault)
|
|
68
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
74
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
69
75
|
*
|
|
70
76
|
* @throws {@link InternalServerException} (server fault)
|
|
71
77
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -75,7 +75,7 @@ declare const UpdateCollectionGroupCommand_base: {
|
|
|
75
75
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link ConflictException} (client fault)
|
|
78
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
78
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link InternalServerException} (server fault)
|
|
81
81
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -67,7 +67,7 @@ declare const UpdateLifecyclePolicyCommand_base: {
|
|
|
67
67
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ConflictException} (client fault)
|
|
70
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
70
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link InternalServerException} (server fault)
|
|
73
73
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -98,7 +98,7 @@ declare const UpdateSecurityConfigCommand_base: {
|
|
|
98
98
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
99
99
|
*
|
|
100
100
|
* @throws {@link ConflictException} (client fault)
|
|
101
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
101
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
102
102
|
*
|
|
103
103
|
* @throws {@link InternalServerException} (server fault)
|
|
104
104
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -67,7 +67,7 @@ declare const UpdateSecurityPolicyCommand_base: {
|
|
|
67
67
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ConflictException} (client fault)
|
|
70
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
70
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link InternalServerException} (server fault)
|
|
73
73
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -78,7 +78,7 @@ declare const UpdateVpcEndpointCommand_base: {
|
|
|
78
78
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ConflictException} (client fault)
|
|
81
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
81
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link InternalServerException} (server fault)
|
|
84
84
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
@@ -51,6 +51,14 @@ export declare const CollectionStatus: {
|
|
|
51
51
|
* Collection resource create or delete failed
|
|
52
52
|
*/
|
|
53
53
|
readonly FAILED: "FAILED";
|
|
54
|
+
/**
|
|
55
|
+
* Collection resource update failed
|
|
56
|
+
*/
|
|
57
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
58
|
+
/**
|
|
59
|
+
* Updating collection resource
|
|
60
|
+
*/
|
|
61
|
+
readonly UPDATING: "UPDATING";
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
56
64
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created.</p>
|
|
4
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.</p>
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class ConflictException extends __BaseException {
|
|
@@ -1215,6 +1215,11 @@ export interface UpdateCollectionRequest {
|
|
|
1215
1215
|
* @public
|
|
1216
1216
|
*/
|
|
1217
1217
|
description?: string | undefined;
|
|
1218
|
+
/**
|
|
1219
|
+
* <p>Configuration options for vector search capabilities in the collection.</p>
|
|
1220
|
+
* @public
|
|
1221
|
+
*/
|
|
1222
|
+
vectorOptions?: VectorOptions | undefined;
|
|
1218
1223
|
/**
|
|
1219
1224
|
* <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
|
|
1220
1225
|
* @public
|
|
@@ -1251,6 +1256,11 @@ export interface UpdateCollectionDetail {
|
|
|
1251
1256
|
* @public
|
|
1252
1257
|
*/
|
|
1253
1258
|
description?: string | undefined;
|
|
1259
|
+
/**
|
|
1260
|
+
* <p>Configuration options for vector search capabilities in the collection.</p>
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1263
|
+
vectorOptions?: VectorOptions | undefined;
|
|
1254
1264
|
/**
|
|
1255
1265
|
* <p>The Amazon Resource Name (ARN) of the collection.</p>
|
|
1256
1266
|
* @public
|
|
@@ -14,6 +14,8 @@ export declare const CollectionStatus: {
|
|
|
14
14
|
readonly CREATING: "CREATING";
|
|
15
15
|
readonly DELETING: "DELETING";
|
|
16
16
|
readonly FAILED: "FAILED";
|
|
17
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
18
|
+
readonly UPDATING: "UPDATING";
|
|
17
19
|
};
|
|
18
20
|
export type CollectionStatus =
|
|
19
21
|
(typeof CollectionStatus)[keyof typeof CollectionStatus];
|
|
@@ -306,6 +306,7 @@ export interface ListCollectionsResponse {
|
|
|
306
306
|
export interface UpdateCollectionRequest {
|
|
307
307
|
id: string | undefined;
|
|
308
308
|
description?: string | undefined;
|
|
309
|
+
vectorOptions?: VectorOptions | undefined;
|
|
309
310
|
clientToken?: string | undefined;
|
|
310
311
|
}
|
|
311
312
|
export interface UpdateCollectionDetail {
|
|
@@ -314,6 +315,7 @@ export interface UpdateCollectionDetail {
|
|
|
314
315
|
status?: CollectionStatus | undefined;
|
|
315
316
|
type?: CollectionType | undefined;
|
|
316
317
|
description?: string | undefined;
|
|
318
|
+
vectorOptions?: VectorOptions | undefined;
|
|
317
319
|
arn?: string | undefined;
|
|
318
320
|
createdDate?: number | undefined;
|
|
319
321
|
lastModifiedDate?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.1016.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-opensearchserverless",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.24",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.25",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.25",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.9",
|
|
31
31
|
"@aws-sdk/types": "^3.973.6",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.11",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.13",
|
|
36
36
|
"@smithy/core": "^3.23.12",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.15",
|