@aws-sdk/client-greengrassv2 3.1075.0 → 3.1076.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 CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
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 { resolveHttpAuthSchemeConfig, defaultGreengrassV2HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AssociateServiceRoleToAccount$, BatchAssociateClientDeviceWithCoreDevice$, BatchDisassociateClientDeviceFromCoreDevice$, CancelDeployment$, CreateComponentVersion$, CreateDeployment$, DeleteComponent$, DeleteCoreDevice$, DeleteDeployment$, DescribeComponent$, DisassociateServiceRoleFromAccount$, GetComponent$, GetComponentVersionArtifact$, GetConnectivityInfo$, GetCoreDevice$, GetDeployment$, GetServiceRoleForAccount$, ListClientDevicesAssociatedWithCoreDevice$, ListComponents$, ListComponentVersions$, ListCoreDevices$, ListDeployments$, ListEffectiveDeployments$, ListInstalledComponents$, ListTagsForResource$, ResolveComponentCandidates$, TagResource$, UntagResource$, UpdateConnectivityInfo$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { GreengrassV2ServiceException } = require("./models/GreengrassV2ServiceException");
18
- exports.GreengrassV2ServiceException = GreengrassV2ServiceException;
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, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultGreengrassV2HttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "greengrass",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultGreengrassV2HttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1300 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const q = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = "us-gov-east-1", i = "us-gov-west-1", j = "sigv4", k = "greengrass", l = { [q]: "Endpoint" }, m = { [q]: d }, n = { [q]: "Region" }, o = {}, p = [n];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [l]],
79
+ [c, p],
80
+ ["aws.partition", p, d],
81
+ [e, [{ [q]: "UseFIPS" }, b]],
82
+ [e, [{ [q]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [m, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [m, "supportsFIPS"] }, b]],
85
+ [g, [n, h]],
86
+ [g, [n, i]],
87
+ [g, [n, "dataplane-us-gov-east-1"]],
88
+ [g, [n, "dataplane-us-gov-west-1"]]
89
+ ],
90
+ results: [
91
+ [a],
92
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
93
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
94
+ [l, o],
95
+ ["https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
96
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
97
+ ["https://greengrass.us-gov-east-1.amazonaws.com", o],
98
+ ["https://greengrass.us-gov-west-1.amazonaws.com", o],
99
+ ["https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}", o],
100
+ [a, "FIPS is enabled but this partition does not support FIPS"],
101
+ ["https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
102
+ [a, "DualStack is enabled but this partition does not support DualStack"],
103
+ ["https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", { authSchemes: [{ name: j, signingName: k, signingRegion: h }] }],
104
+ ["https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", { authSchemes: [{ name: j, signingName: k, signingRegion: i }] }],
105
+ ["https://greengrass.{Region}.{PartitionResult#dnsSuffix}", o],
106
+ [a, "Invalid Configuration: Missing Region"]
107
+ ]
108
+ };
109
+ const root = 2;
110
+ const r = 100_000_000;
111
+ const nodes = new Int32Array([
112
+ -1, 1, -1,
113
+ 0, 16, 3,
114
+ 1, 4, r + 15,
115
+ 2, 5, r + 15,
116
+ 3, 10, 6,
117
+ 4, 9, 7,
118
+ 9, r + 12, 8,
119
+ 10, r + 13, r + 14,
120
+ 5, r + 10, r + 11,
121
+ 4, 14, 11,
122
+ 6, 12, r + 9,
123
+ 7, r + 6, 13,
124
+ 8, r + 7, r + 8,
125
+ 5, 15, r + 5,
126
+ 6, r + 4, r + 5,
127
+ 3, r + 1, 17,
128
+ 4, r + 2, r + 3,
129
+ ]);
130
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
131
+
132
+ const cache = new EndpointCache({
133
+ size: 50,
134
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
135
+ });
136
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
137
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
138
+ endpointParams: endpointParams,
139
+ logger: context.logger,
140
+ }));
141
+ };
142
+ customEndpointFunctions.aws = awsEndpointFunctions;
143
+
144
+ class GreengrassV2ServiceException extends ServiceException {
145
+ constructor(options) {
146
+ super(options);
147
+ Object.setPrototypeOf(this, GreengrassV2ServiceException.prototype);
148
+ }
149
+ }
150
+
151
+ class AccessDeniedException extends GreengrassV2ServiceException {
152
+ name = "AccessDeniedException";
153
+ $fault = "client";
154
+ constructor(opts) {
155
+ super({
156
+ name: "AccessDeniedException",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
161
+ }
162
+ }
163
+ class InternalServerException extends GreengrassV2ServiceException {
164
+ name = "InternalServerException";
165
+ $fault = "server";
166
+ retryAfterSeconds;
167
+ constructor(opts) {
168
+ super({
169
+ name: "InternalServerException",
170
+ $fault: "server",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, InternalServerException.prototype);
174
+ this.retryAfterSeconds = opts.retryAfterSeconds;
175
+ }
176
+ }
177
+ class ValidationException extends GreengrassV2ServiceException {
178
+ name = "ValidationException";
179
+ $fault = "client";
180
+ reason;
181
+ fields;
182
+ constructor(opts) {
183
+ super({
184
+ name: "ValidationException",
185
+ $fault: "client",
186
+ ...opts,
187
+ });
188
+ Object.setPrototypeOf(this, ValidationException.prototype);
189
+ this.reason = opts.reason;
190
+ this.fields = opts.fields;
191
+ }
192
+ }
193
+ class ResourceNotFoundException extends GreengrassV2ServiceException {
194
+ name = "ResourceNotFoundException";
195
+ $fault = "client";
196
+ resourceId;
197
+ resourceType;
198
+ constructor(opts) {
199
+ super({
200
+ name: "ResourceNotFoundException",
201
+ $fault: "client",
202
+ ...opts,
203
+ });
204
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
205
+ this.resourceId = opts.resourceId;
206
+ this.resourceType = opts.resourceType;
207
+ }
208
+ }
209
+ class ThrottlingException extends GreengrassV2ServiceException {
210
+ name = "ThrottlingException";
211
+ $fault = "client";
212
+ quotaCode;
213
+ serviceCode;
214
+ retryAfterSeconds;
215
+ constructor(opts) {
216
+ super({
217
+ name: "ThrottlingException",
218
+ $fault: "client",
219
+ ...opts,
220
+ });
221
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
222
+ this.quotaCode = opts.quotaCode;
223
+ this.serviceCode = opts.serviceCode;
224
+ this.retryAfterSeconds = opts.retryAfterSeconds;
225
+ }
226
+ }
227
+ class ConflictException extends GreengrassV2ServiceException {
228
+ name = "ConflictException";
229
+ $fault = "client";
230
+ resourceId;
231
+ resourceType;
232
+ constructor(opts) {
233
+ super({
234
+ name: "ConflictException",
235
+ $fault: "client",
236
+ ...opts,
237
+ });
238
+ Object.setPrototypeOf(this, ConflictException.prototype);
239
+ this.resourceId = opts.resourceId;
240
+ this.resourceType = opts.resourceType;
241
+ }
242
+ }
243
+ class RequestAlreadyInProgressException extends GreengrassV2ServiceException {
244
+ name = "RequestAlreadyInProgressException";
245
+ $fault = "client";
246
+ constructor(opts) {
247
+ super({
248
+ name: "RequestAlreadyInProgressException",
249
+ $fault: "client",
250
+ ...opts,
251
+ });
252
+ Object.setPrototypeOf(this, RequestAlreadyInProgressException.prototype);
253
+ }
254
+ }
255
+ class ServiceQuotaExceededException extends GreengrassV2ServiceException {
256
+ name = "ServiceQuotaExceededException";
257
+ $fault = "client";
258
+ resourceId;
259
+ resourceType;
260
+ quotaCode;
261
+ serviceCode;
262
+ constructor(opts) {
263
+ super({
264
+ name: "ServiceQuotaExceededException",
265
+ $fault: "client",
266
+ ...opts,
267
+ });
268
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
269
+ this.resourceId = opts.resourceId;
270
+ this.resourceType = opts.resourceType;
271
+ this.quotaCode = opts.quotaCode;
272
+ this.serviceCode = opts.serviceCode;
273
+ }
274
+ }
275
+
276
+ const _AA = "AssociatedAt";
277
+ const _ACD = "AssociatedClientDevice";
278
+ const _ACDL = "AssociatedClientDeviceList";
279
+ const _ACDWCDE = "AssociateClientDeviceWithCoreDeviceEntry";
280
+ const _ACDWCDEE = "AssociateClientDeviceWithCoreDeviceErrorEntry";
281
+ const _ACDWCDEL = "AssociateClientDeviceWithCoreDeviceEntryList";
282
+ const _ACDWCDELs = "AssociateClientDeviceWithCoreDeviceErrorList";
283
+ const _ADE = "AccessDeniedException";
284
+ const _ASRTA = "AssociateServiceRoleToAccount";
285
+ const _ASRTAR = "AssociateServiceRoleToAccountRequest";
286
+ const _ASRTARs = "AssociateServiceRoleToAccountResponse";
287
+ const _BACDWCD = "BatchAssociateClientDeviceWithCoreDevice";
288
+ const _BACDWCDR = "BatchAssociateClientDeviceWithCoreDeviceRequest";
289
+ const _BACDWCDRa = "BatchAssociateClientDeviceWithCoreDeviceResponse";
290
+ const _BDCDFCD = "BatchDisassociateClientDeviceFromCoreDevice";
291
+ const _BDCDFCDR = "BatchDisassociateClientDeviceFromCoreDeviceRequest";
292
+ const _BDCDFCDRa = "BatchDisassociateClientDeviceFromCoreDeviceResponse";
293
+ const _C = "Component";
294
+ const _CC = "ComponentCandidate";
295
+ const _CCL = "ComponentCandidateList";
296
+ const _CCS = "CloudComponentStatus";
297
+ const _CCU = "ComponentConfigurationUpdate";
298
+ const _CCV = "CreateComponentVersion";
299
+ const _CCVR = "CreateComponentVersionRequest";
300
+ const _CCVRr = "CreateComponentVersionResponse";
301
+ const _CD = "CoreDevice";
302
+ const _CDL = "CoreDevicesList";
303
+ const _CDM = "ComponentDependencyMap";
304
+ const _CDR = "CancelDeploymentRequest";
305
+ const _CDRa = "CancelDeploymentResponse";
306
+ const _CDRo = "ComponentDependencyRequirement";
307
+ const _CDRr = "CreateDeploymentRequest";
308
+ const _CDRre = "CreateDeploymentResponse";
309
+ const _CDS = "ComponentDeploymentSpecification";
310
+ const _CDSo = "ComponentDeploymentSpecifications";
311
+ const _CDa = "CancelDeployment";
312
+ const _CDr = "CreateDeployment";
313
+ const _CE = "ConflictException";
314
+ const _CI = "ConnectivityInfo";
315
+ const _CL = "ComponentList";
316
+ const _CLV = "ComponentLatestVersion";
317
+ const _CP = "ComponentPlatform";
318
+ const _CPL = "ComponentPlatformList";
319
+ const _CRW = "ComponentRunWith";
320
+ const _CVL = "ComponentVersionList";
321
+ const _CVLI = "ComponentVersionListItem";
322
+ const _D = "Deployment";
323
+ const _DA = "DisassociatedAt";
324
+ const _DC = "DeleteComponent";
325
+ const _DCD = "DeleteCoreDevice";
326
+ const _DCDFCDE = "DisassociateClientDeviceFromCoreDeviceEntry";
327
+ const _DCDFCDEE = "DisassociateClientDeviceFromCoreDeviceErrorEntry";
328
+ const _DCDFCDEL = "DisassociateClientDeviceFromCoreDeviceEntryList";
329
+ const _DCDFCDELi = "DisassociateClientDeviceFromCoreDeviceErrorList";
330
+ const _DCDR = "DeleteCoreDeviceRequest";
331
+ const _DCR = "DeleteComponentRequest";
332
+ const _DCRe = "DescribeComponentRequest";
333
+ const _DCRes = "DescribeComponentResponse";
334
+ const _DCUP = "DeploymentComponentUpdatePolicy";
335
+ const _DCVP = "DeploymentConfigurationValidationPolicy";
336
+ const _DCe = "DescribeComponent";
337
+ const _DD = "DeleteDeployment";
338
+ const _DDR = "DeleteDeploymentRequest";
339
+ const _DITJC = "DeploymentIoTJobConfiguration";
340
+ const _DL = "DeploymentList";
341
+ const _DP = "DeploymentPolicies";
342
+ const _DSRFA = "DisassociateServiceRoleFromAccount";
343
+ const _DSRFAR = "DisassociateServiceRoleFromAccountRequest";
344
+ const _DSRFARi = "DisassociateServiceRoleFromAccountResponse";
345
+ const _ED = "EffectiveDeployment";
346
+ const _EDL = "EffectiveDeploymentsList";
347
+ const _EDSD = "EffectiveDeploymentStatusDetails";
348
+ const _GC = "GetComponent";
349
+ const _GCD = "GetCoreDevice";
350
+ const _GCDR = "GetCoreDeviceRequest";
351
+ const _GCDRe = "GetCoreDeviceResponse";
352
+ const _GCI = "GetConnectivityInfo";
353
+ const _GCIR = "GetConnectivityInfoRequest";
354
+ const _GCIRe = "GetConnectivityInfoResponse";
355
+ const _GCR = "GetComponentRequest";
356
+ const _GCRe = "GetComponentResponse";
357
+ const _GCVA = "GetComponentVersionArtifact";
358
+ const _GCVAR = "GetComponentVersionArtifactRequest";
359
+ const _GCVARe = "GetComponentVersionArtifactResponse";
360
+ const _GD = "GetDeployment";
361
+ const _GDR = "GetDeploymentRequest";
362
+ const _GDRe = "GetDeploymentResponse";
363
+ const _GSRFA = "GetServiceRoleForAccount";
364
+ const _GSRFAR = "GetServiceRoleForAccountRequest";
365
+ const _GSRFARe = "GetServiceRoleForAccountResponse";
366
+ const _HA = "HostAddress";
367
+ const _I = "Id";
368
+ const _IC = "InstalledComponent";
369
+ const _ICL = "InstalledComponentList";
370
+ const _ISE = "InternalServerException";
371
+ const _ITJAC = "IoTJobAbortConfig";
372
+ const _ITJACL = "IoTJobAbortCriteriaList";
373
+ const _ITJACo = "IoTJobAbortCriteria";
374
+ const _ITJERC = "IoTJobExecutionsRolloutConfig";
375
+ const _ITJERR = "IoTJobExponentialRolloutRate";
376
+ const _ITJRIC = "IoTJobRateIncreaseCriteria";
377
+ const _ITJTC = "IoTJobTimeoutConfig";
378
+ const _LC = "ListComponents";
379
+ const _LCD = "ListCoreDevices";
380
+ const _LCDAWCD = "ListClientDevicesAssociatedWithCoreDevice";
381
+ const _LCDAWCDR = "ListClientDevicesAssociatedWithCoreDeviceRequest";
382
+ const _LCDAWCDRi = "ListClientDevicesAssociatedWithCoreDeviceResponse";
383
+ const _LCDR = "ListCoreDevicesRequest";
384
+ const _LCDRi = "ListCoreDevicesResponse";
385
+ const _LCP = "LambdaContainerParams";
386
+ const _LCR = "ListComponentsRequest";
387
+ const _LCRi = "ListComponentsResponse";
388
+ const _LCV = "ListComponentVersions";
389
+ const _LCVR = "ListComponentVersionsRequest";
390
+ const _LCVRi = "ListComponentVersionsResponse";
391
+ const _LD = "ListDeployments";
392
+ const _LDL = "LambdaDeviceList";
393
+ const _LDM = "LambdaDeviceMount";
394
+ const _LDR = "ListDeploymentsRequest";
395
+ const _LDRi = "ListDeploymentsResponse";
396
+ const _LED = "ListEffectiveDeployments";
397
+ const _LEDR = "ListEffectiveDeploymentsRequest";
398
+ const _LEDRi = "ListEffectiveDeploymentsResponse";
399
+ const _LEP = "LambdaExecutionParameters";
400
+ const _LES = "LambdaEventSource";
401
+ const _LESL = "LambdaEventSourceList";
402
+ const _LFRS = "LambdaFunctionRecipeSource";
403
+ const _LIC = "ListInstalledComponents";
404
+ const _LICR = "ListInstalledComponentsRequest";
405
+ const _LICRi = "ListInstalledComponentsResponse";
406
+ const _LLPP = "LambdaLinuxProcessParams";
407
+ const _LTFR = "ListTagsForResource";
408
+ const _LTFRR = "ListTagsForResourceRequest";
409
+ const _LTFRRi = "ListTagsForResourceResponse";
410
+ const _LVL = "LambdaVolumeList";
411
+ const _LVM = "LambdaVolumeMount";
412
+ const _M = "Metadata";
413
+ const _Me = "Message";
414
+ const _PN = "PortNumber";
415
+ const _RA = "Retry-After";
416
+ const _RAIPE = "RequestAlreadyInProgressException";
417
+ const _RAo = "RoleArn";
418
+ const _RCC = "ResolveComponentCandidates";
419
+ const _RCCR = "ResolveComponentCandidatesRequest";
420
+ const _RCCRe = "ResolveComponentCandidatesResponse";
421
+ const _RCV = "ResolvedComponentVersion";
422
+ const _RCVL = "ResolvedComponentVersionsList";
423
+ const _RNFE = "ResourceNotFoundException";
424
+ const _SQEE = "ServiceQuotaExceededException";
425
+ const _SRL = "SystemResourceLimits";
426
+ const _TE = "ThrottlingException";
427
+ const _TN = "ThingName";
428
+ const _TR = "TagResource";
429
+ const _TRR = "TagResourceRequest";
430
+ const _TRRa = "TagResourceResponse";
431
+ const _UCI = "UpdateConnectivityInfo";
432
+ const _UCIR = "UpdateConnectivityInfoRequest";
433
+ const _UCIRp = "UpdateConnectivityInfoResponse";
434
+ const _UR = "UntagResource";
435
+ const _URR = "UntagResourceRequest";
436
+ const _URRn = "UntagResourceResponse";
437
+ const _V = "Version";
438
+ const _VE = "ValidationException";
439
+ const _VEF = "ValidationExceptionField";
440
+ const _VEFL = "ValidationExceptionFieldList";
441
+ const _a = "arn";
442
+ const _aA = "associatedAt";
443
+ const _aC = "abortConfig";
444
+ const _aCD = "associatedClientDevices";
445
+ const _aGO = "addGroupOwner";
446
+ const _aN = "artifactName";
447
+ const _aT = "associationTimestamp";
448
+ const _ac = "action";
449
+ const _ar = "architecture";
450
+ const _at = "attributes";
451
+ const _bRPM = "baseRatePerMinute";
452
+ const _c = "client";
453
+ const _cC = "componentCandidates";
454
+ const _cD = "componentDependencies";
455
+ const _cDES = "coreDeviceExecutionStatus";
456
+ const _cDTN = "coreDeviceThingName";
457
+ const _cDo = "coreDevices";
458
+ const _cI = "connectivityInfo";
459
+ const _cIL = "connectivityInfoList";
460
+ const _cL = "criteriaList";
461
+ const _cLP = "componentLambdaParameters";
462
+ const _cN = "componentName";
463
+ const _cP = "componentPlatforms";
464
+ const _cPo = "containerParams";
465
+ const _cS = "componentState";
466
+ const _cT = "creationTimestamp";
467
+ const _cTl = "clientToken";
468
+ const _cU = "configurationUpdate";
469
+ const _cUP = "componentUpdatePolicy";
470
+ const _cV = "componentVersion";
471
+ const _cVP = "configurationValidationPolicy";
472
+ const _cVo = "coreVersion";
473
+ const _cVom = "componentVersions";
474
+ const _co = "code";
475
+ const _com = "components";
476
+ const _cp = "cpus";
477
+ const _d = "description";
478
+ const _dA = "disassociatedAt";
479
+ const _dI = "deploymentId";
480
+ const _dN = "deploymentName";
481
+ const _dP = "deploymentPolicies";
482
+ const _dPe = "destinationPath";
483
+ const _dS = "deploymentStatus";
484
+ const _dT = "dependencyType";
485
+ const _de = "devices";
486
+ const _dep = "deployments";
487
+ const _e = "error";
488
+ const _eA = "execArgs";
489
+ const _eD = "effectiveDeployments";
490
+ const _eE = "errorEntries";
491
+ const _eR = "exponentialRate";
492
+ const _eS = "errorStack";
493
+ const _eSv = "eventSources";
494
+ const _eT = "errorTypes";
495
+ const _eV = "environmentVariables";
496
+ const _en = "entries";
497
+ const _er = "errors";
498
+ const _f = "fields";
499
+ const _fHP = "failureHandlingPolicy";
500
+ const _fT = "failureType";
501
+ const _h = "http";
502
+ const _hA = "hostAddress";
503
+ const _hE = "httpError";
504
+ const _hF = "historyFilter";
505
+ const _hH = "httpHeader";
506
+ const _hL = "httpLabel";
507
+ const _hQ = "httpQuery";
508
+ const _i = "id";
509
+ const _iC = "installedComponents";
510
+ const _iET = "iotEndpointType";
511
+ const _iF = "incrementFactor";
512
+ const _iJA = "iotJobArn";
513
+ const _iJC = "iotJobConfiguration";
514
+ const _iJI = "iotJobId";
515
+ const _iLFT = "isLatestForTarget";
516
+ const _iM = "isolationMode";
517
+ const _iPET = "inputPayloadEncodingType";
518
+ const _iPTIM = "inProgressTimeoutInMinutes";
519
+ const _iR = "inlineRecipe";
520
+ const _iRs = "isRoot";
521
+ const _jERC = "jobExecutionsRolloutConfig";
522
+ const _jN = "jsonName";
523
+ const _lA = "lambdaArn";
524
+ const _lF = "lambdaFunction";
525
+ const _lIS = "lastInstallationSource";
526
+ const _lPP = "linuxProcessParams";
527
+ const _lRT = "lastReportedTimestamp";
528
+ const _lS = "lifecycleState";
529
+ const _lSC = "lifecycleStatusCodes";
530
+ const _lSCT = "lastStatusChangeTimestamp";
531
+ const _lSD = "lifecycleStateDetails";
532
+ const _lSUT = "lastStatusUpdateTimestamp";
533
+ const _lV = "latestVersion";
534
+ const _m = "message";
535
+ const _mIC = "maxInstancesCount";
536
+ const _mITIS = "maxIdleTimeInSeconds";
537
+ const _mNOET = "minNumberOfExecutedThings";
538
+ const _mPM = "maximumPerMinute";
539
+ const _mQS = "maxQueueSize";
540
+ const _mR = "maxResults";
541
+ const _mROS = "mountROSysfs";
542
+ const _mSIKB = "memorySizeInKB";
543
+ const _mT = "modifiedTimestamp";
544
+ const _me = "merge";
545
+ const _mem = "memory";
546
+ const _met = "metadata";
547
+ const _n = "name";
548
+ const _nONT = "numberOfNotifiedThings";
549
+ const _nOST = "numberOfSucceededThings";
550
+ const _nT = "nextToken";
551
+ const _p = "publisher";
552
+ const _pN = "portNumber";
553
+ const _pSU = "preSignedUrl";
554
+ const _pTA = "parentTargetArn";
555
+ const _pU = "posixUser";
556
+ const _pa = "path";
557
+ const _pe = "permission";
558
+ const _pi = "pinned";
559
+ const _pl = "platforms";
560
+ const _pla = "platform";
561
+ const _qC = "quotaCode";
562
+ const _r = "reason";
563
+ const _rA = "roleArn";
564
+ const _rAS = "retryAfterSeconds";
565
+ const _rAe = "resourceArn";
566
+ const _rCV = "resolvedComponentVersions";
567
+ const _rI = "resourceId";
568
+ const _rIC = "rateIncreaseCriteria";
569
+ const _rIe = "revisionId";
570
+ const _rOF = "recipeOutputFormat";
571
+ const _rT = "resourceType";
572
+ const _rW = "runWith";
573
+ const _re = "reset";
574
+ const _rec = "recipe";
575
+ const _ru = "runtime";
576
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.greengrassv2";
577
+ const _sC = "serviceCode";
578
+ const _sD = "statusDetails";
579
+ const _sET = "s3EndpointType";
580
+ const _sP = "sourcePath";
581
+ const _sRL = "systemResourceLimits";
582
+ const _sTIS = "statusTimeoutInSeconds";
583
+ const _sc = "scope";
584
+ const _se = "server";
585
+ const _st = "status";
586
+ const _t = "tags";
587
+ const _tA = "targetArn";
588
+ const _tC = "timeoutConfig";
589
+ const _tF = "topologyFilter";
590
+ const _tGA = "thingGroupArn";
591
+ const _tIS = "timeoutInSeconds";
592
+ const _tK = "tagKeys";
593
+ const _tN = "thingName";
594
+ const _tP = "thresholdPercentage";
595
+ const _to = "topic";
596
+ const _ty = "type";
597
+ const _v = "volumes";
598
+ const _vG = "vendorGuidance";
599
+ const _vGM = "vendorGuidanceMessage";
600
+ const _vR = "versionRequirements";
601
+ const _vRe = "versionRequirement";
602
+ const _ve = "version";
603
+ const _wU = "windowsUser";
604
+ const _xaiet = "x-amz-iot-endpoint-type";
605
+ const n0 = "com.amazonaws.greengrassv2";
606
+ const _s_registry = TypeRegistry.for(_s);
607
+ var GreengrassV2ServiceException$ = [-3, _s, "GreengrassV2ServiceException", 0, [], []];
608
+ _s_registry.registerError(GreengrassV2ServiceException$, GreengrassV2ServiceException);
609
+ const n0_registry = TypeRegistry.for(n0);
610
+ var AccessDeniedException$ = [-3, n0, _ADE,
611
+ { [_e]: _c, [_hE]: 403 },
612
+ [_m],
613
+ [0], 1
614
+ ];
615
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
616
+ var ConflictException$ = [-3, n0, _CE,
617
+ { [_e]: _c, [_hE]: 409 },
618
+ [_m, _rI, _rT],
619
+ [0, 0, 0], 3
620
+ ];
621
+ n0_registry.registerError(ConflictException$, ConflictException);
622
+ var InternalServerException$ = [-3, n0, _ISE,
623
+ { [_e]: _se, [_hE]: 500 },
624
+ [_m, _rAS],
625
+ [0, [1, { [_hH]: _RA }]], 1
626
+ ];
627
+ n0_registry.registerError(InternalServerException$, InternalServerException);
628
+ var RequestAlreadyInProgressException$ = [-3, n0, _RAIPE,
629
+ { [_e]: _c, [_hE]: 400 },
630
+ [_m],
631
+ [0], 1
632
+ ];
633
+ n0_registry.registerError(RequestAlreadyInProgressException$, RequestAlreadyInProgressException);
634
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
635
+ { [_e]: _c, [_hE]: 404 },
636
+ [_m, _rI, _rT],
637
+ [0, 0, 0], 3
638
+ ];
639
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
640
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
641
+ { [_e]: _c, [_hE]: 402 },
642
+ [_m, _qC, _sC, _rI, _rT],
643
+ [0, 0, 0, 0, 0], 3
644
+ ];
645
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
646
+ var ThrottlingException$ = [-3, n0, _TE,
647
+ { [_e]: _c, [_hE]: 429 },
648
+ [_m, _qC, _sC, _rAS],
649
+ [0, 0, 0, [1, { [_hH]: _RA }]], 1
650
+ ];
651
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
652
+ var ValidationException$ = [-3, n0, _VE,
653
+ { [_e]: _c, [_hE]: 400 },
654
+ [_m, _r, _f],
655
+ [0, 0, () => ValidationExceptionFieldList], 1
656
+ ];
657
+ n0_registry.registerError(ValidationException$, ValidationException);
658
+ const errorTypeRegistries = [
659
+ _s_registry,
660
+ n0_registry,
661
+ ];
662
+ var AssociateClientDeviceWithCoreDeviceEntry$ = [3, n0, _ACDWCDE,
663
+ 0,
664
+ [_tN],
665
+ [0], 1
666
+ ];
667
+ var AssociateClientDeviceWithCoreDeviceErrorEntry$ = [3, n0, _ACDWCDEE,
668
+ 0,
669
+ [_tN, _co, _m],
670
+ [0, 0, 0]
671
+ ];
672
+ var AssociatedClientDevice$ = [3, n0, _ACD,
673
+ 0,
674
+ [_tN, _aT],
675
+ [0, 4]
676
+ ];
677
+ var AssociateServiceRoleToAccountRequest$ = [3, n0, _ASRTAR,
678
+ 0,
679
+ [_rA],
680
+ [[0, { [_jN]: _RAo }]], 1
681
+ ];
682
+ var AssociateServiceRoleToAccountResponse$ = [3, n0, _ASRTARs,
683
+ 0,
684
+ [_aA],
685
+ [[0, { [_jN]: _AA }]]
686
+ ];
687
+ var BatchAssociateClientDeviceWithCoreDeviceRequest$ = [3, n0, _BACDWCDR,
688
+ 0,
689
+ [_cDTN, _en],
690
+ [[0, 1], () => AssociateClientDeviceWithCoreDeviceEntryList], 1
691
+ ];
692
+ var BatchAssociateClientDeviceWithCoreDeviceResponse$ = [3, n0, _BACDWCDRa,
693
+ 0,
694
+ [_eE],
695
+ [() => AssociateClientDeviceWithCoreDeviceErrorList]
696
+ ];
697
+ var BatchDisassociateClientDeviceFromCoreDeviceRequest$ = [3, n0, _BDCDFCDR,
698
+ 0,
699
+ [_cDTN, _en],
700
+ [[0, 1], () => DisassociateClientDeviceFromCoreDeviceEntryList], 1
701
+ ];
702
+ var BatchDisassociateClientDeviceFromCoreDeviceResponse$ = [3, n0, _BDCDFCDRa,
703
+ 0,
704
+ [_eE],
705
+ [() => DisassociateClientDeviceFromCoreDeviceErrorList]
706
+ ];
707
+ var CancelDeploymentRequest$ = [3, n0, _CDR,
708
+ 0,
709
+ [_dI],
710
+ [[0, 1]], 1
711
+ ];
712
+ var CancelDeploymentResponse$ = [3, n0, _CDRa,
713
+ 0,
714
+ [_m],
715
+ [0]
716
+ ];
717
+ var CloudComponentStatus$ = [3, n0, _CCS,
718
+ 0,
719
+ [_cS, _m, _er, _vG, _vGM],
720
+ [0, 0, 128 | 0, 0, 0]
721
+ ];
722
+ var Component$ = [3, n0, _C,
723
+ 0,
724
+ [_a, _cN, _lV],
725
+ [0, 0, () => ComponentLatestVersion$]
726
+ ];
727
+ var ComponentCandidate$ = [3, n0, _CC,
728
+ 0,
729
+ [_cN, _cV, _vR],
730
+ [0, 0, 128 | 0]
731
+ ];
732
+ var ComponentConfigurationUpdate$ = [3, n0, _CCU,
733
+ 0,
734
+ [_me, _re],
735
+ [0, 64 | 0]
736
+ ];
737
+ var ComponentDependencyRequirement$ = [3, n0, _CDRo,
738
+ 0,
739
+ [_vRe, _dT],
740
+ [0, 0]
741
+ ];
742
+ var ComponentDeploymentSpecification$ = [3, n0, _CDS,
743
+ 0,
744
+ [_cV, _cU, _rW],
745
+ [0, () => ComponentConfigurationUpdate$, () => ComponentRunWith$], 1
746
+ ];
747
+ var ComponentLatestVersion$ = [3, n0, _CLV,
748
+ 0,
749
+ [_a, _cV, _cT, _d, _p, _pl],
750
+ [0, 0, 4, 0, 0, () => ComponentPlatformList]
751
+ ];
752
+ var ComponentPlatform$ = [3, n0, _CP,
753
+ 0,
754
+ [_n, _at],
755
+ [0, 128 | 0]
756
+ ];
757
+ var ComponentRunWith$ = [3, n0, _CRW,
758
+ 0,
759
+ [_pU, _sRL, _wU],
760
+ [0, () => SystemResourceLimits$, 0]
761
+ ];
762
+ var ComponentVersionListItem$ = [3, n0, _CVLI,
763
+ 0,
764
+ [_cN, _cV, _a],
765
+ [0, 0, 0]
766
+ ];
767
+ var ConnectivityInfo$ = [3, n0, _CI,
768
+ 0,
769
+ [_i, _hA, _pN, _met],
770
+ [[0, { [_jN]: _I }], [0, { [_jN]: _HA }], [1, { [_jN]: _PN }], [0, { [_jN]: _M }]]
771
+ ];
772
+ var CoreDevice$ = [3, n0, _CD,
773
+ 0,
774
+ [_cDTN, _st, _lSUT, _pla, _ar, _ru],
775
+ [0, 0, 4, 0, 0, 0]
776
+ ];
777
+ var CreateComponentVersionRequest$ = [3, n0, _CCVR,
778
+ 0,
779
+ [_iR, _lF, _t, _cTl],
780
+ [21, () => LambdaFunctionRecipeSource$, 128 | 0, [0, 4]]
781
+ ];
782
+ var CreateComponentVersionResponse$ = [3, n0, _CCVRr,
783
+ 0,
784
+ [_cN, _cV, _cT, _st, _a],
785
+ [0, 0, 4, () => CloudComponentStatus$, 0], 4
786
+ ];
787
+ var CreateDeploymentRequest$ = [3, n0, _CDRr,
788
+ 0,
789
+ [_tA, _dN, _com, _iJC, _dP, _pTA, _t, _cTl],
790
+ [0, 0, () => ComponentDeploymentSpecifications, () => DeploymentIoTJobConfiguration$, () => DeploymentPolicies$, 0, 128 | 0, [0, 4]], 1
791
+ ];
792
+ var CreateDeploymentResponse$ = [3, n0, _CDRre,
793
+ 0,
794
+ [_dI, _iJI, _iJA],
795
+ [0, 0, 0]
796
+ ];
797
+ var DeleteComponentRequest$ = [3, n0, _DCR,
798
+ 0,
799
+ [_a],
800
+ [[0, 1]], 1
801
+ ];
802
+ var DeleteCoreDeviceRequest$ = [3, n0, _DCDR,
803
+ 0,
804
+ [_cDTN],
805
+ [[0, 1]], 1
806
+ ];
807
+ var DeleteDeploymentRequest$ = [3, n0, _DDR,
808
+ 0,
809
+ [_dI],
810
+ [[0, 1]], 1
811
+ ];
812
+ var Deployment$ = [3, n0, _D,
813
+ 0,
814
+ [_tA, _rIe, _dI, _dN, _cT, _dS, _iLFT, _pTA],
815
+ [0, 0, 0, 0, 4, 0, 2, 0]
816
+ ];
817
+ var DeploymentComponentUpdatePolicy$ = [3, n0, _DCUP,
818
+ 0,
819
+ [_tIS, _ac],
820
+ [1, 0]
821
+ ];
822
+ var DeploymentConfigurationValidationPolicy$ = [3, n0, _DCVP,
823
+ 0,
824
+ [_tIS],
825
+ [1]
826
+ ];
827
+ var DeploymentIoTJobConfiguration$ = [3, n0, _DITJC,
828
+ 0,
829
+ [_jERC, _aC, _tC],
830
+ [() => IoTJobExecutionsRolloutConfig$, () => IoTJobAbortConfig$, () => IoTJobTimeoutConfig$]
831
+ ];
832
+ var DeploymentPolicies$ = [3, n0, _DP,
833
+ 0,
834
+ [_fHP, _cUP, _cVP],
835
+ [0, () => DeploymentComponentUpdatePolicy$, () => DeploymentConfigurationValidationPolicy$]
836
+ ];
837
+ var DescribeComponentRequest$ = [3, n0, _DCRe,
838
+ 0,
839
+ [_a],
840
+ [[0, 1]], 1
841
+ ];
842
+ var DescribeComponentResponse$ = [3, n0, _DCRes,
843
+ 0,
844
+ [_a, _cN, _cV, _cT, _p, _d, _st, _pl, _t],
845
+ [0, 0, 0, 4, 0, 0, () => CloudComponentStatus$, () => ComponentPlatformList, 128 | 0]
846
+ ];
847
+ var DisassociateClientDeviceFromCoreDeviceEntry$ = [3, n0, _DCDFCDE,
848
+ 0,
849
+ [_tN],
850
+ [0], 1
851
+ ];
852
+ var DisassociateClientDeviceFromCoreDeviceErrorEntry$ = [3, n0, _DCDFCDEE,
853
+ 0,
854
+ [_tN, _co, _m],
855
+ [0, 0, 0]
856
+ ];
857
+ var DisassociateServiceRoleFromAccountRequest$ = [3, n0, _DSRFAR,
858
+ 0,
859
+ [],
860
+ []
861
+ ];
862
+ var DisassociateServiceRoleFromAccountResponse$ = [3, n0, _DSRFARi,
863
+ 0,
864
+ [_dA],
865
+ [[0, { [_jN]: _DA }]]
866
+ ];
867
+ var EffectiveDeployment$ = [3, n0, _ED,
868
+ 0,
869
+ [_dI, _dN, _tA, _cDES, _cT, _mT, _iJI, _iJA, _d, _r, _sD],
870
+ [0, 0, 0, 0, 4, 4, 0, 0, 0, 0, () => EffectiveDeploymentStatusDetails$], 6
871
+ ];
872
+ var EffectiveDeploymentStatusDetails$ = [3, n0, _EDSD,
873
+ 0,
874
+ [_eS, _eT],
875
+ [64 | 0, 64 | 0]
876
+ ];
877
+ var GetComponentRequest$ = [3, n0, _GCR,
878
+ 0,
879
+ [_a, _rOF],
880
+ [[0, 1], [0, { [_hQ]: _rOF }]], 1
881
+ ];
882
+ var GetComponentResponse$ = [3, n0, _GCRe,
883
+ 0,
884
+ [_rOF, _rec, _t],
885
+ [0, 21, 128 | 0], 2
886
+ ];
887
+ var GetComponentVersionArtifactRequest$ = [3, n0, _GCVAR,
888
+ 0,
889
+ [_a, _aN, _sET, _iET],
890
+ [[0, 1], [0, 1], [0, { [_hQ]: _sET }], [0, { [_hH]: _xaiet }]], 2
891
+ ];
892
+ var GetComponentVersionArtifactResponse$ = [3, n0, _GCVARe,
893
+ 0,
894
+ [_pSU],
895
+ [0], 1
896
+ ];
897
+ var GetConnectivityInfoRequest$ = [3, n0, _GCIR,
898
+ 0,
899
+ [_tN],
900
+ [[0, 1]], 1
901
+ ];
902
+ var GetConnectivityInfoResponse$ = [3, n0, _GCIRe,
903
+ 0,
904
+ [_cI, _m],
905
+ [[() => connectivityInfoList, { [_jN]: _CI }], [0, { [_jN]: _Me }]]
906
+ ];
907
+ var GetCoreDeviceRequest$ = [3, n0, _GCDR,
908
+ 0,
909
+ [_cDTN],
910
+ [[0, 1]], 1
911
+ ];
912
+ var GetCoreDeviceResponse$ = [3, n0, _GCDRe,
913
+ 0,
914
+ [_cDTN, _cVo, _pla, _ar, _ru, _st, _lSUT, _t],
915
+ [0, 0, 0, 0, 0, 0, 4, 128 | 0]
916
+ ];
917
+ var GetDeploymentRequest$ = [3, n0, _GDR,
918
+ 0,
919
+ [_dI],
920
+ [[0, 1]], 1
921
+ ];
922
+ var GetDeploymentResponse$ = [3, n0, _GDRe,
923
+ 0,
924
+ [_tA, _rIe, _dI, _dN, _dS, _iJI, _iJA, _com, _dP, _iJC, _cT, _iLFT, _pTA, _t],
925
+ [0, 0, 0, 0, 0, 0, 0, () => ComponentDeploymentSpecifications, () => DeploymentPolicies$, () => DeploymentIoTJobConfiguration$, 4, 2, 0, 128 | 0]
926
+ ];
927
+ var GetServiceRoleForAccountRequest$ = [3, n0, _GSRFAR,
928
+ 0,
929
+ [],
930
+ []
931
+ ];
932
+ var GetServiceRoleForAccountResponse$ = [3, n0, _GSRFARe,
933
+ 0,
934
+ [_aA, _rA],
935
+ [[0, { [_jN]: _AA }], [0, { [_jN]: _RAo }]]
936
+ ];
937
+ var InstalledComponent$ = [3, n0, _IC,
938
+ 0,
939
+ [_cN, _cV, _lS, _lSD, _iRs, _lSCT, _lRT, _lIS, _lSC],
940
+ [0, 0, 0, 0, 2, 4, 4, 0, 64 | 0]
941
+ ];
942
+ var IoTJobAbortConfig$ = [3, n0, _ITJAC,
943
+ 0,
944
+ [_cL],
945
+ [() => IoTJobAbortCriteriaList], 1
946
+ ];
947
+ var IoTJobAbortCriteria$ = [3, n0, _ITJACo,
948
+ 0,
949
+ [_fT, _ac, _tP, _mNOET],
950
+ [0, 0, 1, 1], 4
951
+ ];
952
+ var IoTJobExecutionsRolloutConfig$ = [3, n0, _ITJERC,
953
+ 0,
954
+ [_eR, _mPM],
955
+ [() => IoTJobExponentialRolloutRate$, 1]
956
+ ];
957
+ var IoTJobExponentialRolloutRate$ = [3, n0, _ITJERR,
958
+ 0,
959
+ [_bRPM, _iF, _rIC],
960
+ [1, 1, () => IoTJobRateIncreaseCriteria$], 3
961
+ ];
962
+ var IoTJobRateIncreaseCriteria$ = [3, n0, _ITJRIC,
963
+ 0,
964
+ [_nONT, _nOST],
965
+ [1, 1]
966
+ ];
967
+ var IoTJobTimeoutConfig$ = [3, n0, _ITJTC,
968
+ 0,
969
+ [_iPTIM],
970
+ [1]
971
+ ];
972
+ var LambdaContainerParams$ = [3, n0, _LCP,
973
+ 0,
974
+ [_mSIKB, _mROS, _v, _de],
975
+ [1, 2, () => LambdaVolumeList, () => LambdaDeviceList]
976
+ ];
977
+ var LambdaDeviceMount$ = [3, n0, _LDM,
978
+ 0,
979
+ [_pa, _pe, _aGO],
980
+ [0, 0, 2], 1
981
+ ];
982
+ var LambdaEventSource$ = [3, n0, _LES,
983
+ 0,
984
+ [_to, _ty],
985
+ [0, 0], 2
986
+ ];
987
+ var LambdaExecutionParameters$ = [3, n0, _LEP,
988
+ 0,
989
+ [_eSv, _mQS, _mIC, _mITIS, _tIS, _sTIS, _pi, _iPET, _eA, _eV, _lPP],
990
+ [() => LambdaEventSourceList, 1, 1, 1, 1, 1, 2, 0, 64 | 0, 128 | 0, () => LambdaLinuxProcessParams$]
991
+ ];
992
+ var LambdaFunctionRecipeSource$ = [3, n0, _LFRS,
993
+ 0,
994
+ [_lA, _cN, _cV, _cP, _cD, _cLP],
995
+ [0, 0, 0, () => ComponentPlatformList, () => ComponentDependencyMap, () => LambdaExecutionParameters$], 1
996
+ ];
997
+ var LambdaLinuxProcessParams$ = [3, n0, _LLPP,
998
+ 0,
999
+ [_iM, _cPo],
1000
+ [0, () => LambdaContainerParams$]
1001
+ ];
1002
+ var LambdaVolumeMount$ = [3, n0, _LVM,
1003
+ 0,
1004
+ [_sP, _dPe, _pe, _aGO],
1005
+ [0, 0, 0, 2], 2
1006
+ ];
1007
+ var ListClientDevicesAssociatedWithCoreDeviceRequest$ = [3, n0, _LCDAWCDR,
1008
+ 0,
1009
+ [_cDTN, _mR, _nT],
1010
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
1011
+ ];
1012
+ var ListClientDevicesAssociatedWithCoreDeviceResponse$ = [3, n0, _LCDAWCDRi,
1013
+ 0,
1014
+ [_aCD, _nT],
1015
+ [() => AssociatedClientDeviceList, 0]
1016
+ ];
1017
+ var ListComponentsRequest$ = [3, n0, _LCR,
1018
+ 0,
1019
+ [_sc, _mR, _nT],
1020
+ [[0, { [_hQ]: _sc }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
1021
+ ];
1022
+ var ListComponentsResponse$ = [3, n0, _LCRi,
1023
+ 0,
1024
+ [_com, _nT],
1025
+ [() => ComponentList, 0]
1026
+ ];
1027
+ var ListComponentVersionsRequest$ = [3, n0, _LCVR,
1028
+ 0,
1029
+ [_a, _mR, _nT],
1030
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
1031
+ ];
1032
+ var ListComponentVersionsResponse$ = [3, n0, _LCVRi,
1033
+ 0,
1034
+ [_cVom, _nT],
1035
+ [() => ComponentVersionList, 0]
1036
+ ];
1037
+ var ListCoreDevicesRequest$ = [3, n0, _LCDR,
1038
+ 0,
1039
+ [_tGA, _st, _mR, _nT, _ru],
1040
+ [[0, { [_hQ]: _tGA }], [0, { [_hQ]: _st }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _ru }]]
1041
+ ];
1042
+ var ListCoreDevicesResponse$ = [3, n0, _LCDRi,
1043
+ 0,
1044
+ [_cDo, _nT],
1045
+ [() => CoreDevicesList, 0]
1046
+ ];
1047
+ var ListDeploymentsRequest$ = [3, n0, _LDR,
1048
+ 0,
1049
+ [_tA, _hF, _pTA, _mR, _nT],
1050
+ [[0, { [_hQ]: _tA }], [0, { [_hQ]: _hF }], [0, { [_hQ]: _pTA }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
1051
+ ];
1052
+ var ListDeploymentsResponse$ = [3, n0, _LDRi,
1053
+ 0,
1054
+ [_dep, _nT],
1055
+ [() => DeploymentList, 0]
1056
+ ];
1057
+ var ListEffectiveDeploymentsRequest$ = [3, n0, _LEDR,
1058
+ 0,
1059
+ [_cDTN, _mR, _nT],
1060
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
1061
+ ];
1062
+ var ListEffectiveDeploymentsResponse$ = [3, n0, _LEDRi,
1063
+ 0,
1064
+ [_eD, _nT],
1065
+ [() => EffectiveDeploymentsList, 0]
1066
+ ];
1067
+ var ListInstalledComponentsRequest$ = [3, n0, _LICR,
1068
+ 0,
1069
+ [_cDTN, _mR, _nT, _tF],
1070
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _tF }]], 1
1071
+ ];
1072
+ var ListInstalledComponentsResponse$ = [3, n0, _LICRi,
1073
+ 0,
1074
+ [_iC, _nT],
1075
+ [() => InstalledComponentList, 0]
1076
+ ];
1077
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
1078
+ 0,
1079
+ [_rAe],
1080
+ [[0, 1]], 1
1081
+ ];
1082
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
1083
+ 0,
1084
+ [_t],
1085
+ [128 | 0]
1086
+ ];
1087
+ var ResolveComponentCandidatesRequest$ = [3, n0, _RCCR,
1088
+ 0,
1089
+ [_pla, _cC],
1090
+ [() => ComponentPlatform$, () => ComponentCandidateList]
1091
+ ];
1092
+ var ResolveComponentCandidatesResponse$ = [3, n0, _RCCRe,
1093
+ 0,
1094
+ [_rCV],
1095
+ [() => ResolvedComponentVersionsList]
1096
+ ];
1097
+ var ResolvedComponentVersion$ = [3, n0, _RCV,
1098
+ 0,
1099
+ [_a, _cN, _cV, _rec, _vG, _m],
1100
+ [0, 0, 0, 21, 0, 0]
1101
+ ];
1102
+ var SystemResourceLimits$ = [3, n0, _SRL,
1103
+ 0,
1104
+ [_mem, _cp],
1105
+ [1, 1]
1106
+ ];
1107
+ var TagResourceRequest$ = [3, n0, _TRR,
1108
+ 0,
1109
+ [_rAe, _t],
1110
+ [[0, 1], 128 | 0], 2
1111
+ ];
1112
+ var TagResourceResponse$ = [3, n0, _TRRa,
1113
+ 0,
1114
+ [],
1115
+ []
1116
+ ];
1117
+ var UntagResourceRequest$ = [3, n0, _URR,
1118
+ 0,
1119
+ [_rAe, _tK],
1120
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
1121
+ ];
1122
+ var UntagResourceResponse$ = [3, n0, _URRn,
1123
+ 0,
1124
+ [],
1125
+ []
1126
+ ];
1127
+ var UpdateConnectivityInfoRequest$ = [3, n0, _UCIR,
1128
+ 0,
1129
+ [_tN, _cI],
1130
+ [[0, { [_hL]: 1, [_jN]: _TN }], [() => connectivityInfoList, { [_jN]: _CI }]], 2
1131
+ ];
1132
+ var UpdateConnectivityInfoResponse$ = [3, n0, _UCIRp,
1133
+ 0,
1134
+ [_ve, _m],
1135
+ [[0, { [_jN]: _V }], [0, { [_jN]: _Me }]]
1136
+ ];
1137
+ var ValidationExceptionField$ = [3, n0, _VEF,
1138
+ 0,
1139
+ [_n, _m],
1140
+ [0, 0], 2
1141
+ ];
1142
+ var __Unit = "unit";
1143
+ var AssociateClientDeviceWithCoreDeviceEntryList = [1, n0, _ACDWCDEL,
1144
+ 0, () => AssociateClientDeviceWithCoreDeviceEntry$
1145
+ ];
1146
+ var AssociateClientDeviceWithCoreDeviceErrorList = [1, n0, _ACDWCDELs,
1147
+ 0, () => AssociateClientDeviceWithCoreDeviceErrorEntry$
1148
+ ];
1149
+ var AssociatedClientDeviceList = [1, n0, _ACDL,
1150
+ 0, () => AssociatedClientDevice$
1151
+ ];
1152
+ var ComponentCandidateList = [1, n0, _CCL,
1153
+ 0, () => ComponentCandidate$
1154
+ ];
1155
+ var ComponentList = [1, n0, _CL,
1156
+ 0, () => Component$
1157
+ ];
1158
+ var ComponentPlatformList = [1, n0, _CPL,
1159
+ 0, () => ComponentPlatform$
1160
+ ];
1161
+ var ComponentVersionList = [1, n0, _CVL,
1162
+ 0, () => ComponentVersionListItem$
1163
+ ];
1164
+ var connectivityInfoList = [1, n0, _cIL,
1165
+ 0, [() => ConnectivityInfo$,
1166
+ 0]
1167
+ ];
1168
+ var CoreDevicesList = [1, n0, _CDL,
1169
+ 0, () => CoreDevice$
1170
+ ];
1171
+ var DeploymentList = [1, n0, _DL,
1172
+ 0, () => Deployment$
1173
+ ];
1174
+ var DisassociateClientDeviceFromCoreDeviceEntryList = [1, n0, _DCDFCDEL,
1175
+ 0, () => DisassociateClientDeviceFromCoreDeviceEntry$
1176
+ ];
1177
+ var DisassociateClientDeviceFromCoreDeviceErrorList = [1, n0, _DCDFCDELi,
1178
+ 0, () => DisassociateClientDeviceFromCoreDeviceErrorEntry$
1179
+ ];
1180
+ var EffectiveDeploymentsList = [1, n0, _EDL,
1181
+ 0, () => EffectiveDeployment$
1182
+ ];
1183
+ var InstalledComponentList = [1, n0, _ICL,
1184
+ 0, () => InstalledComponent$
1185
+ ];
1186
+ var IoTJobAbortCriteriaList = [1, n0, _ITJACL,
1187
+ 0, () => IoTJobAbortCriteria$
1188
+ ];
1189
+ var LambdaDeviceList = [1, n0, _LDL,
1190
+ 0, () => LambdaDeviceMount$
1191
+ ];
1192
+ var LambdaEventSourceList = [1, n0, _LESL,
1193
+ 0, () => LambdaEventSource$
1194
+ ];
1195
+ var LambdaVolumeList = [1, n0, _LVL,
1196
+ 0, () => LambdaVolumeMount$
1197
+ ];
1198
+ var ResolvedComponentVersionsList = [1, n0, _RCVL,
1199
+ 0, () => ResolvedComponentVersion$
1200
+ ];
1201
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
1202
+ 0, () => ValidationExceptionField$
1203
+ ];
1204
+ var ComponentDependencyMap = [2, n0, _CDM,
1205
+ 0, 0, () => ComponentDependencyRequirement$
1206
+ ];
1207
+ var ComponentDeploymentSpecifications = [2, n0, _CDSo,
1208
+ 0, 0, () => ComponentDeploymentSpecification$
1209
+ ];
1210
+ var AssociateServiceRoleToAccount$ = [9, n0, _ASRTA,
1211
+ { [_h]: ["PUT", "/greengrass/servicerole", 200] }, () => AssociateServiceRoleToAccountRequest$, () => AssociateServiceRoleToAccountResponse$
1212
+ ];
1213
+ var BatchAssociateClientDeviceWithCoreDevice$ = [9, n0, _BACDWCD,
1214
+ { [_h]: ["POST", "/greengrass/v2/coreDevices/{coreDeviceThingName}/associateClientDevices", 200] }, () => BatchAssociateClientDeviceWithCoreDeviceRequest$, () => BatchAssociateClientDeviceWithCoreDeviceResponse$
1215
+ ];
1216
+ var BatchDisassociateClientDeviceFromCoreDevice$ = [9, n0, _BDCDFCD,
1217
+ { [_h]: ["POST", "/greengrass/v2/coreDevices/{coreDeviceThingName}/disassociateClientDevices", 200] }, () => BatchDisassociateClientDeviceFromCoreDeviceRequest$, () => BatchDisassociateClientDeviceFromCoreDeviceResponse$
1218
+ ];
1219
+ var CancelDeployment$ = [9, n0, _CDa,
1220
+ { [_h]: ["POST", "/greengrass/v2/deployments/{deploymentId}/cancel", 200] }, () => CancelDeploymentRequest$, () => CancelDeploymentResponse$
1221
+ ];
1222
+ var CreateComponentVersion$ = [9, n0, _CCV,
1223
+ { [_h]: ["POST", "/greengrass/v2/createComponentVersion", 201] }, () => CreateComponentVersionRequest$, () => CreateComponentVersionResponse$
1224
+ ];
1225
+ var CreateDeployment$ = [9, n0, _CDr,
1226
+ { [_h]: ["POST", "/greengrass/v2/deployments", 201] }, () => CreateDeploymentRequest$, () => CreateDeploymentResponse$
1227
+ ];
1228
+ var DeleteComponent$ = [9, n0, _DC,
1229
+ { [_h]: ["DELETE", "/greengrass/v2/components/{arn}", 204] }, () => DeleteComponentRequest$, () => __Unit
1230
+ ];
1231
+ var DeleteCoreDevice$ = [9, n0, _DCD,
1232
+ { [_h]: ["DELETE", "/greengrass/v2/coreDevices/{coreDeviceThingName}", 204] }, () => DeleteCoreDeviceRequest$, () => __Unit
1233
+ ];
1234
+ var DeleteDeployment$ = [9, n0, _DD,
1235
+ { [_h]: ["DELETE", "/greengrass/v2/deployments/{deploymentId}", 204] }, () => DeleteDeploymentRequest$, () => __Unit
1236
+ ];
1237
+ var DescribeComponent$ = [9, n0, _DCe,
1238
+ { [_h]: ["GET", "/greengrass/v2/components/{arn}/metadata", 200] }, () => DescribeComponentRequest$, () => DescribeComponentResponse$
1239
+ ];
1240
+ var DisassociateServiceRoleFromAccount$ = [9, n0, _DSRFA,
1241
+ { [_h]: ["DELETE", "/greengrass/servicerole", 200] }, () => DisassociateServiceRoleFromAccountRequest$, () => DisassociateServiceRoleFromAccountResponse$
1242
+ ];
1243
+ var GetComponent$ = [9, n0, _GC,
1244
+ { [_h]: ["GET", "/greengrass/v2/components/{arn}", 200] }, () => GetComponentRequest$, () => GetComponentResponse$
1245
+ ];
1246
+ var GetComponentVersionArtifact$ = [9, n0, _GCVA,
1247
+ { [_h]: ["GET", "/greengrass/v2/components/{arn}/artifacts/{artifactName+}", 200] }, () => GetComponentVersionArtifactRequest$, () => GetComponentVersionArtifactResponse$
1248
+ ];
1249
+ var GetConnectivityInfo$ = [9, n0, _GCI,
1250
+ { [_h]: ["GET", "/greengrass/things/{thingName}/connectivityInfo", 200] }, () => GetConnectivityInfoRequest$, () => GetConnectivityInfoResponse$
1251
+ ];
1252
+ var GetCoreDevice$ = [9, n0, _GCD,
1253
+ { [_h]: ["GET", "/greengrass/v2/coreDevices/{coreDeviceThingName}", 200] }, () => GetCoreDeviceRequest$, () => GetCoreDeviceResponse$
1254
+ ];
1255
+ var GetDeployment$ = [9, n0, _GD,
1256
+ { [_h]: ["GET", "/greengrass/v2/deployments/{deploymentId}", 200] }, () => GetDeploymentRequest$, () => GetDeploymentResponse$
1257
+ ];
1258
+ var GetServiceRoleForAccount$ = [9, n0, _GSRFA,
1259
+ { [_h]: ["GET", "/greengrass/servicerole", 200] }, () => GetServiceRoleForAccountRequest$, () => GetServiceRoleForAccountResponse$
1260
+ ];
1261
+ var ListClientDevicesAssociatedWithCoreDevice$ = [9, n0, _LCDAWCD,
1262
+ { [_h]: ["GET", "/greengrass/v2/coreDevices/{coreDeviceThingName}/associatedClientDevices", 200] }, () => ListClientDevicesAssociatedWithCoreDeviceRequest$, () => ListClientDevicesAssociatedWithCoreDeviceResponse$
1263
+ ];
1264
+ var ListComponents$ = [9, n0, _LC,
1265
+ { [_h]: ["GET", "/greengrass/v2/components", 200] }, () => ListComponentsRequest$, () => ListComponentsResponse$
1266
+ ];
1267
+ var ListComponentVersions$ = [9, n0, _LCV,
1268
+ { [_h]: ["GET", "/greengrass/v2/components/{arn}/versions", 200] }, () => ListComponentVersionsRequest$, () => ListComponentVersionsResponse$
1269
+ ];
1270
+ var ListCoreDevices$ = [9, n0, _LCD,
1271
+ { [_h]: ["GET", "/greengrass/v2/coreDevices", 200] }, () => ListCoreDevicesRequest$, () => ListCoreDevicesResponse$
1272
+ ];
1273
+ var ListDeployments$ = [9, n0, _LD,
1274
+ { [_h]: ["GET", "/greengrass/v2/deployments", 200] }, () => ListDeploymentsRequest$, () => ListDeploymentsResponse$
1275
+ ];
1276
+ var ListEffectiveDeployments$ = [9, n0, _LED,
1277
+ { [_h]: ["GET", "/greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments", 200] }, () => ListEffectiveDeploymentsRequest$, () => ListEffectiveDeploymentsResponse$
1278
+ ];
1279
+ var ListInstalledComponents$ = [9, n0, _LIC,
1280
+ { [_h]: ["GET", "/greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents", 200] }, () => ListInstalledComponentsRequest$, () => ListInstalledComponentsResponse$
1281
+ ];
1282
+ var ListTagsForResource$ = [9, n0, _LTFR,
1283
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1284
+ ];
1285
+ var ResolveComponentCandidates$ = [9, n0, _RCC,
1286
+ { [_h]: ["POST", "/greengrass/v2/resolveComponentCandidates", 200] }, () => ResolveComponentCandidatesRequest$, () => ResolveComponentCandidatesResponse$
1287
+ ];
1288
+ var TagResource$ = [9, n0, _TR,
1289
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
1290
+ ];
1291
+ var UntagResource$ = [9, n0, _UR,
1292
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
1293
+ ];
1294
+ var UpdateConnectivityInfo$ = [9, n0, _UCI,
1295
+ { [_h]: ["PUT", "/greengrass/things/{thingName}/connectivityInfo", 200] }, () => UpdateConnectivityInfoRequest$, () => UpdateConnectivityInfoResponse$
1296
+ ];
1297
+
1298
+ const getRuntimeConfig$1 = (config) => {
1299
+ return {
1300
+ apiVersion: "2020-11-30",
1301
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1302
+ base64Encoder: config?.base64Encoder ?? toBase64,
1303
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1304
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1305
+ extensions: config?.extensions ?? [],
1306
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultGreengrassV2HttpAuthSchemeProvider,
1307
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1308
+ {
1309
+ schemeId: "aws.auth#sigv4",
1310
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1311
+ signer: new AwsSdkSigV4Signer(),
1312
+ },
1313
+ ],
1314
+ logger: config?.logger ?? new NoOpLogger(),
1315
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1316
+ protocolSettings: config?.protocolSettings ?? {
1317
+ defaultNamespace: "com.amazonaws.greengrassv2",
1318
+ errorTypeRegistries,
1319
+ version: "2020-11-30",
1320
+ serviceTarget: "GreengrassV2",
1321
+ },
1322
+ serviceId: config?.serviceId ?? "GreengrassV2",
1323
+ urlParser: config?.urlParser ?? parseUrl,
1324
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1325
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1326
+ };
1327
+ };
1328
+
1329
+ const getRuntimeConfig = (config) => {
1330
+ emitWarningIfUnsupportedVersion(process.version);
1331
+ const defaultsMode = resolveDefaultsModeConfig(config);
1332
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1333
+ const clientSharedValues = getRuntimeConfig$1(config);
1334
+ emitWarningIfUnsupportedVersion$1(process.version);
1335
+ const loaderConfig = {
1336
+ profile: config?.profile,
1337
+ logger: clientSharedValues.logger,
1338
+ };
1339
+ return {
1340
+ ...clientSharedValues,
1341
+ ...config,
1342
+ runtime: "node",
1343
+ defaultsMode,
1344
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1345
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1346
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1347
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1348
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1349
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1350
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1351
+ retryMode: config?.retryMode ??
1352
+ loadConfig({
1353
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1354
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1355
+ }, config),
1356
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1357
+ streamCollector: config?.streamCollector ?? streamCollector,
1358
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1359
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1360
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1361
+ };
1362
+ };
1363
+
34
1364
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1365
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1366
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -628,59 +1958,203 @@ const InstalledComponentLifecycleState = {
628
1958
  STOPPING: "STOPPING",
629
1959
  };
