@aws-sdk/client-vpc-lattice 3.929.0 → 3.930.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.
package/dist-cjs/index.js CHANGED
@@ -231,46 +231,6 @@ const AuthType = {
231
231
  AWS_IAM: "AWS_IAM",
232
232
  NONE: "NONE",
233
233
  };
234
- exports.RuleAction = void 0;
235
- (function (RuleAction) {
236
- RuleAction.visit = (value, visitor) => {
237
- if (value.forward !== undefined)
238
- return visitor.forward(value.forward);
239
- if (value.fixedResponse !== undefined)
240
- return visitor.fixedResponse(value.fixedResponse);
241
- return visitor._(value.$unknown[0], value.$unknown[1]);
242
- };
243
- })(exports.RuleAction || (exports.RuleAction = {}));
244
- exports.HeaderMatchType = void 0;
245
- (function (HeaderMatchType) {
246
- HeaderMatchType.visit = (value, visitor) => {
247
- if (value.exact !== undefined)
248
- return visitor.exact(value.exact);
249
- if (value.prefix !== undefined)
250
- return visitor.prefix(value.prefix);
251
- if (value.contains !== undefined)
252
- return visitor.contains(value.contains);
253
- return visitor._(value.$unknown[0], value.$unknown[1]);
254
- };
255
- })(exports.HeaderMatchType || (exports.HeaderMatchType = {}));
256
- exports.PathMatchType = void 0;
257
- (function (PathMatchType) {
258
- PathMatchType.visit = (value, visitor) => {
259
- if (value.exact !== undefined)
260
- return visitor.exact(value.exact);
261
- if (value.prefix !== undefined)
262
- return visitor.prefix(value.prefix);
263
- return visitor._(value.$unknown[0], value.$unknown[1]);
264
- };
265
- })(exports.PathMatchType || (exports.PathMatchType = {}));
266
- exports.RuleMatch = void 0;
267
- (function (RuleMatch) {
268
- RuleMatch.visit = (value, visitor) => {
269
- if (value.httpMatch !== undefined)
270
- return visitor.httpMatch(value.httpMatch);
271
- return visitor._(value.$unknown[0], value.$unknown[1]);
272
- };
273
- })(exports.RuleMatch || (exports.RuleMatch = {}));
274
234
  const ListenerProtocol = {
275
235
  HTTP: "HTTP",
276
236
  HTTPS: "HTTPS",
@@ -304,18 +264,6 @@ const ResourceConfigurationIpAddressType = {
304
264
  IPV4: "IPV4",
305
265
  IPV6: "IPV6",
306
266
  };
307
- exports.ResourceConfigurationDefinition = void 0;
308
- (function (ResourceConfigurationDefinition) {
309
- ResourceConfigurationDefinition.visit = (value, visitor) => {
310
- if (value.dnsResource !== undefined)
311
- return visitor.dnsResource(value.dnsResource);
312
- if (value.ipResource !== undefined)
313
- return visitor.ipResource(value.ipResource);
314
- if (value.arnResource !== undefined)
315
- return visitor.arnResource(value.arnResource);
316
- return visitor._(value.$unknown[0], value.$unknown[1]);
317
- };
318
- })(exports.ResourceConfigurationDefinition || (exports.ResourceConfigurationDefinition = {}));
319
267
  const ResourceConfigurationType = {
320
268
  ARN: "ARN",
321
269
  CHILD: "CHILD",
@@ -382,14 +330,6 @@ const ServiceNetworkVpcAssociationStatus = {
382
330
  UPDATE_FAILED: "UPDATE_FAILED",
383
331
  UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
384
332
  };
385
- exports.Matcher = void 0;
386
- (function (Matcher) {
387
- Matcher.visit = (value, visitor) => {
388
- if (value.httpCode !== undefined)
389
- return visitor.httpCode(value.httpCode);
390
- return visitor._(value.$unknown[0], value.$unknown[1]);
391
- };
392
- })(exports.Matcher || (exports.Matcher = {}));
393
333
  const TargetGroupProtocol = {
394
334
  HTTP: "HTTP",
395
335
  HTTPS: "HTTPS",
@@ -113,46 +113,6 @@ export const AuthType = {
113
113
  AWS_IAM: "AWS_IAM",
114
114
  NONE: "NONE",
115
115
  };
116
- export var RuleAction;
117
- (function (RuleAction) {
118
- RuleAction.visit = (value, visitor) => {
119
- if (value.forward !== undefined)
120
- return visitor.forward(value.forward);
121
- if (value.fixedResponse !== undefined)
122
- return visitor.fixedResponse(value.fixedResponse);
123
- return visitor._(value.$unknown[0], value.$unknown[1]);
124
- };
125
- })(RuleAction || (RuleAction = {}));
126
- export var HeaderMatchType;
127
- (function (HeaderMatchType) {
128
- HeaderMatchType.visit = (value, visitor) => {
129
- if (value.exact !== undefined)
130
- return visitor.exact(value.exact);
131
- if (value.prefix !== undefined)
132
- return visitor.prefix(value.prefix);
133
- if (value.contains !== undefined)
134
- return visitor.contains(value.contains);
135
- return visitor._(value.$unknown[0], value.$unknown[1]);
136
- };
137
- })(HeaderMatchType || (HeaderMatchType = {}));
138
- export var PathMatchType;
139
- (function (PathMatchType) {
140
- PathMatchType.visit = (value, visitor) => {
141
- if (value.exact !== undefined)
142
- return visitor.exact(value.exact);
143
- if (value.prefix !== undefined)
144
- return visitor.prefix(value.prefix);
145
- return visitor._(value.$unknown[0], value.$unknown[1]);
146
- };
147
- })(PathMatchType || (PathMatchType = {}));
148
- export var RuleMatch;
149
- (function (RuleMatch) {
150
- RuleMatch.visit = (value, visitor) => {
151
- if (value.httpMatch !== undefined)
152
- return visitor.httpMatch(value.httpMatch);
153
- return visitor._(value.$unknown[0], value.$unknown[1]);
154
- };
155
- })(RuleMatch || (RuleMatch = {}));
156
116
  export const ListenerProtocol = {
157
117
  HTTP: "HTTP",
158
118
  HTTPS: "HTTPS",
@@ -186,18 +146,6 @@ export const ResourceConfigurationIpAddressType = {
186
146
  IPV4: "IPV4",
187
147
  IPV6: "IPV6",
188
148
  };
189
- export var ResourceConfigurationDefinition;
190
- (function (ResourceConfigurationDefinition) {
191
- ResourceConfigurationDefinition.visit = (value, visitor) => {
192
- if (value.dnsResource !== undefined)
193
- return visitor.dnsResource(value.dnsResource);
194
- if (value.ipResource !== undefined)
195
- return visitor.ipResource(value.ipResource);
196
- if (value.arnResource !== undefined)
197
- return visitor.arnResource(value.arnResource);
198
- return visitor._(value.$unknown[0], value.$unknown[1]);
199
- };
200
- })(ResourceConfigurationDefinition || (ResourceConfigurationDefinition = {}));
201
149
  export const ResourceConfigurationType = {
202
150
  ARN: "ARN",
203
151
  CHILD: "CHILD",
@@ -264,14 +212,6 @@ export const ServiceNetworkVpcAssociationStatus = {
264
212
  UPDATE_FAILED: "UPDATE_FAILED",
265
213
  UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
266
214
  };
267
- export var Matcher;
268
- (function (Matcher) {
269
- Matcher.visit = (value, visitor) => {
270
- if (value.httpCode !== undefined)
271
- return visitor.httpCode(value.httpCode);
272
- return visitor._(value.$unknown[0], value.$unknown[1]);
273
- };
274
- })(Matcher || (Matcher = {}));
275
215
  export const TargetGroupProtocol = {
276
216
  HTTP: "HTTP",
277
217
  HTTPS: "HTTPS",
@@ -543,12 +543,15 @@ export declare namespace RuleAction {
543
543
  fixedResponse?: never;
544
544
  $unknown: [string, any];
545
545
  }
546
+ /**
547
+ * @deprecated unused in schema-serde mode.
548
+ *
549
+ */
546
550
  interface Visitor<T> {
547
551
  forward: (value: ForwardAction) => T;
548
552
  fixedResponse: (value: FixedResponseAction) => T;
549
553
  _: (name: string, value: any) => T;
550
554
  }
551
- const visit: <T>(value: RuleAction, visitor: Visitor<T>) => T;
552
555
  }
553
556
  /**
554
557
  * <p>Describes a header match type.</p>
@@ -598,13 +601,16 @@ export declare namespace HeaderMatchType {
598
601
  contains?: never;
599
602
  $unknown: [string, any];
600
603
  }
604
+ /**
605
+ * @deprecated unused in schema-serde mode.
606
+ *
607
+ */
601
608
  interface Visitor<T> {
602
609
  exact: (value: string) => T;
603
610
  prefix: (value: string) => T;
604
611
  contains: (value: string) => T;
605
612
  _: (name: string, value: any) => T;
606
613
  }
607
- const visit: <T>(value: HeaderMatchType, visitor: Visitor<T>) => T;
608
614
  }
609
615
  /**
610
616
  * <p>Describes the constraints for a header match. Matches incoming requests with rule based on request header value before applying rule action.</p>
@@ -662,12 +668,15 @@ export declare namespace PathMatchType {
662
668
  prefix?: never;
663
669
  $unknown: [string, any];
664
670
  }
671
+ /**
672
+ * @deprecated unused in schema-serde mode.
673
+ *
674
+ */
665
675
  interface Visitor<T> {
666
676
  exact: (value: string) => T;
667
677
  prefix: (value: string) => T;
668
678
  _: (name: string, value: any) => T;
669
679
  }
670
- const visit: <T>(value: PathMatchType, visitor: Visitor<T>) => T;
671
680
  }
672
681
  /**
673
682
  * <p>Describes the conditions that can be applied when matching a path for incoming requests.</p>
@@ -730,11 +739,14 @@ export declare namespace RuleMatch {
730
739
  httpMatch?: never;
731
740
  $unknown: [string, any];
732
741
  }
742
+ /**
743
+ * @deprecated unused in schema-serde mode.
744
+ *
745
+ */
733
746
  interface Visitor<T> {
734
747
  httpMatch: (value: HttpMatch) => T;
735
748
  _: (name: string, value: any) => T;
736
749
  }
737
- const visit: <T>(value: RuleMatch, visitor: Visitor<T>) => T;
738
750
  }
739
751
  /**
740
752
  * <p>Describes a rule update.</p>
@@ -1109,13 +1121,16 @@ export declare namespace ResourceConfigurationDefinition {
1109
1121
  arnResource?: never;
1110
1122
  $unknown: [string, any];
1111
1123
  }
1124
+ /**
1125
+ * @deprecated unused in schema-serde mode.
1126
+ *
1127
+ */
1112
1128
  interface Visitor<T> {
1113
1129
  dnsResource: (value: DnsResource) => T;
1114
1130
  ipResource: (value: IpResource) => T;
1115
1131
  arnResource: (value: ArnResource) => T;
1116
1132
  _: (name: string, value: any) => T;
1117
1133
  }
1118
- const visit: <T>(value: ResourceConfigurationDefinition, visitor: Visitor<T>) => T;
1119
1134
  }
1120
1135
  /**
1121
1136
  * @public
@@ -2129,11 +2144,14 @@ export declare namespace Matcher {
2129
2144
  httpCode?: never;
2130
2145
  $unknown: [string, any];
2131
2146
  }
2147
+ /**
2148
+ * @deprecated unused in schema-serde mode.
2149
+ *
2150
+ */
2132
2151
  interface Visitor<T> {
2133
2152
  httpCode: (value: string) => T;
2134
2153
  _: (name: string, value: any) => T;
2135
2154
  }
2136
- const visit: <T>(value: Matcher, visitor: Visitor<T>) => T;
2137
2155
  }
