@aws-sdk/client-panorama 3.987.0 → 3.989.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultPanoramaHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2019-07-24",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.panorama",
30
+ errorTypeRegistries,
29
31
  version: "2019-07-24",
30
32
  serviceTarget: "OmniCloudServiceLambda",
31
33
  },
@@ -236,7 +236,7 @@ const _PVIC = "PackageVersionInputConfig";
236
236
  const _PVOC = "PackageVersionOutputConfig";
237
237
  const _PVa = "PatchVersion";
238
238
  const _QC = "QuotaCode";
239
- const _R = "Region";
239
+ const _R = "Reason";
240
240
  const _RA = "Retry-After";
241
241
  const _RAI = "RemoveApplicationInstance";
242
242
  const _RAIR = "RemoveApplicationInstanceRequest";
@@ -257,7 +257,7 @@ const _RRCS = "ReportedRuntimeContextState";
257
257
  const _RRCSe = "ReportedRuntimeContextStates";
258
258
  const _RT = "ResourceType";
259
259
  const _RTe = "RegisteredTime";
260
- const _Re = "Reason";
260
+ const _Re = "Region";
261
261
  const _S = "Status";
262
262
  const _SAINI = "SignalApplicationInstanceNodeInstances";
263
263
  const _SAINIR = "SignalApplicationInstanceNodeInstancesRequest";
@@ -313,21 +313,59 @@ const _oA = "ownerAccount";
313
313
  const _pN = "packageName";
314
314
  const _pV = "packageVersion";
315
315
  const _pVa = "patchVersion";
316
- const _s = "server";
316
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.panorama";
317
317
  const _sF = "statusFilter";
318
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.panorama";
318
+ const _se = "server";
319
319
  const _tK = "tagKeys";
320
320
  const n0 = "com.amazonaws.panorama";
321
321
  import { TypeRegistry } from "@smithy/core/schema";
322
322
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
323
323
  import { PanoramaServiceException } from "../models/PanoramaServiceException";
324
- var TemplateValue = [0, n0, _TV, 8, 0];
324
+ const _s_registry = TypeRegistry.for(_s);
325
+ export var PanoramaServiceException$ = [-3, _s, "PanoramaServiceException", 0, [], []];
326
+ _s_registry.registerError(PanoramaServiceException$, PanoramaServiceException);
327
+ const n0_registry = TypeRegistry.for(n0);
325
328
  export var AccessDeniedException$ = [-3, n0, _ADE,
326
329
  { [_e]: _c, [_hE]: 403 },
327
330
  [_M],
328
331
  [0], 1
329
332
  ];
330
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
333
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
334
+ export var ConflictException$ = [-3, n0, _CE,
335
+ { [_e]: _c, [_hE]: 409 },
336
+ [_M, _RI, _RT, _EI, _EA],
337
+ [0, 0, 0, 0, () => ConflictExceptionErrorArgumentList], 3
338
+ ];
339
+ n0_registry.registerError(ConflictException$, ConflictException);
340
+ export var InternalServerException$ = [-3, n0, _ISE,
341
+ { [_e]: _se, [_hE]: 500 },
342
+ [_M, _RAS],
343
+ [0, [1, { [_hH]: _RA }]], 1
344
+ ];
345
+ n0_registry.registerError(InternalServerException$, InternalServerException);
346
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
347
+ { [_e]: _c, [_hE]: 404 },
348
+ [_M, _RI, _RT],
349
+ [0, 0, 0], 3
350
+ ];
351
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
352
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
353
+ { [_e]: _c, [_hE]: 402 },
354
+ [_M, _QC, _SC, _RI, _RT],
355
+ [0, 0, 0, 0, 0], 3
356
+ ];
357
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
358
+ export var ValidationException$ = [-3, n0, _VE,
359
+ { [_e]: _c, [_hE]: 400 },
360
+ [_M, _R, _EI, _EA, _F],
361
+ [0, 0, 0, () => ValidationExceptionErrorArgumentList, () => ValidationExceptionFieldList], 1
362
+ ];
363
+ n0_registry.registerError(ValidationException$, ValidationException);
364
+ export const errorTypeRegistries = [
365
+ _s_registry,
366
+ n0_registry,
367
+ ];
368
+ var TemplateValue = [0, n0, _TV, 8, 0];
331
369
  export var AlternateSoftwareMetadata$ = [3, n0, _ASM,
332
370
  0,
333
371
  [_V],
@@ -338,12 +376,6 @@ export var ApplicationInstance$ = [3, n0, _AI,
338
376
  [_N, _AII, _DRCD, _DRCDN, _D, _S, _HS, _SD, _CT, _A, _T, _RCS],
339
377
  [0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 128 | 0, () => ReportedRuntimeContextStates]
340
378
  ];
341
- export var ConflictException$ = [-3, n0, _CE,
342
- { [_e]: _c, [_hE]: 409 },
343
- [_M, _RI, _RT, _EI, _EA],
344
- [0, 0, 0, 0, () => ConflictExceptionErrorArgumentList], 3
345
- ];
346
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
347
379
  export var ConflictExceptionErrorArgument$ = [3, n0, _CEEA,
348
380
  0,
349
381
  [_N, _Va],
@@ -544,12 +576,6 @@ export var EthernetStatus$ = [3, n0, _ES,
544
576
  [_IA, _CSo, _HA],
545
577
  [0, 0, 0]
546
578
  ];
547
- export var InternalServerException$ = [-3, n0, _ISE,
548
- { [_e]: _s, [_hE]: 500 },
549
- [_M, _RAS],
550
- [0, [1, { [_hH]: _RA }]], 1
551
- ];
552
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
553
579
  export var Job$ = [3, n0, _Jo,
554
580
  0,
555
581
  [_JI, _DIe],
@@ -805,23 +831,11 @@ export var ReportedRuntimeContextState$ = [3, n0, _RRCS,
805
831
  [_DS, _RCN, _DRS, _DRT],
806
832
  [0, 0, 0, 4], 4
807
833
  ];
808
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
809
- { [_e]: _c, [_hE]: 404 },
810
- [_M, _RI, _RT],
811
- [0, 0, 0], 3
812
- ];
813
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
814
834
  export var S3Location$ = [3, n0, _SLo,
815
835
  0,
816
- [_BN, _OK, _R],
836
+ [_BN, _OK, _Re],
817
837
  [0, 0, 0], 2
818
838
  ];
819
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
820
- { [_e]: _c, [_hE]: 402 },
821
- [_M, _QC, _SC, _RI, _RT],
822
- [0, 0, 0, 0, 0], 3
823
- ];
824
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
825
839
  export var SignalApplicationInstanceNodeInstancesRequest$ = [3, n0, _SAINIR,
826
840
  0,
827
841
  [_AII, _NSod],
@@ -872,12 +886,6 @@ export var UpdateDeviceMetadataResponse$ = [3, n0, _UDMRp,
872
886
  [_DIe],
873
887
  [0]
874
888
  ];
875
- export var ValidationException$ = [-3, n0, _VE,
876
- { [_e]: _c, [_hE]: 400 },
877
- [_M, _Re, _EI, _EA, _F],
878
- [0, 0, 0, () => ValidationExceptionErrorArgumentList, () => ValidationExceptionFieldList], 1
879
- ];
880
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
881
889
  export var ValidationExceptionErrorArgument$ = [3, n0, _VEEA,
882
890
  0,
883
891
  [_N, _Va],
@@ -888,8 +896,6 @@ export var ValidationExceptionField$ = [3, n0, _VEF,
888
896
  [_N, _M],
889
897
  [0, 0], 2
890
898
  ];
891
- export var PanoramaServiceException$ = [-3, _sm, "PanoramaServiceException", 0, [], []];
892
- TypeRegistry.for(_sm).registerError(PanoramaServiceException$, PanoramaServiceException);
893
899
  var AlternateSoftwares = [1, n0, _AS,
894
900
  0, () => AlternateSoftwareMetadata$
895
901
  ];
@@ -1,8 +1,20 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var PanoramaServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
3
16
  export declare var AlternateSoftwareMetadata$: StaticStructureSchema;
4
17
  export declare var ApplicationInstance$: StaticStructureSchema;
5
- export declare var ConflictException$: StaticErrorSchema;
6
18
  export declare var ConflictExceptionErrorArgument$: StaticStructureSchema;
7
19
  export declare var CreateApplicationInstanceRequest$: StaticStructureSchema;
8
20
  export declare var CreateApplicationInstanceResponse$: StaticStructureSchema;
@@ -43,7 +55,6 @@ export declare var DeviceJob$: StaticStructureSchema;
43
55
  export declare var DeviceJobConfig$: StaticStructureSchema;
44
56
  export declare var EthernetPayload$: StaticStructureSchema;
45
57
  export declare var EthernetStatus$: StaticStructureSchema;
46
- export declare var InternalServerException$: StaticErrorSchema;
47
58
  export declare var Job$: StaticStructureSchema;
48
59
  export declare var JobResourceTags$: StaticStructureSchema;
49
60
  export declare var LatestDeviceJob$: StaticStructureSchema;
@@ -95,9 +106,7 @@ export declare var RegisterPackageVersionResponse$: StaticStructureSchema;
95
106
  export declare var RemoveApplicationInstanceRequest$: StaticStructureSchema;
96
107
  export declare var RemoveApplicationInstanceResponse$: StaticStructureSchema;
97
108
  export declare var ReportedRuntimeContextState$: StaticStructureSchema;
98
- export declare var ResourceNotFoundException$: StaticErrorSchema;
99
109
  export declare var S3Location$: StaticStructureSchema;
100
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
101
110
  export declare var SignalApplicationInstanceNodeInstancesRequest$: StaticStructureSchema;
102
111
  export declare var SignalApplicationInstanceNodeInstancesResponse$: StaticStructureSchema;
103
112
  export declare var StaticIpConnectionInfo$: StaticStructureSchema;
@@ -108,10 +117,8 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
108
117
  export declare var UntagResourceResponse$: StaticStructureSchema;
109
118
  export declare var UpdateDeviceMetadataRequest$: StaticStructureSchema;
110
119
  export declare var UpdateDeviceMetadataResponse$: StaticStructureSchema;
111
- export declare var ValidationException$: StaticErrorSchema;
112
120
  export declare var ValidationExceptionErrorArgument$: StaticStructureSchema;
113
121
  export declare var ValidationExceptionField$: StaticStructureSchema;
114
- export declare var PanoramaServiceException$: StaticErrorSchema;
115
122
  export declare var ManifestOverridesPayload$: StaticUnionSchema;
116
123
  export declare var ManifestPayload$: StaticUnionSchema;
117
124
  export declare var CreateApplicationInstance$: StaticOperationSchema;
@@ -1,13 +1,20 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var PanoramaServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var ValidationException$: StaticErrorSchema;
15
+ export declare const errorTypeRegistries: TypeRegistry[];
8
16
  export declare var AlternateSoftwareMetadata$: StaticStructureSchema;
9
17
  export declare var ApplicationInstance$: StaticStructureSchema;
10
- export declare var ConflictException$: StaticErrorSchema;
11
18
  export declare var ConflictExceptionErrorArgument$: StaticStructureSchema;
12
19
  export declare var CreateApplicationInstanceRequest$: StaticStructureSchema;
13
20
  export declare var CreateApplicationInstanceResponse$: StaticStructureSchema;
@@ -48,7 +55,6 @@ export declare var DeviceJob$: StaticStructureSchema;
48
55
  export declare var DeviceJobConfig$: StaticStructureSchema;
49
56
  export declare var EthernetPayload$: StaticStructureSchema;
50
57
  export declare var EthernetStatus$: StaticStructureSchema;
51
- export declare var InternalServerException$: StaticErrorSchema;
52
58
  export declare var Job$: StaticStructureSchema;
53
59
  export declare var JobResourceTags$: StaticStructureSchema;
54
60
  export declare var LatestDeviceJob$: StaticStructureSchema;
@@ -100,9 +106,7 @@ export declare var RegisterPackageVersionResponse$: StaticStructureSchema;
100
106
  export declare var RemoveApplicationInstanceRequest$: StaticStructureSchema;
101
107
  export declare var RemoveApplicationInstanceResponse$: StaticStructureSchema;
102
108
  export declare var ReportedRuntimeContextState$: StaticStructureSchema;
103
- export declare var ResourceNotFoundException$: StaticErrorSchema;
104
109
  export declare var S3Location$: StaticStructureSchema;
105
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
106
110
  export declare var SignalApplicationInstanceNodeInstancesRequest$: StaticStructureSchema;
107
111
  export declare var SignalApplicationInstanceNodeInstancesResponse$: StaticStructureSchema;
108
112
  export declare var StaticIpConnectionInfo$: StaticStructureSchema;
@@ -113,10 +117,8 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
113
117
  export declare var UntagResourceResponse$: StaticStructureSchema;
114
118
  export declare var UpdateDeviceMetadataRequest$: StaticStructureSchema;
115
119
  export declare var UpdateDeviceMetadataResponse$: StaticStructureSchema;
116
- export declare var ValidationException$: StaticErrorSchema;
117
120
  export declare var ValidationExceptionErrorArgument$: StaticStructureSchema;
118
121
  export declare var ValidationExceptionField$: StaticStructureSchema;
119
- export declare var PanoramaServiceException$: StaticErrorSchema;
120
122
  export declare var ManifestOverridesPayload$: StaticUnionSchema;
121
123
  export declare var ManifestPayload$: StaticUnionSchema;
122
124
  export declare var CreateApplicationInstance$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-panorama",
3
3
  "description": "AWS SDK for JavaScript Panorama Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-panorama",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",