630
1960
 
1961
+ exports.AccessDeniedException = AccessDeniedException;
1962
+ exports.AccessDeniedException$ = AccessDeniedException$;
1963
+ exports.AssociateClientDeviceWithCoreDeviceEntry$ = AssociateClientDeviceWithCoreDeviceEntry$;
1964
+ exports.AssociateClientDeviceWithCoreDeviceErrorEntry$ = AssociateClientDeviceWithCoreDeviceErrorEntry$;
1965
+ exports.AssociateServiceRoleToAccount$ = AssociateServiceRoleToAccount$;
631
1966
  exports.AssociateServiceRoleToAccountCommand = AssociateServiceRoleToAccountCommand;
1967
+ exports.AssociateServiceRoleToAccountRequest$ = AssociateServiceRoleToAccountRequest$;
1968
+ exports.AssociateServiceRoleToAccountResponse$ = AssociateServiceRoleToAccountResponse$;
1969
+ exports.AssociatedClientDevice$ = AssociatedClientDevice$;
1970
+ exports.BatchAssociateClientDeviceWithCoreDevice$ = BatchAssociateClientDeviceWithCoreDevice$;
632
1971
  exports.BatchAssociateClientDeviceWithCoreDeviceCommand = BatchAssociateClientDeviceWithCoreDeviceCommand;
1972
+ exports.BatchAssociateClientDeviceWithCoreDeviceRequest$ = BatchAssociateClientDeviceWithCoreDeviceRequest$;
1973
+ exports.BatchAssociateClientDeviceWithCoreDeviceResponse$ = BatchAssociateClientDeviceWithCoreDeviceResponse$;
1974
+ exports.BatchDisassociateClientDeviceFromCoreDevice$ = BatchDisassociateClientDeviceFromCoreDevice$;
633
1975
  exports.BatchDisassociateClientDeviceFromCoreDeviceCommand = BatchDisassociateClientDeviceFromCoreDeviceCommand;
1976
+ exports.BatchDisassociateClientDeviceFromCoreDeviceRequest$ = BatchDisassociateClientDeviceFromCoreDeviceRequest$;
1977
+ exports.BatchDisassociateClientDeviceFromCoreDeviceResponse$ = BatchDisassociateClientDeviceFromCoreDeviceResponse$;
1978
+ exports.CancelDeployment$ = CancelDeployment$;
634
1979
  exports.CancelDeploymentCommand = CancelDeploymentCommand;
1980
+ exports.CancelDeploymentRequest$ = CancelDeploymentRequest$;
1981
+ exports.CancelDeploymentResponse$ = CancelDeploymentResponse$;
635
1982
  exports.CloudComponentState = CloudComponentState;
