@aws-sdk/client-opensearchserverless 3.220.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/LICENSE +201 -0
- package/README.md +214 -0
- package/dist-cjs/OpenSearchServerless.js +472 -0
- package/dist-cjs/OpenSearchServerlessClient.js +40 -0
- package/dist-cjs/commands/BatchGetCollectionCommand.js +46 -0
- package/dist-cjs/commands/BatchGetVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/CreateAccessPolicyCommand.js +46 -0
- package/dist-cjs/commands/CreateCollectionCommand.js +46 -0
- package/dist-cjs/commands/CreateSecurityConfigCommand.js +46 -0
- package/dist-cjs/commands/CreateSecurityPolicyCommand.js +46 -0
- package/dist-cjs/commands/CreateVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/DeleteAccessPolicyCommand.js +46 -0
- package/dist-cjs/commands/DeleteCollectionCommand.js +46 -0
- package/dist-cjs/commands/DeleteSecurityConfigCommand.js +46 -0
- package/dist-cjs/commands/DeleteSecurityPolicyCommand.js +46 -0
- package/dist-cjs/commands/DeleteVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/GetAccessPolicyCommand.js +46 -0
- package/dist-cjs/commands/GetAccountSettingsCommand.js +46 -0
- package/dist-cjs/commands/GetPoliciesStatsCommand.js +46 -0
- package/dist-cjs/commands/GetSecurityConfigCommand.js +46 -0
- package/dist-cjs/commands/GetSecurityPolicyCommand.js +46 -0
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +46 -0
- package/dist-cjs/commands/ListCollectionsCommand.js +46 -0
- package/dist-cjs/commands/ListSecurityConfigsCommand.js +46 -0
- package/dist-cjs/commands/ListSecurityPoliciesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/ListVpcEndpointsCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateAccessPolicyCommand.js +46 -0
- package/dist-cjs/commands/UpdateAccountSettingsCommand.js +46 -0
- package/dist-cjs/commands/UpdateCollectionCommand.js +46 -0
- package/dist-cjs/commands/UpdateSecurityConfigCommand.js +46 -0
- package/dist-cjs/commands/UpdateSecurityPolicyCommand.js +46 -0
- package/dist-cjs/commands/UpdateVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/index.js +34 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/OpenSearchServerlessServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +445 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +35 -0
- package/dist-cjs/pagination/ListCollectionsPaginator.js +35 -0
- package/dist-cjs/pagination/ListSecurityConfigsPaginator.js +35 -0
- package/dist-cjs/pagination/ListSecurityPoliciesPaginator.js +35 -0
- package/dist-cjs/pagination/ListVpcEndpointsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2572 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/OpenSearchServerless.js +468 -0
- package/dist-es/OpenSearchServerlessClient.js +36 -0
- package/dist-es/commands/BatchGetCollectionCommand.js +42 -0
- package/dist-es/commands/BatchGetVpcEndpointCommand.js +42 -0
- package/dist-es/commands/CreateAccessPolicyCommand.js +42 -0
- package/dist-es/commands/CreateCollectionCommand.js +42 -0
- package/dist-es/commands/CreateSecurityConfigCommand.js +42 -0
- package/dist-es/commands/CreateSecurityPolicyCommand.js +42 -0
- package/dist-es/commands/CreateVpcEndpointCommand.js +42 -0
- package/dist-es/commands/DeleteAccessPolicyCommand.js +42 -0
- package/dist-es/commands/DeleteCollectionCommand.js +42 -0
- package/dist-es/commands/DeleteSecurityConfigCommand.js +42 -0
- package/dist-es/commands/DeleteSecurityPolicyCommand.js +42 -0
- package/dist-es/commands/DeleteVpcEndpointCommand.js +42 -0
- package/dist-es/commands/GetAccessPolicyCommand.js +42 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +42 -0
- package/dist-es/commands/GetPoliciesStatsCommand.js +42 -0
- package/dist-es/commands/GetSecurityConfigCommand.js +42 -0
- package/dist-es/commands/GetSecurityPolicyCommand.js +42 -0
- package/dist-es/commands/ListAccessPoliciesCommand.js +42 -0
- package/dist-es/commands/ListCollectionsCommand.js +42 -0
- package/dist-es/commands/ListSecurityConfigsCommand.js +42 -0
- package/dist-es/commands/ListSecurityPoliciesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/ListVpcEndpointsCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateAccessPolicyCommand.js +42 -0
- package/dist-es/commands/UpdateAccountSettingsCommand.js +42 -0
- package/dist-es/commands/UpdateCollectionCommand.js +42 -0
- package/dist-es/commands/UpdateSecurityConfigCommand.js +42 -0
- package/dist-es/commands/UpdateSecurityPolicyCommand.js +42 -0
- package/dist-es/commands/UpdateVpcEndpointCommand.js +42 -0
- package/dist-es/commands/index.js +31 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/OpenSearchServerlessServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +348 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +31 -0
- package/dist-es/pagination/ListCollectionsPaginator.js +31 -0
- package/dist-es/pagination/ListSecurityConfigsPaginator.js +31 -0
- package/dist-es/pagination/ListSecurityPoliciesPaginator.js +31 -0
- package/dist-es/pagination/ListVpcEndpointsPaginator.js +31 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_json1_0.js +2506 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/OpenSearchServerless.d.ts +276 -0
- package/dist-types/OpenSearchServerlessClient.d.ts +181 -0
- package/dist-types/commands/BatchGetCollectionCommand.d.ts +39 -0
- package/dist-types/commands/BatchGetVpcEndpointCommand.d.ts +39 -0
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +40 -0
- package/dist-types/commands/CreateCollectionCommand.d.ts +38 -0
- package/dist-types/commands/CreateSecurityConfigCommand.d.ts +39 -0
- package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +42 -0
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +38 -0
- package/dist-types/commands/DeleteCollectionCommand.d.ts +38 -0
- package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +39 -0
- package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +37 -0
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +38 -0
- package/dist-types/commands/GetAccessPolicyCommand.d.ts +38 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +37 -0
- package/dist-types/commands/GetPoliciesStatsCommand.d.ts +38 -0
- package/dist-types/commands/GetSecurityConfigCommand.d.ts +39 -0
- package/dist-types/commands/GetSecurityPolicyCommand.d.ts +39 -0
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +37 -0
- package/dist-types/commands/ListCollectionsCommand.d.ts +42 -0
- package/dist-types/commands/ListSecurityConfigsCommand.d.ts +39 -0
- package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +38 -0
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +38 -0
- package/dist-types/commands/UpdateCollectionCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +39 -0
- package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +39 -0
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +31 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/OpenSearchServerlessServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1802 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCollectionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSecurityConfigsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSecurityPoliciesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListVpcEndpointsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +95 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/OpenSearchServerless.d.ts +531 -0
- package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +298 -0
- package/dist-types/ts3.4/commands/BatchGetCollectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/BatchGetVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateAccessPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateSecurityConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSecurityPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAccessPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteSecurityConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteSecurityPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccessPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPoliciesStatsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetSecurityConfigCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSecurityPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListSecurityConfigsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateCollectionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateSecurityConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSecurityPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +31 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/OpenSearchServerlessServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +740 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecurityConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecurityPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVpcEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +377 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +103 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
|
|
2
|
+
export var AccessPolicyType;
|
|
3
|
+
(function (AccessPolicyType) {
|
|
4
|
+
AccessPolicyType["data"] = "data";
|
|
5
|
+
})(AccessPolicyType || (AccessPolicyType = {}));
|
|
6
|
+
export class ConflictException extends __BaseException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "ConflictException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "ConflictException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class InternalServerException extends __BaseException {
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "InternalServerException",
|
|
22
|
+
$fault: "server",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
this.name = "InternalServerException";
|
|
26
|
+
this.$fault = "server";
|
|
27
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ValidationException extends __BaseException {
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "ValidationException",
|
|
34
|
+
$fault: "client",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
this.name = "ValidationException";
|
|
38
|
+
this.$fault = "client";
|
|
39
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
43
|
+
constructor(opts) {
|
|
44
|
+
super({
|
|
45
|
+
name: "ResourceNotFoundException",
|
|
46
|
+
$fault: "client",
|
|
47
|
+
...opts,
|
|
48
|
+
});
|
|
49
|
+
this.name = "ResourceNotFoundException";
|
|
50
|
+
this.$fault = "client";
|
|
51
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export var CollectionStatus;
|
|
55
|
+
(function (CollectionStatus) {
|
|
56
|
+
CollectionStatus["ACTIVE"] = "ACTIVE";
|
|
57
|
+
CollectionStatus["CREATING"] = "CREATING";
|
|
58
|
+
CollectionStatus["DELETING"] = "DELETING";
|
|
59
|
+
CollectionStatus["FAILED"] = "FAILED";
|
|
60
|
+
})(CollectionStatus || (CollectionStatus = {}));
|
|
61
|
+
export var CollectionType;
|
|
62
|
+
(function (CollectionType) {
|
|
63
|
+
CollectionType["SEARCH"] = "SEARCH";
|
|
64
|
+
CollectionType["TIMESERIES"] = "TIMESERIES";
|
|
65
|
+
})(CollectionType || (CollectionType = {}));
|
|
66
|
+
export var VpcEndpointStatus;
|
|
67
|
+
(function (VpcEndpointStatus) {
|
|
68
|
+
VpcEndpointStatus["ACTIVE"] = "ACTIVE";
|
|
69
|
+
VpcEndpointStatus["DELETING"] = "DELETING";
|
|
70
|
+
VpcEndpointStatus["FAILED"] = "FAILED";
|
|
71
|
+
VpcEndpointStatus["PENDING"] = "PENDING";
|
|
72
|
+
})(VpcEndpointStatus || (VpcEndpointStatus = {}));
|
|
73
|
+
export var SecurityConfigType;
|
|
74
|
+
(function (SecurityConfigType) {
|
|
75
|
+
SecurityConfigType["saml"] = "saml";
|
|
76
|
+
})(SecurityConfigType || (SecurityConfigType = {}));
|
|
77
|
+
export var SecurityPolicyType;
|
|
78
|
+
(function (SecurityPolicyType) {
|
|
79
|
+
SecurityPolicyType["encryption"] = "encryption";
|
|
80
|
+
SecurityPolicyType["network"] = "network";
|
|
81
|
+
})(SecurityPolicyType || (SecurityPolicyType = {}));
|
|
82
|
+
export const CreateAccessPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
83
|
+
...obj,
|
|
84
|
+
});
|
|
85
|
+
export const AccessPolicyDetailFilterSensitiveLog = (obj) => ({
|
|
86
|
+
...obj,
|
|
87
|
+
});
|
|
88
|
+
export const CreateAccessPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
89
|
+
...obj,
|
|
90
|
+
});
|
|
91
|
+
export const DeleteAccessPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
92
|
+
...obj,
|
|
93
|
+
});
|
|
94
|
+
export const DeleteAccessPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
95
|
+
...obj,
|
|
96
|
+
});
|
|
97
|
+
export const GetAccessPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
98
|
+
...obj,
|
|
99
|
+
});
|
|
100
|
+
export const GetAccessPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
101
|
+
...obj,
|
|
102
|
+
});
|
|
103
|
+
export const ListAccessPoliciesRequestFilterSensitiveLog = (obj) => ({
|
|
104
|
+
...obj,
|
|
105
|
+
});
|
|
106
|
+
export const AccessPolicySummaryFilterSensitiveLog = (obj) => ({
|
|
107
|
+
...obj,
|
|
108
|
+
});
|
|
109
|
+
export const ListAccessPoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
110
|
+
...obj,
|
|
111
|
+
});
|
|
112
|
+
export const UpdateAccessPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
113
|
+
...obj,
|
|
114
|
+
});
|
|
115
|
+
export const UpdateAccessPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
116
|
+
...obj,
|
|
117
|
+
});
|
|
118
|
+
export const AccessPolicyStatsFilterSensitiveLog = (obj) => ({
|
|
119
|
+
...obj,
|
|
120
|
+
});
|
|
121
|
+
export const CapacityLimitsFilterSensitiveLog = (obj) => ({
|
|
122
|
+
...obj,
|
|
123
|
+
});
|
|
124
|
+
export const AccountSettingsDetailFilterSensitiveLog = (obj) => ({
|
|
125
|
+
...obj,
|
|
126
|
+
});
|
|
127
|
+
export const BatchGetCollectionRequestFilterSensitiveLog = (obj) => ({
|
|
128
|
+
...obj,
|
|
129
|
+
});
|
|
130
|
+
export const CollectionDetailFilterSensitiveLog = (obj) => ({
|
|
131
|
+
...obj,
|
|
132
|
+
});
|
|
133
|
+
export const CollectionErrorDetailFilterSensitiveLog = (obj) => ({
|
|
134
|
+
...obj,
|
|
135
|
+
});
|
|
136
|
+
export const BatchGetCollectionResponseFilterSensitiveLog = (obj) => ({
|
|
137
|
+
...obj,
|
|
138
|
+
});
|
|
139
|
+
export const BatchGetVpcEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
});
|
|
142
|
+
export const VpcEndpointDetailFilterSensitiveLog = (obj) => ({
|
|
143
|
+
...obj,
|
|
144
|
+
});
|
|
145
|
+
export const VpcEndpointErrorDetailFilterSensitiveLog = (obj) => ({
|
|
146
|
+
...obj,
|
|
147
|
+
});
|
|
148
|
+
export const BatchGetVpcEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
149
|
+
...obj,
|
|
150
|
+
});
|
|
151
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
});
|
|
154
|
+
export const CreateCollectionRequestFilterSensitiveLog = (obj) => ({
|
|
155
|
+
...obj,
|
|
156
|
+
});
|
|
157
|
+
export const CreateCollectionDetailFilterSensitiveLog = (obj) => ({
|
|
158
|
+
...obj,
|
|
159
|
+
});
|
|
160
|
+
export const CreateCollectionResponseFilterSensitiveLog = (obj) => ({
|
|
161
|
+
...obj,
|
|
162
|
+
});
|
|
163
|
+
export const DeleteCollectionRequestFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
});
|
|
166
|
+
export const DeleteCollectionDetailFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
});
|
|
169
|
+
export const DeleteCollectionResponseFilterSensitiveLog = (obj) => ({
|
|
170
|
+
...obj,
|
|
171
|
+
});
|
|
172
|
+
export const CollectionFiltersFilterSensitiveLog = (obj) => ({
|
|
173
|
+
...obj,
|
|
174
|
+
});
|
|
175
|
+
export const ListCollectionsRequestFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
});
|
|
178
|
+
export const CollectionSummaryFilterSensitiveLog = (obj) => ({
|
|
179
|
+
...obj,
|
|
180
|
+
});
|
|
181
|
+
export const ListCollectionsResponseFilterSensitiveLog = (obj) => ({
|
|
182
|
+
...obj,
|
|
183
|
+
});
|
|
184
|
+
export const UpdateCollectionRequestFilterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
});
|
|
187
|
+
export const UpdateCollectionDetailFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
export const UpdateCollectionResponseFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
});
|
|
193
|
+
export const SamlConfigOptionsFilterSensitiveLog = (obj) => ({
|
|
194
|
+
...obj,
|
|
195
|
+
});
|
|
196
|
+
export const CreateSecurityConfigRequestFilterSensitiveLog = (obj) => ({
|
|
197
|
+
...obj,
|
|
198
|
+
});
|
|
199
|
+
export const SecurityConfigDetailFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
});
|
|
202
|
+
export const CreateSecurityConfigResponseFilterSensitiveLog = (obj) => ({
|
|
203
|
+
...obj,
|
|
204
|
+
});
|
|
205
|
+
export const CreateSecurityPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
206
|
+
...obj,
|
|
207
|
+
});
|
|
208
|
+
export const SecurityPolicyDetailFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
});
|
|
211
|
+
export const CreateSecurityPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
export const CreateVpcEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
});
|
|
217
|
+
export const CreateVpcEndpointDetailFilterSensitiveLog = (obj) => ({
|
|
218
|
+
...obj,
|
|
219
|
+
});
|
|
220
|
+
export const CreateVpcEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
221
|
+
...obj,
|
|
222
|
+
});
|
|
223
|
+
export const DeleteSecurityConfigRequestFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
});
|
|
226
|
+
export const DeleteSecurityConfigResponseFilterSensitiveLog = (obj) => ({
|
|
227
|
+
...obj,
|
|
228
|
+
});
|
|
229
|
+
export const DeleteSecurityPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
230
|
+
...obj,
|
|
231
|
+
});
|
|
232
|
+
export const DeleteSecurityPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
233
|
+
...obj,
|
|
234
|
+
});
|
|
235
|
+
export const DeleteVpcEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
});
|
|
238
|
+
export const DeleteVpcEndpointDetailFilterSensitiveLog = (obj) => ({
|
|
239
|
+
...obj,
|
|
240
|
+
});
|
|
241
|
+
export const DeleteVpcEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
});
|
|
244
|
+
export const GetAccountSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
});
|
|
247
|
+
export const GetAccountSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
});
|
|
250
|
+
export const GetPoliciesStatsRequestFilterSensitiveLog = (obj) => ({
|
|
251
|
+
...obj,
|
|
252
|
+
});
|
|
253
|
+
export const SecurityConfigStatsFilterSensitiveLog = (obj) => ({
|
|
254
|
+
...obj,
|
|
255
|
+
});
|
|
256
|
+
export const SecurityPolicyStatsFilterSensitiveLog = (obj) => ({
|
|
257
|
+
...obj,
|
|
258
|
+
});
|
|
259
|
+
export const GetPoliciesStatsResponseFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
export const GetSecurityConfigRequestFilterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
});
|
|
265
|
+
export const GetSecurityConfigResponseFilterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
});
|
|
268
|
+
export const GetSecurityPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
269
|
+
...obj,
|
|
270
|
+
});
|
|
271
|
+
export const GetSecurityPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
});
|
|
274
|
+
export const ListSecurityConfigsRequestFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
});
|
|
277
|
+
export const SecurityConfigSummaryFilterSensitiveLog = (obj) => ({
|
|
278
|
+
...obj,
|
|
279
|
+
});
|
|
280
|
+
export const ListSecurityConfigsResponseFilterSensitiveLog = (obj) => ({
|
|
281
|
+
...obj,
|
|
282
|
+
});
|
|
283
|
+
export const ListSecurityPoliciesRequestFilterSensitiveLog = (obj) => ({
|
|
284
|
+
...obj,
|
|
285
|
+
});
|
|
286
|
+
export const SecurityPolicySummaryFilterSensitiveLog = (obj) => ({
|
|
287
|
+
...obj,
|
|
288
|
+
});
|
|
289
|
+
export const ListSecurityPoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
290
|
+
...obj,
|
|
291
|
+
});
|
|
292
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
293
|
+
...obj,
|
|
294
|
+
});
|
|
295
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
export const VpcEndpointFiltersFilterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
});
|
|
301
|
+
export const ListVpcEndpointsRequestFilterSensitiveLog = (obj) => ({
|
|
302
|
+
...obj,
|
|
303
|
+
});
|
|
304
|
+
export const VpcEndpointSummaryFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
});
|
|
307
|
+
export const ListVpcEndpointsResponseFilterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
});
|
|
310
|
+
export const UpdateSecurityConfigRequestFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
});
|
|
313
|
+
export const UpdateSecurityConfigResponseFilterSensitiveLog = (obj) => ({
|
|
314
|
+
...obj,
|
|
315
|
+
});
|
|
316
|
+
export const UpdateSecurityPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
});
|
|
319
|
+
export const UpdateSecurityPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
320
|
+
...obj,
|
|
321
|
+
});
|
|
322
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
});
|
|
325
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
});
|
|
328
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
});
|
|
331
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
});
|
|
334
|
+
export const UpdateAccountSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
335
|
+
...obj,
|
|
336
|
+
});
|
|
337
|
+
export const UpdateAccountSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
338
|
+
...obj,
|
|
339
|
+
});
|
|
340
|
+
export const UpdateVpcEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
341
|
+
...obj,
|
|
342
|
+
});
|
|
343
|
+
export const UpdateVpcEndpointDetailFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
});
|
|
346
|
+
export const UpdateVpcEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ListAccessPoliciesCommand, } from "../commands/ListAccessPoliciesCommand";
|
|
2
|
+
import { OpenSearchServerless } from "../OpenSearchServerless";
|
|
3
|
+
import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListAccessPoliciesCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listAccessPolicies(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListAccessPolicies(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
if (config.client instanceof OpenSearchServerless) {
|
|
17
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else if (config.client instanceof OpenSearchServerlessClient) {
|
|
20
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
|
|
24
|
+
}
|
|
25
|
+
yield page;
|
|
26
|
+
const prevToken = token;
|
|
27
|
+
token = page.nextToken;
|
|
28
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
29
|
+
}
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ListCollectionsCommand, } from "../commands/ListCollectionsCommand";
|
|
2
|
+
import { OpenSearchServerless } from "../OpenSearchServerless";
|
|
3
|
+
import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListCollectionsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listCollections(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListCollections(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
if (config.client instanceof OpenSearchServerless) {
|
|
17
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else if (config.client instanceof OpenSearchServerlessClient) {
|
|
20
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
|
|
24
|
+
}
|
|
25
|
+
yield page;
|
|
26
|
+
const prevToken = token;
|
|
27
|
+
token = page.nextToken;
|
|
28
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
29
|
+
}
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ListSecurityConfigsCommand, } from "../commands/ListSecurityConfigsCommand";
|
|
2
|
+
import { OpenSearchServerless } from "../OpenSearchServerless";
|
|
3
|
+
import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListSecurityConfigsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listSecurityConfigs(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListSecurityConfigs(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
if (config.client instanceof OpenSearchServerless) {
|
|
17
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else if (config.client instanceof OpenSearchServerlessClient) {
|
|
20
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
|
|
24
|
+
}
|
|
25
|
+
yield page;
|
|
26
|
+
const prevToken = token;
|
|
27
|
+
token = page.nextToken;
|
|
28
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
29
|
+
}
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ListSecurityPoliciesCommand, } from "../commands/ListSecurityPoliciesCommand";
|
|
2
|
+
import { OpenSearchServerless } from "../OpenSearchServerless";
|
|
3
|
+
import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListSecurityPoliciesCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listSecurityPolicies(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListSecurityPolicies(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
if (config.client instanceof OpenSearchServerless) {
|
|
17
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else if (config.client instanceof OpenSearchServerlessClient) {
|
|
20
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
|
|
24
|
+
}
|
|
25
|
+
yield page;
|
|
26
|
+
const prevToken = token;
|
|
27
|
+
token = page.nextToken;
|
|
28
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
29
|
+
}
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ListVpcEndpointsCommand, } from "../commands/ListVpcEndpointsCommand";
|
|
2
|
+
import { OpenSearchServerless } from "../OpenSearchServerless";
|
|
3
|
+
import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListVpcEndpointsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listVpcEndpoints(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListVpcEndpoints(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
if (config.client instanceof OpenSearchServerless) {
|
|
17
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else if (config.client instanceof OpenSearchServerlessClient) {
|
|
20
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
|
|
24
|
+
}
|
|
25
|
+
yield page;
|
|
26
|
+
const prevToken = token;
|
|
27
|
+
token = page.nextToken;
|
|
28
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
29
|
+
}
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListAccessPoliciesPaginator";
|
|
3
|
+
export * from "./ListCollectionsPaginator";
|
|
4
|
+
export * from "./ListSecurityConfigsPaginator";
|
|
5
|
+
export * from "./ListSecurityPoliciesPaginator";
|
|
6
|
+
export * from "./ListVpcEndpointsPaginator";
|