@aws-sdk/client-kinesis-analytics 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 "./KinesisAnalytics";
2
2
  export * from "./KinesisAnalyticsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { KinesisAnalyticsServiceException } from "./models/KinesisAnalyticsServiceException";
@@ -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 KinesisAnalytics service.
4
+ */
5
+ export declare class KinesisAnalyticsServiceException 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 { KinesisAnalyticsServiceException as __BaseException } from "./KinesisAnalyticsServiceException";
2
3
  /**
3
4
  * <p>Provides a description of CloudWatch logging options, including the log stream
4
5
  * Amazon Resource Name (ARN) and the role ARN.</p>
@@ -54,54 +55,57 @@ export declare namespace AddApplicationCloudWatchLoggingOptionResponse {
54
55
  /**
55
56
  * <p>Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time.</p>
56
57
  */
57
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
58
- name: "ConcurrentModificationException";
59
- $fault: "client";
58
+ export declare class ConcurrentModificationException extends __BaseException {
59
+ readonly name: "ConcurrentModificationException";
60
+ readonly $fault: "client";
60
61
  /**
61
- * <p></p>
62
+ * @internal
62
63
  */
63
- message?: string;
64
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
64
65
  }
65
66
  /**
66
67
  * <p>Specified input parameter value is invalid.</p>
67
68
  */
68
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
69
- name: "InvalidArgumentException";
70
- $fault: "client";
69
+ export declare class InvalidArgumentException extends __BaseException {
70
+ readonly name: "InvalidArgumentException";
71
+ readonly $fault: "client";
71
72
  /**
72
- * <p></p>
73
+ * @internal
73
74
  */
74
- message?: string;
75
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
75
76
  }
76
77
  /**
77
78
  * <p>Application is not available for this operation.</p>
78
79
  */
79
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
80
- name: "ResourceInUseException";
81
- $fault: "client";
80
+ export declare class ResourceInUseException extends __BaseException {
81
+ readonly name: "ResourceInUseException";
82
+ readonly $fault: "client";
82
83
  /**
83
- * <p></p>
84
+ * @internal
84
85
  */
85
- message?: string;
86
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
86
87
  }
87
88
  /**
88
89
  * <p>Specified application can't be found.</p>
89
90
  */
90
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
91
- name: "ResourceNotFoundException";
92
- $fault: "client";
91
+ export declare class ResourceNotFoundException extends __BaseException {
92
+ readonly name: "ResourceNotFoundException";
93
+ readonly $fault: "client";
93
94
  /**
94
- * <p></p>
95
+ * @internal
95
96
  */
96
- message?: string;
97
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
97
98
  }
98
99
  /**
99
100
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation. </p>
100
101
  */
101
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
102
- name: "UnsupportedOperationException";
103
- $fault: "client";
104
- message?: string;
102
+ export declare class UnsupportedOperationException extends __BaseException {
103
+ readonly name: "UnsupportedOperationException";
104
+ readonly $fault: "client";
105
+ /**
106
+ * @internal
107
+ */
108
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
105
109
  }
106
110
  /**
107
111
  * <p>Describes the number of in-application streams to create for a given
@@ -446,13 +450,13 @@ export declare namespace AddApplicationInputResponse {
446
450
  /**
447
451
  * <p>User-provided application code (query) is invalid. This can be a simple syntax error.</p>
448
452
  */