1983
+ exports.CloudComponentStatus$ = CloudComponentStatus$;
1984
+ exports.Component$ = Component$;
1985
+ exports.ComponentCandidate$ = ComponentCandidate$;
1986
+ exports.ComponentConfigurationUpdate$ = ComponentConfigurationUpdate$;
1987
+ exports.ComponentDependencyRequirement$ = ComponentDependencyRequirement$;
636
1988
  exports.ComponentDependencyType = ComponentDependencyType;
1989
+ exports.ComponentDeploymentSpecification$ = ComponentDeploymentSpecification$;
1990
+ exports.ComponentLatestVersion$ = ComponentLatestVersion$;
1991
+ exports.ComponentPlatform$ = ComponentPlatform$;
1992
+ exports.ComponentRunWith$ = ComponentRunWith$;
1993
+ exports.ComponentVersionListItem$ = ComponentVersionListItem$;
637
1994
  exports.ComponentVisibilityScope = ComponentVisibilityScope;
1995
+ exports.ConflictException = ConflictException;
1996
+ exports.ConflictException$ = ConflictException$;
1997
+ exports.ConnectivityInfo$ = ConnectivityInfo$;
1998
+ exports.CoreDevice$ = CoreDevice$;
638
1999
  exports.CoreDeviceStatus = CoreDeviceStatus;
2000
+ exports.CreateComponentVersion$ = CreateComponentVersion$;
639
2001
  exports.CreateComponentVersionCommand = CreateComponentVersionCommand;
2002
+ exports.CreateComponentVersionRequest$ = CreateComponentVersionRequest$;
2003
+ exports.CreateComponentVersionResponse$ = CreateComponentVersionResponse$;
2004
+ exports.CreateDeployment$ = CreateDeployment$;
640
2005
  exports.CreateDeploymentCommand = CreateDeploymentCommand;
2006
+ exports.CreateDeploymentRequest$ = CreateDeploymentRequest$;
2007
+ exports.CreateDeploymentResponse$ = CreateDeploymentResponse$;
2008
+ exports.DeleteComponent$ = DeleteComponent$;
641
2009
  exports.DeleteComponentCommand = DeleteComponentCommand;
2010
+ exports.DeleteComponentRequest$ = DeleteComponentRequest$;
2011
+ exports.DeleteCoreDevice$ = DeleteCoreDevice$;
642
2012
  exports.DeleteCoreDeviceCommand = DeleteCoreDeviceCommand;
2013
+ exports.DeleteCoreDeviceRequest$ = DeleteCoreDeviceRequest$;
2014
+ exports.DeleteDeployment$ = DeleteDeployment$;
643
2015
  exports.DeleteDeploymentCommand = DeleteDeploymentCommand;
2016
+ exports.DeleteDeploymentRequest$ = DeleteDeploymentRequest$;
2017
+ exports.Deployment$ = Deployment$;
2018
+ exports.DeploymentComponentUpdatePolicy$ = DeploymentComponentUpdatePolicy$;
644
2019
  exports.DeploymentComponentUpdatePolicyAction = DeploymentComponentUpdatePolicyAction;
2020
+ exports.DeploymentConfigurationValidationPolicy$ = DeploymentConfigurationValidationPolicy$;
645
2021
  exports.DeploymentFailureHandlingPolicy = DeploymentFailureHandlingPolicy;
646
2022
  exports.DeploymentHistoryFilter = DeploymentHistoryFilter;
2023
+ exports.DeploymentIoTJobConfiguration$ = DeploymentIoTJobConfiguration$;
2024
+ exports.DeploymentPolicies$ = DeploymentPolicies$;
647
2025
  exports.DeploymentStatus = DeploymentStatus;
2026
+ exports.DescribeComponent$ = DescribeComponent$;
648
2027
  exports.DescribeComponentCommand = DescribeComponentCommand;
2028
+ exports.DescribeComponentRequest$ = DescribeComponentRequest$;
2029
+ exports.DescribeComponentResponse$ = DescribeComponentResponse$;
2030
+ exports.DisassociateClientDeviceFromCoreDeviceEntry$ = DisassociateClientDeviceFromCoreDeviceEntry$;
2031
+ exports.DisassociateClientDeviceFromCoreDeviceErrorEntry$ = DisassociateClientDeviceFromCoreDeviceErrorEntry$;
2032
+ exports.DisassociateServiceRoleFromAccount$ = DisassociateServiceRoleFromAccount$;
649
2033
  exports.DisassociateServiceRoleFromAccountCommand = DisassociateServiceRoleFromAccountCommand;