2138
2156
  /**
2139
2157
  * @public
@@ -183,7 +183,6 @@ export declare namespace RuleAction {
183
183
  fixedResponse: (value: FixedResponseAction) => T;
184
184
  _: (name: string, value: any) => T;
185
185
  }
186
- const visit: <T>(value: RuleAction, visitor: Visitor<T>) => T;
187
186
  }
188
187
  export type HeaderMatchType =
189
188
  | HeaderMatchType.ContainsMember
@@ -221,7 +220,6 @@ export declare namespace HeaderMatchType {
221
220
  contains: (value: string) => T;
222
221
  _: (name: string, value: any) => T;
223
222
  }
224
- const visit: <T>(value: HeaderMatchType, visitor: Visitor<T>) => T;
225
223
  }
226
224
  export interface HeaderMatch {
227
225
  name: string | undefined;
@@ -253,7 +251,6 @@ export declare namespace PathMatchType {
253
251
  prefix: (value: string) => T;
254
252
  _: (name: string, value: any) => T;
255
253
  }
256
- const visit: <T>(value: PathMatchType, visitor: Visitor<T>) => T;
257
254
  }
258
255
  export interface PathMatch {
259
256
  match: PathMatchType | undefined;
@@ -278,7 +275,6 @@ export declare namespace RuleMatch {
278
275
  httpMatch: (value: HttpMatch) => T;
279
276
  _: (name: string, value: any) => T;
280
277
  }
281
- const visit: <T>(value: RuleMatch, visitor: Visitor<T>) => T;
282
278
  }
283
279
  export interface RuleUpdate {
284
280
  ruleIdentifier: string | undefined;
@@ -400,10 +396,6 @@ export declare namespace ResourceConfigurationDefinition {
400
396
  arnResource: (value: ArnResource) => T;
401
397
  _: (name: string, value: any) => T;
402
398
  }
403
- const visit: <T>(
404
- value: ResourceConfigurationDefinition,
405
- visitor: Visitor<T>
406
- ) => T;
407
399
  }
408
400
  export declare const ResourceConfigurationType: {
409
401
  readonly ARN: "ARN";
@@ -664,7 +656,6 @@ export declare namespace Matcher {
664
656
  httpCode: (value: string) => T;
665
657
  _: (name: string, value: any) => T;
666
658
  }
667
- const visit: <T>(value: Matcher, visitor: Visitor<T>) => T;
668
659
  }
669
660
  export declare const TargetGroupProtocol: {
670
661
  readonly HTTP: "HTTP";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-vpc-lattice",
3
3
  "description": "AWS SDK for JavaScript Vpc Lattice Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.930.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-vpc-lattice",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },