@aws-sdk/client-opensearchserverless 3.489.0 → 3.495.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.
Files changed (57) hide show
  1. package/dist-cjs/OpenSearchServerless.js +1 -85
  2. package/dist-cjs/OpenSearchServerlessClient.js +1 -43
  3. package/dist-cjs/commands/BatchGetCollectionCommand.js +1 -28
  4. package/dist-cjs/commands/BatchGetEffectiveLifecyclePolicyCommand.js +1 -28
  5. package/dist-cjs/commands/BatchGetLifecyclePolicyCommand.js +1 -28
  6. package/dist-cjs/commands/BatchGetVpcEndpointCommand.js +1 -28
  7. package/dist-cjs/commands/CreateAccessPolicyCommand.js +1 -28
  8. package/dist-cjs/commands/CreateCollectionCommand.js +1 -28
  9. package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +1 -28
  10. package/dist-cjs/commands/CreateSecurityConfigCommand.js +1 -28
  11. package/dist-cjs/commands/CreateSecurityPolicyCommand.js +1 -28
  12. package/dist-cjs/commands/CreateVpcEndpointCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteAccessPolicyCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteCollectionCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteSecurityConfigCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteSecurityPolicyCommand.js +1 -28
  18. package/dist-cjs/commands/DeleteVpcEndpointCommand.js +1 -28
  19. package/dist-cjs/commands/GetAccessPolicyCommand.js +1 -28
  20. package/dist-cjs/commands/GetAccountSettingsCommand.js +1 -28
  21. package/dist-cjs/commands/GetPoliciesStatsCommand.js +1 -28
  22. package/dist-cjs/commands/GetSecurityConfigCommand.js +1 -28
  23. package/dist-cjs/commands/GetSecurityPolicyCommand.js +1 -28
  24. package/dist-cjs/commands/ListAccessPoliciesCommand.js +1 -28
  25. package/dist-cjs/commands/ListCollectionsCommand.js +1 -28
  26. package/dist-cjs/commands/ListLifecyclePoliciesCommand.js +1 -28
  27. package/dist-cjs/commands/ListSecurityConfigsCommand.js +1 -28
  28. package/dist-cjs/commands/ListSecurityPoliciesCommand.js +1 -28
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  30. package/dist-cjs/commands/ListVpcEndpointsCommand.js +1 -28
  31. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  32. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  33. package/dist-cjs/commands/UpdateAccessPolicyCommand.js +1 -28
  34. package/dist-cjs/commands/UpdateAccountSettingsCommand.js +1 -28
  35. package/dist-cjs/commands/UpdateCollectionCommand.js +1 -28
  36. package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +1 -28
  37. package/dist-cjs/commands/UpdateSecurityConfigCommand.js +1 -28
  38. package/dist-cjs/commands/UpdateSecurityPolicyCommand.js +1 -28
  39. package/dist-cjs/commands/UpdateVpcEndpointCommand.js +1 -28
  40. package/dist-cjs/commands/index.js +1 -40
  41. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  42. package/dist-cjs/extensionConfiguration.js +1 -2
  43. package/dist-cjs/index.js +3183 -11
  44. package/dist-cjs/models/OpenSearchServerlessServiceException.js +1 -12
  45. package/dist-cjs/models/index.js +1 -4
  46. package/dist-cjs/models/models_0.js +1 -123
  47. package/dist-cjs/pagination/Interfaces.js +1 -2
  48. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +1 -7
  49. package/dist-cjs/pagination/ListCollectionsPaginator.js +1 -7
  50. package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +1 -7
  51. package/dist-cjs/pagination/ListSecurityConfigsPaginator.js +1 -7
  52. package/dist-cjs/pagination/ListSecurityPoliciesPaginator.js +1 -7
  53. package/dist-cjs/pagination/ListVpcEndpointsPaginator.js +1 -7
  54. package/dist-cjs/pagination/index.js +1 -10
  55. package/dist-cjs/protocols/Aws_json1_0.js +1 -2101
  56. package/dist-cjs/runtimeExtensions.js +1 -22
  57. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OpenSearchServerlessServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class OpenSearchServerlessServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, OpenSearchServerlessServiceException.prototype);