2034
+ exports.DisassociateServiceRoleFromAccountRequest$ = DisassociateServiceRoleFromAccountRequest$;
2035
+ exports.DisassociateServiceRoleFromAccountResponse$ = DisassociateServiceRoleFromAccountResponse$;
2036
+ exports.EffectiveDeployment$ = EffectiveDeployment$;
650
2037
  exports.EffectiveDeploymentExecutionStatus = EffectiveDeploymentExecutionStatus;
2038
+ exports.EffectiveDeploymentStatusDetails$ = EffectiveDeploymentStatusDetails$;
2039
+ exports.GetComponent$ = GetComponent$;
651
2040
  exports.GetComponentCommand = GetComponentCommand;
2041
+ exports.GetComponentRequest$ = GetComponentRequest$;
2042
+ exports.GetComponentResponse$ = GetComponentResponse$;
2043
+ exports.GetComponentVersionArtifact$ = GetComponentVersionArtifact$;
652
2044
  exports.GetComponentVersionArtifactCommand = GetComponentVersionArtifactCommand;
2045
+ exports.GetComponentVersionArtifactRequest$ = GetComponentVersionArtifactRequest$;
2046
+ exports.GetComponentVersionArtifactResponse$ = GetComponentVersionArtifactResponse$;
2047
+ exports.GetConnectivityInfo$ = GetConnectivityInfo$;
653
2048
  exports.GetConnectivityInfoCommand = GetConnectivityInfoCommand;
2049
+ exports.GetConnectivityInfoRequest$ = GetConnectivityInfoRequest$;
2050
+ exports.GetConnectivityInfoResponse$ = GetConnectivityInfoResponse$;
2051
+ exports.GetCoreDevice$ = GetCoreDevice$;
654
2052
  exports.GetCoreDeviceCommand = GetCoreDeviceCommand;
2053
+ exports.GetCoreDeviceRequest$ = GetCoreDeviceRequest$;
2054
+ exports.GetCoreDeviceResponse$ = GetCoreDeviceResponse$;
2055
+ exports.GetDeployment$ = GetDeployment$;
655
2056
  exports.GetDeploymentCommand = GetDeploymentCommand;
2057
+ exports.GetDeploymentRequest$ = GetDeploymentRequest$;
2058
+ exports.GetDeploymentResponse$ = GetDeploymentResponse$;
2059
+ exports.GetServiceRoleForAccount$ = GetServiceRoleForAccount$;
656
2060
  exports.GetServiceRoleForAccountCommand = GetServiceRoleForAccountCommand;
2061
+ exports.GetServiceRoleForAccountRequest$ = GetServiceRoleForAccountRequest$;
2062
+ exports.GetServiceRoleForAccountResponse$ = GetServiceRoleForAccountResponse$;
657
2063
  exports.GreengrassV2 = GreengrassV2;
658
2064
  exports.GreengrassV2Client = GreengrassV2Client;
2065
+ exports.GreengrassV2ServiceException = GreengrassV2ServiceException;
2066
+ exports.GreengrassV2ServiceException$ = GreengrassV2ServiceException$;
2067
+ exports.InstalledComponent$ = InstalledComponent$;
659
2068
  exports.InstalledComponentLifecycleState = InstalledComponentLifecycleState;
660
2069
  exports.InstalledComponentTopologyFilter = InstalledComponentTopologyFilter;
2070
+ exports.InternalServerException = InternalServerException;
2071
+ exports.InternalServerException$ = InternalServerException$;
661
2072
  exports.IoTJobAbortAction = IoTJobAbortAction;
2073
+ exports.IoTJobAbortConfig$ = IoTJobAbortConfig$;
2074
+ exports.IoTJobAbortCriteria$ = IoTJobAbortCriteria$;
662
2075
  exports.IoTJobExecutionFailureType = IoTJobExecutionFailureType;
2076
+ exports.IoTJobExecutionsRolloutConfig$ = IoTJobExecutionsRolloutConfig$;
2077
+ exports.IoTJobExponentialRolloutRate$ = IoTJobExponentialRolloutRate$;
2078
+ exports.IoTJobRateIncreaseCriteria$ = IoTJobRateIncreaseCriteria$;
2079
+ exports.IoTJobTimeoutConfig$ = IoTJobTimeoutConfig$;
663
2080
  exports.IotEndpointType = IotEndpointType;
2081
+ exports.LambdaContainerParams$ = LambdaContainerParams$;
2082
+ exports.LambdaDeviceMount$ = LambdaDeviceMount$;
2083
+ exports.LambdaEventSource$ = LambdaEventSource$;
664
2084
  exports.LambdaEventSourceType = LambdaEventSourceType;
2085
+ exports.LambdaExecutionParameters$ = LambdaExecutionParameters$;
665
2086
  exports.LambdaFilesystemPermission = LambdaFilesystemPermission;
2087
+ exports.LambdaFunctionRecipeSource$ = LambdaFunctionRecipeSource$;
666
2088
  exports.LambdaInputPayloadEncodingType = LambdaInputPayloadEncodingType;
667
2089
  exports.LambdaIsolationMode = LambdaIsolationMode;
2090
+ exports.LambdaLinuxProcessParams$ = LambdaLinuxProcessParams$;
2091
+ exports.LambdaVolumeMount$ = LambdaVolumeMount$;
2092
+ exports.ListClientDevicesAssociatedWithCoreDevice$ = ListClientDevicesAssociatedWithCoreDevice$;
668
2093
  exports.ListClientDevicesAssociatedWithCoreDeviceCommand = ListClientDevicesAssociatedWithCoreDeviceCommand;
2094
+ exports.ListClientDevicesAssociatedWithCoreDeviceRequest$ = ListClientDevicesAssociatedWithCoreDeviceRequest$;
2095
+ exports.ListClientDevicesAssociatedWithCoreDeviceResponse$ = ListClientDevicesAssociatedWithCoreDeviceResponse$;
2096
+ exports.ListComponentVersions$ = ListComponentVersions$;
669
2097
  exports.ListComponentVersionsCommand = ListComponentVersionsCommand;
2098
+ exports.ListComponentVersionsRequest$ = ListComponentVersionsRequest$;
2099
+ exports.ListComponentVersionsResponse$ = ListComponentVersionsResponse$;
2100
+ exports.ListComponents$ = ListComponents$;
670
2101
  exports.ListComponentsCommand = ListComponentsCommand;
2102
+ exports.ListComponentsRequest$ = ListComponentsRequest$;
2103
+ exports.ListComponentsResponse$ = ListComponentsResponse$;
2104
+ exports.ListCoreDevices$ = ListCoreDevices$;
671
2105
  exports.ListCoreDevicesCommand = ListCoreDevicesCommand;
2106
+ exports.ListCoreDevicesRequest$ = ListCoreDevicesRequest$;
2107
+ exports.ListCoreDevicesResponse$ = ListCoreDevicesResponse$;
2108
+ exports.ListDeployments$ = ListDeployments$;
672
2109
  exports.ListDeploymentsCommand = ListDeploymentsCommand;
2110
+ exports.ListDeploymentsRequest$ = ListDeploymentsRequest$;
2111
+ exports.ListDeploymentsResponse$ = ListDeploymentsResponse$;
2112
+ exports.ListEffectiveDeployments$ = ListEffectiveDeployments$;
673
2113
  exports.ListEffectiveDeploymentsCommand = ListEffectiveDeploymentsCommand;
2114
+ exports.ListEffectiveDeploymentsRequest$ = ListEffectiveDeploymentsRequest$;
2115
+ exports.ListEffectiveDeploymentsResponse$ = ListEffectiveDeploymentsResponse$;
2116
+ exports.ListInstalledComponents$ = ListInstalledComponents$;
674
2117
  exports.ListInstalledComponentsCommand = ListInstalledComponentsCommand;
2118
+ exports.ListInstalledComponentsRequest$ = ListInstalledComponentsRequest$;
2119
+ exports.ListInstalledComponentsResponse$ = ListInstalledComponentsResponse$;
2120
+ exports.ListTagsForResource$ = ListTagsForResource$;
675
2121
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2122
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
2123
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
676
2124
  exports.RecipeOutputFormat = RecipeOutputFormat;
2125
+ exports.RequestAlreadyInProgressException = RequestAlreadyInProgressException;
2126
+ exports.RequestAlreadyInProgressException$ = RequestAlreadyInProgressException$;
2127
+ exports.ResolveComponentCandidates$ = ResolveComponentCandidates$;
677
2128
  exports.ResolveComponentCandidatesCommand = ResolveComponentCandidatesCommand;
2129
+ exports.ResolveComponentCandidatesRequest$ = ResolveComponentCandidatesRequest$;
2130
+ exports.ResolveComponentCandidatesResponse$ = ResolveComponentCandidatesResponse$;
2131
+ exports.ResolvedComponentVersion$ = ResolvedComponentVersion$;
2132
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2133
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
678
2134
  exports.S3EndpointType = S3EndpointType;
2135
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2136
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
2137
+ exports.SystemResourceLimits$ = SystemResourceLimits$;
2138
+ exports.TagResource$ = TagResource$;
679
2139
  exports.TagResourceCommand = TagResourceCommand;
2140
+ exports.TagResourceRequest$ = TagResourceRequest$;
2141
+ exports.TagResourceResponse$ = TagResourceResponse$;
2142
+ exports.ThrottlingException = ThrottlingException;
2143
+ exports.ThrottlingException$ = ThrottlingException$;
2144
+ exports.UntagResource$ = UntagResource$;
680
2145
  exports.UntagResourceCommand = UntagResourceCommand;
2146
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
2147
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
2148
+ exports.UpdateConnectivityInfo$ = UpdateConnectivityInfo$;
681
2149
  exports.UpdateConnectivityInfoCommand = UpdateConnectivityInfoCommand;
2150
+ exports.UpdateConnectivityInfoRequest$ = UpdateConnectivityInfoRequest$;
2151
+ exports.UpdateConnectivityInfoResponse$ = UpdateConnectivityInfoResponse$;
2152
+ exports.ValidationException = ValidationException;
2153
+ exports.ValidationException$ = ValidationException$;
2154
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
682
2155
  exports.ValidationExceptionReason = ValidationExceptionReason;
683
2156
  exports.VendorGuidance = VendorGuidance;
2157
+ exports.errorTypeRegistries = errorTypeRegistries;
684
2158
  exports.paginateListClientDevicesAssociatedWithCoreDevice = paginateListClientDevicesAssociatedWithCoreDevice;
685
2159
  exports.paginateListComponentVersions = paginateListComponentVersions;
686
2160
  exports.paginateListComponents = paginateListComponents;