@aws-sdk/client-kinesis-analytics-v2 3.51.0 → 3.54.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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput } from "./commands/AddApplicationCloudWatchLoggingOptionCommand";
10
10
  import { AddApplicationInputCommandInput, AddApplicationInputCommandOutput } from "./commands/AddApplicationInputCommand";
11
11
  import { AddApplicationInputProcessingConfigurationCommandInput, AddApplicationInputProcessingConfigurationCommandOutput } from "./commands/AddApplicationInputProcessingConfigurationCommand";
@@ -59,7 +59,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
59
59
  * A function that can calculate the length of a request body.
60
60
  * @internal
61
61
  */
62
- bodyLengthChecker?: (body: any) => number | undefined;
62
+ bodyLengthChecker?: __BodyLengthCalculator;
63
63
  /**
64
64
  * A function that converts a stream into an array of bytes.
65
65
  * @internal
@@ -2,3 +2,4 @@ export * from "./KinesisAnalyticsV2";
2
2
  export * from "./KinesisAnalyticsV2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { KinesisAnalyticsV2ServiceException } from "./models/KinesisAnalyticsV2ServiceException";
@@ -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 KinesisAnalyticsV2 service.
4
+ */
5
+ export declare class KinesisAnalyticsV2ServiceException 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 { KinesisAnalyticsV2ServiceException as __BaseException } from "./KinesisAnalyticsV2ServiceException";
2
3
  /**
3
4
  * <p>Provides a description of Amazon CloudWatch logging options, including the log stream
4
5
  * Amazon Resource Name (ARN). </p>
@@ -102,50 +103,74 @@ export declare namespace AddApplicationCloudWatchLoggingOptionResponse {
102
103
  * be the result of attempting to modify an application without using the current application
103
104
  * ID.</p>
104
105
  */
105
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
106
- name: "ConcurrentModificationException";
107
- $fault: "client";
106
+ export declare class ConcurrentModificationException extends __BaseException {
107
+ readonly name: "ConcurrentModificationException";
108
+ readonly $fault: "client";
108
109
  Message?: string;
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
109
114
  }
110
115
  /**
111
116
  * <p>The user-provided application configuration is not valid.</p>
112
117
  */
113
- export interface InvalidApplicationConfigurationException extends __SmithyException, $MetadataBearer {
114
- name: "InvalidApplicationConfigurationException";
115
- $fault: "client";
118
+ export declare class InvalidApplicationConfigurationException extends __BaseException {
119
+ readonly name: "InvalidApplicationConfigurationException";
120
+ readonly $fault: "client";
116
121
  Message?: string;
122
+ /**
123
+ * @internal
124
+ */
125
+ constructor(opts: __ExceptionOptionType<InvalidApplicationConfigurationException, __BaseException>);
117
126
  }
118
127
  /**
119
128
  * <p>The specified input parameter value is not valid.</p>
120
129
  */
121
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
122
- name: "InvalidArgumentException";
123
- $fault: "client";
130
+ export declare class InvalidArgumentException extends __BaseException {
131
+ readonly name: "InvalidArgumentException";
132
+ readonly $fault: "client";
124
133
  Message?: string;
134
+ /**
135
+ * @internal
136
+ */
137
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
125
138
  }
126
139
  /**
127
140
  * <p>The request JSON is not valid for the operation.</p>
128
141
  */
129
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
130
- name: "InvalidRequestException";
131
- $fault: "client";
142
+ export declare class InvalidRequestException extends __BaseException {
143
+ readonly name: "InvalidRequestException";
144
+ readonly $fault: "client";
132
145
  Message?: string;
146
+ /**
147
+ * @internal
148
+ */
149
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
133
150
  }
134
151
  /**
135
152
  * <p>The application is not available for this operation.</p>
136
153
  */
137
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
138
- name: "ResourceInUseException";
139
- $fault: "client";
154
+ export declare class ResourceInUseException extends __BaseException {
155
+ readonly name: "ResourceInUseException";
156
+ readonly $fault: "client";
140
157
  Message?: string;
158
+ /**
159
+ * @internal
160
+ */
161
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
141
162
  }
142
163
  /**
143
164
  * <p>Specified application can't be found.</p>
144
165
  */
145
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
146
- name: "ResourceNotFoundException";
147
- $fault: "client";
166
+ export declare class ResourceNotFoundException extends __BaseException {
167
+ readonly name: "ResourceNotFoundException";
168
+ readonly $fault: "client";
148
169
  Message?: string;
170
+ /**
171
+ * @internal
172
+ */
173
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
149
174
  }
150
175
  /**
151
176
  * <p>For a SQL-based Kinesis Data Analytics application, describes the number of
@@ -667,10 +692,14 @@ export declare namespace AddApplicationInputResponse {
667
692
  * <p>The user-provided application code (query) is not valid. This can be a simple syntax
668
693
  * error.</p>
669
694
  */
670
- export interface CodeValidationException extends __SmithyException, $MetadataBearer {
671
- name: "CodeValidationException";
672
- $fault: "client";
695
+ export declare class CodeValidationException extends __BaseException {
696
+ readonly name: "CodeValidationException";
697
+ readonly $fault: "client";
673
698
  Message?: string;
699
+ /**
700
+ * @internal
701
+ */
702
+ constructor(opts: __ExceptionOptionType<CodeValidationException, __BaseException>);
674
703
  }
675
704
  export interface AddApplicationInputProcessingConfigurationRequest {
676
705
  /**
@@ -3388,28 +3417,39 @@ export declare namespace CreateApplicationResponse {
3388
3417
  /**
3389
3418
  * <p>The number of allowed resources has been exceeded.</p>
3390
3419
  */
3391
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
3392
- name: "LimitExceededException";
3393
- $fault: "client";
3420
+ export declare class LimitExceededException extends __BaseException {
3421
+ readonly name: "LimitExceededException";
3422
+ readonly $fault: "client";
3394
3423
  Message?: string;
3424
+ /**
3425
+ * @internal
3426
+ */
3427
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
3395
3428
  }
3396
3429
  /**
3397
3430
  * <p>Application created with too many tags, or too many tags added to an application. Note that the maximum
3398
3431
  * number of application tags includes system tags. The maximum number of user-defined application tags is 50.</p>
3399
3432
  */
3400
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
3401
- name: "TooManyTagsException";
3402
- $fault: "client";
3403
- message?: string;
3433
+ export declare class TooManyTagsException extends __BaseException {
3434
+ readonly name: "TooManyTagsException";
3435
+ readonly $fault: "client";
3436
+ /**
3437
+ * @internal
3438
+ */
3439
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
3404
3440
  }
3405
3441
  /**
3406
3442
  * <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
3407
3443
  * operation. </p>
3408
3444
  */
3409
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
3410
- name: "UnsupportedOperationException";
3411
- $fault: "client";
3445
+ export declare class UnsupportedOperationException extends __BaseException {
3446
+ readonly name: "UnsupportedOperationException";
3447
+ readonly $fault: "client";
3412
3448
  Message?: string;
3449
+ /**
3450
+ * @internal
3451
+ */
3452
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
3413
3453
  }
3414
3454
  export declare enum UrlType {
3415
3455
  FLINK_DASHBOARD_URL = "FLINK_DASHBOARD_URL",
@@ -3958,26 +3998,34 @@ export declare namespace DiscoverInputSchemaResponse {
3958
3998
  * <p>Discovery failed to get a record from the streaming source because of the Kinesis
3959
3999
  * Streams <code>ProvisionedThroughputExceededException</code>. For more information, see <a href="http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html">GetRecords</a> in the Amazon Kinesis Streams API Reference.</p>
3960
4000
  */
3961
- export interface ResourceProvisionedThroughputExceededException extends __SmithyException, $MetadataBearer {
3962
- name: "ResourceProvisionedThroughputExceededException";
3963
- $fault: "client";
4001
+ export declare class ResourceProvisionedThroughputExceededException extends __BaseException {
4002
+ readonly name: "ResourceProvisionedThroughputExceededException";
4003
+ readonly $fault: "client";
3964
4004
  Message?: string;
4005
+ /**
4006
+ * @internal
4007
+ */
4008
+ constructor(opts: __ExceptionOptionType<ResourceProvisionedThroughputExceededException, __BaseException>);
3965
4009
  }
3966
4010
  /**
3967
4011
  * <p>The service cannot complete the request.</p>
3968
4012
  */
3969
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
3970
- name: "ServiceUnavailableException";
3971
- $fault: "server";
4013
+ export declare class ServiceUnavailableException extends __BaseException {
4014
+ readonly name: "ServiceUnavailableException";
4015
+ readonly $fault: "server";
3972
4016
  Message?: string;
4017
+ /**
4018
+ * @internal
4019
+ */
4020
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
3973
4021
  }
3974
4022
  /**
3975
4023
  * <p>The data format is not valid. Kinesis Data Analytics cannot detect the schema for
3976
4024
  * the given streaming source.</p>
3977
4025
  */
3978
- export interface UnableToDetectSchemaException extends __SmithyException, $MetadataBearer {
3979
- name: "UnableToDetectSchemaException";
3980
- $fault: "client";
4026
+ export declare class UnableToDetectSchemaException extends __BaseException {
4027
+ readonly name: "UnableToDetectSchemaException";
4028
+ readonly $fault: "client";
3981
4029
  Message?: string;
3982
4030
  /**
3983
4031
  * <p>Raw stream data that was sampled to infer the schema.</p>
@@ -3987,6 +4035,10 @@ export interface UnableToDetectSchemaException extends __SmithyException, $Metad
3987
4035
  * <p>Stream data that was modified by the processor specified in the <code>InputProcessingConfiguration</code> parameter. </p>
3988
4036
  */
3989
4037
  ProcessedInputRecords?: string[];
4038
+ /**
4039
+ * @internal
4040
+ */
4041
+ constructor(opts: __ExceptionOptionType<UnableToDetectSchemaException, __BaseException>);
3990
4042
  }
3991
4043
  export interface ListApplicationsRequest {
3992
4044
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput } from "./commands/AddApplicationCloudWatchLoggingOptionCommand";
10
10
  import { AddApplicationInputCommandInput, AddApplicationInputCommandOutput } from "./commands/AddApplicationInputCommand";
11
11
  import { AddApplicationInputProcessingConfigurationCommandInput, AddApplicationInputProcessingConfigurationCommandOutput } from "./commands/AddApplicationInputProcessingConfigurationCommand";
@@ -47,7 +47,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
47
47
 
48
48
  urlParser?: __UrlParser;
49
49
 
50
- bodyLengthChecker?: (body: any) => number | undefined;
50
+ bodyLengthChecker?: __BodyLengthCalculator;
51
51
 
52
52
  streamCollector?: __StreamCollector;
53
53
 
@@ -2,3 +2,4 @@ export * from "./KinesisAnalyticsV2";
2
2
  export * from "./KinesisAnalyticsV2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { KinesisAnalyticsV2ServiceException } from "./models/KinesisAnalyticsV2ServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class KinesisAnalyticsV2ServiceException 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 { KinesisAnalyticsV2ServiceException as __BaseException } from "./KinesisAnalyticsV2ServiceException";
2
3
 
3
4
  export interface CloudWatchLoggingOption {
4
5
 
@@ -48,40 +49,52 @@ export declare namespace AddApplicationCloudWatchLoggingOptionResponse {
48
49
  const filterSensitiveLog: (obj: AddApplicationCloudWatchLoggingOptionResponse) => any;
49
50
  }
50
51
 
51
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
52
- name: "ConcurrentModificationException";
53
- $fault: "client";
52
+ export declare class ConcurrentModificationException extends __BaseException {
53
+ readonly name: "ConcurrentModificationException";
54
+ readonly $fault: "client";
54
55
  Message?: string;
56
+
57
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
55
58
  }
56
59
 
57
- export interface InvalidApplicationConfigurationException extends __SmithyException, $MetadataBearer {
58
- name: "InvalidApplicationConfigurationException";
59
- $fault: "client";
60
+ export declare class InvalidApplicationConfigurationException extends __BaseException {
61
+ readonly name: "InvalidApplicationConfigurationException";
62
+ readonly $fault: "client";
60
63
  Message?: string;
64
+
65
+ constructor(opts: __ExceptionOptionType<InvalidApplicationConfigurationException, __BaseException>);
61
66
  }
62
67
 
63
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
64
- name: "InvalidArgumentException";
65
- $fault: "client";
68
+ export declare class InvalidArgumentException extends __BaseException {
69
+ readonly name: "InvalidArgumentException";
70
+ readonly $fault: "client";
66
71
  Message?: string;
72
+
73
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
67
74
  }
68
75
 
69
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
70
- name: "InvalidRequestException";
71
- $fault: "client";
76
+ export declare class InvalidRequestException extends __BaseException {
77
+ readonly name: "InvalidRequestException";
78
+ readonly $fault: "client";
72
79
  Message?: string;
80
+
81
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
73
82
  }
74
83
 
75
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
76
- name: "ResourceInUseException";
77
- $fault: "client";
84
+ export declare class ResourceInUseException extends __BaseException {
85
+ readonly name: "ResourceInUseException";
86
+ readonly $fault: "client";
78
87
  Message?: string;
88
+
89
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
79
90
  }
80
91
 
81
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
82
- name: "ResourceNotFoundException";
83
- $fault: "client";
92
+ export declare class ResourceNotFoundException extends __BaseException {
93
+ readonly name: "ResourceNotFoundException";
94
+ readonly $fault: "client";
84
95
  Message?: string;
96
+
97
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
85
98
  }
86
99
 
87
100
  export interface InputParallelism {
@@ -325,10 +338,12 @@ export declare namespace AddApplicationInputResponse {
325
338
  const filterSensitiveLog: (obj: AddApplicationInputResponse) => any;
326
339
  }
327
340
 
328
- export interface CodeValidationException extends __SmithyException, $MetadataBearer {
329
- name: "CodeValidationException";
330
- $fault: "client";
341
+ export declare class CodeValidationException extends __BaseException {
342
+ readonly name: "CodeValidationException";
343
+ readonly $fault: "client";
331
344
  Message?: string;
345
+
346
+ constructor(opts: __ExceptionOptionType<CodeValidationException, __BaseException>);
332
347
  }
333
348
  export interface AddApplicationInputProcessingConfigurationRequest {
334
349
 
@@ -1690,22 +1705,27 @@ export declare namespace CreateApplicationResponse {
1690
1705
  const filterSensitiveLog: (obj: CreateApplicationResponse) => any;
1691
1706
  }
1692
1707
 
1693
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
1694
- name: "LimitExceededException";
1695
- $fault: "client";
1708
+ export declare class LimitExceededException extends __BaseException {
1709
+ readonly name: "LimitExceededException";
1710
+ readonly $fault: "client";
1696
1711
  Message?: string;
1712
+
1713
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1697
1714
  }
1698
1715
 
1699
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
1700
- name: "TooManyTagsException";
1701
- $fault: "client";
1702
- message?: string;
1716
+ export declare class TooManyTagsException extends __BaseException {
1717
+ readonly name: "TooManyTagsException";
1718
+ readonly $fault: "client";
1719
+
1720
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1703
1721
  }
1704
1722
 
1705
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
1706
- name: "UnsupportedOperationException";
1707
- $fault: "client";
1723
+ export declare class UnsupportedOperationException extends __BaseException {
1724
+ readonly name: "UnsupportedOperationException";
1725
+ readonly $fault: "client";
1708
1726
  Message?: string;
1727
+
1728
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
1709
1729
  }
1710
1730
  export declare enum UrlType {
1711
1731
  FLINK_DASHBOARD_URL = "FLINK_DASHBOARD_URL",
@@ -2014,26 +2034,32 @@ export declare namespace DiscoverInputSchemaResponse {
2014
2034
  const filterSensitiveLog: (obj: DiscoverInputSchemaResponse) => any;
2015
2035
  }
2016
2036
 
2017
- export interface ResourceProvisionedThroughputExceededException extends __SmithyException, $MetadataBearer {
2018
- name: "ResourceProvisionedThroughputExceededException";
2019
- $fault: "client";
2037
+ export declare class ResourceProvisionedThroughputExceededException extends __BaseException {
2038
+ readonly name: "ResourceProvisionedThroughputExceededException";
2039
+ readonly $fault: "client";
2020
2040
  Message?: string;
2041
+
2042
+ constructor(opts: __ExceptionOptionType<ResourceProvisionedThroughputExceededException, __BaseException>);
2021
2043
  }
2022
2044
 
2023
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
2024
- name: "ServiceUnavailableException";
2025
- $fault: "server";
2045
+ export declare class ServiceUnavailableException extends __BaseException {
2046
+ readonly name: "ServiceUnavailableException";
2047
+ readonly $fault: "server";
2026
2048
  Message?: string;
2049
+
2050
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
2027
2051
  }
2028
2052
 
2029
- export interface UnableToDetectSchemaException extends __SmithyException, $MetadataBearer {
2030
- name: "UnableToDetectSchemaException";
2031
- $fault: "client";
2053
+ export declare class UnableToDetectSchemaException extends __BaseException {
2054
+ readonly name: "UnableToDetectSchemaException";
2055
+ readonly $fault: "client";
2032
2056
  Message?: string;
2033
2057
 
2034
2058
  RawInputRecords?: string[];
2035
2059
 
2036
2060
  ProcessedInputRecords?: string[];
2061
+
2062
+ constructor(opts: __ExceptionOptionType<UnableToDetectSchemaException, __BaseException>);
2037
2063
  }
2038
2064
  export interface ListApplicationsRequest {
2039
2065
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-analytics-v2",
3
3
  "description": "AWS SDK for JavaScript Kinesis Analytics V2 Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.54.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,40 +18,40 @@
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.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",