10
- }
11
- }
12
- exports.OpenSearchServerlessServiceException = OpenSearchServerlessServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,123 +1 @@
1
- "use strict";
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.StandbyReplicas = exports.ResourceNotFoundException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessPolicyType = void 0;
4
- const OpenSearchServerlessServiceException_1 = require("./OpenSearchServerlessServiceException");
5
- exports.AccessPolicyType = {
6
- data: "data",
7
- };
8
- class ConflictException extends OpenSearchServerlessServiceException_1.OpenSearchServerlessServiceException {
9
- constructor(opts) {
10
- super({
11
- name: "ConflictException",
12
- $fault: "client",
13
- ...opts,
14
- });
15
- this.name = "ConflictException";
16
- this.$fault = "client";
17
- Object.setPrototypeOf(this, ConflictException.prototype);
18
- }
19
- }
20
- exports.ConflictException = ConflictException;
21
- class InternalServerException extends OpenSearchServerlessServiceException_1.OpenSearchServerlessServiceException {
22
- constructor(opts) {
23
- super({
24
- name: "InternalServerException",
25
- $fault: "server",
26
- ...opts,
27
- });
28
- this.name = "InternalServerException";
29
- this.$fault = "server";
30
- Object.setPrototypeOf(this, InternalServerException.prototype);
31
- }
32
- }
33
- exports.InternalServerException = InternalServerException;
34
- class ServiceQuotaExceededException extends OpenSearchServerlessServiceException_1.OpenSearchServerlessServiceException {
35
- constructor(opts) {
36
- super({
37
- name: "ServiceQuotaExceededException",
38
- $fault: "client",
39
- ...opts,
40
- });
41
- this.name = "ServiceQuotaExceededException";
42
- this.$fault = "client";
43
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
44
- this.resourceId = opts.resourceId;
45
- this.resourceType = opts.resourceType;
46
- this.serviceCode = opts.serviceCode;
47
- this.quotaCode = opts.quotaCode;
48
- }
49
- }
50
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
51
- class ValidationException extends OpenSearchServerlessServiceException_1.OpenSearchServerlessServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "ValidationException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- this.name = "ValidationException";
59
- this.$fault = "client";
60
- Object.setPrototypeOf(this, ValidationException.prototype);
61
- }
62
- }
63
- exports.ValidationException = ValidationException;
64
- class ResourceNotFoundException extends OpenSearchServerlessServiceException_1.OpenSearchServerlessServiceException {
65
- constructor(opts) {
66
- super({
67
- name: "ResourceNotFoundException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- this.name = "ResourceNotFoundException";
72
- this.$fault = "client";
73
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
74
- }
75
- }
76
- exports.ResourceNotFoundException = ResourceNotFoundException;
77
- exports.StandbyReplicas = {
78
- DISABLED: "DISABLED",
79
- ENABLED: "ENABLED",
80
- };
81
- exports.CollectionStatus = {
82
- ACTIVE: "ACTIVE",
83
- CREATING: "CREATING",
84
- DELETING: "DELETING",
85
- FAILED: "FAILED",
86
- };
87
- exports.CollectionType = {
88
- SEARCH: "SEARCH",
89
- TIMESERIES: "TIMESERIES",
90
- VECTORSEARCH: "VECTORSEARCH",
91
- };
92
- exports.LifecyclePolicyType = {
93
- retention: "retention",
94
- };
95
- exports.ResourceType = {
96
- index: "index",
97
- };
98
- exports.VpcEndpointStatus = {
99
- ACTIVE: "ACTIVE",
100
- DELETING: "DELETING",
101
- FAILED: "FAILED",
102
- PENDING: "PENDING",
103
- };
104
- class OcuLimitExceededException extends OpenSearchServerlessServiceException_1.OpenSearchServerlessServiceException {
105
- constructor(opts) {
106
- super({
107
- name: "OcuLimitExceededException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- this.name = "OcuLimitExceededException";
112
- this.$fault = "client";
113
- Object.setPrototypeOf(this, OcuLimitExceededException.prototype);
114
- }
115
- }
116
- exports.OcuLimitExceededException = OcuLimitExceededException;
117
- exports.SecurityConfigType = {
118
- saml: "saml",
119
- };
120
- exports.SecurityPolicyType = {
121
- encryption: "encryption",
122
- network: "network",
123
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAccessPolicies = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAccessPoliciesCommand_1 = require("../commands/ListAccessPoliciesCommand");
6
- const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
7
- exports.paginateListAccessPolicies = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListAccessPoliciesCommand_1.ListAccessPoliciesCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCollections = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListCollectionsCommand_1 = require("../commands/ListCollectionsCommand");
6
- const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
7
- exports.paginateListCollections = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListCollectionsCommand_1.ListCollectionsCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListLifecyclePolicies = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListLifecyclePoliciesCommand_1 = require("../commands/ListLifecyclePoliciesCommand");
6
- const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
7
- exports.paginateListLifecyclePolicies = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListLifecyclePoliciesCommand_1.ListLifecyclePoliciesCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSecurityConfigs = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSecurityConfigsCommand_1 = require("../commands/ListSecurityConfigsCommand");
6
- const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
7
- exports.paginateListSecurityConfigs = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListSecurityConfigsCommand_1.ListSecurityConfigsCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSecurityPolicies = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSecurityPoliciesCommand_1 = require("../commands/ListSecurityPoliciesCommand");
6
- const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
7
- exports.paginateListSecurityPolicies = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListSecurityPoliciesCommand_1.ListSecurityPoliciesCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListVpcEndpoints = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListVpcEndpointsCommand_1 = require("../commands/ListVpcEndpointsCommand");
6
- const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
7
- exports.paginateListVpcEndpoints = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListVpcEndpointsCommand_1.ListVpcEndpointsCommand, "nextToken", "nextToken", "");
1
+ module.exports = require("../index.js");
@@ -1,10 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListAccessPoliciesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListCollectionsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListLifecyclePoliciesPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListSecurityConfigsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListSecurityPoliciesPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListVpcEndpointsPaginator"), exports);
1
+ module.exports = require("../index.js");