@aws-sdk/client-snow-device-management 3.1075.0 → 3.1077.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 +805 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/SnowDeviceManagementServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -77
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -526
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultSnowDeviceManagementHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
|
+
return {
|
|
20
|
+
operation: getSmithyContext(context).operation,
|
|
21
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
22
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
23
|
+
})(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
27
|
+
return {
|
|
28
|
+
schemeId: "aws.auth#sigv4",
|
|
29
|
+
signingProperties: {
|
|
30
|
+
name: "snow-device-management",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultSnowDeviceManagementHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
default: {
|
|
45
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options;
|
|
49
|
+
};
|
|
50
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
55
|
+
};
|
|
19
56
|
|
|
20
57
|
const resolveClientEndpointParameters = (options) => {
|
|
21
58
|
return Object.assign(options, {
|
|
@@ -31,6 +68,690 @@ const commonParams = {
|
|
|
31
68
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
69
|
};
|
|
33
70
|
|
|
71
|
+
var version = "3.1076.0";
|
|
72
|
+
var packageInfo = {
|
|
73
|
+
version: version};
|
|
74
|
+
|
|
75
|
+
const k = "ref";
|
|
76
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
77
|
+
const _data = {
|
|
78
|
+
conditions: [
|
|
79
|
+
[c, [g]],
|
|
80
|
+
[c, j],
|
|
81
|
+
["aws.partition", j, d],
|
|
82
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
83
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
85
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://snow-device-management-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://snow-device-management-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
95
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
96
|
+
["https://snow-device-management.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
97
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
98
|
+
["https://snow-device-management.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
99
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
100
|
+
]
|
|
101
|
+
};
|
|
102
|
+
const root = 2;
|
|
103
|
+
const r = 100_000_000;
|
|
104
|
+
const nodes = new Int32Array([
|
|
105
|
+
-1, 1, -1,
|
|
106
|
+
0, 12, 3,
|
|
107
|
+
1, 4, r + 11,
|
|
108
|
+
2, 5, r + 11,
|
|
109
|
+
3, 8, 6,
|
|
110
|
+
4, 7, r + 10,
|
|
111
|
+
5, r + 8, r + 9,
|
|
112
|
+
4, 10, 9,
|
|
113
|
+
6, r + 6, r + 7,
|
|
114
|
+
5, 11, r + 5,
|
|
115
|
+
6, r + 4, r + 5,
|
|
116
|
+
3, r + 1, 13,
|
|
117
|
+
4, r + 2, r + 3,
|
|
118
|
+
]);
|
|
119
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
120
|
+
|
|
121
|
+
const cache = new EndpointCache({
|
|
122
|
+
size: 50,
|
|
123
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
124
|
+
});
|
|
125
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
126
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
127
|
+
endpointParams: endpointParams,
|
|
128
|
+
logger: context.logger,
|
|
129
|
+
}));
|
|
130
|
+
};
|
|
131
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
132
|
+
|
|
133
|
+
class SnowDeviceManagementServiceException extends ServiceException {
|
|
134
|
+
constructor(options) {
|
|
135
|
+
super(options);
|
|
136
|
+
Object.setPrototypeOf(this, SnowDeviceManagementServiceException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class AccessDeniedException extends SnowDeviceManagementServiceException {
|
|
141
|
+
name = "AccessDeniedException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "AccessDeniedException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
class InternalServerException extends SnowDeviceManagementServiceException {
|
|
153
|
+
name = "InternalServerException";
|
|
154
|
+
$fault = "server";
|
|
155
|
+
$retryable = {};
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "InternalServerException",
|
|
159
|
+
$fault: "server",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
class ResourceNotFoundException extends SnowDeviceManagementServiceException {
|
|
166
|
+
name = "ResourceNotFoundException";
|
|
167
|
+
$fault = "client";
|
|
168
|
+
constructor(opts) {
|
|
169
|
+
super({
|
|
170
|
+
name: "ResourceNotFoundException",
|
|
171
|
+
$fault: "client",
|
|
172
|
+
...opts,
|
|
173
|
+
});
|
|
174
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
class ThrottlingException extends SnowDeviceManagementServiceException {
|
|
178
|
+
name = "ThrottlingException";
|
|
179
|
+
$fault = "client";
|
|
180
|
+
$retryable = {
|
|
181
|
+
throttling: true,
|
|
182
|
+
};
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "ThrottlingException",
|
|
186
|
+
$fault: "client",
|
|
187
|
+
...opts,
|
|
188
|
+
});
|
|
189
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
class ValidationException extends SnowDeviceManagementServiceException {
|
|
193
|
+
name = "ValidationException";
|
|
194
|
+
$fault = "client";
|
|
195
|
+
constructor(opts) {
|
|
196
|
+
super({
|
|
197
|
+
name: "ValidationException",
|
|
198
|
+
$fault: "client",
|
|
199
|
+
...opts,
|
|
200
|
+
});
|
|
201
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
class ServiceQuotaExceededException extends SnowDeviceManagementServiceException {
|
|
205
|
+
name = "ServiceQuotaExceededException";
|
|
206
|
+
$fault = "client";
|
|
207
|
+
constructor(opts) {
|
|
208
|
+
super({
|
|
209
|
+
name: "ServiceQuotaExceededException",
|
|
210
|
+
$fault: "client",
|
|
211
|
+
...opts,
|
|
212
|
+
});
|
|
213
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const _ADE = "AccessDeniedException";
|
|
218
|
+
const _C = "Capacity";
|
|
219
|
+
const _CL = "CapacityList";
|
|
220
|
+
const _CO = "CpuOptions";
|
|
221
|
+
const _CT = "CancelTask";
|
|
222
|
+
const _CTI = "CancelTaskInput";
|
|
223
|
+
const _CTIr = "CreateTaskInput";
|
|
224
|
+
const _CTO = "CancelTaskOutput";
|
|
225
|
+
const _CTOr = "CreateTaskOutput";
|
|
226
|
+
const _CTr = "CreateTask";
|
|
227
|
+
const _Co = "Command";
|
|
228
|
+
const _DD = "DescribeDevice";
|
|
229
|
+
const _DDEI = "DescribeDeviceEc2Input";
|
|
230
|
+
const _DDEIe = "DescribeDeviceEc2Instances";
|
|
231
|
+
const _DDEO = "DescribeDeviceEc2Output";
|
|
232
|
+
const _DDI = "DescribeDeviceInput";
|
|
233
|
+
const _DDO = "DescribeDeviceOutput";
|
|
234
|
+
const _DE = "DescribeExecution";
|
|
235
|
+
const _DEI = "DescribeExecutionInput";
|
|
236
|
+
const _DEO = "DescribeExecutionOutput";
|
|
237
|
+
const _DS = "DeviceSummary";
|
|
238
|
+
const _DSL = "DeviceSummaryList";
|
|
239
|
+
const _DT = "DescribeTask";
|
|
240
|
+
const _DTI = "DescribeTaskInput";
|
|
241
|
+
const _DTO = "DescribeTaskOutput";
|
|
242
|
+
const _EIBD = "EbsInstanceBlockDevice";
|
|
243
|
+
const _ES = "ExecutionSummary";
|
|
244
|
+
const _ESL = "ExecutionSummaryList";
|
|
245
|
+
const _I = "Instance";
|
|
246
|
+
const _IBDM = "InstanceBlockDeviceMapping";
|
|
247
|
+
const _IBDML = "InstanceBlockDeviceMappingList";
|
|
248
|
+
const _IS = "InstanceState";
|
|
249
|
+
const _ISE = "InternalServerException";
|
|
250
|
+
const _ISL = "InstanceSummaryList";
|
|
251
|
+
const _ISn = "InstanceSummary";
|
|
252
|
+
const _LD = "ListDevices";
|
|
253
|
+
const _LDI = "ListDevicesInput";
|
|
254
|
+
const _LDO = "ListDevicesOutput";
|
|
255
|
+
const _LDR = "ListDeviceResources";
|
|
256
|
+
const _LDRI = "ListDeviceResourcesInput";
|
|
257
|
+
const _LDRO = "ListDeviceResourcesOutput";
|
|
258
|
+
const _LE = "ListExecutions";
|
|
259
|
+
const _LEI = "ListExecutionsInput";
|
|
260
|
+
const _LEO = "ListExecutionsOutput";
|
|
261
|
+
const _LT = "ListTasks";
|
|
262
|
+
const _LTFR = "ListTagsForResource";
|
|
263
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
264
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
265
|
+
const _LTI = "ListTasksInput";
|
|
266
|
+
const _LTO = "ListTasksOutput";
|
|
267
|
+
const _PNI = "PhysicalNetworkInterface";
|
|
268
|
+
const _PNIL = "PhysicalNetworkInterfaceList";
|
|
269
|
+
const _R = "Reboot";
|
|
270
|
+
const _RNFE = "ResourceNotFoundException";
|
|
271
|
+
const _RS = "ResourceSummary";
|
|
272
|
+
const _RSL = "ResourceSummaryList";
|
|
273
|
+
const _SGI = "SecurityGroupIdentifier";
|
|
274
|
+
const _SGIL = "SecurityGroupIdentifierList";
|
|
275
|
+
const _SI = "SoftwareInformation";
|
|
276
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
277
|
+
const _TE = "ThrottlingException";
|
|
278
|
+
const _TR = "TagResource";
|
|
279
|
+
const _TRI = "TagResourceInput";
|
|
280
|
+
const _TS = "TaskSummary";
|
|
281
|
+
const _TSL = "TaskSummaryList";
|
|
282
|
+
const _U = "Unlock";
|
|
283
|
+
const _UR = "UntagResource";
|
|
284
|
+
const _URI = "UntagResourceInput";
|
|
285
|
+
const _VE = "ValidationException";
|
|
286
|
+
const _a = "available";
|
|
287
|
+
const _aLI = "amiLaunchIndex";
|
|
288
|
+
const _aT = "attachTime";
|
|
289
|
+
const _aWJ = "associatedWithJob";
|
|
290
|
+
const _ar = "arn";
|
|
291
|
+
const _bDM = "blockDeviceMappings";
|
|
292
|
+
const _c = "client";
|
|
293
|
+
const _cA = "createdAt";
|
|
294
|
+
const _cAo = "completedAt";
|
|
295
|
+
const _cC = "coreCount";
|
|
296
|
+
const _cO = "cpuOptions";
|
|
297
|
+
const _cT = "clientToken";
|
|
298
|
+
const _co = "command";
|
|
299
|
+
const _cod = "code";
|
|
300
|
+
const _d = "description";
|
|
301
|
+
const _dC = "deviceCapacities";
|
|
302
|
+
const _dG = "defaultGateway";
|
|
303
|
+
const _dN = "deviceName";
|
|
304
|
+
const _dOT = "deleteOnTermination";
|
|
305
|
+
const _dS = "deviceState";
|
|
306
|
+
const _dT = "deviceType";
|
|
307
|
+
const _de = "devices";
|
|
308
|
+
const _e = "error";
|
|
309
|
+
const _eI = "executionId";
|
|
310
|
+
const _eb = "ebs";
|
|
311
|
+
const _ex = "executions";
|
|
312
|
+
const _gI = "groupId";
|
|
313
|
+
const _gN = "groupName";
|
|
314
|
+
const _h = "http";
|
|
315
|
+
const _hE = "httpError";
|
|
316
|
+
const _hQ = "httpQuery";
|
|
317
|
+
const _i = "instances";
|
|
318
|
+
const _iA = "ipAddress";
|
|
319
|
+
const _iAA = "ipAddressAssignment";
|
|
320
|
+
const _iI = "instanceIds";
|
|
321
|
+
const _iIm = "imageId";
|
|
322
|
+
const _iIn = "instanceId";
|
|
323
|
+
const _iS = "installState";
|
|
324
|
+
const _iT = "instanceType";
|
|
325
|
+
const _iV = "installedVersion";
|
|
326
|
+
const _iVn = "installingVersion";
|
|
327
|
+
const _id = "id";
|
|
328
|
+
const _in = "instance";
|
|
329
|
+
const _jI = "jobId";
|
|
330
|
+
const _lROA = "lastReachedOutAt";
|
|
331
|
+
const _lUA = "lastUpdatedAt";
|
|
332
|
+
const _m = "message";
|
|
333
|
+
const _mA = "macAddress";
|
|
334
|
+
const _mDA = "managedDeviceArn";
|
|
335
|
+
const _mDI = "managedDeviceId";
|
|
336
|
+
const _mR = "maxResults";
|
|
337
|
+
const _n = "name";
|
|
338
|
+
const _nT = "nextToken";
|
|
339
|
+
const _ne = "netmask";
|
|
340
|
+
const _pCT = "physicalConnectorType";
|
|
341
|
+
const _pIA = "privateIpAddress";
|
|
342
|
+
const _pIAu = "publicIpAddress";
|
|
343
|
+
const _pNI = "physicalNetworkInterfaces";
|
|
344
|
+
const _pNII = "physicalNetworkInterfaceId";
|
|
345
|
+
const _r = "resources";
|
|
346
|
+
const _rA = "resourceArn";
|
|
347
|
+
const _rDN = "rootDeviceName";
|
|
348
|
+
const _rT = "resourceType";
|
|
349
|
+
const _re = "reboot";
|
|
350
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.snowdevicemanagement";
|
|
351
|
+
const _sA = "startedAt";
|
|
352
|
+
const _sG = "securityGroups";
|
|
353
|
+
const _se = "server";
|
|
354
|
+
const _so = "software";
|
|
355
|
+
const _st = "state";
|
|
356
|
+
const _sta = "status";
|
|
357
|
+
const _t = "total";
|
|
358
|
+
const _tA = "taskArn";
|
|
359
|
+
const _tI = "taskId";
|
|
360
|
+
const _tK = "tagKeys";
|
|
361
|
+
const _tPC = "threadsPerCore";
|
|
362
|
+
const _ta = "targets";
|
|
363
|
+
const _tag = "tags";
|
|
364
|
+
const _tas = "tasks";
|
|
365
|
+
const _ty = "type";
|
|
366
|
+
const _u = "unit";
|
|
367
|
+
const _uA = "updatedAt";
|
|
368
|
+
const _un = "unlock";
|
|
369
|
+
const _us = "used";
|
|
370
|
+
const _vI = "volumeId";
|
|
371
|
+
const n0 = "com.amazonaws.snowdevicemanagement";
|
|
372
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
373
|
+
var SnowDeviceManagementServiceException$ = [-3, _s, "SnowDeviceManagementServiceException", 0, [], []];
|
|
374
|
+
_s_registry.registerError(SnowDeviceManagementServiceException$, SnowDeviceManagementServiceException);
|
|
375
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
376
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
377
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
378
|
+
[_m],
|
|
379
|
+
[0], 1
|
|
380
|
+
];
|
|
381
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
382
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
383
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
384
|
+
[_m],
|
|
385
|
+
[0], 1
|
|
386
|
+
];
|
|
387
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
388
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
389
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
390
|
+
[_m],
|
|
391
|
+
[0], 1
|
|
392
|
+
];
|
|
393
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
394
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
395
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
396
|
+
[_m],
|
|
397
|
+
[0], 1
|
|
398
|
+
];
|
|
399
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
400
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
401
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
402
|
+
[_m],
|
|
403
|
+
[0], 1
|
|
404
|
+
];
|
|
405
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
406
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
407
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
408
|
+
[_m],
|
|
409
|
+
[0], 1
|
|
410
|
+
];
|
|
411
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
412
|
+
const errorTypeRegistries = [
|
|
413
|
+
_s_registry,
|
|
414
|
+
n0_registry,
|
|
415
|
+
];
|
|
416
|
+
var CancelTaskInput$ = [3, n0, _CTI,
|
|
417
|
+
0,
|
|
418
|
+
[_tI],
|
|
419
|
+
[[0, 1]], 1
|
|
420
|
+
];
|
|
421
|
+
var CancelTaskOutput$ = [3, n0, _CTO,
|
|
422
|
+
0,
|
|
423
|
+
[_tI],
|
|
424
|
+
[0]
|
|
425
|
+
];
|
|
426
|
+
var Capacity$ = [3, n0, _C,
|
|
427
|
+
0,
|
|
428
|
+
[_n, _u, _t, _us, _a],
|
|
429
|
+
[0, 0, 1, 1, 1]
|
|
430
|
+
];
|
|
431
|
+
var CpuOptions$ = [3, n0, _CO,
|
|
432
|
+
0,
|
|
433
|
+
[_cC, _tPC],
|
|
434
|
+
[1, 1]
|
|
435
|
+
];
|
|
436
|
+
var CreateTaskInput$ = [3, n0, _CTIr,
|
|
437
|
+
0,
|
|
438
|
+
[_ta, _co, _d, _tag, _cT],
|
|
439
|
+
[64 | 0, () => Command$, 0, 128 | 0, [0, 4]], 2
|
|
440
|
+
];
|
|
441
|
+
var CreateTaskOutput$ = [3, n0, _CTOr,
|
|
442
|
+
0,
|
|
443
|
+
[_tI, _tA],
|
|
444
|
+
[0, 0]
|
|
445
|
+
];
|
|
446
|
+
var DescribeDeviceEc2Input$ = [3, n0, _DDEI,
|
|
447
|
+
0,
|
|
448
|
+
[_mDI, _iI],
|
|
449
|
+
[[0, 1], 64 | 0], 2
|
|
450
|
+
];
|
|
451
|
+
var DescribeDeviceEc2Output$ = [3, n0, _DDEO,
|
|
452
|
+
0,
|
|
453
|
+
[_i],
|
|
454
|
+
[() => InstanceSummaryList]
|
|
455
|
+
];
|
|
456
|
+
var DescribeDeviceInput$ = [3, n0, _DDI,
|
|
457
|
+
0,
|
|
458
|
+
[_mDI],
|
|
459
|
+
[[0, 1]], 1
|
|
460
|
+
];
|
|
461
|
+
var DescribeDeviceOutput$ = [3, n0, _DDO,
|
|
462
|
+
0,
|
|
463
|
+
[_lROA, _lUA, _tag, _mDI, _mDA, _dT, _aWJ, _dS, _pNI, _dC, _so],
|
|
464
|
+
[4, 4, 128 | 0, 0, 0, 0, 0, 0, () => PhysicalNetworkInterfaceList, () => CapacityList, () => SoftwareInformation$]
|
|
465
|
+
];
|
|
466
|
+
var DescribeExecutionInput$ = [3, n0, _DEI,
|
|
467
|
+
0,
|
|
468
|
+
[_tI, _mDI],
|
|
469
|
+
[[0, 1], [0, 1]], 2
|
|
470
|
+
];
|
|
471
|
+
var DescribeExecutionOutput$ = [3, n0, _DEO,
|
|
472
|
+
0,
|
|
473
|
+
[_tI, _eI, _mDI, _st, _sA, _lUA],
|
|
474
|
+
[0, 0, 0, 0, 4, 4]
|
|
475
|
+
];
|
|
476
|
+
var DescribeTaskInput$ = [3, n0, _DTI,
|
|
477
|
+
0,
|
|
478
|
+
[_tI],
|
|
479
|
+
[[0, 1]], 1
|
|
480
|
+
];
|
|
481
|
+
var DescribeTaskOutput$ = [3, n0, _DTO,
|
|
482
|
+
0,
|
|
483
|
+
[_tI, _tA, _ta, _st, _cA, _lUA, _cAo, _d, _tag],
|
|
484
|
+
[0, 0, 64 | 0, 0, 4, 4, 4, 0, 128 | 0]
|
|
485
|
+
];
|
|
486
|
+
var DeviceSummary$ = [3, n0, _DS,
|
|
487
|
+
0,
|
|
488
|
+
[_mDI, _mDA, _aWJ, _tag],
|
|
489
|
+
[0, 0, 0, 128 | 0]
|
|
490
|
+
];
|
|
491
|
+
var EbsInstanceBlockDevice$ = [3, n0, _EIBD,
|
|
492
|
+
0,
|
|
493
|
+
[_aT, _dOT, _sta, _vI],
|
|
494
|
+
[4, 2, 0, 0]
|
|
495
|
+
];
|
|
496
|
+
var ExecutionSummary$ = [3, n0, _ES,
|
|
497
|
+
0,
|
|
498
|
+
[_tI, _eI, _mDI, _st],
|
|
499
|
+
[0, 0, 0, 0]
|
|
500
|
+
];
|
|
501
|
+
var Instance$ = [3, n0, _I,
|
|
502
|
+
0,
|
|
503
|
+
[_iIm, _aLI, _iIn, _st, _iT, _pIA, _pIAu, _cA, _uA, _bDM, _sG, _cO, _rDN],
|
|
504
|
+
[0, 1, 0, () => InstanceState$, 0, 0, 0, 4, 4, () => InstanceBlockDeviceMappingList, () => SecurityGroupIdentifierList, () => CpuOptions$, 0]
|
|
505
|
+
];
|
|
506
|
+
var InstanceBlockDeviceMapping$ = [3, n0, _IBDM,
|
|
507
|
+
0,
|
|
508
|
+
[_dN, _eb],
|
|
509
|
+
[0, () => EbsInstanceBlockDevice$]
|
|
510
|
+
];
|
|
511
|
+
var InstanceState$ = [3, n0, _IS,
|
|
512
|
+
0,
|
|
513
|
+
[_cod, _n],
|
|
514
|
+
[1, 0]
|
|
515
|
+
];
|
|
516
|
+
var InstanceSummary$ = [3, n0, _ISn,
|
|
517
|
+
0,
|
|
518
|
+
[_in, _lUA],
|
|
519
|
+
[() => Instance$, 4]
|
|
520
|
+
];
|
|
521
|
+
var ListDeviceResourcesInput$ = [3, n0, _LDRI,
|
|
522
|
+
0,
|
|
523
|
+
[_mDI, _ty, _mR, _nT],
|
|
524
|
+
[[0, 1], [0, { [_hQ]: _ty }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
525
|
+
];
|
|
526
|
+
var ListDeviceResourcesOutput$ = [3, n0, _LDRO,
|
|
527
|
+
0,
|
|
528
|
+
[_r, _nT],
|
|
529
|
+
[() => ResourceSummaryList, 0]
|
|
530
|
+
];
|
|
531
|
+
var ListDevicesInput$ = [3, n0, _LDI,
|
|
532
|
+
0,
|
|
533
|
+
[_jI, _mR, _nT],
|
|
534
|
+
[[0, { [_hQ]: _jI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
535
|
+
];
|
|
536
|
+
var ListDevicesOutput$ = [3, n0, _LDO,
|
|
537
|
+
0,
|
|
538
|
+
[_de, _nT],
|
|
539
|
+
[() => DeviceSummaryList, 0]
|
|
540
|
+
];
|
|
541
|
+
var ListExecutionsInput$ = [3, n0, _LEI,
|
|
542
|
+
0,
|
|
543
|
+
[_tI, _st, _mR, _nT],
|
|
544
|
+
[[0, { [_hQ]: _tI }], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
|
|
545
|
+
];
|
|
546
|
+
var ListExecutionsOutput$ = [3, n0, _LEO,
|
|
547
|
+
0,
|
|
548
|
+
[_ex, _nT],
|
|
549
|
+
[() => ExecutionSummaryList, 0]
|
|
550
|
+
];
|
|
551
|
+
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
552
|
+
0,
|
|
553
|
+
[_rA],
|
|
554
|
+
[[0, 1]], 1
|
|
555
|
+
];
|
|
556
|
+
var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
557
|
+
0,
|
|
558
|
+
[_tag],
|
|
559
|
+
[128 | 0]
|
|
560
|
+
];
|
|
561
|
+
var ListTasksInput$ = [3, n0, _LTI,
|
|
562
|
+
0,
|
|
563
|
+
[_st, _mR, _nT],
|
|
564
|
+
[[0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
565
|
+
];
|
|
566
|
+
var ListTasksOutput$ = [3, n0, _LTO,
|
|
567
|
+
0,
|
|
568
|
+
[_tas, _nT],
|
|
569
|
+
[() => TaskSummaryList, 0]
|
|
570
|
+
];
|
|
571
|
+
var PhysicalNetworkInterface$ = [3, n0, _PNI,
|
|
572
|
+
0,
|
|
573
|
+
[_pNII, _pCT, _iAA, _iA, _ne, _dG, _mA],
|
|
574
|
+
[0, 0, 0, 0, 0, 0, 0]
|
|
575
|
+
];
|
|
576
|
+
var Reboot$ = [3, n0, _R,
|
|
577
|
+
0,
|
|
578
|
+
[],
|
|
579
|
+
[]
|
|
580
|
+
];
|
|
581
|
+
var ResourceSummary$ = [3, n0, _RS,
|
|
582
|
+
0,
|
|
583
|
+
[_rT, _ar, _id],
|
|
584
|
+
[0, 0, 0], 1
|
|
585
|
+
];
|
|
586
|
+
var SecurityGroupIdentifier$ = [3, n0, _SGI,
|
|
587
|
+
0,
|
|
588
|
+
[_gI, _gN],
|
|
589
|
+
[0, 0]
|
|
590
|
+
];
|
|
591
|
+
var SoftwareInformation$ = [3, n0, _SI,
|
|
592
|
+
0,
|
|
593
|
+
[_iV, _iVn, _iS],
|
|
594
|
+
[0, 0, 0]
|
|
595
|
+
];
|
|
596
|
+
var TagResourceInput$ = [3, n0, _TRI,
|
|
597
|
+
0,
|
|
598
|
+
[_rA, _tag],
|
|
599
|
+
[[0, 1], 128 | 0], 2
|
|
600
|
+
];
|
|
601
|
+
var TaskSummary$ = [3, n0, _TS,
|
|
602
|
+
0,
|
|
603
|
+
[_tI, _tA, _st, _tag],
|
|
604
|
+
[0, 0, 0, 128 | 0], 1
|
|
605
|
+
];
|
|
606
|
+
var Unlock$ = [3, n0, _U,
|
|
607
|
+
0,
|
|
608
|
+
[],
|
|
609
|
+
[]
|
|
610
|
+
];
|
|
611
|
+
var UntagResourceInput$ = [3, n0, _URI,
|
|
612
|
+
0,
|
|
613
|
+
[_rA, _tK],
|
|
614
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
615
|
+
];
|
|
616
|
+
var __Unit = "unit";
|
|
617
|
+
var CapacityList = [1, n0, _CL,
|
|
618
|
+
0, () => Capacity$
|
|
619
|
+
];
|
|
620
|
+
var DeviceSummaryList = [1, n0, _DSL,
|
|
621
|
+
0, () => DeviceSummary$
|
|
622
|
+
];
|
|
623
|
+
var ExecutionSummaryList = [1, n0, _ESL,
|
|
624
|
+
0, () => ExecutionSummary$
|
|
625
|
+
];
|
|
626
|
+
var InstanceBlockDeviceMappingList = [1, n0, _IBDML,
|
|
627
|
+
0, () => InstanceBlockDeviceMapping$
|
|
628
|
+
];
|
|
629
|
+
var InstanceSummaryList = [1, n0, _ISL,
|
|
630
|
+
0, () => InstanceSummary$
|
|
631
|
+
];
|
|
632
|
+
var PhysicalNetworkInterfaceList = [1, n0, _PNIL,
|
|
633
|
+
0, () => PhysicalNetworkInterface$
|
|
634
|
+
];
|
|
635
|
+
var ResourceSummaryList = [1, n0, _RSL,
|
|
636
|
+
0, () => ResourceSummary$
|
|
637
|
+
];
|
|
638
|
+
var SecurityGroupIdentifierList = [1, n0, _SGIL,
|
|
639
|
+
0, () => SecurityGroupIdentifier$
|
|
640
|
+
];
|
|
641
|
+
var TaskSummaryList = [1, n0, _TSL,
|
|
642
|
+
0, () => TaskSummary$
|
|
643
|
+
];
|
|
644
|
+
var Command$ = [4, n0, _Co,
|
|
645
|
+
0,
|
|
646
|
+
[_un, _re],
|
|
647
|
+
[() => Unlock$, () => Reboot$]
|
|
648
|
+
];
|
|
649
|
+
var CancelTask$ = [9, n0, _CT,
|
|
650
|
+
{ [_h]: ["POST", "/task/{taskId}/cancel", 200] }, () => CancelTaskInput$, () => CancelTaskOutput$
|
|
651
|
+
];
|
|
652
|
+
var CreateTask$ = [9, n0, _CTr,
|
|
653
|
+
{ [_h]: ["POST", "/task", 200] }, () => CreateTaskInput$, () => CreateTaskOutput$
|
|
654
|
+
];
|
|
655
|
+
var DescribeDevice$ = [9, n0, _DD,
|
|
656
|
+
{ [_h]: ["POST", "/managed-device/{managedDeviceId}/describe", 200] }, () => DescribeDeviceInput$, () => DescribeDeviceOutput$
|
|
657
|
+
];
|
|
658
|
+
var DescribeDeviceEc2Instances$ = [9, n0, _DDEIe,
|
|
659
|
+
{ [_h]: ["POST", "/managed-device/{managedDeviceId}/resources/ec2/describe", 200] }, () => DescribeDeviceEc2Input$, () => DescribeDeviceEc2Output$
|
|
660
|
+
];
|
|
661
|
+
var DescribeExecution$ = [9, n0, _DE,
|
|
662
|
+
{ [_h]: ["POST", "/task/{taskId}/execution/{managedDeviceId}", 200] }, () => DescribeExecutionInput$, () => DescribeExecutionOutput$
|
|
663
|
+
];
|
|
664
|
+
var DescribeTask$ = [9, n0, _DT,
|
|
665
|
+
{ [_h]: ["POST", "/task/{taskId}", 200] }, () => DescribeTaskInput$, () => DescribeTaskOutput$
|
|
666
|
+
];
|
|
667
|
+
var ListDeviceResources$ = [9, n0, _LDR,
|
|
668
|
+
{ [_h]: ["GET", "/managed-device/{managedDeviceId}/resources", 200] }, () => ListDeviceResourcesInput$, () => ListDeviceResourcesOutput$
|
|
669
|
+
];
|
|
670
|
+
var ListDevices$ = [9, n0, _LD,
|
|
671
|
+
{ [_h]: ["GET", "/managed-devices", 200] }, () => ListDevicesInput$, () => ListDevicesOutput$
|
|
672
|
+
];
|
|
673
|
+
var ListExecutions$ = [9, n0, _LE,
|
|
674
|
+
{ [_h]: ["GET", "/executions", 200] }, () => ListExecutionsInput$, () => ListExecutionsOutput$
|
|
675
|
+
];
|
|
676
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
677
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
678
|
+
];
|
|
679
|
+
var ListTasks$ = [9, n0, _LT,
|
|
680
|
+
{ [_h]: ["GET", "/tasks", 200] }, () => ListTasksInput$, () => ListTasksOutput$
|
|
681
|
+
];
|
|
682
|
+
var TagResource$ = [9, n0, _TR,
|
|
683
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => __Unit
|
|
684
|
+
];
|
|
685
|
+
var UntagResource$ = [9, n0, _UR,
|
|
686
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => __Unit
|
|
687
|
+
];
|
|
688
|
+
|
|
689
|
+
const getRuntimeConfig$1 = (config) => {
|
|
690
|
+
return {
|
|
691
|
+
apiVersion: "2021-08-04",
|
|
692
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
693
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
694
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
695
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
696
|
+
extensions: config?.extensions ?? [],
|
|
697
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSnowDeviceManagementHttpAuthSchemeProvider,
|
|
698
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
699
|
+
{
|
|
700
|
+
schemeId: "aws.auth#sigv4",
|
|
701
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
702
|
+
signer: new AwsSdkSigV4Signer(),
|
|
703
|
+
},
|
|
704
|
+
],
|
|
705
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
706
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
707
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
708
|
+
defaultNamespace: "com.amazonaws.snowdevicemanagement",
|
|
709
|
+
errorTypeRegistries,
|
|
710
|
+
version: "2021-08-04",
|
|
711
|
+
serviceTarget: "SnowDeviceManagement",
|
|
712
|
+
},
|
|
713
|
+
serviceId: config?.serviceId ?? "Snow Device Management",
|
|
714
|
+
sha256: config?.sha256 ?? Sha256,
|
|
715
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
716
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
717
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
const getRuntimeConfig = (config) => {
|
|
722
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
723
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
724
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
725
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
726
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
727
|
+
const loaderConfig = {
|
|
728
|
+
profile: config?.profile,
|
|
729
|
+
logger: clientSharedValues.logger,
|
|
730
|
+
};
|
|
731
|
+
return {
|
|
732
|
+
...clientSharedValues,
|
|
733
|
+
...config,
|
|
734
|
+
runtime: "node",
|
|
735
|
+
defaultsMode,
|
|
736
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
737
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
738
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
739
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
740
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
741
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
742
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
743
|
+
retryMode: config?.retryMode ??
|
|
744
|
+
loadConfig({
|
|
745
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
746
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
747
|
+
}, config),
|
|
748
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
749
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
750
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
751
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
|
|
34
755
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
756
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
757
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -345,28 +1066,97 @@ const TaskState = {
|
|
|
345
1066
|
IN_PROGRESS: "IN_PROGRESS",
|
|
346
1067
|
};
|
|
347
1068
|
|
|
1069
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1070
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
348
1071
|
exports.AttachmentStatus = AttachmentStatus;
|
|
1072
|
+
exports.CancelTask$ = CancelTask$;
|
|
349
1073
|
exports.CancelTaskCommand = CancelTaskCommand;
|
|
1074
|
+
exports.CancelTaskInput$ = CancelTaskInput$;
|
|
1075
|
+
exports.CancelTaskOutput$ = CancelTaskOutput$;
|
|
1076
|
+
exports.Capacity$ = Capacity$;
|
|
1077
|
+
exports.Command$ = Command$;
|
|
1078
|
+
exports.CpuOptions$ = CpuOptions$;
|
|
1079
|
+
exports.CreateTask$ = CreateTask$;
|
|
350
1080
|
exports.CreateTaskCommand = CreateTaskCommand;
|
|
1081
|
+
exports.CreateTaskInput$ = CreateTaskInput$;
|
|
1082
|
+
exports.CreateTaskOutput$ = CreateTaskOutput$;
|
|
1083
|
+
exports.DescribeDevice$ = DescribeDevice$;
|
|
351
1084
|
exports.DescribeDeviceCommand = DescribeDeviceCommand;
|
|
1085
|
+
exports.DescribeDeviceEc2Input$ = DescribeDeviceEc2Input$;
|
|
1086
|
+
exports.DescribeDeviceEc2Instances$ = DescribeDeviceEc2Instances$;
|
|
352
1087
|
exports.DescribeDeviceEc2InstancesCommand = DescribeDeviceEc2InstancesCommand;
|
|
1088
|
+
exports.DescribeDeviceEc2Output$ = DescribeDeviceEc2Output$;
|
|
1089
|
+
exports.DescribeDeviceInput$ = DescribeDeviceInput$;
|
|
1090
|
+
exports.DescribeDeviceOutput$ = DescribeDeviceOutput$;
|
|
1091
|
+
exports.DescribeExecution$ = DescribeExecution$;
|
|
353
1092
|
exports.DescribeExecutionCommand = DescribeExecutionCommand;
|
|
1093
|
+
exports.DescribeExecutionInput$ = DescribeExecutionInput$;
|
|
1094
|
+
exports.DescribeExecutionOutput$ = DescribeExecutionOutput$;
|
|
1095
|
+
exports.DescribeTask$ = DescribeTask$;
|
|
354
1096
|
exports.DescribeTaskCommand = DescribeTaskCommand;
|
|
1097
|
+
exports.DescribeTaskInput$ = DescribeTaskInput$;
|
|
1098
|
+
exports.DescribeTaskOutput$ = DescribeTaskOutput$;
|
|
1099
|
+
exports.DeviceSummary$ = DeviceSummary$;
|
|
1100
|
+
exports.EbsInstanceBlockDevice$ = EbsInstanceBlockDevice$;
|
|
355
1101
|
exports.ExecutionState = ExecutionState;
|
|
1102
|
+
exports.ExecutionSummary$ = ExecutionSummary$;
|
|
1103
|
+
exports.Instance$ = Instance$;
|
|
1104
|
+
exports.InstanceBlockDeviceMapping$ = InstanceBlockDeviceMapping$;
|
|
1105
|
+
exports.InstanceState$ = InstanceState$;
|
|
356
1106
|
exports.InstanceStateName = InstanceStateName;
|
|
1107
|
+
exports.InstanceSummary$ = InstanceSummary$;
|
|
1108
|
+
exports.InternalServerException = InternalServerException;
|
|
1109
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
357
1110
|
exports.IpAddressAssignment = IpAddressAssignment;
|
|
1111
|
+
exports.ListDeviceResources$ = ListDeviceResources$;
|
|
358
1112
|
exports.ListDeviceResourcesCommand = ListDeviceResourcesCommand;
|
|
1113
|
+
exports.ListDeviceResourcesInput$ = ListDeviceResourcesInput$;
|
|
1114
|
+
exports.ListDeviceResourcesOutput$ = ListDeviceResourcesOutput$;
|
|
1115
|
+
exports.ListDevices$ = ListDevices$;
|
|
359
1116
|
exports.ListDevicesCommand = ListDevicesCommand;
|
|
1117
|
+
exports.ListDevicesInput$ = ListDevicesInput$;
|
|
1118
|
+
exports.ListDevicesOutput$ = ListDevicesOutput$;
|
|
1119
|
+
exports.ListExecutions$ = ListExecutions$;
|
|
360
1120
|
exports.ListExecutionsCommand = ListExecutionsCommand;
|
|
1121
|
+
exports.ListExecutionsInput$ = ListExecutionsInput$;
|
|
1122
|
+
exports.ListExecutionsOutput$ = ListExecutionsOutput$;
|
|
1123
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
361
1124
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1125
|
+
exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
|
|
1126
|
+
exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
|
|
1127
|
+
exports.ListTasks$ = ListTasks$;
|
|
362
1128
|
exports.ListTasksCommand = ListTasksCommand;
|
|
1129
|
+
exports.ListTasksInput$ = ListTasksInput$;
|
|
1130
|
+
exports.ListTasksOutput$ = ListTasksOutput$;
|
|
363
1131
|
exports.PhysicalConnectorType = PhysicalConnectorType;
|
|
1132
|
+
exports.PhysicalNetworkInterface$ = PhysicalNetworkInterface$;
|
|
1133
|
+
exports.Reboot$ = Reboot$;
|
|
1134
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1135
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1136
|
+
exports.ResourceSummary$ = ResourceSummary$;
|
|
1137
|
+
exports.SecurityGroupIdentifier$ = SecurityGroupIdentifier$;
|
|
1138
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1139
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
364
1140
|
exports.SnowDeviceManagement = SnowDeviceManagement;
|
|
365
1141
|
exports.SnowDeviceManagementClient = SnowDeviceManagementClient;
|
|
1142
|
+
exports.SnowDeviceManagementServiceException = SnowDeviceManagementServiceException;
|
|
1143
|
+
exports.SnowDeviceManagementServiceException$ = SnowDeviceManagementServiceException$;
|
|
1144
|
+
exports.SoftwareInformation$ = SoftwareInformation$;
|
|
1145
|
+
exports.TagResource$ = TagResource$;
|
|
366
1146
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1147
|
+
exports.TagResourceInput$ = TagResourceInput$;
|
|
367
1148
|
exports.TaskState = TaskState;
|
|
1149
|
+
exports.TaskSummary$ = TaskSummary$;
|
|
1150
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1151
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1152
|
+
exports.Unlock$ = Unlock$;
|
|
368
1153
|
exports.UnlockState = UnlockState;
|
|
1154
|
+
exports.UntagResource$ = UntagResource$;
|
|
369
1155
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1156
|
+
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
1157
|
+
exports.ValidationException = ValidationException;
|
|
1158
|
+
exports.ValidationException$ = ValidationException$;
|
|
1159
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
370
1160
|
exports.paginateListDeviceResources = paginateListDeviceResources;
|
|
371
1161
|
exports.paginateListDevices = paginateListDevices;
|
|
372
1162
|
exports.paginateListExecutions = paginateListExecutions;
|