@aws-sdk/client-opensearchserverless 3.899.0 → 3.906.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 +2151 -2358
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -1,2452 +1,2245 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
BatchGetLifecyclePolicyCommand: () => BatchGetLifecyclePolicyCommand,
|
|
28
|
-
BatchGetVpcEndpointCommand: () => BatchGetVpcEndpointCommand,
|
|
29
|
-
CollectionStatus: () => CollectionStatus,
|
|
30
|
-
CollectionType: () => CollectionType,
|
|
31
|
-
ConflictException: () => ConflictException,
|
|
32
|
-
CreateAccessPolicyCommand: () => CreateAccessPolicyCommand,
|
|
33
|
-
CreateCollectionCommand: () => CreateCollectionCommand,
|
|
34
|
-
CreateIndexCommand: () => CreateIndexCommand,
|
|
35
|
-
CreateLifecyclePolicyCommand: () => CreateLifecyclePolicyCommand,
|
|
36
|
-
CreateSecurityConfigCommand: () => CreateSecurityConfigCommand,
|
|
37
|
-
CreateSecurityPolicyCommand: () => CreateSecurityPolicyCommand,
|
|
38
|
-
CreateVpcEndpointCommand: () => CreateVpcEndpointCommand,
|
|
39
|
-
DeleteAccessPolicyCommand: () => DeleteAccessPolicyCommand,
|
|
40
|
-
DeleteCollectionCommand: () => DeleteCollectionCommand,
|
|
41
|
-
DeleteIndexCommand: () => DeleteIndexCommand,
|
|
42
|
-
DeleteLifecyclePolicyCommand: () => DeleteLifecyclePolicyCommand,
|
|
43
|
-
DeleteSecurityConfigCommand: () => DeleteSecurityConfigCommand,
|
|
44
|
-
DeleteSecurityPolicyCommand: () => DeleteSecurityPolicyCommand,
|
|
45
|
-
DeleteVpcEndpointCommand: () => DeleteVpcEndpointCommand,
|
|
46
|
-
GetAccessPolicyCommand: () => GetAccessPolicyCommand,
|
|
47
|
-
GetAccountSettingsCommand: () => GetAccountSettingsCommand,
|
|
48
|
-
GetIndexCommand: () => GetIndexCommand,
|
|
49
|
-
GetPoliciesStatsCommand: () => GetPoliciesStatsCommand,
|
|
50
|
-
GetSecurityConfigCommand: () => GetSecurityConfigCommand,
|
|
51
|
-
GetSecurityPolicyCommand: () => GetSecurityPolicyCommand,
|
|
52
|
-
IamIdentityCenterGroupAttribute: () => IamIdentityCenterGroupAttribute,
|
|
53
|
-
IamIdentityCenterUserAttribute: () => IamIdentityCenterUserAttribute,
|
|
54
|
-
InternalServerException: () => InternalServerException,
|
|
55
|
-
LifecyclePolicyType: () => LifecyclePolicyType,
|
|
56
|
-
ListAccessPoliciesCommand: () => ListAccessPoliciesCommand,
|
|
57
|
-
ListCollectionsCommand: () => ListCollectionsCommand,
|
|
58
|
-
ListLifecyclePoliciesCommand: () => ListLifecyclePoliciesCommand,
|
|
59
|
-
ListSecurityConfigsCommand: () => ListSecurityConfigsCommand,
|
|
60
|
-
ListSecurityPoliciesCommand: () => ListSecurityPoliciesCommand,
|
|
61
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
62
|
-
ListVpcEndpointsCommand: () => ListVpcEndpointsCommand,
|
|
63
|
-
OcuLimitExceededException: () => OcuLimitExceededException,
|
|
64
|
-
OpenSearchServerless: () => OpenSearchServerless,
|
|
65
|
-
OpenSearchServerlessClient: () => OpenSearchServerlessClient,
|
|
66
|
-
OpenSearchServerlessServiceException: () => OpenSearchServerlessServiceException,
|
|
67
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
68
|
-
ResourceType: () => ResourceType,
|
|
69
|
-
SecurityConfigType: () => SecurityConfigType,
|
|
70
|
-
SecurityPolicyType: () => SecurityPolicyType,
|
|
71
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
72
|
-
StandbyReplicas: () => StandbyReplicas,
|
|
73
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
74
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
75
|
-
UpdateAccessPolicyCommand: () => UpdateAccessPolicyCommand,
|
|
76
|
-
UpdateAccountSettingsCommand: () => UpdateAccountSettingsCommand,
|
|
77
|
-
UpdateCollectionCommand: () => UpdateCollectionCommand,
|
|
78
|
-
UpdateIndexCommand: () => UpdateIndexCommand,
|
|
79
|
-
UpdateLifecyclePolicyCommand: () => UpdateLifecyclePolicyCommand,
|
|
80
|
-
UpdateSecurityConfigCommand: () => UpdateSecurityConfigCommand,
|
|
81
|
-
UpdateSecurityPolicyCommand: () => UpdateSecurityPolicyCommand,
|
|
82
|
-
UpdateVpcEndpointCommand: () => UpdateVpcEndpointCommand,
|
|
83
|
-
ValidationException: () => ValidationException,
|
|
84
|
-
VpcEndpointStatus: () => VpcEndpointStatus,
|
|
85
|
-
__Client: () => import_smithy_client.Client,
|
|
86
|
-
paginateListAccessPolicies: () => paginateListAccessPolicies,
|
|
87
|
-
paginateListCollections: () => paginateListCollections,
|
|
88
|
-
paginateListLifecyclePolicies: () => paginateListLifecyclePolicies,
|
|
89
|
-
paginateListSecurityConfigs: () => paginateListSecurityConfigs,
|
|
90
|
-
paginateListSecurityPolicies: () => paginateListSecurityPolicies,
|
|
91
|
-
paginateListVpcEndpoints: () => paginateListVpcEndpoints
|
|
92
|
-
});
|
|
93
|
-
module.exports = __toCommonJS(index_exports);
|
|
94
|
-
|
|
95
|
-
// src/OpenSearchServerlessClient.ts
|
|
96
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
97
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
98
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
99
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
100
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
101
|
-
var import_core = require("@smithy/core");
|
|
102
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
103
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
104
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
105
|
-
|
|
106
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
107
|
-
|
|
108
|
-
// src/endpoint/EndpointParameters.ts
|
|
109
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
110
|
-
return Object.assign(options, {
|
|
111
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
112
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
113
|
-
defaultSigningName: "aoss"
|
|
114
|
-
});
|
|
115
|
-
}, "resolveClientEndpointParameters");
|
|
116
|
-
var commonParams = {
|
|
117
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
118
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
119
|
-
Region: { type: "builtInParams", name: "region" },
|
|
120
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "aoss",
|
|
26
|
+
});
|
|
121
27
|
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
class OpenSearchServerlessClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultOpenSearchServerlessHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
159
108
|
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
165
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
166
|
-
credentials: config.credentials()
|
|
167
|
-
};
|
|
168
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
169
|
-
|
|
170
|
-
// src/runtimeExtensions.ts
|
|
171
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
172
|
-
const extensionConfiguration = Object.assign(
|
|
173
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
174
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
175
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
176
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
177
|
-
);
|
|
178
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
179
|
-
return Object.assign(
|
|
180
|
-
runtimeConfig,
|
|
181
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
182
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
183
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
184
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
185
|
-
);
|
|
186
|
-
}, "resolveRuntimeExtensions");
|
|
187
|
-
|
|
188
|
-
// src/OpenSearchServerlessClient.ts
|
|
189
|
-
var OpenSearchServerlessClient = class extends import_smithy_client.Client {
|
|
190
|
-
static {
|
|
191
|
-
__name(this, "OpenSearchServerlessClient");
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* The resolved configuration of OpenSearchServerlessClient class. This is resolved and normalized from the {@link OpenSearchServerlessClientConfig | constructor configuration interface}.
|
|
195
|
-
*/
|
|
196
|
-
config;
|
|
197
|
-
constructor(...[configuration]) {
|
|
198
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
199
|
-
super(_config_0);
|
|
200
|
-
this.initConfig = _config_0;
|
|
201
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
202
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
203
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
204
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
205
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
206
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
207
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
208
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
209
|
-
this.config = _config_8;
|
|
210
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
211
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
212
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
213
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
214
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
215
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
216
|
-
this.middlewareStack.use(
|
|
217
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
218
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultOpenSearchServerlessHttpAuthSchemeParametersProvider,
|
|
219
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
220
|
-
"aws.auth#sigv4": config.credentials
|
|
221
|
-
}), "identityProviderConfigProvider")
|
|
222
|
-
})
|
|
223
|
-
);
|
|
224
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
228
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
229
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
230
|
-
*/
|
|
231
|
-
destroy() {
|
|
232
|
-
super.destroy();
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
// src/OpenSearchServerless.ts
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
// src/commands/BatchGetCollectionCommand.ts
|
|
240
|
-
|
|
241
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
// src/protocols/Aws_json1_0.ts
|
|
245
|
-
var import_core2 = require("@aws-sdk/core");
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
var import_uuid = require("@smithy/uuid");
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
249
113
|
|
|
250
|
-
|
|
114
|
+
class OpenSearchServerlessServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, OpenSearchServerlessServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
251
120
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
121
|
+
const AccessPolicyType = {
|
|
122
|
+
data: "data",
|
|
123
|
+
};
|
|
124
|
+
class ConflictException extends OpenSearchServerlessServiceException {
|
|
125
|
+
name = "ConflictException";
|
|
126
|
+
$fault = "client";
|
|
127
|
+
constructor(opts) {
|
|
128
|
+
super({
|
|
129
|
+
name: "ConflictException",
|
|
130
|
+
$fault: "client",
|
|
131
|
+
...opts,
|
|
132
|
+
});
|
|
133
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
class InternalServerException extends OpenSearchServerlessServiceException {
|
|
137
|
+
name = "InternalServerException";
|
|
138
|
+
$fault = "server";
|
|
139
|
+
constructor(opts) {
|
|
140
|
+
super({
|
|
141
|
+
name: "InternalServerException",
|
|
142
|
+
$fault: "server",
|
|
143
|
+
...opts,
|
|
144
|
+
});
|
|
145
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
class ServiceQuotaExceededException extends OpenSearchServerlessServiceException {
|
|
149
|
+
name = "ServiceQuotaExceededException";
|
|
150
|
+
$fault = "client";
|
|
151
|
+
resourceId;
|
|
152
|
+
resourceType;
|
|
153
|
+
serviceCode;
|
|
154
|
+
quotaCode;
|
|
155
|
+
constructor(opts) {
|
|
156
|
+
super({
|
|
157
|
+
name: "ServiceQuotaExceededException",
|
|
158
|
+
$fault: "client",
|
|
159
|
+
...opts,
|
|
160
|
+
});
|
|
161
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
162
|
+
this.resourceId = opts.resourceId;
|
|
163
|
+
this.resourceType = opts.resourceType;
|
|
164
|
+
this.serviceCode = opts.serviceCode;
|
|
165
|
+
this.quotaCode = opts.quotaCode;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
class ValidationException extends OpenSearchServerlessServiceException {
|
|
169
|
+
name = "ValidationException";
|
|
170
|
+
$fault = "client";
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "ValidationException",
|
|
174
|
+
$fault: "client",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
class ResourceNotFoundException extends OpenSearchServerlessServiceException {
|
|
181
|
+
name = "ResourceNotFoundException";
|
|
182
|
+
$fault = "client";
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "ResourceNotFoundException",
|
|
186
|
+
$fault: "client",
|
|
187
|
+
...opts,
|
|
188
|
+
});
|
|
189
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
const StandbyReplicas = {
|
|
193
|
+
DISABLED: "DISABLED",
|
|
194
|
+
ENABLED: "ENABLED",
|
|
195
|
+
};
|
|
196
|
+
const CollectionStatus = {
|
|
197
|
+
ACTIVE: "ACTIVE",
|
|
198
|
+
CREATING: "CREATING",
|
|
199
|
+
DELETING: "DELETING",
|
|
200
|
+
FAILED: "FAILED",
|
|
201
|
+
};
|
|
202
|
+
const CollectionType = {
|
|
203
|
+
SEARCH: "SEARCH",
|
|
204
|
+
TIMESERIES: "TIMESERIES",
|
|
205
|
+
VECTORSEARCH: "VECTORSEARCH",
|
|
206
|
+
};
|
|
207
|
+
const LifecyclePolicyType = {
|
|
208
|
+
retention: "retention",
|
|
209
|
+
};
|
|
210
|
+
const ResourceType = {
|
|
211
|
+
index: "index",
|
|
212
|
+
};
|
|
213
|
+
const VpcEndpointStatus = {
|
|
214
|
+
ACTIVE: "ACTIVE",
|
|
215
|
+
DELETING: "DELETING",
|
|
216
|
+
FAILED: "FAILED",
|
|
217
|
+
PENDING: "PENDING",
|
|
218
|
+
};
|
|
219
|
+
class OcuLimitExceededException extends OpenSearchServerlessServiceException {
|
|
220
|
+
name = "OcuLimitExceededException";
|
|
221
|
+
$fault = "client";
|
|
222
|
+
constructor(opts) {
|
|
223
|
+
super({
|
|
224
|
+
name: "OcuLimitExceededException",
|
|
225
|
+
$fault: "client",
|
|
226
|
+
...opts,
|
|
227
|
+
});
|
|
228
|
+
Object.setPrototypeOf(this, OcuLimitExceededException.prototype);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
const IamIdentityCenterGroupAttribute = {
|
|
232
|
+
GroupId: "GroupId",
|
|
233
|
+
GroupName: "GroupName",
|
|
234
|
+
};
|
|
235
|
+
const IamIdentityCenterUserAttribute = {
|
|
236
|
+
Email: "Email",
|
|
237
|
+
UserId: "UserId",
|
|
238
|
+
UserName: "UserName",
|
|
239
|
+
};
|
|
240
|
+
const SecurityConfigType = {
|
|
241
|
+
iamfederation: "iamfederation",
|
|
242
|
+
iamidentitycenter: "iamidentitycenter",
|
|
243
|
+
saml: "saml",
|
|
244
|
+
};
|
|
245
|
+
const SecurityPolicyType = {
|
|
246
|
+
encryption: "encryption",
|
|
247
|
+
network: "network",
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
const se_BatchGetCollectionCommand = async (input, context) => {
|
|
251
|
+
const headers = sharedHeaders("BatchGetCollection");
|
|
252
|
+
let body;
|
|
253
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
254
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
255
|
+
};
|
|
256
|
+
const se_BatchGetEffectiveLifecyclePolicyCommand = async (input, context) => {
|
|
257
|
+
const headers = sharedHeaders("BatchGetEffectiveLifecyclePolicy");
|
|
258
|
+
let body;
|
|
259
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
260
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
261
|
+
};
|
|
262
|
+
const se_BatchGetLifecyclePolicyCommand = async (input, context) => {
|
|
263
|
+
const headers = sharedHeaders("BatchGetLifecyclePolicy");
|
|
264
|
+
let body;
|
|
265
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
266
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
|
+
};
|
|
268
|
+
const se_BatchGetVpcEndpointCommand = async (input, context) => {
|
|
269
|
+
const headers = sharedHeaders("BatchGetVpcEndpoint");
|
|
270
|
+
let body;
|
|
271
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
272
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
273
|
+
};
|
|
274
|
+
const se_CreateAccessPolicyCommand = async (input, context) => {
|
|
275
|
+
const headers = sharedHeaders("CreateAccessPolicy");
|
|
276
|
+
let body;
|
|
277
|
+
body = JSON.stringify(se_CreateAccessPolicyRequest(input));
|
|
278
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
279
|
+
};
|
|
280
|
+
const se_CreateCollectionCommand = async (input, context) => {
|
|
281
|
+
const headers = sharedHeaders("CreateCollection");
|
|
282
|
+
let body;
|
|
283
|
+
body = JSON.stringify(se_CreateCollectionRequest(input));
|
|
284
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
285
|
+
};
|
|
286
|
+
const se_CreateIndexCommand = async (input, context) => {
|
|
287
|
+
const headers = sharedHeaders("CreateIndex");
|
|
288
|
+
let body;
|
|
289
|
+
body = JSON.stringify(se_CreateIndexRequest(input));
|
|
290
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
291
|
+
};
|
|
292
|
+
const se_CreateLifecyclePolicyCommand = async (input, context) => {
|
|
293
|
+
const headers = sharedHeaders("CreateLifecyclePolicy");
|
|
294
|
+
let body;
|
|
295
|
+
body = JSON.stringify(se_CreateLifecyclePolicyRequest(input));
|
|
296
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
297
|
+
};
|
|
298
|
+
const se_CreateSecurityConfigCommand = async (input, context) => {
|
|
299
|
+
const headers = sharedHeaders("CreateSecurityConfig");
|
|
300
|
+
let body;
|
|
301
|
+
body = JSON.stringify(se_CreateSecurityConfigRequest(input));
|
|
302
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
303
|
+
};
|
|
304
|
+
const se_CreateSecurityPolicyCommand = async (input, context) => {
|
|
305
|
+
const headers = sharedHeaders("CreateSecurityPolicy");
|
|
306
|
+
let body;
|
|
307
|
+
body = JSON.stringify(se_CreateSecurityPolicyRequest(input));
|
|
308
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
309
|
+
};
|
|
310
|
+
const se_CreateVpcEndpointCommand = async (input, context) => {
|
|
311
|
+
const headers = sharedHeaders("CreateVpcEndpoint");
|
|
312
|
+
let body;
|
|
313
|
+
body = JSON.stringify(se_CreateVpcEndpointRequest(input));
|
|
314
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
315
|
+
};
|
|
316
|
+
const se_DeleteAccessPolicyCommand = async (input, context) => {
|
|
317
|
+
const headers = sharedHeaders("DeleteAccessPolicy");
|
|
318
|
+
let body;
|
|
319
|
+
body = JSON.stringify(se_DeleteAccessPolicyRequest(input));
|
|
320
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
321
|
+
};
|
|
322
|
+
const se_DeleteCollectionCommand = async (input, context) => {
|
|
323
|
+
const headers = sharedHeaders("DeleteCollection");
|
|
324
|
+
let body;
|
|
325
|
+
body = JSON.stringify(se_DeleteCollectionRequest(input));
|
|
326
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
|
+
};
|
|
328
|
+
const se_DeleteIndexCommand = async (input, context) => {
|
|
329
|
+
const headers = sharedHeaders("DeleteIndex");
|
|
330
|
+
let body;
|
|
331
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
332
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
333
|
+
};
|
|
334
|
+
const se_DeleteLifecyclePolicyCommand = async (input, context) => {
|
|
335
|
+
const headers = sharedHeaders("DeleteLifecyclePolicy");
|
|
336
|
+
let body;
|
|
337
|
+
body = JSON.stringify(se_DeleteLifecyclePolicyRequest(input));
|
|
338
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
339
|
+
};
|
|
340
|
+
const se_DeleteSecurityConfigCommand = async (input, context) => {
|
|
341
|
+
const headers = sharedHeaders("DeleteSecurityConfig");
|
|
342
|
+
let body;
|
|
343
|
+
body = JSON.stringify(se_DeleteSecurityConfigRequest(input));
|
|
344
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
345
|
+
};
|
|
346
|
+
const se_DeleteSecurityPolicyCommand = async (input, context) => {
|
|
347
|
+
const headers = sharedHeaders("DeleteSecurityPolicy");
|
|
348
|
+
let body;
|
|
349
|
+
body = JSON.stringify(se_DeleteSecurityPolicyRequest(input));
|
|
350
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
351
|
+
};
|
|
352
|
+
const se_DeleteVpcEndpointCommand = async (input, context) => {
|
|
353
|
+
const headers = sharedHeaders("DeleteVpcEndpoint");
|
|
354
|
+
let body;
|
|
355
|
+
body = JSON.stringify(se_DeleteVpcEndpointRequest(input));
|
|
356
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
|
+
};
|
|
358
|
+
const se_GetAccessPolicyCommand = async (input, context) => {
|
|
359
|
+
const headers = sharedHeaders("GetAccessPolicy");
|
|
360
|
+
let body;
|
|
361
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
362
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
363
|
+
};
|
|
364
|
+
const se_GetAccountSettingsCommand = async (input, context) => {
|
|
365
|
+
const headers = sharedHeaders("GetAccountSettings");
|
|
366
|
+
let body;
|
|
367
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
368
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
369
|
+
};
|
|
370
|
+
const se_GetIndexCommand = async (input, context) => {
|
|
371
|
+
const headers = sharedHeaders("GetIndex");
|
|
372
|
+
let body;
|
|
373
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
374
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
375
|
+
};
|
|
376
|
+
const se_GetPoliciesStatsCommand = async (input, context) => {
|
|
377
|
+
const headers = sharedHeaders("GetPoliciesStats");
|
|
378
|
+
let body;
|
|
379
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
380
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
381
|
+
};
|
|
382
|
+
const se_GetSecurityConfigCommand = async (input, context) => {
|
|
383
|
+
const headers = sharedHeaders("GetSecurityConfig");
|
|
384
|
+
let body;
|
|
385
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
386
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
387
|
+
};
|
|
388
|
+
const se_GetSecurityPolicyCommand = async (input, context) => {
|
|
389
|
+
const headers = sharedHeaders("GetSecurityPolicy");
|
|
390
|
+
let body;
|
|
391
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
392
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
393
|
+
};
|
|
394
|
+
const se_ListAccessPoliciesCommand = async (input, context) => {
|
|
395
|
+
const headers = sharedHeaders("ListAccessPolicies");
|
|
396
|
+
let body;
|
|
397
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
398
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
399
|
+
};
|
|
400
|
+
const se_ListCollectionsCommand = async (input, context) => {
|
|
401
|
+
const headers = sharedHeaders("ListCollections");
|
|
402
|
+
let body;
|
|
403
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
404
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
405
|
+
};
|
|
406
|
+
const se_ListLifecyclePoliciesCommand = async (input, context) => {
|
|
407
|
+
const headers = sharedHeaders("ListLifecyclePolicies");
|
|
408
|
+
let body;
|
|
409
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
410
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
411
|
+
};
|
|
412
|
+
const se_ListSecurityConfigsCommand = async (input, context) => {
|
|
413
|
+
const headers = sharedHeaders("ListSecurityConfigs");
|
|
414
|
+
let body;
|
|
415
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
416
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
417
|
+
};
|
|
418
|
+
const se_ListSecurityPoliciesCommand = async (input, context) => {
|
|
419
|
+
const headers = sharedHeaders("ListSecurityPolicies");
|
|
420
|
+
let body;
|
|
421
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
422
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
423
|
+
};
|
|
424
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
425
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
426
|
+
let body;
|
|
427
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
428
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
429
|
+
};
|
|
430
|
+
const se_ListVpcEndpointsCommand = async (input, context) => {
|
|
431
|
+
const headers = sharedHeaders("ListVpcEndpoints");
|
|
432
|
+
let body;
|
|
433
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
434
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
435
|
+
};
|
|
436
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
437
|
+
const headers = sharedHeaders("TagResource");
|
|
438
|
+
let body;
|
|
439
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
440
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
441
|
+
};
|
|
442
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
443
|
+
const headers = sharedHeaders("UntagResource");
|
|
444
|
+
let body;
|
|
445
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
446
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
447
|
+
};
|
|
448
|
+
const se_UpdateAccessPolicyCommand = async (input, context) => {
|
|
449
|
+
const headers = sharedHeaders("UpdateAccessPolicy");
|
|
450
|
+
let body;
|
|
451
|
+
body = JSON.stringify(se_UpdateAccessPolicyRequest(input));
|
|
452
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
453
|
+
};
|
|
454
|
+
const se_UpdateAccountSettingsCommand = async (input, context) => {
|
|
455
|
+
const headers = sharedHeaders("UpdateAccountSettings");
|
|
456
|
+
let body;
|
|
457
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
458
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
459
|
+
};
|
|
460
|
+
const se_UpdateCollectionCommand = async (input, context) => {
|
|
461
|
+
const headers = sharedHeaders("UpdateCollection");
|
|
462
|
+
let body;
|
|
463
|
+
body = JSON.stringify(se_UpdateCollectionRequest(input));
|
|
464
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
465
|
+
};
|
|
466
|
+
const se_UpdateIndexCommand = async (input, context) => {
|
|
467
|
+
const headers = sharedHeaders("UpdateIndex");
|
|
468
|
+
let body;
|
|
469
|
+
body = JSON.stringify(se_UpdateIndexRequest(input));
|
|
470
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
471
|
+
};
|
|
472
|
+
const se_UpdateLifecyclePolicyCommand = async (input, context) => {
|
|
473
|
+
const headers = sharedHeaders("UpdateLifecyclePolicy");
|
|
474
|
+
let body;
|
|
475
|
+
body = JSON.stringify(se_UpdateLifecyclePolicyRequest(input));
|
|
476
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
477
|
+
};
|
|
478
|
+
const se_UpdateSecurityConfigCommand = async (input, context) => {
|
|
479
|
+
const headers = sharedHeaders("UpdateSecurityConfig");
|
|
480
|
+
let body;
|
|
481
|
+
body = JSON.stringify(se_UpdateSecurityConfigRequest(input));
|
|
482
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
483
|
+
};
|
|
484
|
+
const se_UpdateSecurityPolicyCommand = async (input, context) => {
|
|
485
|
+
const headers = sharedHeaders("UpdateSecurityPolicy");
|
|
486
|
+
let body;
|
|
487
|
+
body = JSON.stringify(se_UpdateSecurityPolicyRequest(input));
|
|
488
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
489
|
+
};
|
|
490
|
+
const se_UpdateVpcEndpointCommand = async (input, context) => {
|
|
491
|
+
const headers = sharedHeaders("UpdateVpcEndpoint");
|
|
492
|
+
let body;
|
|
493
|
+
body = JSON.stringify(se_UpdateVpcEndpointRequest(input));
|
|
494
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
495
|
+
};
|
|
496
|
+
const de_BatchGetCollectionCommand = async (output, context) => {
|
|
497
|
+
if (output.statusCode >= 300) {
|
|
498
|
+
return de_CommandError(output, context);
|
|
499
|
+
}
|
|
500
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
501
|
+
let contents = {};
|
|
502
|
+
contents = smithyClient._json(data);
|
|
503
|
+
const response = {
|
|
504
|
+
$metadata: deserializeMetadata(output),
|
|
505
|
+
...contents,
|
|
506
|
+
};
|
|
507
|
+
return response;
|
|
508
|
+
};
|
|
509
|
+
const de_BatchGetEffectiveLifecyclePolicyCommand = async (output, context) => {
|
|
510
|
+
if (output.statusCode >= 300) {
|
|
511
|
+
return de_CommandError(output, context);
|
|
512
|
+
}
|
|
513
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
514
|
+
let contents = {};
|
|
515
|
+
contents = smithyClient._json(data);
|
|
516
|
+
const response = {
|
|
517
|
+
$metadata: deserializeMetadata(output),
|
|
518
|
+
...contents,
|
|
519
|
+
};
|
|
520
|
+
return response;
|
|
521
|
+
};
|
|
522
|
+
const de_BatchGetLifecyclePolicyCommand = async (output, context) => {
|
|
523
|
+
if (output.statusCode >= 300) {
|
|
524
|
+
return de_CommandError(output, context);
|
|
525
|
+
}
|
|
526
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
527
|
+
let contents = {};
|
|
528
|
+
contents = de_BatchGetLifecyclePolicyResponse(data);
|
|
529
|
+
const response = {
|
|
530
|
+
$metadata: deserializeMetadata(output),
|
|
531
|
+
...contents,
|
|
532
|
+
};
|
|
533
|
+
return response;
|
|
534
|
+
};
|
|
535
|
+
const de_BatchGetVpcEndpointCommand = async (output, context) => {
|
|
536
|
+
if (output.statusCode >= 300) {
|
|
537
|
+
return de_CommandError(output, context);
|
|
538
|
+
}
|
|
539
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
540
|
+
let contents = {};
|
|
541
|
+
contents = smithyClient._json(data);
|
|
542
|
+
const response = {
|
|
543
|
+
$metadata: deserializeMetadata(output),
|
|
544
|
+
...contents,
|
|
545
|
+
};
|
|
546
|
+
return response;
|
|
547
|
+
};
|
|
548
|
+
const de_CreateAccessPolicyCommand = async (output, context) => {
|
|
549
|
+
if (output.statusCode >= 300) {
|
|
550
|
+
return de_CommandError(output, context);
|
|
551
|
+
}
|
|
552
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
553
|
+
let contents = {};
|
|
554
|
+
contents = de_CreateAccessPolicyResponse(data);
|
|
555
|
+
const response = {
|
|
556
|
+
$metadata: deserializeMetadata(output),
|
|
557
|
+
...contents,
|
|
558
|
+
};
|
|
559
|
+
return response;
|
|
560
|
+
};
|
|
561
|
+
const de_CreateCollectionCommand = async (output, context) => {
|
|
562
|
+
if (output.statusCode >= 300) {
|
|
563
|
+
return de_CommandError(output, context);
|
|
564
|
+
}
|
|
565
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
566
|
+
let contents = {};
|
|
567
|
+
contents = smithyClient._json(data);
|
|
568
|
+
const response = {
|
|
569
|
+
$metadata: deserializeMetadata(output),
|
|
570
|
+
...contents,
|
|
571
|
+
};
|
|
572
|
+
return response;
|
|
573
|
+
};
|
|
574
|
+
const de_CreateIndexCommand = async (output, context) => {
|
|
575
|
+
if (output.statusCode >= 300) {
|
|
576
|
+
return de_CommandError(output, context);
|
|
577
|
+
}
|
|
578
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
579
|
+
let contents = {};
|
|
580
|
+
contents = smithyClient._json(data);
|
|
581
|
+
const response = {
|
|
582
|
+
$metadata: deserializeMetadata(output),
|
|
583
|
+
...contents,
|
|
584
|
+
};
|
|
585
|
+
return response;
|
|
586
|
+
};
|
|
587
|
+
const de_CreateLifecyclePolicyCommand = async (output, context) => {
|
|
588
|
+
if (output.statusCode >= 300) {
|
|
589
|
+
return de_CommandError(output, context);
|
|
590
|
+
}
|
|
591
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
592
|
+
let contents = {};
|
|
593
|
+
contents = de_CreateLifecyclePolicyResponse(data);
|
|
594
|
+
const response = {
|
|
595
|
+
$metadata: deserializeMetadata(output),
|
|
596
|
+
...contents,
|
|
597
|
+
};
|
|
598
|
+
return response;
|
|
599
|
+
};
|
|
600
|
+
const de_CreateSecurityConfigCommand = async (output, context) => {
|
|
601
|
+
if (output.statusCode >= 300) {
|
|
602
|
+
return de_CommandError(output, context);
|
|
603
|
+
}
|
|
604
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
605
|
+
let contents = {};
|
|
606
|
+
contents = smithyClient._json(data);
|
|
607
|
+
const response = {
|
|
608
|
+
$metadata: deserializeMetadata(output),
|
|
609
|
+
...contents,
|
|
610
|
+
};
|
|
611
|
+
return response;
|
|
612
|
+
};
|
|
613
|
+
const de_CreateSecurityPolicyCommand = async (output, context) => {
|
|
614
|
+
if (output.statusCode >= 300) {
|
|
615
|
+
return de_CommandError(output, context);
|
|
616
|
+
}
|
|
617
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
618
|
+
let contents = {};
|
|
619
|
+
contents = de_CreateSecurityPolicyResponse(data);
|
|
620
|
+
const response = {
|
|
621
|
+
$metadata: deserializeMetadata(output),
|
|
622
|
+
...contents,
|
|
623
|
+
};
|
|
624
|
+
return response;
|
|
625
|
+
};
|
|
626
|
+
const de_CreateVpcEndpointCommand = async (output, context) => {
|
|
627
|
+
if (output.statusCode >= 300) {
|
|
628
|
+
return de_CommandError(output, context);
|
|
629
|
+
}
|
|
630
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
631
|
+
let contents = {};
|
|
632
|
+
contents = smithyClient._json(data);
|
|
633
|
+
const response = {
|
|
634
|
+
$metadata: deserializeMetadata(output),
|
|
635
|
+
...contents,
|
|
636
|
+
};
|
|
637
|
+
return response;
|
|
638
|
+
};
|
|
639
|
+
const de_DeleteAccessPolicyCommand = async (output, context) => {
|
|
640
|
+
if (output.statusCode >= 300) {
|
|
641
|
+
return de_CommandError(output, context);
|
|
642
|
+
}
|
|
643
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
644
|
+
let contents = {};
|
|
645
|
+
contents = smithyClient._json(data);
|
|
646
|
+
const response = {
|
|
647
|
+
$metadata: deserializeMetadata(output),
|
|
648
|
+
...contents,
|
|
649
|
+
};
|
|
650
|
+
return response;
|
|
651
|
+
};
|
|
652
|
+
const de_DeleteCollectionCommand = async (output, context) => {
|
|
653
|
+
if (output.statusCode >= 300) {
|
|
654
|
+
return de_CommandError(output, context);
|
|
655
|
+
}
|
|
656
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
657
|
+
let contents = {};
|
|
658
|
+
contents = smithyClient._json(data);
|
|
659
|
+
const response = {
|
|
660
|
+
$metadata: deserializeMetadata(output),
|
|
661
|
+
...contents,
|
|
662
|
+
};
|
|
663
|
+
return response;
|
|
664
|
+
};
|
|
665
|
+
const de_DeleteIndexCommand = async (output, context) => {
|
|
666
|
+
if (output.statusCode >= 300) {
|
|
667
|
+
return de_CommandError(output, context);
|
|
668
|
+
}
|
|
669
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
670
|
+
let contents = {};
|
|
671
|
+
contents = smithyClient._json(data);
|
|
672
|
+
const response = {
|
|
673
|
+
$metadata: deserializeMetadata(output),
|
|
674
|
+
...contents,
|
|
675
|
+
};
|
|
676
|
+
return response;
|
|
677
|
+
};
|
|
678
|
+
const de_DeleteLifecyclePolicyCommand = async (output, context) => {
|
|
679
|
+
if (output.statusCode >= 300) {
|
|
680
|
+
return de_CommandError(output, context);
|
|
681
|
+
}
|
|
682
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
683
|
+
let contents = {};
|
|
684
|
+
contents = smithyClient._json(data);
|
|
685
|
+
const response = {
|
|
686
|
+
$metadata: deserializeMetadata(output),
|
|
687
|
+
...contents,
|
|
688
|
+
};
|
|
689
|
+
return response;
|
|
690
|
+
};
|
|
691
|
+
const de_DeleteSecurityConfigCommand = async (output, context) => {
|
|
692
|
+
if (output.statusCode >= 300) {
|
|
693
|
+
return de_CommandError(output, context);
|
|
694
|
+
}
|
|
695
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
696
|
+
let contents = {};
|
|
697
|
+
contents = smithyClient._json(data);
|
|
698
|
+
const response = {
|
|
699
|
+
$metadata: deserializeMetadata(output),
|
|
700
|
+
...contents,
|
|
701
|
+
};
|
|
702
|
+
return response;
|
|
703
|
+
};
|
|
704
|
+
const de_DeleteSecurityPolicyCommand = async (output, context) => {
|
|
705
|
+
if (output.statusCode >= 300) {
|
|
706
|
+
return de_CommandError(output, context);
|
|
707
|
+
}
|
|
708
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
709
|
+
let contents = {};
|
|
710
|
+
contents = smithyClient._json(data);
|
|
711
|
+
const response = {
|
|
712
|
+
$metadata: deserializeMetadata(output),
|
|
713
|
+
...contents,
|
|
714
|
+
};
|
|
715
|
+
return response;
|
|
716
|
+
};
|
|
717
|
+
const de_DeleteVpcEndpointCommand = async (output, context) => {
|
|
718
|
+
if (output.statusCode >= 300) {
|
|
719
|
+
return de_CommandError(output, context);
|
|
720
|
+
}
|
|
721
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
722
|
+
let contents = {};
|
|
723
|
+
contents = smithyClient._json(data);
|
|
724
|
+
const response = {
|
|
725
|
+
$metadata: deserializeMetadata(output),
|
|
726
|
+
...contents,
|
|
727
|
+
};
|
|
728
|
+
return response;
|
|
729
|
+
};
|
|
730
|
+
const de_GetAccessPolicyCommand = async (output, context) => {
|
|
731
|
+
if (output.statusCode >= 300) {
|
|
732
|
+
return de_CommandError(output, context);
|
|
733
|
+
}
|
|
734
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
735
|
+
let contents = {};
|
|
736
|
+
contents = de_GetAccessPolicyResponse(data);
|
|
737
|
+
const response = {
|
|
738
|
+
$metadata: deserializeMetadata(output),
|
|
739
|
+
...contents,
|
|
740
|
+
};
|
|
741
|
+
return response;
|
|
742
|
+
};
|
|
743
|
+
const de_GetAccountSettingsCommand = async (output, context) => {
|
|
744
|
+
if (output.statusCode >= 300) {
|
|
745
|
+
return de_CommandError(output, context);
|
|
746
|
+
}
|
|
747
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
748
|
+
let contents = {};
|
|
749
|
+
contents = smithyClient._json(data);
|
|
750
|
+
const response = {
|
|
751
|
+
$metadata: deserializeMetadata(output),
|
|
752
|
+
...contents,
|
|
753
|
+
};
|
|
754
|
+
return response;
|
|
755
|
+
};
|
|
756
|
+
const de_GetIndexCommand = async (output, context) => {
|
|
757
|
+
if (output.statusCode >= 300) {
|
|
758
|
+
return de_CommandError(output, context);
|
|
759
|
+
}
|
|
760
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
761
|
+
let contents = {};
|
|
762
|
+
contents = de_GetIndexResponse(data);
|
|
763
|
+
const response = {
|
|
764
|
+
$metadata: deserializeMetadata(output),
|
|
765
|
+
...contents,
|
|
766
|
+
};
|
|
767
|
+
return response;
|
|
768
|
+
};
|
|
769
|
+
const de_GetPoliciesStatsCommand = async (output, context) => {
|
|
770
|
+
if (output.statusCode >= 300) {
|
|
771
|
+
return de_CommandError(output, context);
|
|
772
|
+
}
|
|
773
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
774
|
+
let contents = {};
|
|
775
|
+
contents = smithyClient._json(data);
|
|
776
|
+
const response = {
|
|
777
|
+
$metadata: deserializeMetadata(output),
|
|
778
|
+
...contents,
|
|
779
|
+
};
|
|
780
|
+
return response;
|
|
781
|
+
};
|
|
782
|
+
const de_GetSecurityConfigCommand = async (output, context) => {
|
|
783
|
+
if (output.statusCode >= 300) {
|
|
784
|
+
return de_CommandError(output, context);
|
|
785
|
+
}
|
|
786
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
787
|
+
let contents = {};
|
|
788
|
+
contents = smithyClient._json(data);
|
|
789
|
+
const response = {
|
|
790
|
+
$metadata: deserializeMetadata(output),
|
|
791
|
+
...contents,
|
|
792
|
+
};
|
|
793
|
+
return response;
|
|
794
|
+
};
|
|
795
|
+
const de_GetSecurityPolicyCommand = async (output, context) => {
|
|
796
|
+
if (output.statusCode >= 300) {
|
|
797
|
+
return de_CommandError(output, context);
|
|
798
|
+
}
|
|
799
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
800
|
+
let contents = {};
|
|
801
|
+
contents = de_GetSecurityPolicyResponse(data);
|
|
802
|
+
const response = {
|
|
803
|
+
$metadata: deserializeMetadata(output),
|
|
804
|
+
...contents,
|
|
805
|
+
};
|
|
806
|
+
return response;
|
|
807
|
+
};
|
|
808
|
+
const de_ListAccessPoliciesCommand = async (output, context) => {
|
|
809
|
+
if (output.statusCode >= 300) {
|
|
810
|
+
return de_CommandError(output, context);
|
|
811
|
+
}
|
|
812
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
813
|
+
let contents = {};
|
|
814
|
+
contents = smithyClient._json(data);
|
|
815
|
+
const response = {
|
|
816
|
+
$metadata: deserializeMetadata(output),
|
|
817
|
+
...contents,
|
|
818
|
+
};
|
|
819
|
+
return response;
|
|
820
|
+
};
|
|
821
|
+
const de_ListCollectionsCommand = async (output, context) => {
|
|
822
|
+
if (output.statusCode >= 300) {
|
|
823
|
+
return de_CommandError(output, context);
|
|
824
|
+
}
|
|
825
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
826
|
+
let contents = {};
|
|
827
|
+
contents = smithyClient._json(data);
|
|
828
|
+
const response = {
|
|
829
|
+
$metadata: deserializeMetadata(output),
|
|
830
|
+
...contents,
|
|
831
|
+
};
|
|
832
|
+
return response;
|
|
833
|
+
};
|
|
834
|
+
const de_ListLifecyclePoliciesCommand = async (output, context) => {
|
|
835
|
+
if (output.statusCode >= 300) {
|
|
836
|
+
return de_CommandError(output, context);
|
|
837
|
+
}
|
|
838
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
839
|
+
let contents = {};
|
|
840
|
+
contents = smithyClient._json(data);
|
|
841
|
+
const response = {
|
|
842
|
+
$metadata: deserializeMetadata(output),
|
|
843
|
+
...contents,
|
|
844
|
+
};
|
|
845
|
+
return response;
|
|
846
|
+
};
|
|
847
|
+
const de_ListSecurityConfigsCommand = async (output, context) => {
|
|
848
|
+
if (output.statusCode >= 300) {
|
|
849
|
+
return de_CommandError(output, context);
|
|
850
|
+
}
|
|
851
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
852
|
+
let contents = {};
|
|
853
|
+
contents = smithyClient._json(data);
|
|
854
|
+
const response = {
|
|
855
|
+
$metadata: deserializeMetadata(output),
|
|
856
|
+
...contents,
|
|
857
|
+
};
|
|
858
|
+
return response;
|
|
859
|
+
};
|
|
860
|
+
const de_ListSecurityPoliciesCommand = async (output, context) => {
|
|
861
|
+
if (output.statusCode >= 300) {
|
|
862
|
+
return de_CommandError(output, context);
|
|
863
|
+
}
|
|
864
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
865
|
+
let contents = {};
|
|
866
|
+
contents = smithyClient._json(data);
|
|
867
|
+
const response = {
|
|
868
|
+
$metadata: deserializeMetadata(output),
|
|
869
|
+
...contents,
|
|
870
|
+
};
|
|
871
|
+
return response;
|
|
872
|
+
};
|
|
873
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
874
|
+
if (output.statusCode >= 300) {
|
|
875
|
+
return de_CommandError(output, context);
|
|
876
|
+
}
|
|
877
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
878
|
+
let contents = {};
|
|
879
|
+
contents = smithyClient._json(data);
|
|
880
|
+
const response = {
|
|
881
|
+
$metadata: deserializeMetadata(output),
|
|
882
|
+
...contents,
|
|
883
|
+
};
|
|
884
|
+
return response;
|
|
885
|
+
};
|
|
886
|
+
const de_ListVpcEndpointsCommand = async (output, context) => {
|
|
887
|
+
if (output.statusCode >= 300) {
|
|
888
|
+
return de_CommandError(output, context);
|
|
889
|
+
}
|
|
890
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
891
|
+
let contents = {};
|
|
892
|
+
contents = smithyClient._json(data);
|
|
893
|
+
const response = {
|
|
894
|
+
$metadata: deserializeMetadata(output),
|
|
895
|
+
...contents,
|
|
896
|
+
};
|
|
897
|
+
return response;
|
|
898
|
+
};
|
|
899
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
900
|
+
if (output.statusCode >= 300) {
|
|
901
|
+
return de_CommandError(output, context);
|
|
902
|
+
}
|
|
903
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
904
|
+
let contents = {};
|
|
905
|
+
contents = smithyClient._json(data);
|
|
906
|
+
const response = {
|
|
907
|
+
$metadata: deserializeMetadata(output),
|
|
908
|
+
...contents,
|
|
909
|
+
};
|
|
910
|
+
return response;
|
|
911
|
+
};
|
|
912
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
913
|
+
if (output.statusCode >= 300) {
|
|
914
|
+
return de_CommandError(output, context);
|
|
915
|
+
}
|
|
916
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
917
|
+
let contents = {};
|
|
918
|
+
contents = smithyClient._json(data);
|
|
919
|
+
const response = {
|
|
920
|
+
$metadata: deserializeMetadata(output),
|
|
921
|
+
...contents,
|
|
922
|
+
};
|
|
923
|
+
return response;
|
|
924
|
+
};
|
|
925
|
+
const de_UpdateAccessPolicyCommand = async (output, context) => {
|
|
926
|
+
if (output.statusCode >= 300) {
|
|
927
|
+
return de_CommandError(output, context);
|
|
928
|
+
}
|
|
929
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
930
|
+
let contents = {};
|
|
931
|
+
contents = de_UpdateAccessPolicyResponse(data);
|
|
932
|
+
const response = {
|
|
933
|
+
$metadata: deserializeMetadata(output),
|
|
934
|
+
...contents,
|
|
935
|
+
};
|
|
936
|
+
return response;
|
|
937
|
+
};
|
|
938
|
+
const de_UpdateAccountSettingsCommand = async (output, context) => {
|
|
939
|
+
if (output.statusCode >= 300) {
|
|
940
|
+
return de_CommandError(output, context);
|
|
941
|
+
}
|
|
942
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
943
|
+
let contents = {};
|
|
944
|
+
contents = smithyClient._json(data);
|
|
945
|
+
const response = {
|
|
946
|
+
$metadata: deserializeMetadata(output),
|
|
947
|
+
...contents,
|
|
948
|
+
};
|
|
949
|
+
return response;
|
|
950
|
+
};
|
|
951
|
+
const de_UpdateCollectionCommand = async (output, context) => {
|
|
952
|
+
if (output.statusCode >= 300) {
|
|
953
|
+
return de_CommandError(output, context);
|
|
954
|
+
}
|
|
955
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
956
|
+
let contents = {};
|
|
957
|
+
contents = smithyClient._json(data);
|
|
958
|
+
const response = {
|
|
959
|
+
$metadata: deserializeMetadata(output),
|
|
960
|
+
...contents,
|
|
961
|
+
};
|
|
962
|
+
return response;
|
|
963
|
+
};
|
|
964
|
+
const de_UpdateIndexCommand = async (output, context) => {
|
|
965
|
+
if (output.statusCode >= 300) {
|
|
966
|
+
return de_CommandError(output, context);
|
|
967
|
+
}
|
|
968
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
969
|
+
let contents = {};
|
|
970
|
+
contents = smithyClient._json(data);
|
|
971
|
+
const response = {
|
|
972
|
+
$metadata: deserializeMetadata(output),
|
|
973
|
+
...contents,
|
|
974
|
+
};
|
|
975
|
+
return response;
|
|
976
|
+
};
|
|
977
|
+
const de_UpdateLifecyclePolicyCommand = async (output, context) => {
|
|
978
|
+
if (output.statusCode >= 300) {
|
|
979
|
+
return de_CommandError(output, context);
|
|
980
|
+
}
|
|
981
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
982
|
+
let contents = {};
|
|
983
|
+
contents = de_UpdateLifecyclePolicyResponse(data);
|
|
984
|
+
const response = {
|
|
985
|
+
$metadata: deserializeMetadata(output),
|
|
986
|
+
...contents,
|
|
987
|
+
};
|
|
988
|
+
return response;
|
|
989
|
+
};
|
|
990
|
+
const de_UpdateSecurityConfigCommand = async (output, context) => {
|
|
991
|
+
if (output.statusCode >= 300) {
|
|
992
|
+
return de_CommandError(output, context);
|
|
993
|
+
}
|
|
994
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
995
|
+
let contents = {};
|
|
996
|
+
contents = smithyClient._json(data);
|
|
997
|
+
const response = {
|
|
998
|
+
$metadata: deserializeMetadata(output),
|
|
999
|
+
...contents,
|
|
1000
|
+
};
|
|
1001
|
+
return response;
|
|
1002
|
+
};
|
|
1003
|
+
const de_UpdateSecurityPolicyCommand = async (output, context) => {
|
|
1004
|
+
if (output.statusCode >= 300) {
|
|
1005
|
+
return de_CommandError(output, context);
|
|
1006
|
+
}
|
|
1007
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
1008
|
+
let contents = {};
|
|
1009
|
+
contents = de_UpdateSecurityPolicyResponse(data);
|
|
1010
|
+
const response = {
|
|
1011
|
+
$metadata: deserializeMetadata(output),
|
|
1012
|
+
...contents,
|
|
1013
|
+
};
|
|
1014
|
+
return response;
|
|
1015
|
+
};
|
|
1016
|
+
const de_UpdateVpcEndpointCommand = async (output, context) => {
|
|
1017
|
+
if (output.statusCode >= 300) {
|
|
1018
|
+
return de_CommandError(output, context);
|
|
1019
|
+
}
|
|
1020
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
1021
|
+
let contents = {};
|
|
1022
|
+
contents = smithyClient._json(data);
|
|
1023
|
+
const response = {
|
|
1024
|
+
$metadata: deserializeMetadata(output),
|
|
1025
|
+
...contents,
|
|
1026
|
+
};
|
|
1027
|
+
return response;
|
|
1028
|
+
};
|
|
1029
|
+
const de_CommandError = async (output, context) => {
|
|
1030
|
+
const parsedOutput = {
|
|
1031
|
+
...output,
|
|
1032
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1033
|
+
};
|
|
1034
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1035
|
+
switch (errorCode) {
|
|
1036
|
+
case "InternalServerException":
|
|
1037
|
+
case "com.amazonaws.opensearchserverless#InternalServerException":
|
|
1038
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1039
|
+
case "ValidationException":
|
|
1040
|
+
case "com.amazonaws.opensearchserverless#ValidationException":
|
|
1041
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1042
|
+
case "ConflictException":
|
|
1043
|
+
case "com.amazonaws.opensearchserverless#ConflictException":
|
|
1044
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1045
|
+
case "ServiceQuotaExceededException":
|
|
1046
|
+
case "com.amazonaws.opensearchserverless#ServiceQuotaExceededException":
|
|
1047
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1048
|
+
case "OcuLimitExceededException":
|
|
1049
|
+
case "com.amazonaws.opensearchserverless#OcuLimitExceededException":
|
|
1050
|
+
throw await de_OcuLimitExceededExceptionRes(parsedOutput);
|
|
1051
|
+
case "ResourceNotFoundException":
|
|
1052
|
+
case "com.amazonaws.opensearchserverless#ResourceNotFoundException":
|
|
1053
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1054
|
+
default:
|
|
1055
|
+
const parsedBody = parsedOutput.body;
|
|
1056
|
+
return throwDefaultError({
|
|
1057
|
+
output,
|
|
1058
|
+
parsedBody,
|
|
1059
|
+
errorCode,
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
263
1062
|
};
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
data: "data"
|
|
271
|
-
};
|
|
272
|
-
var ConflictException = class _ConflictException extends OpenSearchServerlessServiceException {
|
|
273
|
-
static {
|
|
274
|
-
__name(this, "ConflictException");
|
|
275
|
-
}
|
|
276
|
-
name = "ConflictException";
|
|
277
|
-
$fault = "client";
|
|
278
|
-
/**
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
constructor(opts) {
|
|
282
|
-
super({
|
|
283
|
-
name: "ConflictException",
|
|
284
|
-
$fault: "client",
|
|
285
|
-
...opts
|
|
1063
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1064
|
+
const body = parsedOutput.body;
|
|
1065
|
+
const deserialized = smithyClient._json(body);
|
|
1066
|
+
const exception = new ConflictException({
|
|
1067
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1068
|
+
...deserialized,
|
|
286
1069
|
});
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
$fault = "server";
|
|
296
|
-
/**
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
299
|
-
constructor(opts) {
|
|
300
|
-
super({
|
|
301
|
-
name: "InternalServerException",
|
|
302
|
-
$fault: "server",
|
|
303
|
-
...opts
|
|
1070
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1071
|
+
};
|
|
1072
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1073
|
+
const body = parsedOutput.body;
|
|
1074
|
+
const deserialized = smithyClient._json(body);
|
|
1075
|
+
const exception = new InternalServerException({
|
|
1076
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1077
|
+
...deserialized,
|
|
304
1078
|
});
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
$fault = "client";
|
|
314
|
-
/**
|
|
315
|
-
* Identifier of the resource affected.
|
|
316
|
-
* @public
|
|
317
|
-
*/
|
|
318
|
-
resourceId;
|
|
319
|
-
/**
|
|
320
|
-
* Type of the resource affected.
|
|
321
|
-
* @public
|
|
322
|
-
*/
|
|
323
|
-
resourceType;
|
|
324
|
-
/**
|
|
325
|
-
* Service Quotas requirement to identify originating service.
|
|
326
|
-
* @public
|
|
327
|
-
*/
|
|
328
|
-
serviceCode;
|
|
329
|
-
/**
|
|
330
|
-
* Service Quotas requirement to identify originating quota.
|
|
331
|
-
* @public
|
|
332
|
-
*/
|
|
333
|
-
quotaCode;
|
|
334
|
-
/**
|
|
335
|
-
* @internal
|
|
336
|
-
*/
|
|
337
|
-
constructor(opts) {
|
|
338
|
-
super({
|
|
339
|
-
name: "ServiceQuotaExceededException",
|
|
340
|
-
$fault: "client",
|
|
341
|
-
...opts
|
|
1079
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1080
|
+
};
|
|
1081
|
+
const de_OcuLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1082
|
+
const body = parsedOutput.body;
|
|
1083
|
+
const deserialized = smithyClient._json(body);
|
|
1084
|
+
const exception = new OcuLimitExceededException({
|
|
1085
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1086
|
+
...deserialized,
|
|
342
1087
|
});
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
static {
|
|
352
|
-
__name(this, "ValidationException");
|
|
353
|
-
}
|
|
354
|
-
name = "ValidationException";
|
|
355
|
-
$fault = "client";
|
|
356
|
-
/**
|
|
357
|
-
* @internal
|
|
358
|
-
*/
|
|
359
|
-
constructor(opts) {
|
|
360
|
-
super({
|
|
361
|
-
name: "ValidationException",
|
|
362
|
-
$fault: "client",
|
|
363
|
-
...opts
|
|
1088
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1089
|
+
};
|
|
1090
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1091
|
+
const body = parsedOutput.body;
|
|
1092
|
+
const deserialized = smithyClient._json(body);
|
|
1093
|
+
const exception = new ResourceNotFoundException({
|
|
1094
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1095
|
+
...deserialized,
|
|
364
1096
|
});
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
$fault = "client";
|
|
374
|
-
/**
|
|
375
|
-
* @internal
|
|
376
|
-
*/
|
|
377
|
-
constructor(opts) {
|
|
378
|
-
super({
|
|
379
|
-
name: "ResourceNotFoundException",
|
|
380
|
-
$fault: "client",
|
|
381
|
-
...opts
|
|
1097
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1098
|
+
};
|
|
1099
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1100
|
+
const body = parsedOutput.body;
|
|
1101
|
+
const deserialized = smithyClient._json(body);
|
|
1102
|
+
const exception = new ServiceQuotaExceededException({
|
|
1103
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1104
|
+
...deserialized,
|
|
382
1105
|
});
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* Creating collection resource
|
|
403
|
-
*/
|
|
404
|
-
CREATING: "CREATING",
|
|
405
|
-
/**
|
|
406
|
-
* Deleting collection resource
|
|
407
|
-
*/
|
|
408
|
-
DELETING: "DELETING",
|
|
409
|
-
/**
|
|
410
|
-
* Collection resource create or delete failed
|
|
411
|
-
*/
|
|
412
|
-
FAILED: "FAILED"
|
|
413
|
-
};
|
|
414
|
-
var CollectionType = {
|
|
415
|
-
/**
|
|
416
|
-
* Search collection type
|
|
417
|
-
*/
|
|
418
|
-
SEARCH: "SEARCH",
|
|
419
|
-
/**
|
|
420
|
-
* Timeseries collection type
|
|
421
|
-
*/
|
|
422
|
-
TIMESERIES: "TIMESERIES",
|
|
423
|
-
/**
|
|
424
|
-
* Vectorsearch collection type
|
|
425
|
-
*/
|
|
426
|
-
VECTORSEARCH: "VECTORSEARCH"
|
|
427
|
-
};
|
|
428
|
-
var LifecyclePolicyType = {
|
|
429
|
-
/**
|
|
430
|
-
* retention policy type
|
|
431
|
-
*/
|
|
432
|
-
retention: "retention"
|
|
433
|
-
};
|
|
434
|
-
var ResourceType = {
|
|
435
|
-
/**
|
|
436
|
-
* index resource type
|
|
437
|
-
*/
|
|
438
|
-
index: "index"
|
|
439
|
-
};
|
|
440
|
-
var VpcEndpointStatus = {
|
|
441
|
-
/**
|
|
442
|
-
* VPCEndpoint resource is ready to use
|
|
443
|
-
*/
|
|
444
|
-
ACTIVE: "ACTIVE",
|
|
445
|
-
/**
|
|
446
|
-
* Deleting VPCEndpoint resource
|
|
447
|
-
*/
|
|
448
|
-
DELETING: "DELETING",
|
|
449
|
-
/**
|
|
450
|
-
* VPCEndpoint resource create or delete failed
|
|
451
|
-
*/
|
|
452
|
-
FAILED: "FAILED",
|
|
453
|
-
/**
|
|
454
|
-
* Pending VPCEndpoint resource
|
|
455
|
-
*/
|
|
456
|
-
PENDING: "PENDING"
|
|
457
|
-
};
|
|
458
|
-
var OcuLimitExceededException = class _OcuLimitExceededException extends OpenSearchServerlessServiceException {
|
|
459
|
-
static {
|
|
460
|
-
__name(this, "OcuLimitExceededException");
|
|
461
|
-
}
|
|
462
|
-
name = "OcuLimitExceededException";
|
|
463
|
-
$fault = "client";
|
|
464
|
-
/**
|
|
465
|
-
* @internal
|
|
466
|
-
*/
|
|
467
|
-
constructor(opts) {
|
|
468
|
-
super({
|
|
469
|
-
name: "OcuLimitExceededException",
|
|
470
|
-
$fault: "client",
|
|
471
|
-
...opts
|
|
1106
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1107
|
+
};
|
|
1108
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1109
|
+
const body = parsedOutput.body;
|
|
1110
|
+
const deserialized = smithyClient._json(body);
|
|
1111
|
+
const exception = new ValidationException({
|
|
1112
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1113
|
+
...deserialized,
|
|
1114
|
+
});
|
|
1115
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1116
|
+
};
|
|
1117
|
+
const se_CreateAccessPolicyRequest = (input, context) => {
|
|
1118
|
+
return smithyClient.take(input, {
|
|
1119
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1120
|
+
description: [],
|
|
1121
|
+
name: [],
|
|
1122
|
+
policy: [],
|
|
1123
|
+
type: [],
|
|
472
1124
|
});
|
|
473
|
-
Object.setPrototypeOf(this, _OcuLimitExceededException.prototype);
|
|
474
|
-
}
|
|
475
|
-
};
|
|
476
|
-
var IamIdentityCenterGroupAttribute = {
|
|
477
|
-
/**
|
|
478
|
-
* Group ID
|
|
479
|
-
*/
|
|
480
|
-
GroupId: "GroupId",
|
|
481
|
-
/**
|
|
482
|
-
* Group Name
|
|
483
|
-
*/
|
|
484
|
-
GroupName: "GroupName"
|
|
485
|
-
};
|
|
486
|
-
var IamIdentityCenterUserAttribute = {
|
|
487
|
-
/**
|
|
488
|
-
* Email
|
|
489
|
-
*/
|
|
490
|
-
Email: "Email",
|
|
491
|
-
/**
|
|
492
|
-
* User ID
|
|
493
|
-
*/
|
|
494
|
-
UserId: "UserId",
|
|
495
|
-
/**
|
|
496
|
-
* User Name
|
|
497
|
-
*/
|
|
498
|
-
UserName: "UserName"
|
|
499
|
-
};
|
|
500
|
-
var SecurityConfigType = {
|
|
501
|
-
/**
|
|
502
|
-
* iam federation
|
|
503
|
-
*/
|
|
504
|
-
iamfederation: "iamfederation",
|
|
505
|
-
/**
|
|
506
|
-
* iam identity center
|
|
507
|
-
*/
|
|
508
|
-
iamidentitycenter: "iamidentitycenter",
|
|
509
|
-
/**
|
|
510
|
-
* saml provider
|
|
511
|
-
*/
|
|
512
|
-
saml: "saml"
|
|
513
|
-
};
|
|
514
|
-
var SecurityPolicyType = {
|
|
515
|
-
/**
|
|
516
|
-
* encryption policy type
|
|
517
|
-
*/
|
|
518
|
-
encryption: "encryption",
|
|
519
|
-
/**
|
|
520
|
-
* network policy type
|
|
521
|
-
*/
|
|
522
|
-
network: "network"
|
|
523
1125
|
};
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
const headers = sharedHeaders("BatchGetEffectiveLifecyclePolicy");
|
|
534
|
-
let body;
|
|
535
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
536
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
537
|
-
}, "se_BatchGetEffectiveLifecyclePolicyCommand");
|
|
538
|
-
var se_BatchGetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
539
|
-
const headers = sharedHeaders("BatchGetLifecyclePolicy");
|
|
540
|
-
let body;
|
|
541
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
542
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
543
|
-
}, "se_BatchGetLifecyclePolicyCommand");
|
|
544
|
-
var se_BatchGetVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
545
|
-
const headers = sharedHeaders("BatchGetVpcEndpoint");
|
|
546
|
-
let body;
|
|
547
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
548
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
549
|
-
}, "se_BatchGetVpcEndpointCommand");
|
|
550
|
-
var se_CreateAccessPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
551
|
-
const headers = sharedHeaders("CreateAccessPolicy");
|
|
552
|
-
let body;
|
|
553
|
-
body = JSON.stringify(se_CreateAccessPolicyRequest(input, context));
|
|
554
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
555
|
-
}, "se_CreateAccessPolicyCommand");
|
|
556
|
-
var se_CreateCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
557
|
-
const headers = sharedHeaders("CreateCollection");
|
|
558
|
-
let body;
|
|
559
|
-
body = JSON.stringify(se_CreateCollectionRequest(input, context));
|
|
560
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
561
|
-
}, "se_CreateCollectionCommand");
|
|
562
|
-
var se_CreateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
563
|
-
const headers = sharedHeaders("CreateIndex");
|
|
564
|
-
let body;
|
|
565
|
-
body = JSON.stringify(se_CreateIndexRequest(input, context));
|
|
566
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
567
|
-
}, "se_CreateIndexCommand");
|
|
568
|
-
var se_CreateLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
569
|
-
const headers = sharedHeaders("CreateLifecyclePolicy");
|
|
570
|
-
let body;
|
|
571
|
-
body = JSON.stringify(se_CreateLifecyclePolicyRequest(input, context));
|
|
572
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
573
|
-
}, "se_CreateLifecyclePolicyCommand");
|
|
574
|
-
var se_CreateSecurityConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
575
|
-
const headers = sharedHeaders("CreateSecurityConfig");
|
|
576
|
-
let body;
|
|
577
|
-
body = JSON.stringify(se_CreateSecurityConfigRequest(input, context));
|
|
578
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
579
|
-
}, "se_CreateSecurityConfigCommand");
|
|
580
|
-
var se_CreateSecurityPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
581
|
-
const headers = sharedHeaders("CreateSecurityPolicy");
|
|
582
|
-
let body;
|
|
583
|
-
body = JSON.stringify(se_CreateSecurityPolicyRequest(input, context));
|
|
584
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
585
|
-
}, "se_CreateSecurityPolicyCommand");
|
|
586
|
-
var se_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
587
|
-
const headers = sharedHeaders("CreateVpcEndpoint");
|
|
588
|
-
let body;
|
|
589
|
-
body = JSON.stringify(se_CreateVpcEndpointRequest(input, context));
|
|
590
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
591
|
-
}, "se_CreateVpcEndpointCommand");
|
|
592
|
-
var se_DeleteAccessPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
593
|
-
const headers = sharedHeaders("DeleteAccessPolicy");
|
|
594
|
-
let body;
|
|
595
|
-
body = JSON.stringify(se_DeleteAccessPolicyRequest(input, context));
|
|
596
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
597
|
-
}, "se_DeleteAccessPolicyCommand");
|
|
598
|
-
var se_DeleteCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
599
|
-
const headers = sharedHeaders("DeleteCollection");
|
|
600
|
-
let body;
|
|
601
|
-
body = JSON.stringify(se_DeleteCollectionRequest(input, context));
|
|
602
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
603
|
-
}, "se_DeleteCollectionCommand");
|
|
604
|
-
var se_DeleteIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
605
|
-
const headers = sharedHeaders("DeleteIndex");
|
|
606
|
-
let body;
|
|
607
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
608
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
609
|
-
}, "se_DeleteIndexCommand");
|
|
610
|
-
var se_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
611
|
-
const headers = sharedHeaders("DeleteLifecyclePolicy");
|
|
612
|
-
let body;
|
|
613
|
-
body = JSON.stringify(se_DeleteLifecyclePolicyRequest(input, context));
|
|
614
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
615
|
-
}, "se_DeleteLifecyclePolicyCommand");
|
|
616
|
-
var se_DeleteSecurityConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
617
|
-
const headers = sharedHeaders("DeleteSecurityConfig");
|
|
618
|
-
let body;
|
|
619
|
-
body = JSON.stringify(se_DeleteSecurityConfigRequest(input, context));
|
|
620
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
621
|
-
}, "se_DeleteSecurityConfigCommand");
|
|
622
|
-
var se_DeleteSecurityPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
623
|
-
const headers = sharedHeaders("DeleteSecurityPolicy");
|
|
624
|
-
let body;
|
|
625
|
-
body = JSON.stringify(se_DeleteSecurityPolicyRequest(input, context));
|
|
626
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
627
|
-
}, "se_DeleteSecurityPolicyCommand");
|
|
628
|
-
var se_DeleteVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
629
|
-
const headers = sharedHeaders("DeleteVpcEndpoint");
|
|
630
|
-
let body;
|
|
631
|
-
body = JSON.stringify(se_DeleteVpcEndpointRequest(input, context));
|
|
632
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
633
|
-
}, "se_DeleteVpcEndpointCommand");
|
|
634
|
-
var se_GetAccessPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
635
|
-
const headers = sharedHeaders("GetAccessPolicy");
|
|
636
|
-
let body;
|
|
637
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
638
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
639
|
-
}, "se_GetAccessPolicyCommand");
|
|
640
|
-
var se_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
641
|
-
const headers = sharedHeaders("GetAccountSettings");
|
|
642
|
-
let body;
|
|
643
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
644
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
645
|
-
}, "se_GetAccountSettingsCommand");
|
|
646
|
-
var se_GetIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
647
|
-
const headers = sharedHeaders("GetIndex");
|
|
648
|
-
let body;
|
|
649
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
650
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
651
|
-
}, "se_GetIndexCommand");
|
|
652
|
-
var se_GetPoliciesStatsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
653
|
-
const headers = sharedHeaders("GetPoliciesStats");
|
|
654
|
-
let body;
|
|
655
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
656
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
657
|
-
}, "se_GetPoliciesStatsCommand");
|
|
658
|
-
var se_GetSecurityConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
659
|
-
const headers = sharedHeaders("GetSecurityConfig");
|
|
660
|
-
let body;
|
|
661
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
662
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
663
|
-
}, "se_GetSecurityConfigCommand");
|
|
664
|
-
var se_GetSecurityPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
665
|
-
const headers = sharedHeaders("GetSecurityPolicy");
|
|
666
|
-
let body;
|
|
667
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
668
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
669
|
-
}, "se_GetSecurityPolicyCommand");
|
|
670
|
-
var se_ListAccessPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
671
|
-
const headers = sharedHeaders("ListAccessPolicies");
|
|
672
|
-
let body;
|
|
673
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
674
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
675
|
-
}, "se_ListAccessPoliciesCommand");
|
|
676
|
-
var se_ListCollectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
677
|
-
const headers = sharedHeaders("ListCollections");
|
|
678
|
-
let body;
|
|
679
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
680
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
681
|
-
}, "se_ListCollectionsCommand");
|
|
682
|
-
var se_ListLifecyclePoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
683
|
-
const headers = sharedHeaders("ListLifecyclePolicies");
|
|
684
|
-
let body;
|
|
685
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
686
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
687
|
-
}, "se_ListLifecyclePoliciesCommand");
|
|
688
|
-
var se_ListSecurityConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
689
|
-
const headers = sharedHeaders("ListSecurityConfigs");
|
|
690
|
-
let body;
|
|
691
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
692
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
693
|
-
}, "se_ListSecurityConfigsCommand");
|
|
694
|
-
var se_ListSecurityPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
695
|
-
const headers = sharedHeaders("ListSecurityPolicies");
|
|
696
|
-
let body;
|
|
697
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
698
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
699
|
-
}, "se_ListSecurityPoliciesCommand");
|
|
700
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
701
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
702
|
-
let body;
|
|
703
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
704
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
705
|
-
}, "se_ListTagsForResourceCommand");
|
|
706
|
-
var se_ListVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
707
|
-
const headers = sharedHeaders("ListVpcEndpoints");
|
|
708
|
-
let body;
|
|
709
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
710
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
711
|
-
}, "se_ListVpcEndpointsCommand");
|
|
712
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
713
|
-
const headers = sharedHeaders("TagResource");
|
|
714
|
-
let body;
|
|
715
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
716
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
717
|
-
}, "se_TagResourceCommand");
|
|
718
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
719
|
-
const headers = sharedHeaders("UntagResource");
|
|
720
|
-
let body;
|
|
721
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
722
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
723
|
-
}, "se_UntagResourceCommand");
|
|
724
|
-
var se_UpdateAccessPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
725
|
-
const headers = sharedHeaders("UpdateAccessPolicy");
|
|
726
|
-
let body;
|
|
727
|
-
body = JSON.stringify(se_UpdateAccessPolicyRequest(input, context));
|
|
728
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
729
|
-
}, "se_UpdateAccessPolicyCommand");
|
|
730
|
-
var se_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
731
|
-
const headers = sharedHeaders("UpdateAccountSettings");
|
|
732
|
-
let body;
|
|
733
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
734
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
735
|
-
}, "se_UpdateAccountSettingsCommand");
|
|
736
|
-
var se_UpdateCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
737
|
-
const headers = sharedHeaders("UpdateCollection");
|
|
738
|
-
let body;
|
|
739
|
-
body = JSON.stringify(se_UpdateCollectionRequest(input, context));
|
|
740
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
741
|
-
}, "se_UpdateCollectionCommand");
|
|
742
|
-
var se_UpdateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
743
|
-
const headers = sharedHeaders("UpdateIndex");
|
|
744
|
-
let body;
|
|
745
|
-
body = JSON.stringify(se_UpdateIndexRequest(input, context));
|
|
746
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
747
|
-
}, "se_UpdateIndexCommand");
|
|
748
|
-
var se_UpdateLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
749
|
-
const headers = sharedHeaders("UpdateLifecyclePolicy");
|
|
750
|
-
let body;
|
|
751
|
-
body = JSON.stringify(se_UpdateLifecyclePolicyRequest(input, context));
|
|
752
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
753
|
-
}, "se_UpdateLifecyclePolicyCommand");
|
|
754
|
-
var se_UpdateSecurityConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
755
|
-
const headers = sharedHeaders("UpdateSecurityConfig");
|
|
756
|
-
let body;
|
|
757
|
-
body = JSON.stringify(se_UpdateSecurityConfigRequest(input, context));
|
|
758
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
759
|
-
}, "se_UpdateSecurityConfigCommand");
|
|
760
|
-
var se_UpdateSecurityPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
761
|
-
const headers = sharedHeaders("UpdateSecurityPolicy");
|
|
762
|
-
let body;
|
|
763
|
-
body = JSON.stringify(se_UpdateSecurityPolicyRequest(input, context));
|
|
764
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
765
|
-
}, "se_UpdateSecurityPolicyCommand");
|
|
766
|
-
var se_UpdateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
767
|
-
const headers = sharedHeaders("UpdateVpcEndpoint");
|
|
768
|
-
let body;
|
|
769
|
-
body = JSON.stringify(se_UpdateVpcEndpointRequest(input, context));
|
|
770
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
771
|
-
}, "se_UpdateVpcEndpointCommand");
|
|
772
|
-
var de_BatchGetCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
773
|
-
if (output.statusCode >= 300) {
|
|
774
|
-
return de_CommandError(output, context);
|
|
775
|
-
}
|
|
776
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
777
|
-
let contents = {};
|
|
778
|
-
contents = (0, import_smithy_client._json)(data);
|
|
779
|
-
const response = {
|
|
780
|
-
$metadata: deserializeMetadata(output),
|
|
781
|
-
...contents
|
|
782
|
-
};
|
|
783
|
-
return response;
|
|
784
|
-
}, "de_BatchGetCollectionCommand");
|
|
785
|
-
var de_BatchGetEffectiveLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
786
|
-
if (output.statusCode >= 300) {
|
|
787
|
-
return de_CommandError(output, context);
|
|
788
|
-
}
|
|
789
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
790
|
-
let contents = {};
|
|
791
|
-
contents = (0, import_smithy_client._json)(data);
|
|
792
|
-
const response = {
|
|
793
|
-
$metadata: deserializeMetadata(output),
|
|
794
|
-
...contents
|
|
795
|
-
};
|
|
796
|
-
return response;
|
|
797
|
-
}, "de_BatchGetEffectiveLifecyclePolicyCommand");
|
|
798
|
-
var de_BatchGetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
799
|
-
if (output.statusCode >= 300) {
|
|
800
|
-
return de_CommandError(output, context);
|
|
801
|
-
}
|
|
802
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
803
|
-
let contents = {};
|
|
804
|
-
contents = de_BatchGetLifecyclePolicyResponse(data, context);
|
|
805
|
-
const response = {
|
|
806
|
-
$metadata: deserializeMetadata(output),
|
|
807
|
-
...contents
|
|
808
|
-
};
|
|
809
|
-
return response;
|
|
810
|
-
}, "de_BatchGetLifecyclePolicyCommand");
|
|
811
|
-
var de_BatchGetVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
812
|
-
if (output.statusCode >= 300) {
|
|
813
|
-
return de_CommandError(output, context);
|
|
814
|
-
}
|
|
815
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
816
|
-
let contents = {};
|
|
817
|
-
contents = (0, import_smithy_client._json)(data);
|
|
818
|
-
const response = {
|
|
819
|
-
$metadata: deserializeMetadata(output),
|
|
820
|
-
...contents
|
|
821
|
-
};
|
|
822
|
-
return response;
|
|
823
|
-
}, "de_BatchGetVpcEndpointCommand");
|
|
824
|
-
var de_CreateAccessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
825
|
-
if (output.statusCode >= 300) {
|
|
826
|
-
return de_CommandError(output, context);
|
|
827
|
-
}
|
|
828
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
829
|
-
let contents = {};
|
|
830
|
-
contents = de_CreateAccessPolicyResponse(data, context);
|
|
831
|
-
const response = {
|
|
832
|
-
$metadata: deserializeMetadata(output),
|
|
833
|
-
...contents
|
|
834
|
-
};
|
|
835
|
-
return response;
|
|
836
|
-
}, "de_CreateAccessPolicyCommand");
|
|
837
|
-
var de_CreateCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
838
|
-
if (output.statusCode >= 300) {
|
|
839
|
-
return de_CommandError(output, context);
|
|
840
|
-
}
|
|
841
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
842
|
-
let contents = {};
|
|
843
|
-
contents = (0, import_smithy_client._json)(data);
|
|
844
|
-
const response = {
|
|
845
|
-
$metadata: deserializeMetadata(output),
|
|
846
|
-
...contents
|
|
847
|
-
};
|
|
848
|
-
return response;
|
|
849
|
-
}, "de_CreateCollectionCommand");
|
|
850
|
-
var de_CreateIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
851
|
-
if (output.statusCode >= 300) {
|
|
852
|
-
return de_CommandError(output, context);
|
|
853
|
-
}
|
|
854
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
855
|
-
let contents = {};
|
|
856
|
-
contents = (0, import_smithy_client._json)(data);
|
|
857
|
-
const response = {
|
|
858
|
-
$metadata: deserializeMetadata(output),
|
|
859
|
-
...contents
|
|
860
|
-
};
|
|
861
|
-
return response;
|
|
862
|
-
}, "de_CreateIndexCommand");
|
|
863
|
-
var de_CreateLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
864
|
-
if (output.statusCode >= 300) {
|
|
865
|
-
return de_CommandError(output, context);
|
|
866
|
-
}
|
|
867
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
868
|
-
let contents = {};
|
|
869
|
-
contents = de_CreateLifecyclePolicyResponse(data, context);
|
|
870
|
-
const response = {
|
|
871
|
-
$metadata: deserializeMetadata(output),
|
|
872
|
-
...contents
|
|
873
|
-
};
|
|
874
|
-
return response;
|
|
875
|
-
}, "de_CreateLifecyclePolicyCommand");
|
|
876
|
-
var de_CreateSecurityConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
877
|
-
if (output.statusCode >= 300) {
|
|
878
|
-
return de_CommandError(output, context);
|
|
879
|
-
}
|
|
880
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
881
|
-
let contents = {};
|
|
882
|
-
contents = (0, import_smithy_client._json)(data);
|
|
883
|
-
const response = {
|
|
884
|
-
$metadata: deserializeMetadata(output),
|
|
885
|
-
...contents
|
|
886
|
-
};
|
|
887
|
-
return response;
|
|
888
|
-
}, "de_CreateSecurityConfigCommand");
|
|
889
|
-
var de_CreateSecurityPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
890
|
-
if (output.statusCode >= 300) {
|
|
891
|
-
return de_CommandError(output, context);
|
|
892
|
-
}
|
|
893
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
894
|
-
let contents = {};
|
|
895
|
-
contents = de_CreateSecurityPolicyResponse(data, context);
|
|
896
|
-
const response = {
|
|
897
|
-
$metadata: deserializeMetadata(output),
|
|
898
|
-
...contents
|
|
899
|
-
};
|
|
900
|
-
return response;
|
|
901
|
-
}, "de_CreateSecurityPolicyCommand");
|
|
902
|
-
var de_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
903
|
-
if (output.statusCode >= 300) {
|
|
904
|
-
return de_CommandError(output, context);
|
|
905
|
-
}
|
|
906
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
907
|
-
let contents = {};
|
|
908
|
-
contents = (0, import_smithy_client._json)(data);
|
|
909
|
-
const response = {
|
|
910
|
-
$metadata: deserializeMetadata(output),
|
|
911
|
-
...contents
|
|
912
|
-
};
|
|
913
|
-
return response;
|
|
914
|
-
}, "de_CreateVpcEndpointCommand");
|
|
915
|
-
var de_DeleteAccessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
916
|
-
if (output.statusCode >= 300) {
|
|
917
|
-
return de_CommandError(output, context);
|
|
918
|
-
}
|
|
919
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
920
|
-
let contents = {};
|
|
921
|
-
contents = (0, import_smithy_client._json)(data);
|
|
922
|
-
const response = {
|
|
923
|
-
$metadata: deserializeMetadata(output),
|
|
924
|
-
...contents
|
|
925
|
-
};
|
|
926
|
-
return response;
|
|
927
|
-
}, "de_DeleteAccessPolicyCommand");
|
|
928
|
-
var de_DeleteCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
929
|
-
if (output.statusCode >= 300) {
|
|
930
|
-
return de_CommandError(output, context);
|
|
931
|
-
}
|
|
932
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
933
|
-
let contents = {};
|
|
934
|
-
contents = (0, import_smithy_client._json)(data);
|
|
935
|
-
const response = {
|
|
936
|
-
$metadata: deserializeMetadata(output),
|
|
937
|
-
...contents
|
|
938
|
-
};
|
|
939
|
-
return response;
|
|
940
|
-
}, "de_DeleteCollectionCommand");
|
|
941
|
-
var de_DeleteIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
942
|
-
if (output.statusCode >= 300) {
|
|
943
|
-
return de_CommandError(output, context);
|
|
944
|
-
}
|
|
945
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
946
|
-
let contents = {};
|
|
947
|
-
contents = (0, import_smithy_client._json)(data);
|
|
948
|
-
const response = {
|
|
949
|
-
$metadata: deserializeMetadata(output),
|
|
950
|
-
...contents
|
|
951
|
-
};
|
|
952
|
-
return response;
|
|
953
|
-
}, "de_DeleteIndexCommand");
|
|
954
|
-
var de_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
955
|
-
if (output.statusCode >= 300) {
|
|
956
|
-
return de_CommandError(output, context);
|
|
957
|
-
}
|
|
958
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
959
|
-
let contents = {};
|
|
960
|
-
contents = (0, import_smithy_client._json)(data);
|
|
961
|
-
const response = {
|
|
962
|
-
$metadata: deserializeMetadata(output),
|
|
963
|
-
...contents
|
|
964
|
-
};
|
|
965
|
-
return response;
|
|
966
|
-
}, "de_DeleteLifecyclePolicyCommand");
|
|
967
|
-
var de_DeleteSecurityConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
968
|
-
if (output.statusCode >= 300) {
|
|
969
|
-
return de_CommandError(output, context);
|
|
970
|
-
}
|
|
971
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
972
|
-
let contents = {};
|
|
973
|
-
contents = (0, import_smithy_client._json)(data);
|
|
974
|
-
const response = {
|
|
975
|
-
$metadata: deserializeMetadata(output),
|
|
976
|
-
...contents
|
|
977
|
-
};
|
|
978
|
-
return response;
|
|
979
|
-
}, "de_DeleteSecurityConfigCommand");
|
|
980
|
-
var de_DeleteSecurityPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
981
|
-
if (output.statusCode >= 300) {
|
|
982
|
-
return de_CommandError(output, context);
|
|
983
|
-
}
|
|
984
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
985
|
-
let contents = {};
|
|
986
|
-
contents = (0, import_smithy_client._json)(data);
|
|
987
|
-
const response = {
|
|
988
|
-
$metadata: deserializeMetadata(output),
|
|
989
|
-
...contents
|
|
990
|
-
};
|
|
991
|
-
return response;
|
|
992
|
-
}, "de_DeleteSecurityPolicyCommand");
|
|
993
|
-
var de_DeleteVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
994
|
-
if (output.statusCode >= 300) {
|
|
995
|
-
return de_CommandError(output, context);
|
|
996
|
-
}
|
|
997
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
998
|
-
let contents = {};
|
|
999
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1000
|
-
const response = {
|
|
1001
|
-
$metadata: deserializeMetadata(output),
|
|
1002
|
-
...contents
|
|
1003
|
-
};
|
|
1004
|
-
return response;
|
|
1005
|
-
}, "de_DeleteVpcEndpointCommand");
|
|
1006
|
-
var de_GetAccessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1007
|
-
if (output.statusCode >= 300) {
|
|
1008
|
-
return de_CommandError(output, context);
|
|
1009
|
-
}
|
|
1010
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1011
|
-
let contents = {};
|
|
1012
|
-
contents = de_GetAccessPolicyResponse(data, context);
|
|
1013
|
-
const response = {
|
|
1014
|
-
$metadata: deserializeMetadata(output),
|
|
1015
|
-
...contents
|
|
1016
|
-
};
|
|
1017
|
-
return response;
|
|
1018
|
-
}, "de_GetAccessPolicyCommand");
|
|
1019
|
-
var de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1020
|
-
if (output.statusCode >= 300) {
|
|
1021
|
-
return de_CommandError(output, context);
|
|
1022
|
-
}
|
|
1023
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1024
|
-
let contents = {};
|
|
1025
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1026
|
-
const response = {
|
|
1027
|
-
$metadata: deserializeMetadata(output),
|
|
1028
|
-
...contents
|
|
1029
|
-
};
|
|
1030
|
-
return response;
|
|
1031
|
-
}, "de_GetAccountSettingsCommand");
|
|
1032
|
-
var de_GetIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1033
|
-
if (output.statusCode >= 300) {
|
|
1034
|
-
return de_CommandError(output, context);
|
|
1035
|
-
}
|
|
1036
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1037
|
-
let contents = {};
|
|
1038
|
-
contents = de_GetIndexResponse(data, context);
|
|
1039
|
-
const response = {
|
|
1040
|
-
$metadata: deserializeMetadata(output),
|
|
1041
|
-
...contents
|
|
1042
|
-
};
|
|
1043
|
-
return response;
|
|
1044
|
-
}, "de_GetIndexCommand");
|
|
1045
|
-
var de_GetPoliciesStatsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1046
|
-
if (output.statusCode >= 300) {
|
|
1047
|
-
return de_CommandError(output, context);
|
|
1048
|
-
}
|
|
1049
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1050
|
-
let contents = {};
|
|
1051
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1052
|
-
const response = {
|
|
1053
|
-
$metadata: deserializeMetadata(output),
|
|
1054
|
-
...contents
|
|
1055
|
-
};
|
|
1056
|
-
return response;
|
|
1057
|
-
}, "de_GetPoliciesStatsCommand");
|
|
1058
|
-
var de_GetSecurityConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1059
|
-
if (output.statusCode >= 300) {
|
|
1060
|
-
return de_CommandError(output, context);
|
|
1061
|
-
}
|
|
1062
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1063
|
-
let contents = {};
|
|
1064
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1065
|
-
const response = {
|
|
1066
|
-
$metadata: deserializeMetadata(output),
|
|
1067
|
-
...contents
|
|
1068
|
-
};
|
|
1069
|
-
return response;
|
|
1070
|
-
}, "de_GetSecurityConfigCommand");
|
|
1071
|
-
var de_GetSecurityPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1072
|
-
if (output.statusCode >= 300) {
|
|
1073
|
-
return de_CommandError(output, context);
|
|
1074
|
-
}
|
|
1075
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1076
|
-
let contents = {};
|
|
1077
|
-
contents = de_GetSecurityPolicyResponse(data, context);
|
|
1078
|
-
const response = {
|
|
1079
|
-
$metadata: deserializeMetadata(output),
|
|
1080
|
-
...contents
|
|
1081
|
-
};
|
|
1082
|
-
return response;
|
|
1083
|
-
}, "de_GetSecurityPolicyCommand");
|
|
1084
|
-
var de_ListAccessPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1085
|
-
if (output.statusCode >= 300) {
|
|
1086
|
-
return de_CommandError(output, context);
|
|
1087
|
-
}
|
|
1088
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1089
|
-
let contents = {};
|
|
1090
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1091
|
-
const response = {
|
|
1092
|
-
$metadata: deserializeMetadata(output),
|
|
1093
|
-
...contents
|
|
1094
|
-
};
|
|
1095
|
-
return response;
|
|
1096
|
-
}, "de_ListAccessPoliciesCommand");
|
|
1097
|
-
var de_ListCollectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1098
|
-
if (output.statusCode >= 300) {
|
|
1099
|
-
return de_CommandError(output, context);
|
|
1100
|
-
}
|
|
1101
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1102
|
-
let contents = {};
|
|
1103
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1104
|
-
const response = {
|
|
1105
|
-
$metadata: deserializeMetadata(output),
|
|
1106
|
-
...contents
|
|
1107
|
-
};
|
|
1108
|
-
return response;
|
|
1109
|
-
}, "de_ListCollectionsCommand");
|
|
1110
|
-
var de_ListLifecyclePoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1111
|
-
if (output.statusCode >= 300) {
|
|
1112
|
-
return de_CommandError(output, context);
|
|
1113
|
-
}
|
|
1114
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1115
|
-
let contents = {};
|
|
1116
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1117
|
-
const response = {
|
|
1118
|
-
$metadata: deserializeMetadata(output),
|
|
1119
|
-
...contents
|
|
1120
|
-
};
|
|
1121
|
-
return response;
|
|
1122
|
-
}, "de_ListLifecyclePoliciesCommand");
|
|
1123
|
-
var de_ListSecurityConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1124
|
-
if (output.statusCode >= 300) {
|
|
1125
|
-
return de_CommandError(output, context);
|
|
1126
|
-
}
|
|
1127
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1128
|
-
let contents = {};
|
|
1129
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1130
|
-
const response = {
|
|
1131
|
-
$metadata: deserializeMetadata(output),
|
|
1132
|
-
...contents
|
|
1133
|
-
};
|
|
1134
|
-
return response;
|
|
1135
|
-
}, "de_ListSecurityConfigsCommand");
|
|
1136
|
-
var de_ListSecurityPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1137
|
-
if (output.statusCode >= 300) {
|
|
1138
|
-
return de_CommandError(output, context);
|
|
1139
|
-
}
|
|
1140
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1141
|
-
let contents = {};
|
|
1142
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1143
|
-
const response = {
|
|
1144
|
-
$metadata: deserializeMetadata(output),
|
|
1145
|
-
...contents
|
|
1146
|
-
};
|
|
1147
|
-
return response;
|
|
1148
|
-
}, "de_ListSecurityPoliciesCommand");
|
|
1149
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1150
|
-
if (output.statusCode >= 300) {
|
|
1151
|
-
return de_CommandError(output, context);
|
|
1152
|
-
}
|
|
1153
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1154
|
-
let contents = {};
|
|
1155
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1156
|
-
const response = {
|
|
1157
|
-
$metadata: deserializeMetadata(output),
|
|
1158
|
-
...contents
|
|
1159
|
-
};
|
|
1160
|
-
return response;
|
|
1161
|
-
}, "de_ListTagsForResourceCommand");
|
|
1162
|
-
var de_ListVpcEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1163
|
-
if (output.statusCode >= 300) {
|
|
1164
|
-
return de_CommandError(output, context);
|
|
1165
|
-
}
|
|
1166
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1167
|
-
let contents = {};
|
|
1168
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1169
|
-
const response = {
|
|
1170
|
-
$metadata: deserializeMetadata(output),
|
|
1171
|
-
...contents
|
|
1172
|
-
};
|
|
1173
|
-
return response;
|
|
1174
|
-
}, "de_ListVpcEndpointsCommand");
|
|
1175
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1176
|
-
if (output.statusCode >= 300) {
|
|
1177
|
-
return de_CommandError(output, context);
|
|
1178
|
-
}
|
|
1179
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1180
|
-
let contents = {};
|
|
1181
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1182
|
-
const response = {
|
|
1183
|
-
$metadata: deserializeMetadata(output),
|
|
1184
|
-
...contents
|
|
1185
|
-
};
|
|
1186
|
-
return response;
|
|
1187
|
-
}, "de_TagResourceCommand");
|
|
1188
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1189
|
-
if (output.statusCode >= 300) {
|
|
1190
|
-
return de_CommandError(output, context);
|
|
1191
|
-
}
|
|
1192
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1193
|
-
let contents = {};
|
|
1194
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1195
|
-
const response = {
|
|
1196
|
-
$metadata: deserializeMetadata(output),
|
|
1197
|
-
...contents
|
|
1198
|
-
};
|
|
1199
|
-
return response;
|
|
1200
|
-
}, "de_UntagResourceCommand");
|
|
1201
|
-
var de_UpdateAccessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1202
|
-
if (output.statusCode >= 300) {
|
|
1203
|
-
return de_CommandError(output, context);
|
|
1204
|
-
}
|
|
1205
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1206
|
-
let contents = {};
|
|
1207
|
-
contents = de_UpdateAccessPolicyResponse(data, context);
|
|
1208
|
-
const response = {
|
|
1209
|
-
$metadata: deserializeMetadata(output),
|
|
1210
|
-
...contents
|
|
1211
|
-
};
|
|
1212
|
-
return response;
|
|
1213
|
-
}, "de_UpdateAccessPolicyCommand");
|
|
1214
|
-
var de_UpdateAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1215
|
-
if (output.statusCode >= 300) {
|
|
1216
|
-
return de_CommandError(output, context);
|
|
1217
|
-
}
|
|
1218
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1219
|
-
let contents = {};
|
|
1220
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1221
|
-
const response = {
|
|
1222
|
-
$metadata: deserializeMetadata(output),
|
|
1223
|
-
...contents
|
|
1224
|
-
};
|
|
1225
|
-
return response;
|
|
1226
|
-
}, "de_UpdateAccountSettingsCommand");
|
|
1227
|
-
var de_UpdateCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1228
|
-
if (output.statusCode >= 300) {
|
|
1229
|
-
return de_CommandError(output, context);
|
|
1230
|
-
}
|
|
1231
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1232
|
-
let contents = {};
|
|
1233
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1234
|
-
const response = {
|
|
1235
|
-
$metadata: deserializeMetadata(output),
|
|
1236
|
-
...contents
|
|
1237
|
-
};
|
|
1238
|
-
return response;
|
|
1239
|
-
}, "de_UpdateCollectionCommand");
|
|
1240
|
-
var de_UpdateIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1241
|
-
if (output.statusCode >= 300) {
|
|
1242
|
-
return de_CommandError(output, context);
|
|
1243
|
-
}
|
|
1244
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1245
|
-
let contents = {};
|
|
1246
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1247
|
-
const response = {
|
|
1248
|
-
$metadata: deserializeMetadata(output),
|
|
1249
|
-
...contents
|
|
1250
|
-
};
|
|
1251
|
-
return response;
|
|
1252
|
-
}, "de_UpdateIndexCommand");
|
|
1253
|
-
var de_UpdateLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1254
|
-
if (output.statusCode >= 300) {
|
|
1255
|
-
return de_CommandError(output, context);
|
|
1256
|
-
}
|
|
1257
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1258
|
-
let contents = {};
|
|
1259
|
-
contents = de_UpdateLifecyclePolicyResponse(data, context);
|
|
1260
|
-
const response = {
|
|
1261
|
-
$metadata: deserializeMetadata(output),
|
|
1262
|
-
...contents
|
|
1263
|
-
};
|
|
1264
|
-
return response;
|
|
1265
|
-
}, "de_UpdateLifecyclePolicyCommand");
|
|
1266
|
-
var de_UpdateSecurityConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1267
|
-
if (output.statusCode >= 300) {
|
|
1268
|
-
return de_CommandError(output, context);
|
|
1269
|
-
}
|
|
1270
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1271
|
-
let contents = {};
|
|
1272
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1273
|
-
const response = {
|
|
1274
|
-
$metadata: deserializeMetadata(output),
|
|
1275
|
-
...contents
|
|
1276
|
-
};
|
|
1277
|
-
return response;
|
|
1278
|
-
}, "de_UpdateSecurityConfigCommand");
|
|
1279
|
-
var de_UpdateSecurityPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1280
|
-
if (output.statusCode >= 300) {
|
|
1281
|
-
return de_CommandError(output, context);
|
|
1282
|
-
}
|
|
1283
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1284
|
-
let contents = {};
|
|
1285
|
-
contents = de_UpdateSecurityPolicyResponse(data, context);
|
|
1286
|
-
const response = {
|
|
1287
|
-
$metadata: deserializeMetadata(output),
|
|
1288
|
-
...contents
|
|
1289
|
-
};
|
|
1290
|
-
return response;
|
|
1291
|
-
}, "de_UpdateSecurityPolicyCommand");
|
|
1292
|
-
var de_UpdateVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1293
|
-
if (output.statusCode >= 300) {
|
|
1294
|
-
return de_CommandError(output, context);
|
|
1295
|
-
}
|
|
1296
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1297
|
-
let contents = {};
|
|
1298
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1299
|
-
const response = {
|
|
1300
|
-
$metadata: deserializeMetadata(output),
|
|
1301
|
-
...contents
|
|
1302
|
-
};
|
|
1303
|
-
return response;
|
|
1304
|
-
}, "de_UpdateVpcEndpointCommand");
|
|
1305
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1306
|
-
const parsedOutput = {
|
|
1307
|
-
...output,
|
|
1308
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1309
|
-
};
|
|
1310
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1311
|
-
switch (errorCode) {
|
|
1312
|
-
case "InternalServerException":
|
|
1313
|
-
case "com.amazonaws.opensearchserverless#InternalServerException":
|
|
1314
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1315
|
-
case "ValidationException":
|
|
1316
|
-
case "com.amazonaws.opensearchserverless#ValidationException":
|
|
1317
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1318
|
-
case "ConflictException":
|
|
1319
|
-
case "com.amazonaws.opensearchserverless#ConflictException":
|
|
1320
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1321
|
-
case "ServiceQuotaExceededException":
|
|
1322
|
-
case "com.amazonaws.opensearchserverless#ServiceQuotaExceededException":
|
|
1323
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1324
|
-
case "OcuLimitExceededException":
|
|
1325
|
-
case "com.amazonaws.opensearchserverless#OcuLimitExceededException":
|
|
1326
|
-
throw await de_OcuLimitExceededExceptionRes(parsedOutput, context);
|
|
1327
|
-
case "ResourceNotFoundException":
|
|
1328
|
-
case "com.amazonaws.opensearchserverless#ResourceNotFoundException":
|
|
1329
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1330
|
-
default:
|
|
1331
|
-
const parsedBody = parsedOutput.body;
|
|
1332
|
-
return throwDefaultError({
|
|
1333
|
-
output,
|
|
1334
|
-
parsedBody,
|
|
1335
|
-
errorCode
|
|
1336
|
-
});
|
|
1337
|
-
}
|
|
1338
|
-
}, "de_CommandError");
|
|
1339
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1340
|
-
const body = parsedOutput.body;
|
|
1341
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1342
|
-
const exception = new ConflictException({
|
|
1343
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1344
|
-
...deserialized
|
|
1345
|
-
});
|
|
1346
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1347
|
-
}, "de_ConflictExceptionRes");
|
|
1348
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1349
|
-
const body = parsedOutput.body;
|
|
1350
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1351
|
-
const exception = new InternalServerException({
|
|
1352
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1353
|
-
...deserialized
|
|
1354
|
-
});
|
|
1355
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1356
|
-
}, "de_InternalServerExceptionRes");
|
|
1357
|
-
var de_OcuLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1358
|
-
const body = parsedOutput.body;
|
|
1359
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1360
|
-
const exception = new OcuLimitExceededException({
|
|
1361
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1362
|
-
...deserialized
|
|
1363
|
-
});
|
|
1364
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1365
|
-
}, "de_OcuLimitExceededExceptionRes");
|
|
1366
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1367
|
-
const body = parsedOutput.body;
|
|
1368
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1369
|
-
const exception = new ResourceNotFoundException({
|
|
1370
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1371
|
-
...deserialized
|
|
1372
|
-
});
|
|
1373
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1374
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1375
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1376
|
-
const body = parsedOutput.body;
|
|
1377
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1378
|
-
const exception = new ServiceQuotaExceededException({
|
|
1379
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1380
|
-
...deserialized
|
|
1381
|
-
});
|
|
1382
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1383
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1384
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1385
|
-
const body = parsedOutput.body;
|
|
1386
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1387
|
-
const exception = new ValidationException({
|
|
1388
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1389
|
-
...deserialized
|
|
1390
|
-
});
|
|
1391
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1392
|
-
}, "de_ValidationExceptionRes");
|
|
1393
|
-
var se_CreateAccessPolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1394
|
-
return (0, import_smithy_client.take)(input, {
|
|
1395
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1396
|
-
description: [],
|
|
1397
|
-
name: [],
|
|
1398
|
-
policy: [],
|
|
1399
|
-
type: []
|
|
1400
|
-
});
|
|
1401
|
-
}, "se_CreateAccessPolicyRequest");
|
|
1402
|
-
var se_CreateCollectionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1403
|
-
return (0, import_smithy_client.take)(input, {
|
|
1404
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1405
|
-
description: [],
|
|
1406
|
-
name: [],
|
|
1407
|
-
standbyReplicas: [],
|
|
1408
|
-
tags: import_smithy_client._json,
|
|
1409
|
-
type: []
|
|
1410
|
-
});
|
|
1411
|
-
}, "se_CreateCollectionRequest");
|
|
1412
|
-
var se_CreateIndexRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1413
|
-
return (0, import_smithy_client.take)(input, {
|
|
1414
|
-
id: [],
|
|
1415
|
-
indexName: [],
|
|
1416
|
-
indexSchema: /* @__PURE__ */ __name((_) => se_IndexSchema(_, context), "indexSchema")
|
|
1417
|
-
});
|
|
1418
|
-
}, "se_CreateIndexRequest");
|
|
1419
|
-
var se_CreateLifecyclePolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1420
|
-
return (0, import_smithy_client.take)(input, {
|
|
1421
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1422
|
-
description: [],
|
|
1423
|
-
name: [],
|
|
1424
|
-
policy: [],
|
|
1425
|
-
type: []
|
|
1426
|
-
});
|
|
1427
|
-
}, "se_CreateLifecyclePolicyRequest");
|
|
1428
|
-
var se_CreateSecurityConfigRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1429
|
-
return (0, import_smithy_client.take)(input, {
|
|
1430
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1431
|
-
description: [],
|
|
1432
|
-
iamFederationOptions: import_smithy_client._json,
|
|
1433
|
-
iamIdentityCenterOptions: import_smithy_client._json,
|
|
1434
|
-
name: [],
|
|
1435
|
-
samlOptions: import_smithy_client._json,
|
|
1436
|
-
type: []
|
|
1437
|
-
});
|
|
1438
|
-
}, "se_CreateSecurityConfigRequest");
|
|
1439
|
-
var se_CreateSecurityPolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1440
|
-
return (0, import_smithy_client.take)(input, {
|
|
1441
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1442
|
-
description: [],
|
|
1443
|
-
name: [],
|
|
1444
|
-
policy: [],
|
|
1445
|
-
type: []
|
|
1446
|
-
});
|
|
1447
|
-
}, "se_CreateSecurityPolicyRequest");
|
|
1448
|
-
var se_CreateVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1449
|
-
return (0, import_smithy_client.take)(input, {
|
|
1450
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1451
|
-
name: [],
|
|
1452
|
-
securityGroupIds: import_smithy_client._json,
|
|
1453
|
-
subnetIds: import_smithy_client._json,
|
|
1454
|
-
vpcId: []
|
|
1455
|
-
});
|
|
1456
|
-
}, "se_CreateVpcEndpointRequest");
|
|
1457
|
-
var se_DeleteAccessPolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1458
|
-
return (0, import_smithy_client.take)(input, {
|
|
1459
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1460
|
-
name: [],
|
|
1461
|
-
type: []
|
|
1462
|
-
});
|
|
1463
|
-
}, "se_DeleteAccessPolicyRequest");
|
|
1464
|
-
var se_DeleteCollectionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1465
|
-
return (0, import_smithy_client.take)(input, {
|
|
1466
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1467
|
-
id: []
|
|
1468
|
-
});
|
|
1469
|
-
}, "se_DeleteCollectionRequest");
|
|
1470
|
-
var se_DeleteLifecyclePolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1471
|
-
return (0, import_smithy_client.take)(input, {
|
|
1472
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1473
|
-
name: [],
|
|
1474
|
-
type: []
|
|
1475
|
-
});
|
|
1476
|
-
}, "se_DeleteLifecyclePolicyRequest");
|
|
1477
|
-
var se_DeleteSecurityConfigRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1478
|
-
return (0, import_smithy_client.take)(input, {
|
|
1479
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1480
|
-
id: []
|
|
1481
|
-
});
|
|
1482
|
-
}, "se_DeleteSecurityConfigRequest");
|
|
1483
|
-
var se_DeleteSecurityPolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1484
|
-
return (0, import_smithy_client.take)(input, {
|
|
1485
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1486
|
-
name: [],
|
|
1487
|
-
type: []
|
|
1488
|
-
});
|
|
1489
|
-
}, "se_DeleteSecurityPolicyRequest");
|
|
1490
|
-
var se_DeleteVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1491
|
-
return (0, import_smithy_client.take)(input, {
|
|
1492
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1493
|
-
id: []
|
|
1494
|
-
});
|
|
1495
|
-
}, "se_DeleteVpcEndpointRequest");
|
|
1496
|
-
var se_IndexSchema = /* @__PURE__ */ __name((input, context) => {
|
|
1497
|
-
return input;
|
|
1498
|
-
}, "se_IndexSchema");
|
|
1499
|
-
var se_UpdateAccessPolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1500
|
-
return (0, import_smithy_client.take)(input, {
|
|
1501
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1502
|
-
description: [],
|
|
1503
|
-
name: [],
|
|
1504
|
-
policy: [],
|
|
1505
|
-
policyVersion: [],
|
|
1506
|
-
type: []
|
|
1507
|
-
});
|
|
1508
|
-
}, "se_UpdateAccessPolicyRequest");
|
|
1509
|
-
var se_UpdateCollectionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1510
|
-
return (0, import_smithy_client.take)(input, {
|
|
1511
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1512
|
-
description: [],
|
|
1513
|
-
id: []
|
|
1514
|
-
});
|
|
1515
|
-
}, "se_UpdateCollectionRequest");
|
|
1516
|
-
var se_UpdateIndexRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1517
|
-
return (0, import_smithy_client.take)(input, {
|
|
1518
|
-
id: [],
|
|
1519
|
-
indexName: [],
|
|
1520
|
-
indexSchema: /* @__PURE__ */ __name((_) => se_IndexSchema(_, context), "indexSchema")
|
|
1521
|
-
});
|
|
1522
|
-
}, "se_UpdateIndexRequest");
|
|
1523
|
-
var se_UpdateLifecyclePolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1524
|
-
return (0, import_smithy_client.take)(input, {
|
|
1525
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1526
|
-
description: [],
|
|
1527
|
-
name: [],
|
|
1528
|
-
policy: [],
|
|
1529
|
-
policyVersion: [],
|
|
1530
|
-
type: []
|
|
1531
|
-
});
|
|
1532
|
-
}, "se_UpdateLifecyclePolicyRequest");
|
|
1533
|
-
var se_UpdateSecurityConfigRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1534
|
-
return (0, import_smithy_client.take)(input, {
|
|
1535
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1536
|
-
configVersion: [],
|
|
1537
|
-
description: [],
|
|
1538
|
-
iamFederationOptions: import_smithy_client._json,
|
|
1539
|
-
iamIdentityCenterOptionsUpdates: import_smithy_client._json,
|
|
1540
|
-
id: [],
|
|
1541
|
-
samlOptions: import_smithy_client._json
|
|
1542
|
-
});
|
|
1543
|
-
}, "se_UpdateSecurityConfigRequest");
|
|
1544
|
-
var se_UpdateSecurityPolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1545
|
-
return (0, import_smithy_client.take)(input, {
|
|
1546
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1547
|
-
description: [],
|
|
1548
|
-
name: [],
|
|
1549
|
-
policy: [],
|
|
1550
|
-
policyVersion: [],
|
|
1551
|
-
type: []
|
|
1552
|
-
});
|
|
1553
|
-
}, "se_UpdateSecurityPolicyRequest");
|
|
1554
|
-
var se_UpdateVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1555
|
-
return (0, import_smithy_client.take)(input, {
|
|
1556
|
-
addSecurityGroupIds: import_smithy_client._json,
|
|
1557
|
-
addSubnetIds: import_smithy_client._json,
|
|
1558
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1559
|
-
id: [],
|
|
1560
|
-
removeSecurityGroupIds: import_smithy_client._json,
|
|
1561
|
-
removeSubnetIds: import_smithy_client._json
|
|
1562
|
-
});
|
|
1563
|
-
}, "se_UpdateVpcEndpointRequest");
|
|
1564
|
-
var de_AccessPolicyDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1565
|
-
return (0, import_smithy_client.take)(output, {
|
|
1566
|
-
createdDate: import_smithy_client.expectLong,
|
|
1567
|
-
description: import_smithy_client.expectString,
|
|
1568
|
-
lastModifiedDate: import_smithy_client.expectLong,
|
|
1569
|
-
name: import_smithy_client.expectString,
|
|
1570
|
-
policy: /* @__PURE__ */ __name((_) => de_Document(_, context), "policy"),
|
|
1571
|
-
policyVersion: import_smithy_client.expectString,
|
|
1572
|
-
type: import_smithy_client.expectString
|
|
1573
|
-
});
|
|
1574
|
-
}, "de_AccessPolicyDetail");
|
|
1575
|
-
var de_BatchGetLifecyclePolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1576
|
-
return (0, import_smithy_client.take)(output, {
|
|
1577
|
-
lifecyclePolicyDetails: /* @__PURE__ */ __name((_) => de_LifecyclePolicyDetails(_, context), "lifecyclePolicyDetails"),
|
|
1578
|
-
lifecyclePolicyErrorDetails: import_smithy_client._json
|
|
1579
|
-
});
|
|
1580
|
-
}, "de_BatchGetLifecyclePolicyResponse");
|
|
1581
|
-
var de_CreateAccessPolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1582
|
-
return (0, import_smithy_client.take)(output, {
|
|
1583
|
-
accessPolicyDetail: /* @__PURE__ */ __name((_) => de_AccessPolicyDetail(_, context), "accessPolicyDetail")
|
|
1584
|
-
});
|
|
1585
|
-
}, "de_CreateAccessPolicyResponse");
|
|
1586
|
-
var de_CreateLifecyclePolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1587
|
-
return (0, import_smithy_client.take)(output, {
|
|
1588
|
-
lifecyclePolicyDetail: /* @__PURE__ */ __name((_) => de_LifecyclePolicyDetail(_, context), "lifecyclePolicyDetail")
|
|
1589
|
-
});
|
|
1590
|
-
}, "de_CreateLifecyclePolicyResponse");
|
|
1591
|
-
var de_CreateSecurityPolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1592
|
-
return (0, import_smithy_client.take)(output, {
|
|
1593
|
-
securityPolicyDetail: /* @__PURE__ */ __name((_) => de_SecurityPolicyDetail(_, context), "securityPolicyDetail")
|
|
1594
|
-
});
|
|
1595
|
-
}, "de_CreateSecurityPolicyResponse");
|
|
1596
|
-
var de_GetAccessPolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1597
|
-
return (0, import_smithy_client.take)(output, {
|
|
1598
|
-
accessPolicyDetail: /* @__PURE__ */ __name((_) => de_AccessPolicyDetail(_, context), "accessPolicyDetail")
|
|
1599
|
-
});
|
|
1600
|
-
}, "de_GetAccessPolicyResponse");
|
|
1601
|
-
var de_GetIndexResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1602
|
-
return (0, import_smithy_client.take)(output, {
|
|
1603
|
-
indexSchema: /* @__PURE__ */ __name((_) => de_IndexSchema(_, context), "indexSchema")
|
|
1604
|
-
});
|
|
1605
|
-
}, "de_GetIndexResponse");
|
|
1606
|
-
var de_GetSecurityPolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1607
|
-
return (0, import_smithy_client.take)(output, {
|
|
1608
|
-
securityPolicyDetail: /* @__PURE__ */ __name((_) => de_SecurityPolicyDetail(_, context), "securityPolicyDetail")
|
|
1609
|
-
});
|
|
1610
|
-
}, "de_GetSecurityPolicyResponse");
|
|
1611
|
-
var de_IndexSchema = /* @__PURE__ */ __name((output, context) => {
|
|
1612
|
-
return output;
|
|
1613
|
-
}, "de_IndexSchema");
|
|
1614
|
-
var de_LifecyclePolicyDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1615
|
-
return (0, import_smithy_client.take)(output, {
|
|
1616
|
-
createdDate: import_smithy_client.expectLong,
|
|
1617
|
-
description: import_smithy_client.expectString,
|
|
1618
|
-
lastModifiedDate: import_smithy_client.expectLong,
|
|
1619
|
-
name: import_smithy_client.expectString,
|
|
1620
|
-
policy: /* @__PURE__ */ __name((_) => de_Document(_, context), "policy"),
|
|
1621
|
-
policyVersion: import_smithy_client.expectString,
|
|
1622
|
-
type: import_smithy_client.expectString
|
|
1623
|
-
});
|
|
1624
|
-
}, "de_LifecyclePolicyDetail");
|
|
1625
|
-
var de_LifecyclePolicyDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1626
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1627
|
-
return de_LifecyclePolicyDetail(entry, context);
|
|
1628
|
-
});
|
|
1629
|
-
return retVal;
|
|
1630
|
-
}, "de_LifecyclePolicyDetails");
|
|
1631
|
-
var de_SecurityPolicyDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1632
|
-
return (0, import_smithy_client.take)(output, {
|
|
1633
|
-
createdDate: import_smithy_client.expectLong,
|
|
1634
|
-
description: import_smithy_client.expectString,
|
|
1635
|
-
lastModifiedDate: import_smithy_client.expectLong,
|
|
1636
|
-
name: import_smithy_client.expectString,
|
|
1637
|
-
policy: /* @__PURE__ */ __name((_) => de_Document(_, context), "policy"),
|
|
1638
|
-
policyVersion: import_smithy_client.expectString,
|
|
1639
|
-
type: import_smithy_client.expectString
|
|
1640
|
-
});
|
|
1641
|
-
}, "de_SecurityPolicyDetail");
|
|
1642
|
-
var de_UpdateAccessPolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1643
|
-
return (0, import_smithy_client.take)(output, {
|
|
1644
|
-
accessPolicyDetail: /* @__PURE__ */ __name((_) => de_AccessPolicyDetail(_, context), "accessPolicyDetail")
|
|
1645
|
-
});
|
|
1646
|
-
}, "de_UpdateAccessPolicyResponse");
|
|
1647
|
-
var de_UpdateLifecyclePolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1648
|
-
return (0, import_smithy_client.take)(output, {
|
|
1649
|
-
lifecyclePolicyDetail: /* @__PURE__ */ __name((_) => de_LifecyclePolicyDetail(_, context), "lifecyclePolicyDetail")
|
|
1650
|
-
});
|
|
1651
|
-
}, "de_UpdateLifecyclePolicyResponse");
|
|
1652
|
-
var de_UpdateSecurityPolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1653
|
-
return (0, import_smithy_client.take)(output, {
|
|
1654
|
-
securityPolicyDetail: /* @__PURE__ */ __name((_) => de_SecurityPolicyDetail(_, context), "securityPolicyDetail")
|
|
1655
|
-
});
|
|
1656
|
-
}, "de_UpdateSecurityPolicyResponse");
|
|
1657
|
-
var de_Document = /* @__PURE__ */ __name((output, context) => {
|
|
1658
|
-
return output;
|
|
1659
|
-
}, "de_Document");
|
|
1660
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1661
|
-
httpStatusCode: output.statusCode,
|
|
1662
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1663
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1664
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1665
|
-
}), "deserializeMetadata");
|
|
1666
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(OpenSearchServerlessServiceException);
|
|
1667
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1668
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1669
|
-
const contents = {
|
|
1670
|
-
protocol,
|
|
1671
|
-
hostname,
|
|
1672
|
-
port,
|
|
1673
|
-
method: "POST",
|
|
1674
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1675
|
-
headers
|
|
1676
|
-
};
|
|
1677
|
-
if (resolvedHostname !== void 0) {
|
|
1678
|
-
contents.hostname = resolvedHostname;
|
|
1679
|
-
}
|
|
1680
|
-
if (body !== void 0) {
|
|
1681
|
-
contents.body = body;
|
|
1682
|
-
}
|
|
1683
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1684
|
-
}, "buildHttpRpcRequest");
|
|
1685
|
-
function sharedHeaders(operation) {
|
|
1686
|
-
return {
|
|
1687
|
-
"content-type": "application/x-amz-json-1.0",
|
|
1688
|
-
"x-amz-target": `OpenSearchServerless.${operation}`
|
|
1689
|
-
};
|
|
1690
|
-
}
|
|
1691
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1692
|
-
|
|
1693
|
-
// src/commands/BatchGetCollectionCommand.ts
|
|
1694
|
-
var BatchGetCollectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1695
|
-
return [
|
|
1696
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1697
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1698
|
-
];
|
|
1699
|
-
}).s("OpenSearchServerless", "BatchGetCollection", {}).n("OpenSearchServerlessClient", "BatchGetCollectionCommand").f(void 0, void 0).ser(se_BatchGetCollectionCommand).de(de_BatchGetCollectionCommand).build() {
|
|
1700
|
-
static {
|
|
1701
|
-
__name(this, "BatchGetCollectionCommand");
|
|
1702
|
-
}
|
|
1126
|
+
const se_CreateCollectionRequest = (input, context) => {
|
|
1127
|
+
return smithyClient.take(input, {
|
|
1128
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1129
|
+
description: [],
|
|
1130
|
+
name: [],
|
|
1131
|
+
standbyReplicas: [],
|
|
1132
|
+
tags: smithyClient._json,
|
|
1133
|
+
type: [],
|
|
1134
|
+
});
|
|
1703
1135
|
};
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
return [
|
|
1711
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1712
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1713
|
-
];
|
|
1714
|
-
}).s("OpenSearchServerless", "BatchGetEffectiveLifecyclePolicy", {}).n("OpenSearchServerlessClient", "BatchGetEffectiveLifecyclePolicyCommand").f(void 0, void 0).ser(se_BatchGetEffectiveLifecyclePolicyCommand).de(de_BatchGetEffectiveLifecyclePolicyCommand).build() {
|
|
1715
|
-
static {
|
|
1716
|
-
__name(this, "BatchGetEffectiveLifecyclePolicyCommand");
|
|
1717
|
-
}
|
|
1136
|
+
const se_CreateIndexRequest = (input, context) => {
|
|
1137
|
+
return smithyClient.take(input, {
|
|
1138
|
+
id: [],
|
|
1139
|
+
indexName: [],
|
|
1140
|
+
indexSchema: (_) => se_IndexSchema(_),
|
|
1141
|
+
});
|
|
1718
1142
|
};
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1728
|
-
];
|
|
1729
|
-
}).s("OpenSearchServerless", "BatchGetLifecyclePolicy", {}).n("OpenSearchServerlessClient", "BatchGetLifecyclePolicyCommand").f(void 0, void 0).ser(se_BatchGetLifecyclePolicyCommand).de(de_BatchGetLifecyclePolicyCommand).build() {
|
|
1730
|
-
static {
|
|
1731
|
-
__name(this, "BatchGetLifecyclePolicyCommand");
|
|
1732
|
-
}
|
|
1143
|
+
const se_CreateLifecyclePolicyRequest = (input, context) => {
|
|
1144
|
+
return smithyClient.take(input, {
|
|
1145
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1146
|
+
description: [],
|
|
1147
|
+
name: [],
|
|
1148
|
+
policy: [],
|
|
1149
|
+
type: [],
|
|
1150
|
+
});
|
|
1733
1151
|
};
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
}).s("OpenSearchServerless", "BatchGetVpcEndpoint", {}).n("OpenSearchServerlessClient", "BatchGetVpcEndpointCommand").f(void 0, void 0).ser(se_BatchGetVpcEndpointCommand).de(de_BatchGetVpcEndpointCommand).build() {
|
|
1745
|
-
static {
|
|
1746
|
-
__name(this, "BatchGetVpcEndpointCommand");
|
|
1747
|
-
}
|
|
1152
|
+
const se_CreateSecurityConfigRequest = (input, context) => {
|
|
1153
|
+
return smithyClient.take(input, {
|
|
1154
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1155
|
+
description: [],
|
|
1156
|
+
iamFederationOptions: smithyClient._json,
|
|
1157
|
+
iamIdentityCenterOptions: smithyClient._json,
|
|
1158
|
+
name: [],
|
|
1159
|
+
samlOptions: smithyClient._json,
|
|
1160
|
+
type: [],
|
|
1161
|
+
});
|
|
1748
1162
|
};
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1758
|
-
];
|
|
1759
|
-
}).s("OpenSearchServerless", "CreateAccessPolicy", {}).n("OpenSearchServerlessClient", "CreateAccessPolicyCommand").f(void 0, void 0).ser(se_CreateAccessPolicyCommand).de(de_CreateAccessPolicyCommand).build() {
|
|
1760
|
-
static {
|
|
1761
|
-
__name(this, "CreateAccessPolicyCommand");
|
|
1762
|
-
}
|
|
1163
|
+
const se_CreateSecurityPolicyRequest = (input, context) => {
|
|
1164
|
+
return smithyClient.take(input, {
|
|
1165
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1166
|
+
description: [],
|
|
1167
|
+
name: [],
|
|
1168
|
+
policy: [],
|
|
1169
|
+
type: [],
|
|
1170
|
+
});
|
|
1763
1171
|
};
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1773
|
-
];
|
|
1774
|
-
}).s("OpenSearchServerless", "CreateCollection", {}).n("OpenSearchServerlessClient", "CreateCollectionCommand").f(void 0, void 0).ser(se_CreateCollectionCommand).de(de_CreateCollectionCommand).build() {
|
|
1775
|
-
static {
|
|
1776
|
-
__name(this, "CreateCollectionCommand");
|
|
1777
|
-
}
|
|
1172
|
+
const se_CreateVpcEndpointRequest = (input, context) => {
|
|
1173
|
+
return smithyClient.take(input, {
|
|
1174
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1175
|
+
name: [],
|
|
1176
|
+
securityGroupIds: smithyClient._json,
|
|
1177
|
+
subnetIds: smithyClient._json,
|
|
1178
|
+
vpcId: [],
|
|
1179
|
+
});
|
|
1778
1180
|
};
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
return [
|
|
1786
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1787
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1788
|
-
];
|
|
1789
|
-
}).s("OpenSearchServerless", "CreateIndex", {}).n("OpenSearchServerlessClient", "CreateIndexCommand").f(void 0, void 0).ser(se_CreateIndexCommand).de(de_CreateIndexCommand).build() {
|
|
1790
|
-
static {
|
|
1791
|
-
__name(this, "CreateIndexCommand");
|
|
1792
|
-
}
|
|
1181
|
+
const se_DeleteAccessPolicyRequest = (input, context) => {
|
|
1182
|
+
return smithyClient.take(input, {
|
|
1183
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1184
|
+
name: [],
|
|
1185
|
+
type: [],
|
|
1186
|
+
});
|
|
1793
1187
|
};
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
var CreateLifecyclePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1800
|
-
return [
|
|
1801
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1802
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1803
|
-
];
|
|
1804
|
-
}).s("OpenSearchServerless", "CreateLifecyclePolicy", {}).n("OpenSearchServerlessClient", "CreateLifecyclePolicyCommand").f(void 0, void 0).ser(se_CreateLifecyclePolicyCommand).de(de_CreateLifecyclePolicyCommand).build() {
|
|
1805
|
-
static {
|
|
1806
|
-
__name(this, "CreateLifecyclePolicyCommand");
|
|
1807
|
-
}
|
|
1188
|
+
const se_DeleteCollectionRequest = (input, context) => {
|
|
1189
|
+
return smithyClient.take(input, {
|
|
1190
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1191
|
+
id: [],
|
|
1192
|
+
});
|
|
1808
1193
|
};
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
return [
|
|
1816
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1817
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1818
|
-
];
|
|
1819
|
-
}).s("OpenSearchServerless", "CreateSecurityConfig", {}).n("OpenSearchServerlessClient", "CreateSecurityConfigCommand").f(void 0, void 0).ser(se_CreateSecurityConfigCommand).de(de_CreateSecurityConfigCommand).build() {
|
|
1820
|
-
static {
|
|
1821
|
-
__name(this, "CreateSecurityConfigCommand");
|
|
1822
|
-
}
|
|
1194
|
+
const se_DeleteLifecyclePolicyRequest = (input, context) => {
|
|
1195
|
+
return smithyClient.take(input, {
|
|
1196
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1197
|
+
name: [],
|
|
1198
|
+
type: [],
|
|
1199
|
+
});
|
|
1823
1200
|
};
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
var CreateSecurityPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1830
|
-
return [
|
|
1831
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1832
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1833
|
-
];
|
|
1834
|
-
}).s("OpenSearchServerless", "CreateSecurityPolicy", {}).n("OpenSearchServerlessClient", "CreateSecurityPolicyCommand").f(void 0, void 0).ser(se_CreateSecurityPolicyCommand).de(de_CreateSecurityPolicyCommand).build() {
|
|
1835
|
-
static {
|
|
1836
|
-
__name(this, "CreateSecurityPolicyCommand");
|
|
1837
|
-
}
|
|
1201
|
+
const se_DeleteSecurityConfigRequest = (input, context) => {
|
|
1202
|
+
return smithyClient.take(input, {
|
|
1203
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1204
|
+
id: [],
|
|
1205
|
+
});
|
|
1838
1206
|
};
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
return [
|
|
1846
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1847
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1848
|
-
];
|
|
1849
|
-
}).s("OpenSearchServerless", "CreateVpcEndpoint", {}).n("OpenSearchServerlessClient", "CreateVpcEndpointCommand").f(void 0, void 0).ser(se_CreateVpcEndpointCommand).de(de_CreateVpcEndpointCommand).build() {
|
|
1850
|
-
static {
|
|
1851
|
-
__name(this, "CreateVpcEndpointCommand");
|
|
1852
|
-
}
|
|
1207
|
+
const se_DeleteSecurityPolicyRequest = (input, context) => {
|
|
1208
|
+
return smithyClient.take(input, {
|
|
1209
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1210
|
+
name: [],
|
|
1211
|
+
type: [],
|
|
1212
|
+
});
|
|
1853
1213
|
};
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
var DeleteAccessPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1860
|
-
return [
|
|
1861
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1862
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1863
|
-
];
|
|
1864
|
-
}).s("OpenSearchServerless", "DeleteAccessPolicy", {}).n("OpenSearchServerlessClient", "DeleteAccessPolicyCommand").f(void 0, void 0).ser(se_DeleteAccessPolicyCommand).de(de_DeleteAccessPolicyCommand).build() {
|
|
1865
|
-
static {
|
|
1866
|
-
__name(this, "DeleteAccessPolicyCommand");
|
|
1867
|
-
}
|
|
1214
|
+
const se_DeleteVpcEndpointRequest = (input, context) => {
|
|
1215
|
+
return smithyClient.take(input, {
|
|
1216
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1217
|
+
id: [],
|
|
1218
|
+
});
|
|
1868
1219
|
};
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
__name(this, "DeleteCollectionCommand");
|
|
1882
|
-
}
|
|
1220
|
+
const se_IndexSchema = (input, context) => {
|
|
1221
|
+
return input;
|
|
1222
|
+
};
|
|
1223
|
+
const se_UpdateAccessPolicyRequest = (input, context) => {
|
|
1224
|
+
return smithyClient.take(input, {
|
|
1225
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1226
|
+
description: [],
|
|
1227
|
+
name: [],
|
|
1228
|
+
policy: [],
|
|
1229
|
+
policyVersion: [],
|
|
1230
|
+
type: [],
|
|
1231
|
+
});
|
|
1883
1232
|
};
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
return [
|
|
1891
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1892
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1893
|
-
];
|
|
1894
|
-
}).s("OpenSearchServerless", "DeleteIndex", {}).n("OpenSearchServerlessClient", "DeleteIndexCommand").f(void 0, void 0).ser(se_DeleteIndexCommand).de(de_DeleteIndexCommand).build() {
|
|
1895
|
-
static {
|
|
1896
|
-
__name(this, "DeleteIndexCommand");
|
|
1897
|
-
}
|
|
1233
|
+
const se_UpdateCollectionRequest = (input, context) => {
|
|
1234
|
+
return smithyClient.take(input, {
|
|
1235
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1236
|
+
description: [],
|
|
1237
|
+
id: [],
|
|
1238
|
+
});
|
|
1898
1239
|
};
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
return [
|
|
1906
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1907
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1908
|
-
];
|
|
1909
|
-
}).s("OpenSearchServerless", "DeleteLifecyclePolicy", {}).n("OpenSearchServerlessClient", "DeleteLifecyclePolicyCommand").f(void 0, void 0).ser(se_DeleteLifecyclePolicyCommand).de(de_DeleteLifecyclePolicyCommand).build() {
|
|
1910
|
-
static {
|
|
1911
|
-
__name(this, "DeleteLifecyclePolicyCommand");
|
|
1912
|
-
}
|
|
1240
|
+
const se_UpdateIndexRequest = (input, context) => {
|
|
1241
|
+
return smithyClient.take(input, {
|
|
1242
|
+
id: [],
|
|
1243
|
+
indexName: [],
|
|
1244
|
+
indexSchema: (_) => se_IndexSchema(_),
|
|
1245
|
+
});
|
|
1913
1246
|
};
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
];
|
|
1924
|
-
}).s("OpenSearchServerless", "DeleteSecurityConfig", {}).n("OpenSearchServerlessClient", "DeleteSecurityConfigCommand").f(void 0, void 0).ser(se_DeleteSecurityConfigCommand).de(de_DeleteSecurityConfigCommand).build() {
|
|
1925
|
-
static {
|
|
1926
|
-
__name(this, "DeleteSecurityConfigCommand");
|
|
1927
|
-
}
|
|
1247
|
+
const se_UpdateLifecyclePolicyRequest = (input, context) => {
|
|
1248
|
+
return smithyClient.take(input, {
|
|
1249
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1250
|
+
description: [],
|
|
1251
|
+
name: [],
|
|
1252
|
+
policy: [],
|
|
1253
|
+
policyVersion: [],
|
|
1254
|
+
type: [],
|
|
1255
|
+
});
|
|
1928
1256
|
};
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
}).s("OpenSearchServerless", "DeleteSecurityPolicy", {}).n("OpenSearchServerlessClient", "DeleteSecurityPolicyCommand").f(void 0, void 0).ser(se_DeleteSecurityPolicyCommand).de(de_DeleteSecurityPolicyCommand).build() {
|
|
1940
|
-
static {
|
|
1941
|
-
__name(this, "DeleteSecurityPolicyCommand");
|
|
1942
|
-
}
|
|
1257
|
+
const se_UpdateSecurityConfigRequest = (input, context) => {
|
|
1258
|
+
return smithyClient.take(input, {
|
|
1259
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1260
|
+
configVersion: [],
|
|
1261
|
+
description: [],
|
|
1262
|
+
iamFederationOptions: smithyClient._json,
|
|
1263
|
+
iamIdentityCenterOptionsUpdates: smithyClient._json,
|
|
1264
|
+
id: [],
|
|
1265
|
+
samlOptions: smithyClient._json,
|
|
1266
|
+
});
|
|
1943
1267
|
};
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
];
|
|
1954
|
-
}).s("OpenSearchServerless", "DeleteVpcEndpoint", {}).n("OpenSearchServerlessClient", "DeleteVpcEndpointCommand").f(void 0, void 0).ser(se_DeleteVpcEndpointCommand).de(de_DeleteVpcEndpointCommand).build() {
|
|
1955
|
-
static {
|
|
1956
|
-
__name(this, "DeleteVpcEndpointCommand");
|
|
1957
|
-
}
|
|
1268
|
+
const se_UpdateSecurityPolicyRequest = (input, context) => {
|
|
1269
|
+
return smithyClient.take(input, {
|
|
1270
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1271
|
+
description: [],
|
|
1272
|
+
name: [],
|
|
1273
|
+
policy: [],
|
|
1274
|
+
policyVersion: [],
|
|
1275
|
+
type: [],
|
|
1276
|
+
});
|
|
1958
1277
|
};
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
];
|
|
1969
|
-
}).s("OpenSearchServerless", "GetAccessPolicy", {}).n("OpenSearchServerlessClient", "GetAccessPolicyCommand").f(void 0, void 0).ser(se_GetAccessPolicyCommand).de(de_GetAccessPolicyCommand).build() {
|
|
1970
|
-
static {
|
|
1971
|
-
__name(this, "GetAccessPolicyCommand");
|
|
1972
|
-
}
|
|
1278
|
+
const se_UpdateVpcEndpointRequest = (input, context) => {
|
|
1279
|
+
return smithyClient.take(input, {
|
|
1280
|
+
addSecurityGroupIds: smithyClient._json,
|
|
1281
|
+
addSubnetIds: smithyClient._json,
|
|
1282
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1283
|
+
id: [],
|
|
1284
|
+
removeSecurityGroupIds: smithyClient._json,
|
|
1285
|
+
removeSubnetIds: smithyClient._json,
|
|
1286
|
+
});
|
|
1973
1287
|
};
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
}).s("OpenSearchServerless", "GetAccountSettings", {}).n("OpenSearchServerlessClient", "GetAccountSettingsCommand").f(void 0, void 0).ser(se_GetAccountSettingsCommand).de(de_GetAccountSettingsCommand).build() {
|
|
1985
|
-
static {
|
|
1986
|
-
__name(this, "GetAccountSettingsCommand");
|
|
1987
|
-
}
|
|
1288
|
+
const de_AccessPolicyDetail = (output, context) => {
|
|
1289
|
+
return smithyClient.take(output, {
|
|
1290
|
+
createdDate: smithyClient.expectLong,
|
|
1291
|
+
description: smithyClient.expectString,
|
|
1292
|
+
lastModifiedDate: smithyClient.expectLong,
|
|
1293
|
+
name: smithyClient.expectString,
|
|
1294
|
+
policy: (_) => de_Document(_),
|
|
1295
|
+
policyVersion: smithyClient.expectString,
|
|
1296
|
+
type: smithyClient.expectString,
|
|
1297
|
+
});
|
|
1988
1298
|
};
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
var GetIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1995
|
-
return [
|
|
1996
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1997
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1998
|
-
];
|
|
1999
|
-
}).s("OpenSearchServerless", "GetIndex", {}).n("OpenSearchServerlessClient", "GetIndexCommand").f(void 0, void 0).ser(se_GetIndexCommand).de(de_GetIndexCommand).build() {
|
|
2000
|
-
static {
|
|
2001
|
-
__name(this, "GetIndexCommand");
|
|
2002
|
-
}
|
|
1299
|
+
const de_BatchGetLifecyclePolicyResponse = (output, context) => {
|
|
1300
|
+
return smithyClient.take(output, {
|
|
1301
|
+
lifecyclePolicyDetails: (_) => de_LifecyclePolicyDetails(_),
|
|
1302
|
+
lifecyclePolicyErrorDetails: smithyClient._json,
|
|
1303
|
+
});
|
|
2003
1304
|
};
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
var GetPoliciesStatsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2010
|
-
return [
|
|
2011
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2012
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2013
|
-
];
|
|
2014
|
-
}).s("OpenSearchServerless", "GetPoliciesStats", {}).n("OpenSearchServerlessClient", "GetPoliciesStatsCommand").f(void 0, void 0).ser(se_GetPoliciesStatsCommand).de(de_GetPoliciesStatsCommand).build() {
|
|
2015
|
-
static {
|
|
2016
|
-
__name(this, "GetPoliciesStatsCommand");
|
|
2017
|
-
}
|
|
1305
|
+
const de_CreateAccessPolicyResponse = (output, context) => {
|
|
1306
|
+
return smithyClient.take(output, {
|
|
1307
|
+
accessPolicyDetail: (_) => de_AccessPolicyDetail(_),
|
|
1308
|
+
});
|
|
2018
1309
|
};
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
var GetSecurityConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2025
|
-
return [
|
|
2026
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2027
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2028
|
-
];
|
|
2029
|
-
}).s("OpenSearchServerless", "GetSecurityConfig", {}).n("OpenSearchServerlessClient", "GetSecurityConfigCommand").f(void 0, void 0).ser(se_GetSecurityConfigCommand).de(de_GetSecurityConfigCommand).build() {
|
|
2030
|
-
static {
|
|
2031
|
-
__name(this, "GetSecurityConfigCommand");
|
|
2032
|
-
}
|
|
1310
|
+
const de_CreateLifecyclePolicyResponse = (output, context) => {
|
|
1311
|
+
return smithyClient.take(output, {
|
|
1312
|
+
lifecyclePolicyDetail: (_) => de_LifecyclePolicyDetail(_),
|
|
1313
|
+
});
|
|
2033
1314
|
};
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
var GetSecurityPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2040
|
-
return [
|
|
2041
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2042
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2043
|
-
];
|
|
2044
|
-
}).s("OpenSearchServerless", "GetSecurityPolicy", {}).n("OpenSearchServerlessClient", "GetSecurityPolicyCommand").f(void 0, void 0).ser(se_GetSecurityPolicyCommand).de(de_GetSecurityPolicyCommand).build() {
|
|
2045
|
-
static {
|
|
2046
|
-
__name(this, "GetSecurityPolicyCommand");
|
|
2047
|
-
}
|
|
1315
|
+
const de_CreateSecurityPolicyResponse = (output, context) => {
|
|
1316
|
+
return smithyClient.take(output, {
|
|
1317
|
+
securityPolicyDetail: (_) => de_SecurityPolicyDetail(_),
|
|
1318
|
+
});
|
|
2048
1319
|
};
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
var ListAccessPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2055
|
-
return [
|
|
2056
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2057
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2058
|
-
];
|
|
2059
|
-
}).s("OpenSearchServerless", "ListAccessPolicies", {}).n("OpenSearchServerlessClient", "ListAccessPoliciesCommand").f(void 0, void 0).ser(se_ListAccessPoliciesCommand).de(de_ListAccessPoliciesCommand).build() {
|
|
2060
|
-
static {
|
|
2061
|
-
__name(this, "ListAccessPoliciesCommand");
|
|
2062
|
-
}
|
|
1320
|
+
const de_GetAccessPolicyResponse = (output, context) => {
|
|
1321
|
+
return smithyClient.take(output, {
|
|
1322
|
+
accessPolicyDetail: (_) => de_AccessPolicyDetail(_),
|
|
1323
|
+
});
|
|
2063
1324
|
};
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
var ListCollectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2070
|
-
return [
|
|
2071
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2072
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2073
|
-
];
|
|
2074
|
-
}).s("OpenSearchServerless", "ListCollections", {}).n("OpenSearchServerlessClient", "ListCollectionsCommand").f(void 0, void 0).ser(se_ListCollectionsCommand).de(de_ListCollectionsCommand).build() {
|
|
2075
|
-
static {
|
|
2076
|
-
__name(this, "ListCollectionsCommand");
|
|
2077
|
-
}
|
|
1325
|
+
const de_GetIndexResponse = (output, context) => {
|
|
1326
|
+
return smithyClient.take(output, {
|
|
1327
|
+
indexSchema: (_) => de_IndexSchema(_),
|
|
1328
|
+
});
|
|
2078
1329
|
};
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
var ListLifecyclePoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2085
|
-
return [
|
|
2086
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2087
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2088
|
-
];
|
|
2089
|
-
}).s("OpenSearchServerless", "ListLifecyclePolicies", {}).n("OpenSearchServerlessClient", "ListLifecyclePoliciesCommand").f(void 0, void 0).ser(se_ListLifecyclePoliciesCommand).de(de_ListLifecyclePoliciesCommand).build() {
|
|
2090
|
-
static {
|
|
2091
|
-
__name(this, "ListLifecyclePoliciesCommand");
|
|
2092
|
-
}
|
|
1330
|
+
const de_GetSecurityPolicyResponse = (output, context) => {
|
|
1331
|
+
return smithyClient.take(output, {
|
|
1332
|
+
securityPolicyDetail: (_) => de_SecurityPolicyDetail(_),
|
|
1333
|
+
});
|
|
2093
1334
|
};
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
}
|
|
1335
|
+
const de_IndexSchema = (output, context) => {
|
|
1336
|
+
return output;
|
|
1337
|
+
};
|
|
1338
|
+
const de_LifecyclePolicyDetail = (output, context) => {
|
|
1339
|
+
return smithyClient.take(output, {
|
|
1340
|
+
createdDate: smithyClient.expectLong,
|
|
1341
|
+
description: smithyClient.expectString,
|
|
1342
|
+
lastModifiedDate: smithyClient.expectLong,
|
|
1343
|
+
name: smithyClient.expectString,
|
|
1344
|
+
policy: (_) => de_Document(_),
|
|
1345
|
+
policyVersion: smithyClient.expectString,
|
|
1346
|
+
type: smithyClient.expectString,
|
|
1347
|
+
});
|
|
2108
1348
|
};
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
1349
|
+
const de_LifecyclePolicyDetails = (output, context) => {
|
|
1350
|
+
const retVal = (output || [])
|
|
1351
|
+
.filter((e) => e != null)
|
|
1352
|
+
.map((entry) => {
|
|
1353
|
+
return de_LifecyclePolicyDetail(entry);
|
|
1354
|
+
});
|
|
1355
|
+
return retVal;
|
|
1356
|
+
};
|
|
1357
|
+
const de_SecurityPolicyDetail = (output, context) => {
|
|
1358
|
+
return smithyClient.take(output, {
|
|
1359
|
+
createdDate: smithyClient.expectLong,
|
|
1360
|
+
description: smithyClient.expectString,
|
|
1361
|
+
lastModifiedDate: smithyClient.expectLong,
|
|
1362
|
+
name: smithyClient.expectString,
|
|
1363
|
+
policy: (_) => de_Document(_),
|
|
1364
|
+
policyVersion: smithyClient.expectString,
|
|
1365
|
+
type: smithyClient.expectString,
|
|
1366
|
+
});
|
|
2123
1367
|
};
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2130
|
-
return [
|
|
2131
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2132
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2133
|
-
];
|
|
2134
|
-
}).s("OpenSearchServerless", "ListTagsForResource", {}).n("OpenSearchServerlessClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2135
|
-
static {
|
|
2136
|
-
__name(this, "ListTagsForResourceCommand");
|
|
2137
|
-
}
|
|
1368
|
+
const de_UpdateAccessPolicyResponse = (output, context) => {
|
|
1369
|
+
return smithyClient.take(output, {
|
|
1370
|
+
accessPolicyDetail: (_) => de_AccessPolicyDetail(_),
|
|
1371
|
+
});
|
|
2138
1372
|
};
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
var ListVpcEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2145
|
-
return [
|
|
2146
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2147
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2148
|
-
];
|
|
2149
|
-
}).s("OpenSearchServerless", "ListVpcEndpoints", {}).n("OpenSearchServerlessClient", "ListVpcEndpointsCommand").f(void 0, void 0).ser(se_ListVpcEndpointsCommand).de(de_ListVpcEndpointsCommand).build() {
|
|
2150
|
-
static {
|
|
2151
|
-
__name(this, "ListVpcEndpointsCommand");
|
|
2152
|
-
}
|
|
1373
|
+
const de_UpdateLifecyclePolicyResponse = (output, context) => {
|
|
1374
|
+
return smithyClient.take(output, {
|
|
1375
|
+
lifecyclePolicyDetail: (_) => de_LifecyclePolicyDetail(_),
|
|
1376
|
+
});
|
|
2153
1377
|
};
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2160
|
-
return [
|
|
2161
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2162
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2163
|
-
];
|
|
2164
|
-
}).s("OpenSearchServerless", "TagResource", {}).n("OpenSearchServerlessClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2165
|
-
static {
|
|
2166
|
-
__name(this, "TagResourceCommand");
|
|
2167
|
-
}
|
|
1378
|
+
const de_UpdateSecurityPolicyResponse = (output, context) => {
|
|
1379
|
+
return smithyClient.take(output, {
|
|
1380
|
+
securityPolicyDetail: (_) => de_SecurityPolicyDetail(_),
|
|
1381
|
+
});
|
|
2168
1382
|
};
|
|
1383
|
+
const de_Document = (output, context) => {
|
|
1384
|
+
return output;
|
|
1385
|
+
};
|
|
1386
|
+
const deserializeMetadata = (output) => ({
|
|
1387
|
+
httpStatusCode: output.statusCode,
|
|
1388
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1389
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1390
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1391
|
+
});
|
|
1392
|
+
const throwDefaultError = smithyClient.withBaseException(OpenSearchServerlessServiceException);
|
|
1393
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1394
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1395
|
+
const contents = {
|
|
1396
|
+
protocol,
|
|
1397
|
+
hostname,
|
|
1398
|
+
port,
|
|
1399
|
+
method: "POST",
|
|
1400
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1401
|
+
headers,
|
|
1402
|
+
};
|
|
1403
|
+
if (body !== undefined) {
|
|
1404
|
+
contents.body = body;
|
|
1405
|
+
}
|
|
1406
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1407
|
+
};
|
|
1408
|
+
function sharedHeaders(operation) {
|
|
1409
|
+
return {
|
|
1410
|
+
"content-type": "application/x-amz-json-1.0",
|
|
1411
|
+
"x-amz-target": `OpenSearchServerless.${operation}`,
|
|
1412
|
+
};
|
|
1413
|
+
}
|
|
2169
1414
|
|
|
2170
|
-
|
|
2171
|
-
|
|
1415
|
+
class BatchGetCollectionCommand extends smithyClient.Command
|
|
1416
|
+
.classBuilder()
|
|
1417
|
+
.ep(commonParams)
|
|
1418
|
+
.m(function (Command, cs, config, o) {
|
|
1419
|
+
return [
|
|
1420
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1421
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1422
|
+
];
|
|
1423
|
+
})
|
|
1424
|
+
.s("OpenSearchServerless", "BatchGetCollection", {})
|
|
1425
|
+
.n("OpenSearchServerlessClient", "BatchGetCollectionCommand")
|
|
1426
|
+
.f(void 0, void 0)
|
|
1427
|
+
.ser(se_BatchGetCollectionCommand)
|
|
1428
|
+
.de(de_BatchGetCollectionCommand)
|
|
1429
|
+
.build() {
|
|
1430
|
+
}
|
|
2172
1431
|
|
|
1432
|
+
class BatchGetEffectiveLifecyclePolicyCommand extends smithyClient.Command
|
|
1433
|
+
.classBuilder()
|
|
1434
|
+
.ep(commonParams)
|
|
1435
|
+
.m(function (Command, cs, config, o) {
|
|
1436
|
+
return [
|
|
1437
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1438
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1439
|
+
];
|
|
1440
|
+
})
|
|
1441
|
+
.s("OpenSearchServerless", "BatchGetEffectiveLifecyclePolicy", {})
|
|
1442
|
+
.n("OpenSearchServerlessClient", "BatchGetEffectiveLifecyclePolicyCommand")
|
|
1443
|
+
.f(void 0, void 0)
|
|
1444
|
+
.ser(se_BatchGetEffectiveLifecyclePolicyCommand)
|
|
1445
|
+
.de(de_BatchGetEffectiveLifecyclePolicyCommand)
|
|
1446
|
+
.build() {
|
|
1447
|
+
}
|
|
2173
1448
|
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
(
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
}
|
|
1449
|
+
class BatchGetLifecyclePolicyCommand extends smithyClient.Command
|
|
1450
|
+
.classBuilder()
|
|
1451
|
+
.ep(commonParams)
|
|
1452
|
+
.m(function (Command, cs, config, o) {
|
|
1453
|
+
return [
|
|
1454
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1455
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1456
|
+
];
|
|
1457
|
+
})
|
|
1458
|
+
.s("OpenSearchServerless", "BatchGetLifecyclePolicy", {})
|
|
1459
|
+
.n("OpenSearchServerlessClient", "BatchGetLifecyclePolicyCommand")
|
|
1460
|
+
.f(void 0, void 0)
|
|
1461
|
+
.ser(se_BatchGetLifecyclePolicyCommand)
|
|
1462
|
+
.de(de_BatchGetLifecyclePolicyCommand)
|
|
1463
|
+
.build() {
|
|
1464
|
+
}
|
|
2184
1465
|
|
|
2185
|
-
|
|
1466
|
+
class BatchGetVpcEndpointCommand extends smithyClient.Command
|
|
1467
|
+
.classBuilder()
|
|
1468
|
+
.ep(commonParams)
|
|
1469
|
+
.m(function (Command, cs, config, o) {
|
|
1470
|
+
return [
|
|
1471
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1472
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1473
|
+
];
|
|
1474
|
+
})
|
|
1475
|
+
.s("OpenSearchServerless", "BatchGetVpcEndpoint", {})
|
|
1476
|
+
.n("OpenSearchServerlessClient", "BatchGetVpcEndpointCommand")
|
|
1477
|
+
.f(void 0, void 0)
|
|
1478
|
+
.ser(se_BatchGetVpcEndpointCommand)
|
|
1479
|
+
.de(de_BatchGetVpcEndpointCommand)
|
|
1480
|
+
.build() {
|
|
1481
|
+
}
|
|
2186
1482
|
|
|
1483
|
+
class CreateAccessPolicyCommand extends smithyClient.Command
|
|
1484
|
+
.classBuilder()
|
|
1485
|
+
.ep(commonParams)
|
|
1486
|
+
.m(function (Command, cs, config, o) {
|
|
1487
|
+
return [
|
|
1488
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1489
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1490
|
+
];
|
|
1491
|
+
})
|
|
1492
|
+
.s("OpenSearchServerless", "CreateAccessPolicy", {})
|
|
1493
|
+
.n("OpenSearchServerlessClient", "CreateAccessPolicyCommand")
|
|
1494
|
+
.f(void 0, void 0)
|
|
1495
|
+
.ser(se_CreateAccessPolicyCommand)
|
|
1496
|
+
.de(de_CreateAccessPolicyCommand)
|
|
1497
|
+
.build() {
|
|
1498
|
+
}
|
|
2187
1499
|
|
|
1500
|
+
class CreateCollectionCommand extends smithyClient.Command
|
|
1501
|
+
.classBuilder()
|
|
1502
|
+
.ep(commonParams)
|
|
1503
|
+
.m(function (Command, cs, config, o) {
|
|
1504
|
+
return [
|
|
1505
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1506
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1507
|
+
];
|
|
1508
|
+
})
|
|
1509
|
+
.s("OpenSearchServerless", "CreateCollection", {})
|
|
1510
|
+
.n("OpenSearchServerlessClient", "CreateCollectionCommand")
|
|
1511
|
+
.f(void 0, void 0)
|
|
1512
|
+
.ser(se_CreateCollectionCommand)
|
|
1513
|
+
.de(de_CreateCollectionCommand)
|
|
1514
|
+
.build() {
|
|
1515
|
+
}
|
|
2188
1516
|
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
(
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
}
|
|
1517
|
+
class CreateIndexCommand extends smithyClient.Command
|
|
1518
|
+
.classBuilder()
|
|
1519
|
+
.ep(commonParams)
|
|
1520
|
+
.m(function (Command, cs, config, o) {
|
|
1521
|
+
return [
|
|
1522
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1523
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1524
|
+
];
|
|
1525
|
+
})
|
|
1526
|
+
.s("OpenSearchServerless", "CreateIndex", {})
|
|
1527
|
+
.n("OpenSearchServerlessClient", "CreateIndexCommand")
|
|
1528
|
+
.f(void 0, void 0)
|
|
1529
|
+
.ser(se_CreateIndexCommand)
|
|
1530
|
+
.de(de_CreateIndexCommand)
|
|
1531
|
+
.build() {
|
|
1532
|
+
}
|
|
2199
1533
|
|
|
2200
|
-
|
|
1534
|
+
class CreateLifecyclePolicyCommand extends smithyClient.Command
|
|
1535
|
+
.classBuilder()
|
|
1536
|
+
.ep(commonParams)
|
|
1537
|
+
.m(function (Command, cs, config, o) {
|
|
1538
|
+
return [
|
|
1539
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1540
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1541
|
+
];
|
|
1542
|
+
})
|
|
1543
|
+
.s("OpenSearchServerless", "CreateLifecyclePolicy", {})
|
|
1544
|
+
.n("OpenSearchServerlessClient", "CreateLifecyclePolicyCommand")
|
|
1545
|
+
.f(void 0, void 0)
|
|
1546
|
+
.ser(se_CreateLifecyclePolicyCommand)
|
|
1547
|
+
.de(de_CreateLifecyclePolicyCommand)
|
|
1548
|
+
.build() {
|
|
1549
|
+
}
|
|
2201
1550
|
|
|
1551
|
+
class CreateSecurityConfigCommand extends smithyClient.Command
|
|
1552
|
+
.classBuilder()
|
|
1553
|
+
.ep(commonParams)
|
|
1554
|
+
.m(function (Command, cs, config, o) {
|
|
1555
|
+
return [
|
|
1556
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1557
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1558
|
+
];
|
|
1559
|
+
})
|
|
1560
|
+
.s("OpenSearchServerless", "CreateSecurityConfig", {})
|
|
1561
|
+
.n("OpenSearchServerlessClient", "CreateSecurityConfigCommand")
|
|
1562
|
+
.f(void 0, void 0)
|
|
1563
|
+
.ser(se_CreateSecurityConfigCommand)
|
|
1564
|
+
.de(de_CreateSecurityConfigCommand)
|
|
1565
|
+
.build() {
|
|
1566
|
+
}
|
|
2202
1567
|
|
|
1568
|
+
class CreateSecurityPolicyCommand extends smithyClient.Command
|
|
1569
|
+
.classBuilder()
|
|
1570
|
+
.ep(commonParams)
|
|
1571
|
+
.m(function (Command, cs, config, o) {
|
|
1572
|
+
return [
|
|
1573
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1574
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1575
|
+
];
|
|
1576
|
+
})
|
|
1577
|
+
.s("OpenSearchServerless", "CreateSecurityPolicy", {})
|
|
1578
|
+
.n("OpenSearchServerlessClient", "CreateSecurityPolicyCommand")
|
|
1579
|
+
.f(void 0, void 0)
|
|
1580
|
+
.ser(se_CreateSecurityPolicyCommand)
|
|
1581
|
+
.de(de_CreateSecurityPolicyCommand)
|
|
1582
|
+
.build() {
|
|
1583
|
+
}
|
|
2203
1584
|
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
(
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
}
|
|
1585
|
+
class CreateVpcEndpointCommand extends smithyClient.Command
|
|
1586
|
+
.classBuilder()
|
|
1587
|
+
.ep(commonParams)
|
|
1588
|
+
.m(function (Command, cs, config, o) {
|
|
1589
|
+
return [
|
|
1590
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1591
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1592
|
+
];
|
|
1593
|
+
})
|
|
1594
|
+
.s("OpenSearchServerless", "CreateVpcEndpoint", {})
|
|
1595
|
+
.n("OpenSearchServerlessClient", "CreateVpcEndpointCommand")
|
|
1596
|
+
.f(void 0, void 0)
|
|
1597
|
+
.ser(se_CreateVpcEndpointCommand)
|
|
1598
|
+
.de(de_CreateVpcEndpointCommand)
|
|
1599
|
+
.build() {
|
|
1600
|
+
}
|
|
2214
1601
|
|
|
2215
|
-
|
|
1602
|
+
class DeleteAccessPolicyCommand extends smithyClient.Command
|
|
1603
|
+
.classBuilder()
|
|
1604
|
+
.ep(commonParams)
|
|
1605
|
+
.m(function (Command, cs, config, o) {
|
|
1606
|
+
return [
|
|
1607
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1608
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1609
|
+
];
|
|
1610
|
+
})
|
|
1611
|
+
.s("OpenSearchServerless", "DeleteAccessPolicy", {})
|
|
1612
|
+
.n("OpenSearchServerlessClient", "DeleteAccessPolicyCommand")
|
|
1613
|
+
.f(void 0, void 0)
|
|
1614
|
+
.ser(se_DeleteAccessPolicyCommand)
|
|
1615
|
+
.de(de_DeleteAccessPolicyCommand)
|
|
1616
|
+
.build() {
|
|
1617
|
+
}
|
|
2216
1618
|
|
|
1619
|
+
class DeleteCollectionCommand extends smithyClient.Command
|
|
1620
|
+
.classBuilder()
|
|
1621
|
+
.ep(commonParams)
|
|
1622
|
+
.m(function (Command, cs, config, o) {
|
|
1623
|
+
return [
|
|
1624
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1625
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1626
|
+
];
|
|
1627
|
+
})
|
|
1628
|
+
.s("OpenSearchServerless", "DeleteCollection", {})
|
|
1629
|
+
.n("OpenSearchServerlessClient", "DeleteCollectionCommand")
|
|
1630
|
+
.f(void 0, void 0)
|
|
1631
|
+
.ser(se_DeleteCollectionCommand)
|
|
1632
|
+
.de(de_DeleteCollectionCommand)
|
|
1633
|
+
.build() {
|
|
1634
|
+
}
|
|
2217
1635
|
|
|
1636
|
+
class DeleteIndexCommand extends smithyClient.Command
|
|
1637
|
+
.classBuilder()
|
|
1638
|
+
.ep(commonParams)
|
|
1639
|
+
.m(function (Command, cs, config, o) {
|
|
1640
|
+
return [
|
|
1641
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1642
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1643
|
+
];
|
|
1644
|
+
})
|
|
1645
|
+
.s("OpenSearchServerless", "DeleteIndex", {})
|
|
1646
|
+
.n("OpenSearchServerlessClient", "DeleteIndexCommand")
|
|
1647
|
+
.f(void 0, void 0)
|
|
1648
|
+
.ser(se_DeleteIndexCommand)
|
|
1649
|
+
.de(de_DeleteIndexCommand)
|
|
1650
|
+
.build() {
|
|
1651
|
+
}
|
|
2218
1652
|
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
(
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
}
|
|
1653
|
+
class DeleteLifecyclePolicyCommand extends smithyClient.Command
|
|
1654
|
+
.classBuilder()
|
|
1655
|
+
.ep(commonParams)
|
|
1656
|
+
.m(function (Command, cs, config, o) {
|
|
1657
|
+
return [
|
|
1658
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1659
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1660
|
+
];
|
|
1661
|
+
})
|
|
1662
|
+
.s("OpenSearchServerless", "DeleteLifecyclePolicy", {})
|
|
1663
|
+
.n("OpenSearchServerlessClient", "DeleteLifecyclePolicyCommand")
|
|
1664
|
+
.f(void 0, void 0)
|
|
1665
|
+
.ser(se_DeleteLifecyclePolicyCommand)
|
|
1666
|
+
.de(de_DeleteLifecyclePolicyCommand)
|
|
1667
|
+
.build() {
|
|
1668
|
+
}
|
|
2229
1669
|
|
|
2230
|
-
|
|
1670
|
+
class DeleteSecurityConfigCommand extends smithyClient.Command
|
|
1671
|
+
.classBuilder()
|
|
1672
|
+
.ep(commonParams)
|
|
1673
|
+
.m(function (Command, cs, config, o) {
|
|
1674
|
+
return [
|
|
1675
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1676
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1677
|
+
];
|
|
1678
|
+
})
|
|
1679
|
+
.s("OpenSearchServerless", "DeleteSecurityConfig", {})
|
|
1680
|
+
.n("OpenSearchServerlessClient", "DeleteSecurityConfigCommand")
|
|
1681
|
+
.f(void 0, void 0)
|
|
1682
|
+
.ser(se_DeleteSecurityConfigCommand)
|
|
1683
|
+
.de(de_DeleteSecurityConfigCommand)
|
|
1684
|
+
.build() {
|
|
1685
|
+
}
|
|
2231
1686
|
|
|
1687
|
+
class DeleteSecurityPolicyCommand extends smithyClient.Command
|
|
1688
|
+
.classBuilder()
|
|
1689
|
+
.ep(commonParams)
|
|
1690
|
+
.m(function (Command, cs, config, o) {
|
|
1691
|
+
return [
|
|
1692
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1693
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1694
|
+
];
|
|
1695
|
+
})
|
|
1696
|
+
.s("OpenSearchServerless", "DeleteSecurityPolicy", {})
|
|
1697
|
+
.n("OpenSearchServerlessClient", "DeleteSecurityPolicyCommand")
|
|
1698
|
+
.f(void 0, void 0)
|
|
1699
|
+
.ser(se_DeleteSecurityPolicyCommand)
|
|
1700
|
+
.de(de_DeleteSecurityPolicyCommand)
|
|
1701
|
+
.build() {
|
|
1702
|
+
}
|
|
2232
1703
|
|
|
1704
|
+
class DeleteVpcEndpointCommand extends smithyClient.Command
|
|
1705
|
+
.classBuilder()
|
|
1706
|
+
.ep(commonParams)
|
|
1707
|
+
.m(function (Command, cs, config, o) {
|
|
1708
|
+
return [
|
|
1709
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1710
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1711
|
+
];
|
|
1712
|
+
})
|
|
1713
|
+
.s("OpenSearchServerless", "DeleteVpcEndpoint", {})
|
|
1714
|
+
.n("OpenSearchServerlessClient", "DeleteVpcEndpointCommand")
|
|
1715
|
+
.f(void 0, void 0)
|
|
1716
|
+
.ser(se_DeleteVpcEndpointCommand)
|
|
1717
|
+
.de(de_DeleteVpcEndpointCommand)
|
|
1718
|
+
.build() {
|
|
1719
|
+
}
|
|
2233
1720
|
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
(
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
}
|
|
1721
|
+
class GetAccessPolicyCommand extends smithyClient.Command
|
|
1722
|
+
.classBuilder()
|
|
1723
|
+
.ep(commonParams)
|
|
1724
|
+
.m(function (Command, cs, config, o) {
|
|
1725
|
+
return [
|
|
1726
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1727
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1728
|
+
];
|
|
1729
|
+
})
|
|
1730
|
+
.s("OpenSearchServerless", "GetAccessPolicy", {})
|
|
1731
|
+
.n("OpenSearchServerlessClient", "GetAccessPolicyCommand")
|
|
1732
|
+
.f(void 0, void 0)
|
|
1733
|
+
.ser(se_GetAccessPolicyCommand)
|
|
1734
|
+
.de(de_GetAccessPolicyCommand)
|
|
1735
|
+
.build() {
|
|
1736
|
+
}
|
|
2244
1737
|
|
|
2245
|
-
|
|
1738
|
+
class GetAccountSettingsCommand extends smithyClient.Command
|
|
1739
|
+
.classBuilder()
|
|
1740
|
+
.ep(commonParams)
|
|
1741
|
+
.m(function (Command, cs, config, o) {
|
|
1742
|
+
return [
|
|
1743
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1744
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1745
|
+
];
|
|
1746
|
+
})
|
|
1747
|
+
.s("OpenSearchServerless", "GetAccountSettings", {})
|
|
1748
|
+
.n("OpenSearchServerlessClient", "GetAccountSettingsCommand")
|
|
1749
|
+
.f(void 0, void 0)
|
|
1750
|
+
.ser(se_GetAccountSettingsCommand)
|
|
1751
|
+
.de(de_GetAccountSettingsCommand)
|
|
1752
|
+
.build() {
|
|
1753
|
+
}
|
|
2246
1754
|
|
|
1755
|
+
class GetIndexCommand extends smithyClient.Command
|
|
1756
|
+
.classBuilder()
|
|
1757
|
+
.ep(commonParams)
|
|
1758
|
+
.m(function (Command, cs, config, o) {
|
|
1759
|
+
return [
|
|
1760
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1761
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1762
|
+
];
|
|
1763
|
+
})
|
|
1764
|
+
.s("OpenSearchServerless", "GetIndex", {})
|
|
1765
|
+
.n("OpenSearchServerlessClient", "GetIndexCommand")
|
|
1766
|
+
.f(void 0, void 0)
|
|
1767
|
+
.ser(se_GetIndexCommand)
|
|
1768
|
+
.de(de_GetIndexCommand)
|
|
1769
|
+
.build() {
|
|
1770
|
+
}
|
|
2247
1771
|
|
|
1772
|
+
class GetPoliciesStatsCommand extends smithyClient.Command
|
|
1773
|
+
.classBuilder()
|
|
1774
|
+
.ep(commonParams)
|
|
1775
|
+
.m(function (Command, cs, config, o) {
|
|
1776
|
+
return [
|
|
1777
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1778
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1779
|
+
];
|
|
1780
|
+
})
|
|
1781
|
+
.s("OpenSearchServerless", "GetPoliciesStats", {})
|
|
1782
|
+
.n("OpenSearchServerlessClient", "GetPoliciesStatsCommand")
|
|
1783
|
+
.f(void 0, void 0)
|
|
1784
|
+
.ser(se_GetPoliciesStatsCommand)
|
|
1785
|
+
.de(de_GetPoliciesStatsCommand)
|
|
1786
|
+
.build() {
|
|
1787
|
+
}
|
|
2248
1788
|
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
(
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
}
|
|
1789
|
+
class GetSecurityConfigCommand extends smithyClient.Command
|
|
1790
|
+
.classBuilder()
|
|
1791
|
+
.ep(commonParams)
|
|
1792
|
+
.m(function (Command, cs, config, o) {
|
|
1793
|
+
return [
|
|
1794
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1795
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1796
|
+
];
|
|
1797
|
+
})
|
|
1798
|
+
.s("OpenSearchServerless", "GetSecurityConfig", {})
|
|
1799
|
+
.n("OpenSearchServerlessClient", "GetSecurityConfigCommand")
|
|
1800
|
+
.f(void 0, void 0)
|
|
1801
|
+
.ser(se_GetSecurityConfigCommand)
|
|
1802
|
+
.de(de_GetSecurityConfigCommand)
|
|
1803
|
+
.build() {
|
|
1804
|
+
}
|
|
2259
1805
|
|
|
2260
|
-
|
|
1806
|
+
class GetSecurityPolicyCommand extends smithyClient.Command
|
|
1807
|
+
.classBuilder()
|
|
1808
|
+
.ep(commonParams)
|
|
1809
|
+
.m(function (Command, cs, config, o) {
|
|
1810
|
+
return [
|
|
1811
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1812
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1813
|
+
];
|
|
1814
|
+
})
|
|
1815
|
+
.s("OpenSearchServerless", "GetSecurityPolicy", {})
|
|
1816
|
+
.n("OpenSearchServerlessClient", "GetSecurityPolicyCommand")
|
|
1817
|
+
.f(void 0, void 0)
|
|
1818
|
+
.ser(se_GetSecurityPolicyCommand)
|
|
1819
|
+
.de(de_GetSecurityPolicyCommand)
|
|
1820
|
+
.build() {
|
|
1821
|
+
}
|
|
2261
1822
|
|
|
1823
|
+
class ListAccessPoliciesCommand extends smithyClient.Command
|
|
1824
|
+
.classBuilder()
|
|
1825
|
+
.ep(commonParams)
|
|
1826
|
+
.m(function (Command, cs, config, o) {
|
|
1827
|
+
return [
|
|
1828
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1829
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1830
|
+
];
|
|
1831
|
+
})
|
|
1832
|
+
.s("OpenSearchServerless", "ListAccessPolicies", {})
|
|
1833
|
+
.n("OpenSearchServerlessClient", "ListAccessPoliciesCommand")
|
|
1834
|
+
.f(void 0, void 0)
|
|
1835
|
+
.ser(se_ListAccessPoliciesCommand)
|
|
1836
|
+
.de(de_ListAccessPoliciesCommand)
|
|
1837
|
+
.build() {
|
|
1838
|
+
}
|
|
2262
1839
|
|
|
1840
|
+
class ListCollectionsCommand extends smithyClient.Command
|
|
1841
|
+
.classBuilder()
|
|
1842
|
+
.ep(commonParams)
|
|
1843
|
+
.m(function (Command, cs, config, o) {
|
|
1844
|
+
return [
|
|
1845
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1846
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1847
|
+
];
|
|
1848
|
+
})
|
|
1849
|
+
.s("OpenSearchServerless", "ListCollections", {})
|
|
1850
|
+
.n("OpenSearchServerlessClient", "ListCollectionsCommand")
|
|
1851
|
+
.f(void 0, void 0)
|
|
1852
|
+
.ser(se_ListCollectionsCommand)
|
|
1853
|
+
.de(de_ListCollectionsCommand)
|
|
1854
|
+
.build() {
|
|
1855
|
+
}
|
|
2263
1856
|
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
(
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
}
|
|
1857
|
+
class ListLifecyclePoliciesCommand extends smithyClient.Command
|
|
1858
|
+
.classBuilder()
|
|
1859
|
+
.ep(commonParams)
|
|
1860
|
+
.m(function (Command, cs, config, o) {
|
|
1861
|
+
return [
|
|
1862
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1863
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1864
|
+
];
|
|
1865
|
+
})
|
|
1866
|
+
.s("OpenSearchServerless", "ListLifecyclePolicies", {})
|
|
1867
|
+
.n("OpenSearchServerlessClient", "ListLifecyclePoliciesCommand")
|
|
1868
|
+
.f(void 0, void 0)
|
|
1869
|
+
.ser(se_ListLifecyclePoliciesCommand)
|
|
1870
|
+
.de(de_ListLifecyclePoliciesCommand)
|
|
1871
|
+
.build() {
|
|
1872
|
+
}
|
|
2274
1873
|
|
|
2275
|
-
|
|
1874
|
+
class ListSecurityConfigsCommand extends smithyClient.Command
|
|
1875
|
+
.classBuilder()
|
|
1876
|
+
.ep(commonParams)
|
|
1877
|
+
.m(function (Command, cs, config, o) {
|
|
1878
|
+
return [
|
|
1879
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1880
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1881
|
+
];
|
|
1882
|
+
})
|
|
1883
|
+
.s("OpenSearchServerless", "ListSecurityConfigs", {})
|
|
1884
|
+
.n("OpenSearchServerlessClient", "ListSecurityConfigsCommand")
|
|
1885
|
+
.f(void 0, void 0)
|
|
1886
|
+
.ser(se_ListSecurityConfigsCommand)
|
|
1887
|
+
.de(de_ListSecurityConfigsCommand)
|
|
1888
|
+
.build() {
|
|
1889
|
+
}
|
|
2276
1890
|
|
|
1891
|
+
class ListSecurityPoliciesCommand extends smithyClient.Command
|
|
1892
|
+
.classBuilder()
|
|
1893
|
+
.ep(commonParams)
|
|
1894
|
+
.m(function (Command, cs, config, o) {
|
|
1895
|
+
return [
|
|
1896
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1897
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1898
|
+
];
|
|
1899
|
+
})
|
|
1900
|
+
.s("OpenSearchServerless", "ListSecurityPolicies", {})
|
|
1901
|
+
.n("OpenSearchServerlessClient", "ListSecurityPoliciesCommand")
|
|
1902
|
+
.f(void 0, void 0)
|
|
1903
|
+
.ser(se_ListSecurityPoliciesCommand)
|
|
1904
|
+
.de(de_ListSecurityPoliciesCommand)
|
|
1905
|
+
.build() {
|
|
1906
|
+
}
|
|
2277
1907
|
|
|
1908
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1909
|
+
.classBuilder()
|
|
1910
|
+
.ep(commonParams)
|
|
1911
|
+
.m(function (Command, cs, config, o) {
|
|
1912
|
+
return [
|
|
1913
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1914
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1915
|
+
];
|
|
1916
|
+
})
|
|
1917
|
+
.s("OpenSearchServerless", "ListTagsForResource", {})
|
|
1918
|
+
.n("OpenSearchServerlessClient", "ListTagsForResourceCommand")
|
|
1919
|
+
.f(void 0, void 0)
|
|
1920
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1921
|
+
.de(de_ListTagsForResourceCommand)
|
|
1922
|
+
.build() {
|
|
1923
|
+
}
|
|
2278
1924
|
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
(
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
}
|
|
1925
|
+
class ListVpcEndpointsCommand extends smithyClient.Command
|
|
1926
|
+
.classBuilder()
|
|
1927
|
+
.ep(commonParams)
|
|
1928
|
+
.m(function (Command, cs, config, o) {
|
|
1929
|
+
return [
|
|
1930
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1931
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1932
|
+
];
|
|
1933
|
+
})
|
|
1934
|
+
.s("OpenSearchServerless", "ListVpcEndpoints", {})
|
|
1935
|
+
.n("OpenSearchServerlessClient", "ListVpcEndpointsCommand")
|
|
1936
|
+
.f(void 0, void 0)
|
|
1937
|
+
.ser(se_ListVpcEndpointsCommand)
|
|
1938
|
+
.de(de_ListVpcEndpointsCommand)
|
|
1939
|
+
.build() {
|
|
1940
|
+
}
|
|
2289
1941
|
|
|
2290
|
-
|
|
1942
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1943
|
+
.classBuilder()
|
|
1944
|
+
.ep(commonParams)
|
|
1945
|
+
.m(function (Command, cs, config, o) {
|
|
1946
|
+
return [
|
|
1947
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1948
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1949
|
+
];
|
|
1950
|
+
})
|
|
1951
|
+
.s("OpenSearchServerless", "TagResource", {})
|
|
1952
|
+
.n("OpenSearchServerlessClient", "TagResourceCommand")
|
|
1953
|
+
.f(void 0, void 0)
|
|
1954
|
+
.ser(se_TagResourceCommand)
|
|
1955
|
+
.de(de_TagResourceCommand)
|
|
1956
|
+
.build() {
|
|
1957
|
+
}
|
|
2291
1958
|
|
|
1959
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1960
|
+
.classBuilder()
|
|
1961
|
+
.ep(commonParams)
|
|
1962
|
+
.m(function (Command, cs, config, o) {
|
|
1963
|
+
return [
|
|
1964
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1965
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1966
|
+
];
|
|
1967
|
+
})
|
|
1968
|
+
.s("OpenSearchServerless", "UntagResource", {})
|
|
1969
|
+
.n("OpenSearchServerlessClient", "UntagResourceCommand")
|
|
1970
|
+
.f(void 0, void 0)
|
|
1971
|
+
.ser(se_UntagResourceCommand)
|
|
1972
|
+
.de(de_UntagResourceCommand)
|
|
1973
|
+
.build() {
|
|
1974
|
+
}
|
|
2292
1975
|
|
|
1976
|
+
class UpdateAccessPolicyCommand extends smithyClient.Command
|
|
1977
|
+
.classBuilder()
|
|
1978
|
+
.ep(commonParams)
|
|
1979
|
+
.m(function (Command, cs, config, o) {
|
|
1980
|
+
return [
|
|
1981
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1982
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1983
|
+
];
|
|
1984
|
+
})
|
|
1985
|
+
.s("OpenSearchServerless", "UpdateAccessPolicy", {})
|
|
1986
|
+
.n("OpenSearchServerlessClient", "UpdateAccessPolicyCommand")
|
|
1987
|
+
.f(void 0, void 0)
|
|
1988
|
+
.ser(se_UpdateAccessPolicyCommand)
|
|
1989
|
+
.de(de_UpdateAccessPolicyCommand)
|
|
1990
|
+
.build() {
|
|
1991
|
+
}
|
|
2293
1992
|
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
(
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
}
|
|
1993
|
+
class UpdateAccountSettingsCommand extends smithyClient.Command
|
|
1994
|
+
.classBuilder()
|
|
1995
|
+
.ep(commonParams)
|
|
1996
|
+
.m(function (Command, cs, config, o) {
|
|
1997
|
+
return [
|
|
1998
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1999
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2000
|
+
];
|
|
2001
|
+
})
|
|
2002
|
+
.s("OpenSearchServerless", "UpdateAccountSettings", {})
|
|
2003
|
+
.n("OpenSearchServerlessClient", "UpdateAccountSettingsCommand")
|
|
2004
|
+
.f(void 0, void 0)
|
|
2005
|
+
.ser(se_UpdateAccountSettingsCommand)
|
|
2006
|
+
.de(de_UpdateAccountSettingsCommand)
|
|
2007
|
+
.build() {
|
|
2008
|
+
}
|
|
2304
2009
|
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
DeleteLifecyclePolicyCommand,
|
|
2322
|
-
DeleteSecurityConfigCommand,
|
|
2323
|
-
DeleteSecurityPolicyCommand,
|
|
2324
|
-
DeleteVpcEndpointCommand,
|
|
2325
|
-
GetAccessPolicyCommand,
|
|
2326
|
-
GetAccountSettingsCommand,
|
|
2327
|
-
GetIndexCommand,
|
|
2328
|
-
GetPoliciesStatsCommand,
|
|
2329
|
-
GetSecurityConfigCommand,
|
|
2330
|
-
GetSecurityPolicyCommand,
|
|
2331
|
-
ListAccessPoliciesCommand,
|
|
2332
|
-
ListCollectionsCommand,
|
|
2333
|
-
ListLifecyclePoliciesCommand,
|
|
2334
|
-
ListSecurityConfigsCommand,
|
|
2335
|
-
ListSecurityPoliciesCommand,
|
|
2336
|
-
ListTagsForResourceCommand,
|
|
2337
|
-
ListVpcEndpointsCommand,
|
|
2338
|
-
TagResourceCommand,
|
|
2339
|
-
UntagResourceCommand,
|
|
2340
|
-
UpdateAccessPolicyCommand,
|
|
2341
|
-
UpdateAccountSettingsCommand,
|
|
2342
|
-
UpdateCollectionCommand,
|
|
2343
|
-
UpdateIndexCommand,
|
|
2344
|
-
UpdateLifecyclePolicyCommand,
|
|
2345
|
-
UpdateSecurityConfigCommand,
|
|
2346
|
-
UpdateSecurityPolicyCommand,
|
|
2347
|
-
UpdateVpcEndpointCommand
|
|
2348
|
-
};
|
|
2349
|
-
var OpenSearchServerless = class extends OpenSearchServerlessClient {
|
|
2350
|
-
static {
|
|
2351
|
-
__name(this, "OpenSearchServerless");
|
|
2352
|
-
}
|
|
2353
|
-
};
|
|
2354
|
-
(0, import_smithy_client.createAggregatedClient)(commands, OpenSearchServerless);
|
|
2010
|
+
class UpdateCollectionCommand extends smithyClient.Command
|
|
2011
|
+
.classBuilder()
|
|
2012
|
+
.ep(commonParams)
|
|
2013
|
+
.m(function (Command, cs, config, o) {
|
|
2014
|
+
return [
|
|
2015
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2016
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2017
|
+
];
|
|
2018
|
+
})
|
|
2019
|
+
.s("OpenSearchServerless", "UpdateCollection", {})
|
|
2020
|
+
.n("OpenSearchServerlessClient", "UpdateCollectionCommand")
|
|
2021
|
+
.f(void 0, void 0)
|
|
2022
|
+
.ser(se_UpdateCollectionCommand)
|
|
2023
|
+
.de(de_UpdateCollectionCommand)
|
|
2024
|
+
.build() {
|
|
2025
|
+
}
|
|
2355
2026
|
|
|
2356
|
-
|
|
2027
|
+
class UpdateIndexCommand extends smithyClient.Command
|
|
2028
|
+
.classBuilder()
|
|
2029
|
+
.ep(commonParams)
|
|
2030
|
+
.m(function (Command, cs, config, o) {
|
|
2031
|
+
return [
|
|
2032
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2033
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2034
|
+
];
|
|
2035
|
+
})
|
|
2036
|
+
.s("OpenSearchServerless", "UpdateIndex", {})
|
|
2037
|
+
.n("OpenSearchServerlessClient", "UpdateIndexCommand")
|
|
2038
|
+
.f(void 0, void 0)
|
|
2039
|
+
.ser(se_UpdateIndexCommand)
|
|
2040
|
+
.de(de_UpdateIndexCommand)
|
|
2041
|
+
.build() {
|
|
2042
|
+
}
|
|
2357
2043
|
|
|
2358
|
-
|
|
2044
|
+
class UpdateLifecyclePolicyCommand extends smithyClient.Command
|
|
2045
|
+
.classBuilder()
|
|
2046
|
+
.ep(commonParams)
|
|
2047
|
+
.m(function (Command, cs, config, o) {
|
|
2048
|
+
return [
|
|
2049
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2050
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2051
|
+
];
|
|
2052
|
+
})
|
|
2053
|
+
.s("OpenSearchServerless", "UpdateLifecyclePolicy", {})
|
|
2054
|
+
.n("OpenSearchServerlessClient", "UpdateLifecyclePolicyCommand")
|
|
2055
|
+
.f(void 0, void 0)
|
|
2056
|
+
.ser(se_UpdateLifecyclePolicyCommand)
|
|
2057
|
+
.de(de_UpdateLifecyclePolicyCommand)
|
|
2058
|
+
.build() {
|
|
2059
|
+
}
|
|
2359
2060
|
|
|
2360
|
-
|
|
2061
|
+
class UpdateSecurityConfigCommand extends smithyClient.Command
|
|
2062
|
+
.classBuilder()
|
|
2063
|
+
.ep(commonParams)
|
|
2064
|
+
.m(function (Command, cs, config, o) {
|
|
2065
|
+
return [
|
|
2066
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2067
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2068
|
+
];
|
|
2069
|
+
})
|
|
2070
|
+
.s("OpenSearchServerless", "UpdateSecurityConfig", {})
|
|
2071
|
+
.n("OpenSearchServerlessClient", "UpdateSecurityConfigCommand")
|
|
2072
|
+
.f(void 0, void 0)
|
|
2073
|
+
.ser(se_UpdateSecurityConfigCommand)
|
|
2074
|
+
.de(de_UpdateSecurityConfigCommand)
|
|
2075
|
+
.build() {
|
|
2076
|
+
}
|
|
2361
2077
|
|
|
2362
|
-
|
|
2078
|
+
class UpdateSecurityPolicyCommand extends smithyClient.Command
|
|
2079
|
+
.classBuilder()
|
|
2080
|
+
.ep(commonParams)
|
|
2081
|
+
.m(function (Command, cs, config, o) {
|
|
2082
|
+
return [
|
|
2083
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2084
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2085
|
+
];
|
|
2086
|
+
})
|
|
2087
|
+
.s("OpenSearchServerless", "UpdateSecurityPolicy", {})
|
|
2088
|
+
.n("OpenSearchServerlessClient", "UpdateSecurityPolicyCommand")
|
|
2089
|
+
.f(void 0, void 0)
|
|
2090
|
+
.ser(se_UpdateSecurityPolicyCommand)
|
|
2091
|
+
.de(de_UpdateSecurityPolicyCommand)
|
|
2092
|
+
.build() {
|
|
2093
|
+
}
|
|
2363
2094
|
|
|
2364
|
-
|
|
2095
|
+
class UpdateVpcEndpointCommand extends smithyClient.Command
|
|
2096
|
+
.classBuilder()
|
|
2097
|
+
.ep(commonParams)
|
|
2098
|
+
.m(function (Command, cs, config, o) {
|
|
2099
|
+
return [
|
|
2100
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2101
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2102
|
+
];
|
|
2103
|
+
})
|
|
2104
|
+
.s("OpenSearchServerless", "UpdateVpcEndpoint", {})
|
|
2105
|
+
.n("OpenSearchServerlessClient", "UpdateVpcEndpointCommand")
|
|
2106
|
+
.f(void 0, void 0)
|
|
2107
|
+
.ser(se_UpdateVpcEndpointCommand)
|
|
2108
|
+
.de(de_UpdateVpcEndpointCommand)
|
|
2109
|
+
.build() {
|
|
2110
|
+
}
|
|
2365
2111
|
|
|
2366
|
-
|
|
2112
|
+
const commands = {
|
|
2113
|
+
BatchGetCollectionCommand,
|
|
2114
|
+
BatchGetEffectiveLifecyclePolicyCommand,
|
|
2115
|
+
BatchGetLifecyclePolicyCommand,
|
|
2116
|
+
BatchGetVpcEndpointCommand,
|
|
2117
|
+
CreateAccessPolicyCommand,
|
|
2118
|
+
CreateCollectionCommand,
|
|
2119
|
+
CreateIndexCommand,
|
|
2120
|
+
CreateLifecyclePolicyCommand,
|
|
2121
|
+
CreateSecurityConfigCommand,
|
|
2122
|
+
CreateSecurityPolicyCommand,
|
|
2123
|
+
CreateVpcEndpointCommand,
|
|
2124
|
+
DeleteAccessPolicyCommand,
|
|
2125
|
+
DeleteCollectionCommand,
|
|
2126
|
+
DeleteIndexCommand,
|
|
2127
|
+
DeleteLifecyclePolicyCommand,
|
|
2128
|
+
DeleteSecurityConfigCommand,
|
|
2129
|
+
DeleteSecurityPolicyCommand,
|
|
2130
|
+
DeleteVpcEndpointCommand,
|
|
2131
|
+
GetAccessPolicyCommand,
|
|
2132
|
+
GetAccountSettingsCommand,
|
|
2133
|
+
GetIndexCommand,
|
|
2134
|
+
GetPoliciesStatsCommand,
|
|
2135
|
+
GetSecurityConfigCommand,
|
|
2136
|
+
GetSecurityPolicyCommand,
|
|
2137
|
+
ListAccessPoliciesCommand,
|
|
2138
|
+
ListCollectionsCommand,
|
|
2139
|
+
ListLifecyclePoliciesCommand,
|
|
2140
|
+
ListSecurityConfigsCommand,
|
|
2141
|
+
ListSecurityPoliciesCommand,
|
|
2142
|
+
ListTagsForResourceCommand,
|
|
2143
|
+
ListVpcEndpointsCommand,
|
|
2144
|
+
TagResourceCommand,
|
|
2145
|
+
UntagResourceCommand,
|
|
2146
|
+
UpdateAccessPolicyCommand,
|
|
2147
|
+
UpdateAccountSettingsCommand,
|
|
2148
|
+
UpdateCollectionCommand,
|
|
2149
|
+
UpdateIndexCommand,
|
|
2150
|
+
UpdateLifecyclePolicyCommand,
|
|
2151
|
+
UpdateSecurityConfigCommand,
|
|
2152
|
+
UpdateSecurityPolicyCommand,
|
|
2153
|
+
UpdateVpcEndpointCommand,
|
|
2154
|
+
};
|
|
2155
|
+
class OpenSearchServerless extends OpenSearchServerlessClient {
|
|
2156
|
+
}
|
|
2157
|
+
smithyClient.createAggregatedClient(commands, OpenSearchServerless);
|
|
2367
2158
|
|
|
2368
|
-
|
|
2159
|
+
const paginateListAccessPolicies = core.createPaginator(OpenSearchServerlessClient, ListAccessPoliciesCommand, "nextToken", "nextToken", "");
|
|
2369
2160
|
|
|
2370
|
-
|
|
2161
|
+
const paginateListCollections = core.createPaginator(OpenSearchServerlessClient, ListCollectionsCommand, "nextToken", "nextToken", "");
|
|
2371
2162
|
|
|
2372
|
-
|
|
2163
|
+
const paginateListLifecyclePolicies = core.createPaginator(OpenSearchServerlessClient, ListLifecyclePoliciesCommand, "nextToken", "nextToken", "");
|
|
2373
2164
|
|
|
2374
|
-
|
|
2165
|
+
const paginateListSecurityConfigs = core.createPaginator(OpenSearchServerlessClient, ListSecurityConfigsCommand, "nextToken", "nextToken", "");
|
|
2375
2166
|
|
|
2376
|
-
|
|
2167
|
+
const paginateListSecurityPolicies = core.createPaginator(OpenSearchServerlessClient, ListSecurityPoliciesCommand, "nextToken", "nextToken", "");
|
|
2377
2168
|
|
|
2378
|
-
|
|
2379
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
2169
|
+
const paginateListVpcEndpoints = core.createPaginator(OpenSearchServerlessClient, ListVpcEndpointsCommand, "nextToken", "nextToken", "");
|
|
2380
2170
|
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
OpenSearchServerlessClient,
|
|
2385
|
-
OpenSearchServerless,
|
|
2386
|
-
$Command,
|
|
2387
|
-
BatchGetCollectionCommand,
|
|
2388
|
-
BatchGetEffectiveLifecyclePolicyCommand,
|
|
2389
|
-
BatchGetLifecyclePolicyCommand,
|
|
2390
|
-
BatchGetVpcEndpointCommand,
|
|
2391
|
-
CreateAccessPolicyCommand,
|
|
2392
|
-
CreateCollectionCommand,
|
|
2393
|
-
CreateIndexCommand,
|
|
2394
|
-
CreateLifecyclePolicyCommand,
|
|
2395
|
-
CreateSecurityConfigCommand,
|
|
2396
|
-
CreateSecurityPolicyCommand,
|
|
2397
|
-
CreateVpcEndpointCommand,
|
|
2398
|
-
DeleteAccessPolicyCommand,
|
|
2399
|
-
DeleteCollectionCommand,
|
|
2400
|
-
DeleteIndexCommand,
|
|
2401
|
-
DeleteLifecyclePolicyCommand,
|
|
2402
|
-
DeleteSecurityConfigCommand,
|
|
2403
|
-
DeleteSecurityPolicyCommand,
|
|
2404
|
-
DeleteVpcEndpointCommand,
|
|
2405
|
-
GetAccessPolicyCommand,
|
|
2406
|
-
GetAccountSettingsCommand,
|
|
2407
|
-
GetIndexCommand,
|
|
2408
|
-
GetPoliciesStatsCommand,
|
|
2409
|
-
GetSecurityConfigCommand,
|
|
2410
|
-
GetSecurityPolicyCommand,
|
|
2411
|
-
ListAccessPoliciesCommand,
|
|
2412
|
-
ListCollectionsCommand,
|
|
2413
|
-
ListLifecyclePoliciesCommand,
|
|
2414
|
-
ListSecurityConfigsCommand,
|
|
2415
|
-
ListSecurityPoliciesCommand,
|
|
2416
|
-
ListTagsForResourceCommand,
|
|
2417
|
-
ListVpcEndpointsCommand,
|
|
2418
|
-
TagResourceCommand,
|
|
2419
|
-
UntagResourceCommand,
|
|
2420
|
-
UpdateAccessPolicyCommand,
|
|
2421
|
-
UpdateAccountSettingsCommand,
|
|
2422
|
-
UpdateCollectionCommand,
|
|
2423
|
-
UpdateIndexCommand,
|
|
2424
|
-
UpdateLifecyclePolicyCommand,
|
|
2425
|
-
UpdateSecurityConfigCommand,
|
|
2426
|
-
UpdateSecurityPolicyCommand,
|
|
2427
|
-
UpdateVpcEndpointCommand,
|
|
2428
|
-
paginateListAccessPolicies,
|
|
2429
|
-
paginateListCollections,
|
|
2430
|
-
paginateListLifecyclePolicies,
|
|
2431
|
-
paginateListSecurityConfigs,
|
|
2432
|
-
paginateListSecurityPolicies,
|
|
2433
|
-
paginateListVpcEndpoints,
|
|
2434
|
-
AccessPolicyType,
|
|
2435
|
-
ConflictException,
|
|
2436
|
-
InternalServerException,
|
|
2437
|
-
ServiceQuotaExceededException,
|
|
2438
|
-
ValidationException,
|
|
2439
|
-
ResourceNotFoundException,
|
|
2440
|
-
StandbyReplicas,
|
|
2441
|
-
CollectionStatus,
|
|
2442
|
-
CollectionType,
|
|
2443
|
-
LifecyclePolicyType,
|
|
2444
|
-
ResourceType,
|
|
2445
|
-
VpcEndpointStatus,
|
|
2446
|
-
OcuLimitExceededException,
|
|
2447
|
-
IamIdentityCenterGroupAttribute,
|
|
2448
|
-
IamIdentityCenterUserAttribute,
|
|
2449
|
-
SecurityConfigType,
|
|
2450
|
-
SecurityPolicyType
|
|
2171
|
+
Object.defineProperty(exports, "$Command", {
|
|
2172
|
+
enumerable: true,
|
|
2173
|
+
get: function () { return smithyClient.Command; }
|
|
2451
2174
|
});
|
|
2452
|
-
|
|
2175
|
+
Object.defineProperty(exports, "__Client", {
|
|
2176
|
+
enumerable: true,
|
|
2177
|
+
get: function () { return smithyClient.Client; }
|
|
2178
|
+
});
|
|
2179
|
+
exports.AccessPolicyType = AccessPolicyType;
|
|
2180
|
+
exports.BatchGetCollectionCommand = BatchGetCollectionCommand;
|
|
2181
|
+
exports.BatchGetEffectiveLifecyclePolicyCommand = BatchGetEffectiveLifecyclePolicyCommand;
|
|
2182
|
+
exports.BatchGetLifecyclePolicyCommand = BatchGetLifecyclePolicyCommand;
|
|
2183
|
+
exports.BatchGetVpcEndpointCommand = BatchGetVpcEndpointCommand;
|
|
2184
|
+
exports.CollectionStatus = CollectionStatus;
|
|
2185
|
+
exports.CollectionType = CollectionType;
|
|
2186
|
+
exports.ConflictException = ConflictException;
|
|
2187
|
+
exports.CreateAccessPolicyCommand = CreateAccessPolicyCommand;
|
|
2188
|
+
exports.CreateCollectionCommand = CreateCollectionCommand;
|
|
2189
|
+
exports.CreateIndexCommand = CreateIndexCommand;
|
|
2190
|
+
exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;
|
|
2191
|
+
exports.CreateSecurityConfigCommand = CreateSecurityConfigCommand;
|
|
2192
|
+
exports.CreateSecurityPolicyCommand = CreateSecurityPolicyCommand;
|
|
2193
|
+
exports.CreateVpcEndpointCommand = CreateVpcEndpointCommand;
|
|
2194
|
+
exports.DeleteAccessPolicyCommand = DeleteAccessPolicyCommand;
|
|
2195
|
+
exports.DeleteCollectionCommand = DeleteCollectionCommand;
|
|
2196
|
+
exports.DeleteIndexCommand = DeleteIndexCommand;
|
|
2197
|
+
exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
|
|
2198
|
+
exports.DeleteSecurityConfigCommand = DeleteSecurityConfigCommand;
|
|
2199
|
+
exports.DeleteSecurityPolicyCommand = DeleteSecurityPolicyCommand;
|
|
2200
|
+
exports.DeleteVpcEndpointCommand = DeleteVpcEndpointCommand;
|
|
2201
|
+
exports.GetAccessPolicyCommand = GetAccessPolicyCommand;
|
|
2202
|
+
exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
|
|
2203
|
+
exports.GetIndexCommand = GetIndexCommand;
|
|
2204
|
+
exports.GetPoliciesStatsCommand = GetPoliciesStatsCommand;
|
|
2205
|
+
exports.GetSecurityConfigCommand = GetSecurityConfigCommand;
|
|
2206
|
+
exports.GetSecurityPolicyCommand = GetSecurityPolicyCommand;
|
|
2207
|
+
exports.IamIdentityCenterGroupAttribute = IamIdentityCenterGroupAttribute;
|
|
2208
|
+
exports.IamIdentityCenterUserAttribute = IamIdentityCenterUserAttribute;
|
|
2209
|
+
exports.InternalServerException = InternalServerException;
|
|
2210
|
+
exports.LifecyclePolicyType = LifecyclePolicyType;
|
|
2211
|
+
exports.ListAccessPoliciesCommand = ListAccessPoliciesCommand;
|
|
2212
|
+
exports.ListCollectionsCommand = ListCollectionsCommand;
|
|
2213
|
+
exports.ListLifecyclePoliciesCommand = ListLifecyclePoliciesCommand;
|
|
2214
|
+
exports.ListSecurityConfigsCommand = ListSecurityConfigsCommand;
|
|
2215
|
+
exports.ListSecurityPoliciesCommand = ListSecurityPoliciesCommand;
|
|
2216
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2217
|
+
exports.ListVpcEndpointsCommand = ListVpcEndpointsCommand;
|
|
2218
|
+
exports.OcuLimitExceededException = OcuLimitExceededException;
|
|
2219
|
+
exports.OpenSearchServerless = OpenSearchServerless;
|
|
2220
|
+
exports.OpenSearchServerlessClient = OpenSearchServerlessClient;
|
|
2221
|
+
exports.OpenSearchServerlessServiceException = OpenSearchServerlessServiceException;
|
|
2222
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2223
|
+
exports.ResourceType = ResourceType;
|
|
2224
|
+
exports.SecurityConfigType = SecurityConfigType;
|
|
2225
|
+
exports.SecurityPolicyType = SecurityPolicyType;
|
|
2226
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2227
|
+
exports.StandbyReplicas = StandbyReplicas;
|
|
2228
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
2229
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2230
|
+
exports.UpdateAccessPolicyCommand = UpdateAccessPolicyCommand;
|
|
2231
|
+
exports.UpdateAccountSettingsCommand = UpdateAccountSettingsCommand;
|
|
2232
|
+
exports.UpdateCollectionCommand = UpdateCollectionCommand;
|
|
2233
|
+
exports.UpdateIndexCommand = UpdateIndexCommand;
|
|
2234
|
+
exports.UpdateLifecyclePolicyCommand = UpdateLifecyclePolicyCommand;
|
|
2235
|
+
exports.UpdateSecurityConfigCommand = UpdateSecurityConfigCommand;
|
|
2236
|
+
exports.UpdateSecurityPolicyCommand = UpdateSecurityPolicyCommand;
|
|
2237
|
+
exports.UpdateVpcEndpointCommand = UpdateVpcEndpointCommand;
|
|
2238
|
+
exports.ValidationException = ValidationException;
|
|
2239
|
+
exports.VpcEndpointStatus = VpcEndpointStatus;
|
|
2240
|
+
exports.paginateListAccessPolicies = paginateListAccessPolicies;
|
|
2241
|
+
exports.paginateListCollections = paginateListCollections;
|
|
2242
|
+
exports.paginateListLifecyclePolicies = paginateListLifecyclePolicies;
|
|
2243
|
+
exports.paginateListSecurityConfigs = paginateListSecurityConfigs;
|
|
2244
|
+
exports.paginateListSecurityPolicies = paginateListSecurityPolicies;
|
|
2245
|
+
exports.paginateListVpcEndpoints = paginateListVpcEndpoints;
|