@aws-sdk/client-firehose 3.52.0 → 3.53.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.
@@ -2,3 +2,4 @@ export * from "./Firehose";
2
2
  export * from "./FirehoseClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { FirehoseServiceException } from "./models/FirehoseServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Firehose service.
4
+ */
5
+ export declare class FirehoseServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { FirehoseServiceException as __BaseException } from "./FirehoseServiceException";
2
3
  export interface AmazonopensearchserviceBufferingHints {
3
4
  IntervalInSeconds?: number;
4
5
  SizeInMBs?: number;
@@ -651,13 +652,13 @@ export declare namespace AmazonopensearchserviceDestinationUpdate {
651
652
  * <p>Another modification has already happened. Fetch <code>VersionId</code> again and use
652
653
  * it to update the destination.</p>
653
654
  */
654
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
655
- name: "ConcurrentModificationException";
656
- $fault: "client";
655
+ export declare class ConcurrentModificationException extends __BaseException {
656
+ readonly name: "ConcurrentModificationException";
657
+ readonly $fault: "client";
657
658
  /**
658
- * <p>A message that provides information about the error.</p>
659
+ * @internal
659
660
  */
660
- message?: string;
661
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
661
662
  }
662
663
  export declare enum ContentEncoding {
663
664
  GZIP = "GZIP",
@@ -1875,13 +1876,13 @@ export declare namespace CreateDeliveryStreamOutput {
1875
1876
  /**
1876
1877
  * <p>The specified input parameter has a value that is not valid.</p>
1877
1878
  */
1878
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
1879
- name: "InvalidArgumentException";
1880
- $fault: "client";
1879
+ export declare class InvalidArgumentException extends __BaseException {
1880
+ readonly name: "InvalidArgumentException";
1881
+ readonly $fault: "client";
1881
1882
  /**
1882
- * <p>A message that provides information about the error.</p>
1883
+ * @internal
1883
1884
  */
1884
- message?: string;
1885
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
1885
1886
  }
1886
1887
  /**
1887
1888
  * <p>Kinesis Data Firehose throws this exception when an attempt to put records or to start
@@ -1890,33 +1891,36 @@ export interface InvalidArgumentException extends __SmithyException, $MetadataBe
1890
1891
  * <code>InvalidStateException</code>, <code>DisabledException</code>, or
1891
1892
  * <code>NotFoundException</code>.</p>
1892
1893
  */
1893
- export interface InvalidKMSResourceException extends __SmithyException, $MetadataBearer {
1894
- name: "InvalidKMSResourceException";
1895
- $fault: "client";
1894
+ export declare class InvalidKMSResourceException extends __BaseException {
1895
+ readonly name: "InvalidKMSResourceException";
1896
+ readonly $fault: "client";
1896
1897
  code?: string;
1897
- message?: string;
1898
+ /**
1899
+ * @internal
1900
+ */
1901
+ constructor(opts: __ExceptionOptionType<InvalidKMSResourceException, __BaseException>);
1898
1902
  }
1899
1903
  /**
1900
1904
  * <p>You have already reached the limit for a requested resource.</p>
1901
1905
  */
1902
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
1903
- name: "LimitExceededException";
1904
- $fault: "client";
1906
+ export declare class LimitExceededException extends __BaseException {
1907
+ readonly name: "LimitExceededException";
1908
+ readonly $fault: "client";
1905
1909
  /**
1906
- * <p>A message that provides information about the error.</p>
1910
+ * @internal
1907
1911
  */
1908
- message?: string;
1912
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1909
1913
  }
1910
1914
  /**
1911
1915
  * <p>The resource is already in use and not available for this operation.</p>
1912
1916
  */
1913
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
1914
- name: "ResourceInUseException";
1915
- $fault: "client";
1917
+ export declare class ResourceInUseException extends __BaseException {
1918
+ readonly name: "ResourceInUseException";
1919
+ readonly $fault: "client";
1916
1920
  /**
1917
- * <p>A message that provides information about the error.</p>
1921
+ * @internal
1918
1922
  */
1919
- message?: string;
1923
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
1920
1924
  }
1921
1925
  export interface DeleteDeliveryStreamInput {
1922
1926
  /**
@@ -1952,13 +1956,13 @@ export declare namespace DeleteDeliveryStreamOutput {
1952
1956
  /**
1953
1957
  * <p>The specified resource could not be found.</p>
1954
1958
  */
1955
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
1956
- name: "ResourceNotFoundException";
1957
- $fault: "client";
1959
+ export declare class ResourceNotFoundException extends __BaseException {
1960
+ readonly name: "ResourceNotFoundException";
1961
+ readonly $fault: "client";
1958
1962
  /**
1959
- * <p>A message that provides information about the error.</p>
1963
+ * @internal
1960
1964
  */
1961
- message?: string;
1965
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
1962
1966
  }
1963
1967
  export declare enum DeliveryStreamFailureType {
1964
1968
  CREATE_ENI_FAILED = "CREATE_ENI_FAILED",
@@ -2899,13 +2903,13 @@ export declare namespace PutRecordOutput {
2899
2903
  * information about limits and how to request an increase, see <a href="https://docs.aws.amazon.com/firehose/latest/dev/limits.html">Amazon Kinesis Data Firehose
2900
2904
  * Limits</a>.</p>
2901
2905
  */
2902
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
2903
- name: "ServiceUnavailableException";
2904
- $fault: "server";
2906
+ export declare class ServiceUnavailableException extends __BaseException {
2907
+ readonly name: "ServiceUnavailableException";
2908
+ readonly $fault: "server";
2905
2909
  /**
2906
- * <p>A message that provides information about the error.</p>
2910
+ * @internal
2907
2911
  */
2908
- message?: string;
2912
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
2909
2913
  }
2910
2914
  export interface PutRecordBatchInput {
2911
2915
  /**
@@ -2,3 +2,4 @@ export * from "./Firehose";
2
2
  export * from "./FirehoseClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { FirehoseServiceException } from "./models/FirehoseServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class FirehoseServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { FirehoseServiceException as __BaseException } from "./FirehoseServiceException";
2
3
  export interface AmazonopensearchserviceBufferingHints {
3
4
  IntervalInSeconds?: number;
4
5
  SizeInMBs?: number;
@@ -286,11 +287,11 @@ export declare namespace AmazonopensearchserviceDestinationUpdate {
286
287
  const filterSensitiveLog: (obj: AmazonopensearchserviceDestinationUpdate) => any;
287
288
  }
288
289
 
289
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
290
- name: "ConcurrentModificationException";
291
- $fault: "client";
290
+ export declare class ConcurrentModificationException extends __BaseException {
291
+ readonly name: "ConcurrentModificationException";
292
+ readonly $fault: "client";
292
293
 
293
- message?: string;
294
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
294
295
  }
295
296
  export declare enum ContentEncoding {
296
297
  GZIP = "GZIP",
@@ -812,32 +813,33 @@ export declare namespace CreateDeliveryStreamOutput {
812
813
  const filterSensitiveLog: (obj: CreateDeliveryStreamOutput) => any;
813
814
  }
814
815
 
815
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
816
- name: "InvalidArgumentException";
817
- $fault: "client";
816
+ export declare class InvalidArgumentException extends __BaseException {
817
+ readonly name: "InvalidArgumentException";
818
+ readonly $fault: "client";
818
819
 
819
- message?: string;
820
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
820
821
  }
821
822
 
822
- export interface InvalidKMSResourceException extends __SmithyException, $MetadataBearer {
823
- name: "InvalidKMSResourceException";
824
- $fault: "client";
823
+ export declare class InvalidKMSResourceException extends __BaseException {
824
+ readonly name: "InvalidKMSResourceException";
825
+ readonly $fault: "client";
825
826
  code?: string;
826
- message?: string;
827
+
828
+ constructor(opts: __ExceptionOptionType<InvalidKMSResourceException, __BaseException>);
827
829
  }
828
830
 
829
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
830
- name: "LimitExceededException";
831
- $fault: "client";
831
+ export declare class LimitExceededException extends __BaseException {
832
+ readonly name: "LimitExceededException";
833
+ readonly $fault: "client";
832
834
 
833
- message?: string;
835
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
834
836
  }
835
837
 
836
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
837
- name: "ResourceInUseException";
838
- $fault: "client";
838
+ export declare class ResourceInUseException extends __BaseException {
839
+ readonly name: "ResourceInUseException";
840
+ readonly $fault: "client";
839
841
 
840
- message?: string;
842
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
841
843
  }
842
844
  export interface DeleteDeliveryStreamInput {
843
845
 
@@ -856,11 +858,11 @@ export declare namespace DeleteDeliveryStreamOutput {
856
858
  const filterSensitiveLog: (obj: DeleteDeliveryStreamOutput) => any;
857
859
  }
858
860
 
859
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
860
- name: "ResourceNotFoundException";
861
- $fault: "client";
861
+ export declare class ResourceNotFoundException extends __BaseException {
862
+ readonly name: "ResourceNotFoundException";
863
+ readonly $fault: "client";
862
864
 
863
- message?: string;
865
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
864
866
  }
865
867
  export declare enum DeliveryStreamFailureType {
866
868
  CREATE_ENI_FAILED = "CREATE_ENI_FAILED",
@@ -1305,11 +1307,11 @@ export declare namespace PutRecordOutput {
1305
1307
  const filterSensitiveLog: (obj: PutRecordOutput) => any;
1306
1308
  }
1307
1309
 
1308
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
1309
- name: "ServiceUnavailableException";
1310
- $fault: "server";
1310
+ export declare class ServiceUnavailableException extends __BaseException {
1311
+ readonly name: "ServiceUnavailableException";
1312
+ readonly $fault: "server";
1311
1313
 
1312
- message?: string;
1314
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1313
1315
  }
1314
1316
  export interface PutRecordBatchInput {
1315
1317
 
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.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"