@aws-sdk/client-simpledbv2 3.1007.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +231 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +252 -0
- package/dist-cjs/models/SimpleDBv2ServiceException.js +12 -0
- package/dist-cjs/models/errors.js +95 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +146 -0
- package/dist-es/SimpleDBv2.js +21 -0
- package/dist-es/SimpleDBv2Client.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/GetExportCommand.js +16 -0
- package/dist-es/commands/ListExportsCommand.js +16 -0
- package/dist-es/commands/StartDomainExportCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/SimpleDBv2ServiceException.js +8 -0
- package/dist-es/models/enums.js +10 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListExportsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +143 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForExportSucceeded.js +40 -0
- package/dist-types/SimpleDBv2.d.ts +55 -0
- package/dist-types/SimpleDBv2Client.d.ts +199 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/GetExportCommand.d.ts +115 -0
- package/dist-types/commands/ListExportsCommand.d.ts +113 -0
- package/dist-types/commands/StartDomainExportCommand.d.ts +115 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +27 -0
- package/dist-types/models/SimpleDBv2ServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +26 -0
- package/dist-types/models/errors.d.ts +86 -0
- package/dist-types/models/models_0.d.ts +227 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +26 -0
- package/dist-types/ts3.4/SimpleDBv2.d.ts +81 -0
- package/dist-types/ts3.4/SimpleDBv2Client.d.ts +137 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartDomainExportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/SimpleDBv2ServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForExportSucceeded.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForExportSucceeded.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,252 @@
|
|
|
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 schema = require('@smithy/core/schema');
|
|
10
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
11
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
12
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
13
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
14
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
16
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var utilWaiter = require('@smithy/util-waiter');
|
|
20
|
+
var errors = require('./models/errors');
|
|
21
|
+
var SimpleDBv2ServiceException = require('./models/SimpleDBv2ServiceException');
|
|
22
|
+
|
|
23
|
+
const resolveClientEndpointParameters = (options) => {
|
|
24
|
+
return Object.assign(options, {
|
|
25
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
26
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
27
|
+
defaultSigningName: "sdb",
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
const commonParams = {
|
|
31
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
32
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
33
|
+
Region: { type: "builtInParams", name: "region" },
|
|
34
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
38
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
39
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
40
|
+
let _credentials = runtimeConfig.credentials;
|
|
41
|
+
return {
|
|
42
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
43
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
44
|
+
if (index === -1) {
|
|
45
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
httpAuthSchemes() {
|
|
52
|
+
return _httpAuthSchemes;
|
|
53
|
+
},
|
|
54
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
55
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
httpAuthSchemeProvider() {
|
|
58
|
+
return _httpAuthSchemeProvider;
|
|
59
|
+
},
|
|
60
|
+
setCredentials(credentials) {
|
|
61
|
+
_credentials = credentials;
|
|
62
|
+
},
|
|
63
|
+
credentials() {
|
|
64
|
+
return _credentials;
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
69
|
+
return {
|
|
70
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
71
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
72
|
+
credentials: config.credentials(),
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
77
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
78
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
79
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
class SimpleDBv2Client extends smithyClient.Client {
|
|
83
|
+
config;
|
|
84
|
+
constructor(...[configuration]) {
|
|
85
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
86
|
+
super(_config_0);
|
|
87
|
+
this.initConfig = _config_0;
|
|
88
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
89
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
90
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
91
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
92
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
93
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
94
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
95
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
96
|
+
this.config = _config_8;
|
|
97
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
102
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
103
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
104
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
105
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSimpleDBv2HttpAuthSchemeParametersProvider,
|
|
106
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
107
|
+
"aws.auth#sigv4": config.credentials,
|
|
108
|
+
}),
|
|
109
|
+
}));
|
|
110
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
111
|
+
}
|
|
112
|
+
destroy() {
|
|
113
|
+
super.destroy();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
class GetExportCommand extends smithyClient.Command
|
|
118
|
+
.classBuilder()
|
|
119
|
+
.ep(commonParams)
|
|
120
|
+
.m(function (Command, cs, config, o) {
|
|
121
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
122
|
+
})
|
|
123
|
+
.s("SimpleDBv2", "GetExport", {})
|
|
124
|
+
.n("SimpleDBv2Client", "GetExportCommand")
|
|
125
|
+
.sc(schemas_0.GetExport$)
|
|
126
|
+
.build() {
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
class ListExportsCommand extends smithyClient.Command
|
|
130
|
+
.classBuilder()
|
|
131
|
+
.ep(commonParams)
|
|
132
|
+
.m(function (Command, cs, config, o) {
|
|
133
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
134
|
+
})
|
|
135
|
+
.s("SimpleDBv2", "ListExports", {})
|
|
136
|
+
.n("SimpleDBv2Client", "ListExportsCommand")
|
|
137
|
+
.sc(schemas_0.ListExports$)
|
|
138
|
+
.build() {
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
class StartDomainExportCommand extends smithyClient.Command
|
|
142
|
+
.classBuilder()
|
|
143
|
+
.ep(commonParams)
|
|
144
|
+
.m(function (Command, cs, config, o) {
|
|
145
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
146
|
+
})
|
|
147
|
+
.s("SimpleDBv2", "StartDomainExport", {})
|
|
148
|
+
.n("SimpleDBv2Client", "StartDomainExportCommand")
|
|
149
|
+
.sc(schemas_0.StartDomainExport$)
|
|
150
|
+
.build() {
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
const paginateListExports = core.createPaginator(SimpleDBv2Client, ListExportsCommand, "nextToken", "nextToken", "maxResults");
|
|
154
|
+
|
|
155
|
+
const checkState = async (client, input) => {
|
|
156
|
+
let reason;
|
|
157
|
+
try {
|
|
158
|
+
let result = await client.send(new GetExportCommand(input));
|
|
159
|
+
reason = result;
|
|
160
|
+
try {
|
|
161
|
+
const returnComparator = () => {
|
|
162
|
+
return result.exportStatus;
|
|
163
|
+
};
|
|
164
|
+
if (returnComparator() === "SUCCEEDED") {
|
|
165
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
catch (e) { }
|
|
169
|
+
try {
|
|
170
|
+
const returnComparator = () => {
|
|
171
|
+
return result.exportStatus;
|
|
172
|
+
};
|
|
173
|
+
if (returnComparator() === "FAILED") {
|
|
174
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
catch (e) { }
|
|
178
|
+
}
|
|
179
|
+
catch (exception) {
|
|
180
|
+
reason = exception;
|
|
181
|
+
}
|
|
182
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
183
|
+
};
|
|
184
|
+
const waitForExportSucceeded = async (params, input) => {
|
|
185
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
186
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
187
|
+
};
|
|
188
|
+
const waitUntilExportSucceeded = async (params, input) => {
|
|
189
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
190
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
191
|
+
return utilWaiter.checkExceptions(result);
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
const commands = {
|
|
195
|
+
GetExportCommand,
|
|
196
|
+
ListExportsCommand,
|
|
197
|
+
StartDomainExportCommand,
|
|
198
|
+
};
|
|
199
|
+
const paginators = {
|
|
200
|
+
paginateListExports,
|
|
201
|
+
};
|
|
202
|
+
const waiters = {
|
|
203
|
+
waitUntilExportSucceeded,
|
|
204
|
+
};
|
|
205
|
+
class SimpleDBv2 extends SimpleDBv2Client {
|
|
206
|
+
}
|
|
207
|
+
smithyClient.createAggregatedClient(commands, SimpleDBv2, { paginators, waiters });
|
|
208
|
+
|
|
209
|
+
const ExportStatus = {
|
|
210
|
+
FAILED: "FAILED",
|
|
211
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
212
|
+
PENDING: "PENDING",
|
|
213
|
+
SUCCEEDED: "SUCCEEDED",
|
|
214
|
+
};
|
|
215
|
+
const S3SseAlgorithm = {
|
|
216
|
+
AES256: "AES256",
|
|
217
|
+
KMS: "KMS",
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
exports.$Command = smithyClient.Command;
|
|
221
|
+
exports.__Client = smithyClient.Client;
|
|
222
|
+
exports.SimpleDBv2ServiceException = SimpleDBv2ServiceException.SimpleDBv2ServiceException;
|
|
223
|
+
exports.ExportStatus = ExportStatus;
|
|
224
|
+
exports.GetExportCommand = GetExportCommand;
|
|
225
|
+
exports.ListExportsCommand = ListExportsCommand;
|
|
226
|
+
exports.S3SseAlgorithm = S3SseAlgorithm;
|
|
227
|
+
exports.SimpleDBv2 = SimpleDBv2;
|
|
228
|
+
exports.SimpleDBv2Client = SimpleDBv2Client;
|
|
229
|
+
exports.StartDomainExportCommand = StartDomainExportCommand;
|
|
230
|
+
exports.paginateListExports = paginateListExports;
|
|
231
|
+
exports.waitForExportSucceeded = waitForExportSucceeded;
|
|
232
|
+
exports.waitUntilExportSucceeded = waitUntilExportSucceeded;
|
|
233
|
+
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
234
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
235
|
+
Object.defineProperty(exports, '__proto__', {
|
|
236
|
+
enumerable: true,
|
|
237
|
+
value: schemas_0['__proto__']
|
|
238
|
+
});
|
|
239
|
+
|
|
240
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
241
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
242
|
+
});
|
|
243
|
+
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
244
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
245
|
+
Object.defineProperty(exports, '__proto__', {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
value: errors['__proto__']
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
Object.keys(errors).forEach(function (k) {
|
|
251
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
252
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleDBv2ServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SimpleDBv2ServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SimpleDBv2ServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SimpleDBv2ServiceException = SimpleDBv2ServiceException;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NumberExportsLimitExceeded = exports.NoSuchDomainException = exports.InvalidParameterCombinationException = exports.InvalidNextTokenException = exports.NoSuchExportException = exports.InvalidParameterValueException = exports.ConflictException = void 0;
|
|
4
|
+
const SimpleDBv2ServiceException_1 = require("./SimpleDBv2ServiceException");
|
|
5
|
+
class ConflictException extends SimpleDBv2ServiceException_1.SimpleDBv2ServiceException {
|
|
6
|
+
name = "ConflictException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ConflictException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ConflictException = ConflictException;
|
|
18
|
+
class InvalidParameterValueException extends SimpleDBv2ServiceException_1.SimpleDBv2ServiceException {
|
|
19
|
+
name = "InvalidParameterValueException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InvalidParameterValueException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.InvalidParameterValueException = InvalidParameterValueException;
|
|
31
|
+
class NoSuchExportException extends SimpleDBv2ServiceException_1.SimpleDBv2ServiceException {
|
|
32
|
+
name = "NoSuchExportException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "NoSuchExportException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, NoSuchExportException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.NoSuchExportException = NoSuchExportException;
|
|
44
|
+
class InvalidNextTokenException extends SimpleDBv2ServiceException_1.SimpleDBv2ServiceException {
|
|
45
|
+
name = "InvalidNextTokenException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "InvalidNextTokenException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
57
|
+
class InvalidParameterCombinationException extends SimpleDBv2ServiceException_1.SimpleDBv2ServiceException {
|
|
58
|
+
name = "InvalidParameterCombinationException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "InvalidParameterCombinationException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.InvalidParameterCombinationException = InvalidParameterCombinationException;
|
|
70
|
+
class NoSuchDomainException extends SimpleDBv2ServiceException_1.SimpleDBv2ServiceException {
|
|
71
|
+
name = "NoSuchDomainException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "NoSuchDomainException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, NoSuchDomainException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.NoSuchDomainException = NoSuchDomainException;
|
|
83
|
+
class NumberExportsLimitExceeded extends SimpleDBv2ServiceException_1.SimpleDBv2ServiceException {
|
|
84
|
+
name = "NumberExportsLimitExceeded";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "NumberExportsLimitExceeded",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, NumberExportsLimitExceeded.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.NumberExportsLimitExceeded = NumberExportsLimitExceeded;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
+
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
|
+
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
12
|
+
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
14
|
+
const util_retry_1 = require("@smithy/util-retry");
|
|
15
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const getRuntimeConfig = (config) => {
|
|
17
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
19
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
20
|
+
return {
|
|
21
|
+
...clientSharedValues,
|
|
22
|
+
...config,
|
|
23
|
+
runtime: "browser",
|
|
24
|
+
defaultsMode,
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
|
+
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
30
|
+
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
31
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
32
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
33
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
34
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const core_1 = require("@aws-sdk/core");
|
|
7
|
+
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
|
+
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
10
|
+
const hash_node_1 = require("@smithy/hash-node");
|
|
11
|
+
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
|
+
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
|
+
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
+
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
17
|
+
const util_retry_1 = require("@smithy/util-retry");
|
|
18
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
|
+
const getRuntimeConfig = (config) => {
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
21
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
22
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
23
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
24
|
+
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
25
|
+
const loaderConfig = {
|
|
26
|
+
profile: config?.profile,
|
|
27
|
+
logger: clientSharedValues.logger,
|
|
28
|
+
};
|
|
29
|
+
return {
|
|
30
|
+
...clientSharedValues,
|
|
31
|
+
...config,
|
|
32
|
+
runtime: "node",
|
|
33
|
+
defaultsMode,
|
|
34
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
38
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
40
|
+
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
41
|
+
retryMode: config?.retryMode ??
|
|
42
|
+
(0, node_config_provider_1.loadConfig)({
|
|
43
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
44
|
+
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
45
|
+
}, config),
|
|
46
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
47
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
48
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
49
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
50
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
+
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
+
const getRuntimeConfig = (config) => {
|
|
7
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
8
|
+
return {
|
|
9
|
+
...browserDefaults,
|
|
10
|
+
...config,
|
|
11
|
+
runtime: "react-native",
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
const url_parser_1 = require("@smithy/url-parser");
|
|
8
|
+
const util_base64_1 = require("@smithy/util-base64");
|
|
9
|
+
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
|
+
const getRuntimeConfig = (config) => {
|
|
14
|
+
return {
|
|
15
|
+
apiVersion: "2025-09-26",
|
|
16
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
17
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
18
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
20
|
+
extensions: config?.extensions ?? [],
|
|
21
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSimpleDBv2HttpAuthSchemeProvider,
|
|
22
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
23
|
+
{
|
|
24
|
+
schemeId: "aws.auth#sigv4",
|
|
25
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
+
signer: new core_1.AwsSdkSigV4Signer(),
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
30
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
32
|
+
defaultNamespace: "com.amazonaws.simpledbv2",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
34
|
+
version: "2025-09-26",
|
|
35
|
+
serviceTarget: "SimpleDBv2",
|
|
36
|
+
},
|
|
37
|
+
serviceId: config?.serviceId ?? "SimpleDBv2",
|
|
38
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
39
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
40
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartDomainExport$ = exports.ListExports$ = exports.GetExport$ = exports.StartDomainExportResponse$ = exports.StartDomainExportRequest$ = exports.ListExportsResponse$ = exports.ListExportsRequest$ = exports.GetExportResponse$ = exports.GetExportRequest$ = exports.ExportSummary$ = exports.errorTypeRegistries = exports.NumberExportsLimitExceeded$ = exports.NoSuchExportException$ = exports.NoSuchDomainException$ = exports.InvalidParameterValueException$ = exports.InvalidParameterCombinationException$ = exports.InvalidNextTokenException$ = exports.ConflictException$ = exports.SimpleDBv2ServiceException$ = void 0;
|
|
4
|
+
const _CE = "ConflictException";
|
|
5
|
+
const _ES = "ExportSummary";
|
|
6
|
+
const _ESx = "ExportSummaries";
|
|
7
|
+
const _GE = "GetExport";
|
|
8
|
+
const _GER = "GetExportRequest";
|
|
9
|
+
const _GERe = "GetExportResponse";
|
|
10
|
+
const _INTE = "InvalidNextTokenException";
|
|
11
|
+
const _IPCE = "InvalidParameterCombinationException";
|
|
12
|
+
const _IPVE = "InvalidParameterValueException";
|
|
13
|
+
const _LE = "ListExports";
|
|
14
|
+
const _LER = "ListExportsRequest";
|
|
15
|
+
const _LERi = "ListExportsResponse";
|
|
16
|
+
const _NELE = "NumberExportsLimitExceeded";
|
|
17
|
+
const _NSDE = "NoSuchDomainException";
|
|
18
|
+
const _NSEE = "NoSuchExportException";
|
|
19
|
+
const _SDE = "StartDomainExport";
|
|
20
|
+
const _SDER = "StartDomainExportRequest";
|
|
21
|
+
const _SDERt = "StartDomainExportResponse";
|
|
22
|
+
const _c = "client";
|
|
23
|
+
const _cT = "clientToken";
|
|
24
|
+
const _dN = "domainName";
|
|
25
|
+
const _e = "error";
|
|
26
|
+
const _eA = "exportArn";
|
|
27
|
+
const _eDCT = "exportDataCutoffTime";
|
|
28
|
+
const _eM = "exportManifest";
|
|
29
|
+
const _eS = "exportStatus";
|
|
30
|
+
const _eSx = "exportSummaries";
|
|
31
|
+
const _fC = "failureCode";
|
|
32
|
+
const _fM = "failureMessage";
|
|
33
|
+
const _h = "http";
|
|
34
|
+
const _hE = "httpError";
|
|
35
|
+
const _iC = "itemsCount";
|
|
36
|
+
const _m = "message";
|
|
37
|
+
const _mR = "maxResults";
|
|
38
|
+
const _nT = "nextToken";
|
|
39
|
+
const _rA = "requestedAt";
|
|
40
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.simpledbv2";
|
|
41
|
+
const _sB = "s3Bucket";
|
|
42
|
+
const _sBO = "s3BucketOwner";
|
|
43
|
+
const _sKP = "s3KeyPrefix";
|
|
44
|
+
const _sSA = "s3SseAlgorithm";
|
|
45
|
+
const _sSKKI = "s3SseKmsKeyId";
|
|
46
|
+
const n0 = "com.amazonaws.simpledbv2";
|
|
47
|
+
const schema_1 = require("@smithy/core/schema");
|
|
48
|
+
const errors_1 = require("../models/errors");
|
|
49
|
+
const SimpleDBv2ServiceException_1 = require("../models/SimpleDBv2ServiceException");
|
|
50
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
51
|
+
exports.SimpleDBv2ServiceException$ = [-3, _s, "SimpleDBv2ServiceException", 0, [], []];
|
|
52
|
+
_s_registry.registerError(exports.SimpleDBv2ServiceException$, SimpleDBv2ServiceException_1.SimpleDBv2ServiceException);
|
|
53
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
54
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
55
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
56
|
+
[_m],
|
|
57
|
+
[0], 1
|
|
58
|
+
];
|
|
59
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
60
|
+
exports.InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
61
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
62
|
+
[_m],
|
|
63
|
+
[0], 1
|
|
64
|
+
];
|
|
65
|
+
n0_registry.registerError(exports.InvalidNextTokenException$, errors_1.InvalidNextTokenException);
|
|
66
|
+
exports.InvalidParameterCombinationException$ = [-3, n0, _IPCE,
|
|
67
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
68
|
+
[_m],
|
|
69
|
+
[0], 1
|
|
70
|
+
];
|
|
71
|
+
n0_registry.registerError(exports.InvalidParameterCombinationException$, errors_1.InvalidParameterCombinationException);
|
|
72
|
+
exports.InvalidParameterValueException$ = [-3, n0, _IPVE,
|
|
73
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
74
|
+
[_m],
|
|
75
|
+
[0], 1
|
|
76
|
+
];
|
|
77
|
+
n0_registry.registerError(exports.InvalidParameterValueException$, errors_1.InvalidParameterValueException);
|
|
78
|
+
exports.NoSuchDomainException$ = [-3, n0, _NSDE,
|
|
79
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
80
|
+
[_m],
|
|
81
|
+
[0], 1
|
|
82
|
+
];
|
|
83
|
+
n0_registry.registerError(exports.NoSuchDomainException$, errors_1.NoSuchDomainException);
|
|
84
|
+
exports.NoSuchExportException$ = [-3, n0, _NSEE,
|
|
85
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
86
|
+
[_m],
|
|
87
|
+
[0], 1
|
|
88
|
+
];
|
|
89
|
+
n0_registry.registerError(exports.NoSuchExportException$, errors_1.NoSuchExportException);
|
|
90
|
+
exports.NumberExportsLimitExceeded$ = [-3, n0, _NELE,
|
|
91
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
92
|
+
[_m],
|
|
93
|
+
[0], 1
|
|
94
|
+
];
|
|
95
|
+
n0_registry.registerError(exports.NumberExportsLimitExceeded$, errors_1.NumberExportsLimitExceeded);
|
|
96
|
+
exports.errorTypeRegistries = [
|
|
97
|
+
_s_registry,
|
|
98
|
+
n0_registry,
|
|
99
|
+
];
|
|
100
|
+
exports.ExportSummary$ = [3, n0, _ES,
|
|
101
|
+
0,
|
|
102
|
+
[_eA, _eS, _rA, _dN],
|
|
103
|
+
[0, 0, 4, 0], 4
|
|
104
|
+
];
|
|
105
|
+
exports.GetExportRequest$ = [3, n0, _GER,
|
|
106
|
+
0,
|
|
107
|
+
[_eA],
|
|
108
|
+
[0], 1
|
|
109
|
+
];
|
|
110
|
+
exports.GetExportResponse$ = [3, n0, _GERe,
|
|
111
|
+
0,
|
|
112
|
+
[_eA, _cT, _eS, _dN, _rA, _sB, _sKP, _sSA, _sSKKI, _sBO, _fC, _fM, _eM, _iC, _eDCT],
|
|
113
|
+
[0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4], 6
|
|
114
|
+
];
|
|
115
|
+
exports.ListExportsRequest$ = [3, n0, _LER,
|
|
116
|
+
0,
|
|
117
|
+
[_dN, _mR, _nT],
|
|
118
|
+
[0, 1, 0]
|
|
119
|
+
];
|
|
120
|
+
exports.ListExportsResponse$ = [3, n0, _LERi,
|
|
121
|
+
0,
|
|
122
|
+
[_eSx, _nT],
|
|
123
|
+
[() => ExportSummaries, 0], 1
|
|
124
|
+
];
|
|
125
|
+
exports.StartDomainExportRequest$ = [3, n0, _SDER,
|
|
126
|
+
0,
|
|
127
|
+
[_dN, _sB, _cT, _sKP, _sSA, _sSKKI, _sBO],
|
|
128
|
+
[0, 0, [0, 4], 0, 0, 0, 0], 2
|
|
129
|
+
];
|
|
130
|
+
exports.StartDomainExportResponse$ = [3, n0, _SDERt,
|
|
131
|
+
0,
|
|
132
|
+
[_cT, _eA, _rA],
|
|
133
|
+
[0, 0, 4], 3
|
|
134
|
+
];
|
|
135
|
+
var ExportSummaries = [1, n0, _ESx,
|
|
136
|
+
0, () => exports.ExportSummary$
|
|
137
|
+
];
|
|
138
|
+
exports.GetExport$ = [9, n0, _GE,
|
|
139
|
+
{ [_h]: ["POST", "/v2/GetExport", 200] }, () => exports.GetExportRequest$, () => exports.GetExportResponse$
|
|
140
|
+
];
|
|
141
|
+
exports.ListExports$ = [9, n0, _LE,
|
|
142
|
+
{ [_h]: ["POST", "/v2/ListExports", 200] }, () => exports.ListExportsRequest$, () => exports.ListExportsResponse$
|
|
143
|
+
];
|
|
144
|
+
exports.StartDomainExport$ = [9, n0, _SDE,
|
|
145
|
+
{ [_h]: ["POST", "/v2/StartDomainExport", 200] }, () => exports.StartDomainExportRequest$, () => exports.StartDomainExportResponse$
|
|
146
|
+
];
|