@aws-sdk/client-network-firewall 3.719.0 → 3.723.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class NetworkFirewallClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -4,79 +4,85 @@ export const IdentifiedType = {
4
4
  STATELESS_RULE_FORWARDING_ASYMMETRICALLY: "STATELESS_RULE_FORWARDING_ASYMMETRICALLY",
5
5
  };
6
6
  export class InternalServerError extends __BaseException {
7
+ name = "InternalServerError";
8
+ $fault = "server";
9
+ Message;
7
10
  constructor(opts) {
8
11
  super({
9
12
  name: "InternalServerError",
10
13
  $fault: "server",
11
14
  ...opts,
12
15
  });
13
- this.name = "InternalServerError";
14
- this.$fault = "server";
15
16
  Object.setPrototypeOf(this, InternalServerError.prototype);
16
17
  this.Message = opts.Message;
17
18
  }
18
19
  }
19
20
  export class InvalidOperationException extends __BaseException {
21
+ name = "InvalidOperationException";
22
+ $fault = "client";
23
+ Message;
20
24
  constructor(opts) {
21
25
  super({
22
26
  name: "InvalidOperationException",
23
27
  $fault: "client",
24
28
  ...opts,
25
29
  });
26
- this.name = "InvalidOperationException";
27
- this.$fault = "client";
28
30
  Object.setPrototypeOf(this, InvalidOperationException.prototype);
29
31
  this.Message = opts.Message;
30
32
  }
31
33
  }
32
34
  export class InvalidRequestException extends __BaseException {
35
+ name = "InvalidRequestException";
36
+ $fault = "client";
37
+ Message;
33
38
  constructor(opts) {
34
39
  super({
35
40
  name: "InvalidRequestException",
36
41
  $fault: "client",
37
42
  ...opts,
38
43
  });
39
- this.name = "InvalidRequestException";
40
- this.$fault = "client";
41
44
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
42
45
  this.Message = opts.Message;
43
46
  }
44
47
  }
45
48
  export class InvalidTokenException extends __BaseException {
49
+ name = "InvalidTokenException";
50
+ $fault = "client";
51
+ Message;
46
52
  constructor(opts) {
47
53
  super({
48
54
  name: "InvalidTokenException",
49
55
  $fault: "client",
50
56
  ...opts,
51
57
  });
52
- this.name = "InvalidTokenException";
53
- this.$fault = "client";
54
58
  Object.setPrototypeOf(this, InvalidTokenException.prototype);
55
59
  this.Message = opts.Message;
56
60
  }
57
61
  }
58
62
  export class ResourceNotFoundException extends __BaseException {
63
+ name = "ResourceNotFoundException";
64
+ $fault = "client";
65
+ Message;
59
66
  constructor(opts) {
60
67
  super({
61
68
  name: "ResourceNotFoundException",
62
69
  $fault: "client",
63
70
  ...opts,
64
71
  });
65
- this.name = "ResourceNotFoundException";
66
- this.$fault = "client";
67
72
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
68
73
  this.Message = opts.Message;
69
74
  }
70
75
  }
71
76
  export class ThrottlingException extends __BaseException {
77
+ name = "ThrottlingException";
78
+ $fault = "client";
79
+ Message;
72
80
  constructor(opts) {
73
81
  super({
74
82
  name: "ThrottlingException",
75
83
  $fault: "client",
76
84
  ...opts,
77
85
  });
78
- this.name = "ThrottlingException";
79
- this.$fault = "client";
80
86
  Object.setPrototypeOf(this, ThrottlingException.prototype);
81
87
  this.Message = opts.Message;
82
88
  }
@@ -87,14 +93,15 @@ export const IPAddressType = {
87
93
  IPV6: "IPV6",
88
94
  };
89
95
  export class InsufficientCapacityException extends __BaseException {
96
+ name = "InsufficientCapacityException";
97
+ $fault = "server";
98
+ Message;
90
99
  constructor(opts) {
91
100
  super({
92
101
  name: "InsufficientCapacityException",
93
102
  $fault: "server",
94
103
  ...opts,
95
104
  });
96
- this.name = "InsufficientCapacityException";
97
- this.$fault = "server";
98
105
  Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
99
106
  this.Message = opts.Message;
100
107
  }
@@ -132,14 +139,15 @@ export const PerObjectSyncStatus = {
132
139
  PENDING: "PENDING",
133
140
  };
134
141
  export class LimitExceededException extends __BaseException {
142
+ name = "LimitExceededException";
143
+ $fault = "client";
144
+ Message;
135
145
  constructor(opts) {
136
146
  super({
137
147
  name: "LimitExceededException",
138
148
  $fault: "client",
139
149
  ...opts,
140
150
  });
141
- this.name = "LimitExceededException";
142
- this.$fault = "client";
143
151
  Object.setPrototypeOf(this, LimitExceededException.prototype);
144
152
  this.Message = opts.Message;
145
153
  }
@@ -215,27 +223,29 @@ export const RuleGroupType = {
215
223
  STATELESS: "STATELESS",
216
224
  };
217
225
  export class UnsupportedOperationException extends __BaseException {
226
+ name = "UnsupportedOperationException";
227
+ $fault = "client";
228
+ Message;
218
229
  constructor(opts) {
219
230
  super({
220
231
  name: "UnsupportedOperationException",
221
232
  $fault: "client",
222
233
  ...opts,
223
234
  });
224
- this.name = "UnsupportedOperationException";
225
- this.$fault = "client";
226
235
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
227
236
  this.Message = opts.Message;
228
237
  }
229
238
  }
230
239
  export class InvalidResourcePolicyException extends __BaseException {
240
+ name = "InvalidResourcePolicyException";
241
+ $fault = "client";
242
+ Message;
231
243
  constructor(opts) {
232
244
  super({
233
245
  name: "InvalidResourcePolicyException",
234
246
  $fault: "client",
235
247
  ...opts,
236
248
  });
237
- this.name = "InvalidResourcePolicyException";
238
- this.$fault = "client";
239
249
  Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
240
250
  this.Message = opts.Message;
241
251
  }
@@ -259,27 +269,29 @@ export const ResourceManagedStatus = {
259
269
  MANAGED: "MANAGED",
260
270
  };
261
271
  export class LogDestinationPermissionException extends __BaseException {
272
+ name = "LogDestinationPermissionException";
273
+ $fault = "client";
274
+ Message;
262
275
  constructor(opts) {
263
276
  super({
264
277
  name: "LogDestinationPermissionException",
265
278
  $fault: "client",
266
279
  ...opts,
267
280
  });
268
- this.name = "LogDestinationPermissionException";
269
- this.$fault = "client";
270
281
  Object.setPrototypeOf(this, LogDestinationPermissionException.prototype);
271
282
  this.Message = opts.Message;
272
283
  }
273
284
  }
274
285
  export class ResourceOwnerCheckException extends __BaseException {
286
+ name = "ResourceOwnerCheckException";
287
+ $fault = "client";
288
+ Message;
275
289
  constructor(opts) {
276
290
  super({
277
291
  name: "ResourceOwnerCheckException",
278
292
  $fault: "client",
279
293
  ...opts,
280
294
  });
281
- this.name = "ResourceOwnerCheckException";
282
- this.$fault = "client";
283
295
  Object.setPrototypeOf(this, ResourceOwnerCheckException.prototype);
284
296
  this.Message = opts.Message;
285
297
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: NetworkFirewallClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: NetworkFirewallClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: NetworkFirewallClientConfig) =>
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: NetworkFirewallClientConfig) =>
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.719.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-network-firewall",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {