@aws-sdk/client-firehose 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 { defaultFirehoseHttpAuthSchemeProvider } 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: "2015-08-04",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.firehose",
30
+ errorTypeRegistries,
29
31
  xmlNamespace: "http://firehose.amazonaws.com/doc/2015-08-04",
30
32
  version: "2015-08-04",
31
33
  serviceTarget: "Firehose_20150804",
@@ -332,12 +332,68 @@ const _co = "code";
332
332
  const _e = "error";
333
333
  const _hE = "httpError";
334
334
  const _m = "message";
335
- const _s = "server";
336
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.firehose";
335
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.firehose";
336
+ const _se = "server";
337
337
  const n0 = "com.amazonaws.firehose";
338
338
  import { TypeRegistry } from "@smithy/core/schema";
339
339
  import { ConcurrentModificationException, InvalidArgumentException, InvalidKMSResourceException, InvalidSourceException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, ServiceUnavailableException, } from "../models/errors";
340
340
  import { FirehoseServiceException } from "../models/FirehoseServiceException";
341
+ const _s_registry = TypeRegistry.for(_s);
342
+ export var FirehoseServiceException$ = [-3, _s, "FirehoseServiceException", 0, [], []];
343
+ _s_registry.registerError(FirehoseServiceException$, FirehoseServiceException);
344
+ const n0_registry = TypeRegistry.for(n0);
345
+ export var ConcurrentModificationException$ = [-3, n0, _CME,
346
+ { [_e]: _c },
347
+ [_m],
348
+ [0]
349
+ ];
350
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
351
+ export var InvalidArgumentException$ = [-3, n0, _IAE,
352
+ { [_e]: _c },
353
+ [_m],
354
+ [0]
355
+ ];
356
+ n0_registry.registerError(InvalidArgumentException$, InvalidArgumentException);
357
+ export var InvalidKMSResourceException$ = [-3, n0, _IKMSRE,
358
+ { [_e]: _c },
359
+ [_co, _m],
360
+ [0, 0]
361
+ ];
362
+ n0_registry.registerError(InvalidKMSResourceException$, InvalidKMSResourceException);
363
+ export var InvalidSourceException$ = [-3, n0, _ISE,
364
+ { [_e]: _c },
365
+ [_co, _m],
366
+ [0, 0]
367
+ ];
368
+ n0_registry.registerError(InvalidSourceException$, InvalidSourceException);
369
+ export var LimitExceededException$ = [-3, n0, _LEE,
370
+ { [_e]: _c },
371
+ [_m],
372
+ [0]
373
+ ];
374
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
375
+ export var ResourceInUseException$ = [-3, n0, _RIUE,
376
+ { [_e]: _c },
377
+ [_m],
378
+ [0]
379
+ ];
380
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
381
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
382
+ { [_e]: _c },
383
+ [_m],
384
+ [0]
385
+ ];
386
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
387
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
388
+ { [_e]: _se, [_hE]: 503 },
389
+ [_m],
390
+ [0]
391
+ ];
392
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
393
+ export const errorTypeRegistries = [
394
+ _s_registry,
395
+ n0_registry,
396
+ ];
341
397
  var HttpEndpointAccessKey = [0, n0, _HEAK, 8, 0];
342
398
  var HttpEndpointAttributeName = [0, n0, _HEAN, 8, 0];
343
399
  var HttpEndpointAttributeValue = [0, n0, _HEAV, 8, 0];
@@ -425,12 +481,6 @@ export var CloudWatchLoggingOptions$ = [3, n0, _CWLO,
425
481
  [_E, _LGN, _LSN],
426
482
  [2, 0, 0]
427
483
  ];
428
- export var ConcurrentModificationException$ = [-3, n0, _CME,
429
- { [_e]: _c },
430
- [_m],
431
- [0]
432
- ];
433
- TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
434
484
  export var CopyCommand$ = [3, n0, _CCo,
435
485
  0,
436
486
  [_DTN, _DTC, _CO],
@@ -681,24 +731,6 @@ export var InputFormatConfiguration$ = [3, n0, _IFC,
681
731
  [_Des],
682
732
  [() => Deserializer$]
683
733
  ];
684
- export var InvalidArgumentException$ = [-3, n0, _IAE,
685
- { [_e]: _c },
686
- [_m],
687
- [0]
688
- ];
689
- TypeRegistry.for(n0).registerError(InvalidArgumentException$, InvalidArgumentException);
690
- export var InvalidKMSResourceException$ = [-3, n0, _IKMSRE,
691
- { [_e]: _c },
692
- [_co, _m],
693
- [0, 0]
694
- ];
695
- TypeRegistry.for(n0).registerError(InvalidKMSResourceException$, InvalidKMSResourceException);
696
- export var InvalidSourceException$ = [-3, n0, _ISE,
697
- { [_e]: _c },
698
- [_co, _m],
699
- [0, 0]
700
- ];
701
- TypeRegistry.for(n0).registerError(InvalidSourceException$, InvalidSourceException);
702
734
  export var KinesisStreamSourceConfiguration$ = [3, n0, _KSSC,
703
735
  0,
704
736
  [_KSARN, _RARN],
@@ -714,12 +746,6 @@ export var KMSEncryptionConfig$ = [3, n0, _KMSEC,
714
746
  [_AWSKMSKARN],
715
747
  [0], 1
716
748
  ];
717
- export var LimitExceededException$ = [-3, n0, _LEE,
718
- { [_e]: _c },
719
- [_m],
720
- [0]
721
- ];
722
- TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
723
749
  export var ListDeliveryStreamsInput$ = [3, n0, _LDSI,
724
750
  0,
725
751
  [_L, _DST, _ESDSN],
@@ -845,18 +871,6 @@ export var RedshiftRetryOptions$ = [3, n0, _RRO,
845
871
  [_DIS],
846
872
  [1]
847
873
  ];
848
- export var ResourceInUseException$ = [-3, n0, _RIUE,
849
- { [_e]: _c },
850
- [_m],
851
- [0]
852
- ];
853
- TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
854
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
855
- { [_e]: _c },
856
- [_m],
857
- [0]
858
- ];
859
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
860
874
  export var RetryOptions$ = [3, n0, _RO,
861
875
  0,
862
876
  [_DIS],
@@ -897,12 +911,6 @@ export var Serializer$ = [3, n0, _Se,
897
911
  [_PSD, _OSD],
898
912
  [() => ParquetSerDe$, () => OrcSerDe$]
899
913
  ];
900
- export var ServiceUnavailableException$ = [-3, n0, _SUE,
901
- { [_e]: _s, [_hE]: 503 },
902
- [_m],
903
- [0]
904
- ];
905
- TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
906
914
  export var SnowflakeBufferingHints$ = [3, n0, _SBH,
907
915
  0,
908
916
  [_SIMB, _IIS],
@@ -1038,8 +1046,6 @@ export var VpcConfigurationDescription$ = [3, n0, _VCD,
1038
1046
  [_SIu, _RARN, _SGI, _VIp],
1039
1047
  [64 | 0, 0, 64 | 0, 0], 4
1040
1048
  ];
1041
- export var FirehoseServiceException$ = [-3, _sm, "FirehoseServiceException", 0, [], []];
1042
- TypeRegistry.for(_sm).registerError(FirehoseServiceException$, FirehoseServiceException);
1043
1049
  var DatabaseColumnIncludeOrExcludeList = 64 | 0;
1044
1050
  var DatabaseIncludeOrExcludeList = 64 | 0;
1045
1051
  var DatabaseSnapshotInfoList = [1, n0, _DSIL,
@@ -1,4 +1,20 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var FirehoseServiceException$: StaticErrorSchema;
4
+ export declare var ConcurrentModificationException$: StaticErrorSchema;
5
+ export declare var InvalidArgumentException$: StaticErrorSchema;
6
+ export declare var InvalidKMSResourceException$: StaticErrorSchema;
7
+ export declare var InvalidSourceException$: StaticErrorSchema;
8
+ export declare var LimitExceededException$: StaticErrorSchema;
9
+ export declare var ResourceInUseException$: StaticErrorSchema;
10
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
11
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
12
+ /**
13
+ * TypeRegistry instances containing modeled errors.
14
+ * @internal
15
+ *
16
+ */
17
+ export declare const errorTypeRegistries: TypeRegistry[];
2
18
  export declare var AmazonOpenSearchServerlessBufferingHints$: StaticStructureSchema;
3
19
  export declare var AmazonOpenSearchServerlessDestinationConfiguration$: StaticStructureSchema;
4
20
  export declare var AmazonOpenSearchServerlessDestinationDescription$: StaticStructureSchema;
@@ -13,7 +29,6 @@ export declare var AuthenticationConfiguration$: StaticStructureSchema;
13
29
  export declare var BufferingHints$: StaticStructureSchema;
14
30
  export declare var CatalogConfiguration$: StaticStructureSchema;
15
31
  export declare var CloudWatchLoggingOptions$: StaticStructureSchema;
16
- export declare var ConcurrentModificationException$: StaticErrorSchema;
17
32
  export declare var CopyCommand$: StaticStructureSchema;
18
33
  export declare var CreateDeliveryStreamInput$: StaticStructureSchema;
19
34
  export declare var CreateDeliveryStreamOutput$: StaticStructureSchema;
@@ -64,13 +79,9 @@ export declare var IcebergDestinationConfiguration$: StaticStructureSchema;
64
79
  export declare var IcebergDestinationDescription$: StaticStructureSchema;
65
80
  export declare var IcebergDestinationUpdate$: StaticStructureSchema;
66
81
  export declare var InputFormatConfiguration$: StaticStructureSchema;
67
- export declare var InvalidArgumentException$: StaticErrorSchema;
68
- export declare var InvalidKMSResourceException$: StaticErrorSchema;
69
- export declare var InvalidSourceException$: StaticErrorSchema;
70
82
  export declare var KinesisStreamSourceConfiguration$: StaticStructureSchema;
71
83
  export declare var KinesisStreamSourceDescription$: StaticStructureSchema;
72
84
  export declare var KMSEncryptionConfig$: StaticStructureSchema;
73
- export declare var LimitExceededException$: StaticErrorSchema;
74
85
  export declare var ListDeliveryStreamsInput$: StaticStructureSchema;
75
86
  export declare var ListDeliveryStreamsOutput$: StaticStructureSchema;
76
87
  export declare var ListTagsForDeliveryStreamInput$: StaticStructureSchema;
@@ -96,8 +107,6 @@ export declare var RedshiftDestinationConfiguration$: StaticStructureSchema;
96
107
  export declare var RedshiftDestinationDescription$: StaticStructureSchema;
97
108
  export declare var RedshiftDestinationUpdate$: StaticStructureSchema;
98
109
  export declare var RedshiftRetryOptions$: StaticStructureSchema;
99
- export declare var ResourceInUseException$: StaticErrorSchema;
100
- export declare var ResourceNotFoundException$: StaticErrorSchema;
101
110
  export declare var RetryOptions$: StaticStructureSchema;
102
111
  export declare var S3DestinationConfiguration$: StaticStructureSchema;
103
112
  export declare var S3DestinationDescription$: StaticStructureSchema;
@@ -106,7 +115,6 @@ export declare var SchemaConfiguration$: StaticStructureSchema;
106
115
  export declare var SchemaEvolutionConfiguration$: StaticStructureSchema;
107
116
  export declare var SecretsManagerConfiguration$: StaticStructureSchema;
108
117
  export declare var Serializer$: StaticStructureSchema;
109
- export declare var ServiceUnavailableException$: StaticErrorSchema;
110
118
  export declare var SnowflakeBufferingHints$: StaticStructureSchema;
111
119
  export declare var SnowflakeDestinationConfiguration$: StaticStructureSchema;
112
120
  export declare var SnowflakeDestinationDescription$: StaticStructureSchema;
@@ -134,7 +142,6 @@ export declare var UpdateDestinationInput$: StaticStructureSchema;
134
142
  export declare var UpdateDestinationOutput$: StaticStructureSchema;
135
143
  export declare var VpcConfiguration$: StaticStructureSchema;
136
144
  export declare var VpcConfigurationDescription$: StaticStructureSchema;
137
- export declare var FirehoseServiceException$: StaticErrorSchema;
138
145
  export declare var CreateDeliveryStream$: StaticOperationSchema;
139
146
  export declare var DeleteDeliveryStream$: StaticOperationSchema;
140
147
  export declare var DescribeDeliveryStream$: StaticOperationSchema;
@@ -1,8 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var FirehoseServiceException$: StaticErrorSchema;
8
+ export declare var ConcurrentModificationException$: StaticErrorSchema;
9
+ export declare var InvalidArgumentException$: StaticErrorSchema;
10
+ export declare var InvalidKMSResourceException$: StaticErrorSchema;
11
+ export declare var InvalidSourceException$: StaticErrorSchema;
12
+ export declare var LimitExceededException$: StaticErrorSchema;
13
+ export declare var ResourceInUseException$: StaticErrorSchema;
14
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
6
17
  export declare var AmazonOpenSearchServerlessBufferingHints$: StaticStructureSchema;
7
18
  export declare var AmazonOpenSearchServerlessDestinationConfiguration$: StaticStructureSchema;
8
19
  export declare var AmazonOpenSearchServerlessDestinationDescription$: StaticStructureSchema;
@@ -17,7 +28,6 @@ export declare var AuthenticationConfiguration$: StaticStructureSchema;
17
28
  export declare var BufferingHints$: StaticStructureSchema;
18
29
  export declare var CatalogConfiguration$: StaticStructureSchema;
19
30
  export declare var CloudWatchLoggingOptions$: StaticStructureSchema;
20
- export declare var ConcurrentModificationException$: StaticErrorSchema;
21
31
  export declare var CopyCommand$: StaticStructureSchema;
22
32
  export declare var CreateDeliveryStreamInput$: StaticStructureSchema;
23
33
  export declare var CreateDeliveryStreamOutput$: StaticStructureSchema;
@@ -68,13 +78,9 @@ export declare var IcebergDestinationConfiguration$: StaticStructureSchema;
68
78
  export declare var IcebergDestinationDescription$: StaticStructureSchema;
69
79
  export declare var IcebergDestinationUpdate$: StaticStructureSchema;
70
80
  export declare var InputFormatConfiguration$: StaticStructureSchema;
71
- export declare var InvalidArgumentException$: StaticErrorSchema;
72
- export declare var InvalidKMSResourceException$: StaticErrorSchema;
73
- export declare var InvalidSourceException$: StaticErrorSchema;
74
81
  export declare var KinesisStreamSourceConfiguration$: StaticStructureSchema;
75
82
  export declare var KinesisStreamSourceDescription$: StaticStructureSchema;
76
83
  export declare var KMSEncryptionConfig$: StaticStructureSchema;
77
- export declare var LimitExceededException$: StaticErrorSchema;
78
84
  export declare var ListDeliveryStreamsInput$: StaticStructureSchema;
79
85
  export declare var ListDeliveryStreamsOutput$: StaticStructureSchema;
80
86
  export declare var ListTagsForDeliveryStreamInput$: StaticStructureSchema;
@@ -100,8 +106,6 @@ export declare var RedshiftDestinationConfiguration$: StaticStructureSchema;
100
106
  export declare var RedshiftDestinationDescription$: StaticStructureSchema;
101
107
  export declare var RedshiftDestinationUpdate$: StaticStructureSchema;
102
108
  export declare var RedshiftRetryOptions$: StaticStructureSchema;
103
- export declare var ResourceInUseException$: StaticErrorSchema;
104
- export declare var ResourceNotFoundException$: StaticErrorSchema;
105
109
  export declare var RetryOptions$: StaticStructureSchema;
106
110
  export declare var S3DestinationConfiguration$: StaticStructureSchema;
107
111
  export declare var S3DestinationDescription$: StaticStructureSchema;
@@ -110,7 +114,6 @@ export declare var SchemaConfiguration$: StaticStructureSchema;
110
114
  export declare var SchemaEvolutionConfiguration$: StaticStructureSchema;
111
115
  export declare var SecretsManagerConfiguration$: StaticStructureSchema;
112
116
  export declare var Serializer$: StaticStructureSchema;
113
- export declare var ServiceUnavailableException$: StaticErrorSchema;
114
117
  export declare var SnowflakeBufferingHints$: StaticStructureSchema;
115
118
  export declare var SnowflakeDestinationConfiguration$: StaticStructureSchema;
116
119
  export declare var SnowflakeDestinationDescription$: StaticStructureSchema;
@@ -138,7 +141,6 @@ export declare var UpdateDestinationInput$: StaticStructureSchema;
138
141
  export declare var UpdateDestinationOutput$: StaticStructureSchema;
139
142
  export declare var VpcConfiguration$: StaticStructureSchema;
140
143
  export declare var VpcConfigurationDescription$: StaticStructureSchema;
141
- export declare var FirehoseServiceException$: StaticErrorSchema;
142
144
  export declare var CreateDeliveryStream$: StaticOperationSchema;
143
145
  export declare var DeleteDeliveryStream$: StaticOperationSchema;
144
146
  export declare var DescribeDeliveryStream$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-firehose",
3
3
  "description": "AWS SDK for JavaScript Firehose 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-firehose",
@@ -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",