@aws-sdk/client-network-firewall 3.52.0 → 3.54.1

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 { AssociateFirewallPolicyCommandInput, AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
10
10
  import { AssociateSubnetsCommandInput, AssociateSubnetsCommandOutput } from "./commands/AssociateSubnetsCommand";
11
11
  import { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
@@ -58,7 +58,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
58
58
  * A function that can calculate the length of a request body.
59
59
  * @internal
60
60
  */
61
- bodyLengthChecker?: (body: any) => number | undefined;
61
+ bodyLengthChecker?: __BodyLengthCalculator;
62
62
  /**
63
63
  * A function that converts a stream into an array of bytes.
64
64
  * @internal
@@ -3,3 +3,4 @@ export * from "./NetworkFirewallClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { NetworkFirewallServiceException } from "./models/NetworkFirewallServiceException";
@@ -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 NetworkFirewall service.
4
+ */
5
+ export declare class NetworkFirewallServiceException 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 { NetworkFirewallServiceException as __BaseException } from "./NetworkFirewallServiceException";
2
3
  /**
3
4
  * <p>The value to use in an Amazon CloudWatch custom metric dimension. This is used in the
4
5
  * <code>PublishMetrics</code>
@@ -142,19 +143,27 @@ export declare namespace AssociateFirewallPolicyResponse {
142
143
  * <p>Your request is valid, but Network Firewall couldn’t perform the operation because of a
143
144
  * system problem. Retry your request. </p>
144
145
  */
145
- export interface InternalServerError extends __SmithyException, $MetadataBearer {
146
- name: "InternalServerError";
147
- $fault: "server";
146
+ export declare class InternalServerError extends __BaseException {
147
+ readonly name: "InternalServerError";
148
+ readonly $fault: "server";
148
149
  Message?: string;
150
+ /**
151
+ * @internal
152
+ */
153
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
149
154
  }
150
155
  /**
151
156
  * <p>The operation failed because it's not valid. For example, you might have tried to delete
152
157
  * a rule group or firewall policy that's in use.</p>
153
158
  */
154
- export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
155
- name: "InvalidOperationException";
156
- $fault: "client";
159
+ export declare class InvalidOperationException extends __BaseException {
160
+ readonly name: "InvalidOperationException";
161
+ readonly $fault: "client";
157
162
  Message?: string;
163
+ /**
164
+ * @internal
165
+ */
166
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
158
167
  }
159
168
  /**
160
169
  * <p>The operation failed because of a problem with your request. Examples include: </p>
@@ -172,34 +181,50 @@ export interface InvalidOperationException extends __SmithyException, $MetadataB
172
181
  * </li>
173
182
  * </ul>
174
183
  */
175
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
176
- name: "InvalidRequestException";
177
- $fault: "client";
184
+ export declare class InvalidRequestException extends __BaseException {
185
+ readonly name: "InvalidRequestException";
186
+ readonly $fault: "client";
178
187
  Message?: string;
188
+ /**
189
+ * @internal
190
+ */
191
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
179
192
  }
180
193
  /**
181
194
  * <p>The token you provided is stale or isn't valid for the operation. </p>
182
195
  */
183
- export interface InvalidTokenException extends __SmithyException, $MetadataBearer {
184
- name: "InvalidTokenException";
185
- $fault: "client";
196
+ export declare class InvalidTokenException extends __BaseException {
197
+ readonly name: "InvalidTokenException";
198
+ readonly $fault: "client";
186
199
  Message?: string;
200
+ /**
201
+ * @internal
202
+ */
203
+ constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
187
204
  }
188
205
  /**
189
206
  * <p>Unable to locate a resource using the parameters that you provided.</p>
190
207
  */
191
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
192
- name: "ResourceNotFoundException";
193
- $fault: "client";
208
+ export declare class ResourceNotFoundException extends __BaseException {
209
+ readonly name: "ResourceNotFoundException";
210
+ readonly $fault: "client";
194
211
  Message?: string;
212
+ /**
213
+ * @internal
214
+ */
215
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
195
216
  }
196
217
  /**
197
218
  * <p>Unable to process the request due to throttling limitations.</p>
198
219
  */
199
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
200
- name: "ThrottlingException";
201
- $fault: "client";
220
+ export declare class ThrottlingException extends __BaseException {
221
+ readonly name: "ThrottlingException";
222
+ readonly $fault: "client";
202
223
  Message?: string;
224
+ /**
225
+ * @internal
226
+ */
227
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
203
228
  }
204
229
  /**
205
230
  * <p>The ID for a subnet that you want to associate with the firewall. This is used with
@@ -277,10 +302,14 @@ export declare namespace AssociateSubnetsResponse {
277
302
  * <p>AWS doesn't currently have enough available capacity to fulfill your request. Try your
278
303
  * request later. </p>
279
304
  */
280
- export interface InsufficientCapacityException extends __SmithyException, $MetadataBearer {
281
- name: "InsufficientCapacityException";
282
- $fault: "server";
305
+ export declare class InsufficientCapacityException extends __BaseException {
306
+ readonly name: "InsufficientCapacityException";
307
+ readonly $fault: "server";
283
308
  Message?: string;
309
+ /**
310
+ * @internal
311
+ */
312
+ constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
284
313
  }
285
314
  export declare enum AttachmentStatus {
286
315
  CREATING = "CREATING",
@@ -605,10 +634,14 @@ export declare namespace CreateFirewallResponse {
605
634
  /**
606
635
  * <p>Unable to perform the operation because doing so would violate a limit setting. </p>
607
636
  */
608
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
609
- name: "LimitExceededException";
610
- $fault: "client";
637
+ export declare class LimitExceededException extends __BaseException {
638
+ readonly name: "LimitExceededException";
639
+ readonly $fault: "client";
611
640
  Message?: string;
641
+ /**
642
+ * @internal
643
+ */
644
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
612
645
  }
613
646
  export declare enum RuleOrder {
614
647
  DEFAULT_ACTION_ORDER = "DEFAULT_ACTION_ORDER",
@@ -1730,10 +1763,14 @@ export declare namespace DeleteFirewallResponse {
1730
1763
  /**
1731
1764
  * <p>The operation you requested isn't supported by Network Firewall. </p>
1732
1765
  */
1733
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
1734
- name: "UnsupportedOperationException";
1735
- $fault: "client";
1766
+ export declare class UnsupportedOperationException extends __BaseException {
1767
+ readonly name: "UnsupportedOperationException";
1768
+ readonly $fault: "client";
1736
1769
  Message?: string;
1770
+ /**
1771
+ * @internal
1772
+ */
1773
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
1737
1774
  }
1738
1775
  export interface DeleteFirewallPolicyRequest {
1739
1776
  /**
@@ -1789,10 +1826,14 @@ export declare namespace DeleteResourcePolicyResponse {
1789
1826
  /**
1790
1827
  * <p>The policy statement failed validation.</p>
1791
1828
  */
1792
- export interface InvalidResourcePolicyException extends __SmithyException, $MetadataBearer {
1793
- name: "InvalidResourcePolicyException";
1794
- $fault: "client";
1829
+ export declare class InvalidResourcePolicyException extends __BaseException {
1830
+ readonly name: "InvalidResourcePolicyException";
1831
+ readonly $fault: "client";
1795
1832
  Message?: string;
1833
+ /**
1834
+ * @internal
1835
+ */
1836
+ constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
1796
1837
  }
1797
1838
  export interface DeleteRuleGroupRequest {
1798
1839
  /**
@@ -2472,10 +2513,14 @@ export declare namespace ListTagsForResourceResponse {
2472
2513
  /**
2473
2514
  * <p>Unable to send logs to a configured logging destination. </p>
2474
2515
  */
2475
- export interface LogDestinationPermissionException extends __SmithyException, $MetadataBearer {
2476
- name: "LogDestinationPermissionException";
2477
- $fault: "client";
2516
+ export declare class LogDestinationPermissionException extends __BaseException {
2517
+ readonly name: "LogDestinationPermissionException";
2518
+ readonly $fault: "client";
2478
2519
  Message?: string;
2520
+ /**
2521
+ * @internal
2522
+ */
2523
+ constructor(opts: __ExceptionOptionType<LogDestinationPermissionException, __BaseException>);
2479
2524
  }
2480
2525
  export interface PutResourcePolicyRequest {
2481
2526
  /**
@@ -2581,10 +2626,14 @@ export declare namespace UntagResourceResponse {
2581
2626
  /**
2582
2627
  * <p>Unable to change the resource because your account doesn't own it. </p>
2583
2628
  */
2584
- export interface ResourceOwnerCheckException extends __SmithyException, $MetadataBearer {
2585
- name: "ResourceOwnerCheckException";
2586
- $fault: "client";
2629
+ export declare class ResourceOwnerCheckException extends __BaseException {
2630
+ readonly name: "ResourceOwnerCheckException";
2631
+ readonly $fault: "client";
2587
2632
  Message?: string;
2633
+ /**
2634
+ * @internal
2635
+ */
2636
+ constructor(opts: __ExceptionOptionType<ResourceOwnerCheckException, __BaseException>);
2588
2637
  }
2589
2638
  export interface UpdateFirewallDeleteProtectionRequest {
2590
2639
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: NetworkFirewallClientConfig) =>
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: NetworkFirewallClientConfig) =>
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: NetworkFirewallClientConfig) =>
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 { AssociateFirewallPolicyCommandInput, AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
10
10
  import { AssociateSubnetsCommandInput, AssociateSubnetsCommandOutput } from "./commands/AssociateSubnetsCommand";
11
11
  import { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
@@ -46,7 +46,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
46
46
 
47
47
  urlParser?: __UrlParser;
48
48
 
49
- bodyLengthChecker?: (body: any) => number | undefined;
49
+ bodyLengthChecker?: __BodyLengthCalculator;
50
50
 
51
51
  streamCollector?: __StreamCollector;
52
52
 
@@ -3,3 +3,4 @@ export * from "./NetworkFirewallClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { NetworkFirewallServiceException } from "./models/NetworkFirewallServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class NetworkFirewallServiceException 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 { NetworkFirewallServiceException as __BaseException } from "./NetworkFirewallServiceException";
2
3
 
3
4
  export interface Dimension {
4
5
 
@@ -64,40 +65,52 @@ export declare namespace AssociateFirewallPolicyResponse {
64
65
  const filterSensitiveLog: (obj: AssociateFirewallPolicyResponse) => any;
65
66
  }
66
67
 
67
- export interface InternalServerError extends __SmithyException, $MetadataBearer {
68
- name: "InternalServerError";
69
- $fault: "server";
68
+ export declare class InternalServerError extends __BaseException {
69
+ readonly name: "InternalServerError";
70
+ readonly $fault: "server";
70
71
  Message?: string;
72
+
73
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
71
74
  }
72
75
 
73
- export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
74
- name: "InvalidOperationException";
75
- $fault: "client";
76
+ export declare class InvalidOperationException extends __BaseException {
77
+ readonly name: "InvalidOperationException";
78
+ readonly $fault: "client";
76
79
  Message?: string;
80
+
81
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
77
82
  }
78
83
 
79
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
80
- name: "InvalidRequestException";
81
- $fault: "client";
84
+ export declare class InvalidRequestException extends __BaseException {
85
+ readonly name: "InvalidRequestException";
86
+ readonly $fault: "client";
82
87
  Message?: string;
88
+
89
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
83
90
  }
84
91
 
85
- export interface InvalidTokenException extends __SmithyException, $MetadataBearer {
86
- name: "InvalidTokenException";
87
- $fault: "client";
92
+ export declare class InvalidTokenException extends __BaseException {
93
+ readonly name: "InvalidTokenException";
94
+ readonly $fault: "client";
88
95
  Message?: string;
96
+
97
+ constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
89
98
  }
90
99
 
91
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
92
- name: "ResourceNotFoundException";
93
- $fault: "client";
100
+ export declare class ResourceNotFoundException extends __BaseException {
101
+ readonly name: "ResourceNotFoundException";
102
+ readonly $fault: "client";
94
103
  Message?: string;
104
+
105
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
95
106
  }
96
107
 
97
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
98
- name: "ThrottlingException";
99
- $fault: "client";
108
+ export declare class ThrottlingException extends __BaseException {
109
+ readonly name: "ThrottlingException";
110
+ readonly $fault: "client";
100
111
  Message?: string;
112
+
113
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
101
114
  }
102
115
 
103
116
  export interface SubnetMapping {
@@ -137,10 +150,12 @@ export declare namespace AssociateSubnetsResponse {
137
150
  const filterSensitiveLog: (obj: AssociateSubnetsResponse) => any;
138
151
  }
139
152
 
140
- export interface InsufficientCapacityException extends __SmithyException, $MetadataBearer {
141
- name: "InsufficientCapacityException";
142
- $fault: "server";
153
+ export declare class InsufficientCapacityException extends __BaseException {
154
+ readonly name: "InsufficientCapacityException";
155
+ readonly $fault: "server";
143
156
  Message?: string;
157
+
158
+ constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
144
159
  }
145
160
  export declare enum AttachmentStatus {
146
161
  CREATING = "CREATING",
@@ -288,10 +303,12 @@ export declare namespace CreateFirewallResponse {
288
303
  const filterSensitiveLog: (obj: CreateFirewallResponse) => any;
289
304
  }
290
305
 
291
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
292
- name: "LimitExceededException";
293
- $fault: "client";
306
+ export declare class LimitExceededException extends __BaseException {
307
+ readonly name: "LimitExceededException";
308
+ readonly $fault: "client";
294
309
  Message?: string;
310
+
311
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
295
312
  }
296
313
  export declare enum RuleOrder {
297
314
  DEFAULT_ACTION_ORDER = "DEFAULT_ACTION_ORDER",
@@ -761,10 +778,12 @@ export declare namespace DeleteFirewallResponse {
761
778
  const filterSensitiveLog: (obj: DeleteFirewallResponse) => any;
762
779
  }
763
780
 
764
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
765
- name: "UnsupportedOperationException";
766
- $fault: "client";
781
+ export declare class UnsupportedOperationException extends __BaseException {
782
+ readonly name: "UnsupportedOperationException";
783
+ readonly $fault: "client";
767
784
  Message?: string;
785
+
786
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
768
787
  }
769
788
  export interface DeleteFirewallPolicyRequest {
770
789
 
@@ -799,10 +818,12 @@ export declare namespace DeleteResourcePolicyResponse {
799
818
  const filterSensitiveLog: (obj: DeleteResourcePolicyResponse) => any;
800
819
  }
801
820
 
802
- export interface InvalidResourcePolicyException extends __SmithyException, $MetadataBearer {
803
- name: "InvalidResourcePolicyException";
804
- $fault: "client";
821
+ export declare class InvalidResourcePolicyException extends __BaseException {
822
+ readonly name: "InvalidResourcePolicyException";
823
+ readonly $fault: "client";
805
824
  Message?: string;
825
+
826
+ constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
806
827
  }
807
828
  export interface DeleteRuleGroupRequest {
808
829
 
@@ -1143,10 +1164,12 @@ export declare namespace ListTagsForResourceResponse {
1143
1164
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1144
1165
  }
1145
1166
 
1146
- export interface LogDestinationPermissionException extends __SmithyException, $MetadataBearer {
1147
- name: "LogDestinationPermissionException";
1148
- $fault: "client";
1167
+ export declare class LogDestinationPermissionException extends __BaseException {
1168
+ readonly name: "LogDestinationPermissionException";
1169
+ readonly $fault: "client";
1149
1170
  Message?: string;
1171
+
1172
+ constructor(opts: __ExceptionOptionType<LogDestinationPermissionException, __BaseException>);
1150
1173
  }
1151
1174
  export interface PutResourcePolicyRequest {
1152
1175
 
@@ -1197,10 +1220,12 @@ export declare namespace UntagResourceResponse {
1197
1220
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
1198
1221
  }
1199
1222
 
1200
- export interface ResourceOwnerCheckException extends __SmithyException, $MetadataBearer {
1201
- name: "ResourceOwnerCheckException";
1202
- $fault: "client";
1223
+ export declare class ResourceOwnerCheckException extends __BaseException {
1224
+ readonly name: "ResourceOwnerCheckException";
1225
+ readonly $fault: "client";
1203
1226
  Message?: string;
1227
+
1228
+ constructor(opts: __ExceptionOptionType<ResourceOwnerCheckException, __BaseException>);
1204
1229
  }
1205
1230
  export interface UpdateFirewallDeleteProtectionRequest {
1206
1231
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: NetworkFirewallClientConfig) =>
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: NetworkFirewallClientConfig) =>
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: NetworkFirewallClientConfig) =>
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-network-firewall",
3
3
  "description": "AWS SDK for JavaScript Network Firewall Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.54.1",
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.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
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",
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.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
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"