449
- export interface CodeValidationException extends __SmithyException, $MetadataBearer {
450
- name: "CodeValidationException";
451
- $fault: "client";
453
+ export declare class CodeValidationException extends __BaseException {
454
+ readonly name: "CodeValidationException";
455
+ readonly $fault: "client";
452
456
  /**
453
- * <p>Test</p>
457
+ * @internal
454
458
  */
455
- message?: string;
459
+ constructor(opts: __ExceptionOptionType<CodeValidationException, __BaseException>);
456
460
  }
457
461
  export interface AddApplicationInputProcessingConfigurationRequest {
458
462
  /**
@@ -1720,21 +1724,24 @@ export declare namespace CreateApplicationResponse {
1720
1724
  /**
1721
1725
  * <p>Exceeded the number of applications allowed.</p>
1722
1726
  */
1723
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
1724
- name: "LimitExceededException";
1725
- $fault: "client";
1727
+ export declare class LimitExceededException extends __BaseException {
1728
+ readonly name: "LimitExceededException";
1729
+ readonly $fault: "client";
1726
1730
  /**
1727
- * <p></p>
1731
+ * @internal
1728
1732
  */
1729
- message?: string;
1733
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1730
1734
  }
1731
1735
  /**
1732
1736
  * <p>Application created with too many tags, or too many tags added to an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50.</p>
1733
1737
  */
1734
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
1735
- name: "TooManyTagsException";
1736
- $fault: "client";
1737
- message?: string;
1738
+ export declare class TooManyTagsException extends __BaseException {
1739
+ readonly name: "TooManyTagsException";
1740
+ readonly $fault: "client";
1741
+ /**
1742
+ * @internal
1743
+ */
1744
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1738
1745
  }
1739
1746
  /**
1740
1747
  * <p></p>
@@ -2024,29 +2031,38 @@ export declare namespace DiscoverInputSchemaResponse {
2024
2031
  * see <a href="https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html">GetRecords</a>
2025
2032
  * in the Amazon Kinesis Streams API Reference.</p>
2026
2033
  */
2027
- export interface ResourceProvisionedThroughputExceededException extends __SmithyException, $MetadataBearer {
2028
- name: "ResourceProvisionedThroughputExceededException";
2029
- $fault: "client";
2030
- message?: string;
2034
+ export declare class ResourceProvisionedThroughputExceededException extends __BaseException {
2035
+ readonly name: "ResourceProvisionedThroughputExceededException";
2036
+ readonly $fault: "client";
2037
+ /**
2038
+ * @internal
2039
+ */
2040
+ constructor(opts: __ExceptionOptionType<ResourceProvisionedThroughputExceededException, __BaseException>);
2031
2041
  }
2032
2042
  /**
2033
2043
  * <p>The service is unavailable. Back off and retry the operation. </p>
2034
2044
  */
2035
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
2036
- name: "ServiceUnavailableException";
2037
- $fault: "server";
2038
- message?: string;
2045
+ export declare class ServiceUnavailableException extends __BaseException {
2046
+ readonly name: "ServiceUnavailableException";
2047
+ readonly $fault: "server";
2048
+ /**
2049
+ * @internal
2050
+ */
2051
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
2039
2052
  }
2040
2053
  /**
2041
2054
  * <p>Data format is not valid. Amazon Kinesis Analytics is not able to detect schema for
2042
2055
  * the given streaming source.</p>
2043
2056
  */
2044
- export interface UnableToDetectSchemaException extends __SmithyException, $MetadataBearer {
2045
- name: "UnableToDetectSchemaException";
2046
- $fault: "client";
2047
- message?: string;
2057
+ export declare class UnableToDetectSchemaException extends __BaseException {
2058
+ readonly name: "UnableToDetectSchemaException";
2059
+ readonly $fault: "client";
2048
2060
  RawInputRecords?: string[];
2049
2061
  ProcessedInputRecords?: string[];
2062
+ /**
2063
+ * @internal
2064
+ */
2065
+ constructor(opts: __ExceptionOptionType<UnableToDetectSchemaException, __BaseException>);
2050
2066
  }
2051
2067
  /**
2052
2068
  * <p>When you start your application,
@@ -2074,13 +2090,13 @@ export declare namespace InputConfiguration {
2074
2090
  /**
2075
2091
  * <p>User-provided application configuration is not valid.</p>
2076
2092
  */
2077
- export interface InvalidApplicationConfigurationException extends __SmithyException, $MetadataBearer {
2078
- name: "InvalidApplicationConfigurationException";
2079
- $fault: "client";
2093
+ export declare class InvalidApplicationConfigurationException extends __BaseException {
2094
+ readonly name: "InvalidApplicationConfigurationException";
2095
+ readonly $fault: "client";
2080
2096
  /**
2081
- * <p>test</p>
2097
+ * @internal
2082
2098
  */
2083
- message?: string;
2099
+ constructor(opts: __ExceptionOptionType<InvalidApplicationConfigurationException, __BaseException>);
2084
2100
  }
2085
2101
  /**
2086
2102
  * <p></p>
@@ -2,3 +2,4 @@ export * from "./KinesisAnalytics";
2
2
  export * from "./KinesisAnalyticsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { KinesisAnalyticsServiceException } from "./models/KinesisAnalyticsServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class KinesisAnalyticsServiceException 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 { KinesisAnalyticsServiceException as __BaseException } from "./KinesisAnalyticsServiceException";
2
3
 
3
4
  export interface CloudWatchLoggingOption {
4
5
 
@@ -29,38 +30,39 @@ export declare namespace AddApplicationCloudWatchLoggingOptionResponse {
29
30
  const filterSensitiveLog: (obj: AddApplicationCloudWatchLoggingOptionResponse) => any;
30
31
  }
31
32
 
32
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
33
- name: "ConcurrentModificationException";
34
- $fault: "client";
33
+ export declare class ConcurrentModificationException extends __BaseException {
34
+ readonly name: "ConcurrentModificationException";
35
+ readonly $fault: "client";
35
36
 
36
- message?: string;
37
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
37
38
  }
38
39
 
39
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
40
- name: "InvalidArgumentException";
41
- $fault: "client";
40
+ export declare class InvalidArgumentException extends __BaseException {
41
+ readonly name: "InvalidArgumentException";
42
+ readonly $fault: "client";
42
43
 
43
- message?: string;
44
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
44
45
  }
45
46
 
46
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
47
- name: "ResourceInUseException";
48
- $fault: "client";
47
+ export declare class ResourceInUseException extends __BaseException {
48
+ readonly name: "ResourceInUseException";
49
+ readonly $fault: "client";
49
50
 
50
- message?: string;
51
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
51
52
  }
52
53
 
53
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
54
- name: "ResourceNotFoundException";
55
- $fault: "client";
54
+ export declare class ResourceNotFoundException extends __BaseException {
55
+ readonly name: "ResourceNotFoundException";
56
+ readonly $fault: "client";
56
57
 
57
- message?: string;
58
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
58
59
  }
59
60
 
60
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
61
- name: "UnsupportedOperationException";
62
- $fault: "client";
63
- message?: string;
61
+ export declare class UnsupportedOperationException extends __BaseException {
62
+ readonly name: "UnsupportedOperationException";
63
+ readonly $fault: "client";
64
+
65
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
64
66
  }
65
67
 
66
68
  export interface InputParallelism {
@@ -225,11 +227,11 @@ export declare namespace AddApplicationInputResponse {
225
227
  const filterSensitiveLog: (obj: AddApplicationInputResponse) => any;
226
228
  }
227
229
 
228
- export interface CodeValidationException extends __SmithyException, $MetadataBearer {
229
- name: "CodeValidationException";
230
- $fault: "client";
230
+ export declare class CodeValidationException extends __BaseException {
231
+ readonly name: "CodeValidationException";
232
+ readonly $fault: "client";
231
233
 
232
- message?: string;
234
+ constructor(opts: __ExceptionOptionType<CodeValidationException, __BaseException>);
233
235
  }
234
236
  export interface AddApplicationInputProcessingConfigurationRequest {
235
237
 
@@ -839,17 +841,18 @@ export declare namespace CreateApplicationResponse {
839
841
  const filterSensitiveLog: (obj: CreateApplicationResponse) => any;
840
842
  }
841
843
 
842
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
843
- name: "LimitExceededException";
844
- $fault: "client";
844
+ export declare class LimitExceededException extends __BaseException {
845
+ readonly name: "LimitExceededException";
846
+ readonly $fault: "client";
845
847
 
846
- message?: string;
848
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
847
849
  }
848
850
 
849
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
850
- name: "TooManyTagsException";
851
- $fault: "client";
852
- message?: string;
851
+ export declare class TooManyTagsException extends __BaseException {
852
+ readonly name: "TooManyTagsException";
853
+ readonly $fault: "client";
854
+
855
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
853
856
  }
854
857
 
855
858
  export interface DeleteApplicationRequest {
@@ -1006,24 +1009,27 @@ export declare namespace DiscoverInputSchemaResponse {
1006
1009
  const filterSensitiveLog: (obj: DiscoverInputSchemaResponse) => any;
1007
1010
  }
1008
1011
 
1009
- export interface ResourceProvisionedThroughputExceededException extends __SmithyException, $MetadataBearer {
1010
- name: "ResourceProvisionedThroughputExceededException";
1011
- $fault: "client";
1012
- message?: string;
1012
+ export declare class ResourceProvisionedThroughputExceededException extends __BaseException {
1013
+ readonly name: "ResourceProvisionedThroughputExceededException";
1014
+ readonly $fault: "client";
1015
+
1016
+ constructor(opts: __ExceptionOptionType<ResourceProvisionedThroughputExceededException, __BaseException>);
1013
1017
  }
1014
1018
 
1015
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
1016
- name: "ServiceUnavailableException";
1017
- $fault: "server";
1018
- message?: string;
1019
+ export declare class ServiceUnavailableException extends __BaseException {
1020
+ readonly name: "ServiceUnavailableException";
1021
+ readonly $fault: "server";
1022
+
1023
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1019
1024
  }
1020
1025
 
1021
- export interface UnableToDetectSchemaException extends __SmithyException, $MetadataBearer {
1022
- name: "UnableToDetectSchemaException";
1023
- $fault: "client";
1024
- message?: string;
1026
+ export declare class UnableToDetectSchemaException extends __BaseException {
1027
+ readonly name: "UnableToDetectSchemaException";
1028
+ readonly $fault: "client";
1025
1029
  RawInputRecords?: string[];
1026
1030
  ProcessedInputRecords?: string[];
1031
+
1032
+ constructor(opts: __ExceptionOptionType<UnableToDetectSchemaException, __BaseException>);
1027
1033
  }
1028
1034
 
1029
1035
  export interface InputConfiguration {
@@ -1037,11 +1043,11 @@ export declare namespace InputConfiguration {
1037
1043
  const filterSensitiveLog: (obj: InputConfiguration) => any;
1038
1044
  }
1039
1045
 
1040
- export interface InvalidApplicationConfigurationException extends __SmithyException, $MetadataBearer {
1041
- name: "InvalidApplicationConfigurationException";
1042
- $fault: "client";
1046
+ export declare class InvalidApplicationConfigurationException extends __BaseException {
1047
+ readonly name: "InvalidApplicationConfigurationException";
1048
+ readonly $fault: "client";
1043
1049
 
1044
- message?: string;
1050
+ constructor(opts: __ExceptionOptionType<InvalidApplicationConfigurationException, __BaseException>);
1045
1051
  }
1046
1052
 
1047
1053
  export interface ListApplicationsRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-analytics",
3
3
  "description": "AWS SDK for JavaScript Kinesis Analytics 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"