@aws-sdk/client-vpc-lattice 3.430.0 → 3.431.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.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.se_UpdateServiceNetworkCommand = exports.se_UpdateServiceCommand = exports.se_UpdateRuleCommand = exports.se_UpdateListenerCommand = exports.se_UpdateAccessLogSubscriptionCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RegisterTargetsCommand = exports.se_PutResourcePolicyCommand = exports.se_PutAuthPolicyCommand = exports.se_ListTargetsCommand = exports.se_ListTargetGroupsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListServicesCommand = exports.se_ListServiceNetworkVpcAssociationsCommand = exports.se_ListServiceNetworkServiceAssociationsCommand = exports.se_ListServiceNetworksCommand = exports.se_ListRulesCommand = exports.se_ListListenersCommand = exports.se_ListAccessLogSubscriptionsCommand = exports.se_GetTargetGroupCommand = exports.se_GetServiceNetworkVpcAssociationCommand = exports.se_GetServiceNetworkServiceAssociationCommand = exports.se_GetServiceNetworkCommand = exports.se_GetServiceCommand = exports.se_GetRuleCommand = exports.se_GetResourcePolicyCommand = exports.se_GetListenerCommand = exports.se_GetAuthPolicyCommand = exports.se_GetAccessLogSubscriptionCommand = exports.se_DeregisterTargetsCommand = exports.se_DeleteTargetGroupCommand = exports.se_DeleteServiceNetworkVpcAssociationCommand = exports.se_DeleteServiceNetworkServiceAssociationCommand = exports.se_DeleteServiceNetworkCommand = exports.se_DeleteServiceCommand = exports.se_DeleteRuleCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteListenerCommand = exports.se_DeleteAuthPolicyCommand = exports.se_DeleteAccessLogSubscriptionCommand = exports.se_CreateTargetGroupCommand = exports.se_CreateServiceNetworkVpcAssociationCommand = exports.se_CreateServiceNetworkServiceAssociationCommand = exports.se_CreateServiceNetworkCommand = exports.se_CreateServiceCommand = exports.se_CreateRuleCommand = exports.se_CreateListenerCommand = exports.se_CreateAccessLogSubscriptionCommand = exports.se_BatchUpdateRuleCommand = void 0;
4
4
  exports.de_UpdateRuleCommand = exports.de_UpdateListenerCommand = exports.de_UpdateAccessLogSubscriptionCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RegisterTargetsCommand = exports.de_PutResourcePolicyCommand = exports.de_PutAuthPolicyCommand = exports.de_ListTargetsCommand = exports.de_ListTargetGroupsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListServicesCommand = exports.de_ListServiceNetworkVpcAssociationsCommand = exports.de_ListServiceNetworkServiceAssociationsCommand = exports.de_ListServiceNetworksCommand = exports.de_ListRulesCommand = exports.de_ListListenersCommand = exports.de_ListAccessLogSubscriptionsCommand = exports.de_GetTargetGroupCommand = exports.de_GetServiceNetworkVpcAssociationCommand = exports.de_GetServiceNetworkServiceAssociationCommand = exports.de_GetServiceNetworkCommand = exports.de_GetServiceCommand = exports.de_GetRuleCommand = exports.de_GetResourcePolicyCommand = exports.de_GetListenerCommand = exports.de_GetAuthPolicyCommand = exports.de_GetAccessLogSubscriptionCommand = exports.de_DeregisterTargetsCommand = exports.de_DeleteTargetGroupCommand = exports.de_DeleteServiceNetworkVpcAssociationCommand = exports.de_DeleteServiceNetworkServiceAssociationCommand = exports.de_DeleteServiceNetworkCommand = exports.de_DeleteServiceCommand = exports.de_DeleteRuleCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteListenerCommand = exports.de_DeleteAuthPolicyCommand = exports.de_DeleteAccessLogSubscriptionCommand = exports.de_CreateTargetGroupCommand = exports.de_CreateServiceNetworkVpcAssociationCommand = exports.de_CreateServiceNetworkServiceAssociationCommand = exports.de_CreateServiceNetworkCommand = exports.de_CreateServiceCommand = exports.de_CreateRuleCommand = exports.de_CreateListenerCommand = exports.de_CreateAccessLogSubscriptionCommand = exports.de_BatchUpdateRuleCommand = exports.se_UpdateTargetGroupCommand = exports.se_UpdateServiceNetworkVpcAssociationCommand = void 0;
5
5
  exports.de_UpdateTargetGroupCommand = exports.de_UpdateServiceNetworkVpcAssociationCommand = exports.de_UpdateServiceNetworkCommand = exports.de_UpdateServiceCommand = void 0;
6
+ const core_1 = require("@aws-sdk/core");
6
7
  const protocol_http_1 = require("@smithy/protocol-http");
7
8
  const smithy_client_1 = require("@smithy/smithy-client");
8
9
  const uuid_1 = require("uuid");
@@ -1232,7 +1233,7 @@ const de_CreateListenerCommand = async (output, context) => {
1232
1233
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1233
1234
  const doc = (0, smithy_client_1.take)(data, {
1234
1235
  arn: smithy_client_1.expectString,
1235
- defaultAction: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
1236
+ defaultAction: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1236
1237
  id: smithy_client_1.expectString,
1237
1238
  name: smithy_client_1.expectString,
1238
1239
  port: smithy_client_1.expectInt32,
@@ -1290,10 +1291,10 @@ const de_CreateRuleCommand = async (output, context) => {
1290
1291
  });
1291
1292
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1292
1293
  const doc = (0, smithy_client_1.take)(data, {
1293
- action: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
1294
+ action: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1294
1295
  arn: smithy_client_1.expectString,
1295
1296
  id: smithy_client_1.expectString,
1296
- match: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
1297
+ match: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1297
1298
  name: smithy_client_1.expectString,
1298
1299
  priority: smithy_client_1.expectInt32,
1299
1300
  });
@@ -2247,7 +2248,7 @@ const de_GetListenerCommand = async (output, context) => {
2247
2248
  const doc = (0, smithy_client_1.take)(data, {
2248
2249
  arn: smithy_client_1.expectString,
2249
2250
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2250
- defaultAction: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
2251
+ defaultAction: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
2251
2252
  id: smithy_client_1.expectString,
2252
2253
  lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2253
2254
  name: smithy_client_1.expectString,
@@ -2346,13 +2347,13 @@ const de_GetRuleCommand = async (output, context) => {
2346
2347
  });
2347
2348
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2348
2349
  const doc = (0, smithy_client_1.take)(data, {
2349
- action: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
2350
+ action: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
2350
2351
  arn: smithy_client_1.expectString,
2351
2352
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2352
2353
  id: smithy_client_1.expectString,
2353
2354
  isDefault: smithy_client_1.expectBoolean,
2354
2355
  lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2355
- match: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
2356
+ match: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
2356
2357
  name: smithy_client_1.expectString,
2357
2358
  priority: smithy_client_1.expectInt32,
2358
2359
  });
@@ -3409,7 +3410,7 @@ const de_UpdateListenerCommand = async (output, context) => {
3409
3410
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3410
3411
  const doc = (0, smithy_client_1.take)(data, {
3411
3412
  arn: smithy_client_1.expectString,
3412
- defaultAction: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3413
+ defaultAction: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3413
3414
  id: smithy_client_1.expectString,
3414
3415
  name: smithy_client_1.expectString,
3415
3416
  port: smithy_client_1.expectInt32,
@@ -3464,11 +3465,11 @@ const de_UpdateRuleCommand = async (output, context) => {
3464
3465
  });
3465
3466
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3466
3467
  const doc = (0, smithy_client_1.take)(data, {
3467
- action: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3468
+ action: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3468
3469
  arn: smithy_client_1.expectString,
3469
3470
  id: smithy_client_1.expectString,
3470
3471
  isDefault: smithy_client_1.expectBoolean,
3471
- match: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3472
+ match: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3472
3473
  name: smithy_client_1.expectString,
3473
3474
  priority: smithy_client_1.expectInt32,
3474
3475
  });
@@ -1,5 +1,6 @@
1
+ import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { v4 as generateIdempotencyToken } from "uuid";
4
5
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
6
  import { VPCLatticeServiceException as __BaseException } from "../models/VPCLatticeServiceException";
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.430.0",
4
+ "version": "3.431.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",
@@ -21,9 +21,10 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.430.0",
25
- "@aws-sdk/credential-provider-node": "3.430.0",
26
- "@aws-sdk/middleware-host-header": "3.429.0",
24
+ "@aws-sdk/client-sts": "3.431.0",
25
+ "@aws-sdk/core": "3.431.0",
26
+ "@aws-sdk/credential-provider-node": "3.431.0",
27
+ "@aws-sdk/middleware-host-header": "3.431.0",
27
28
  "@aws-sdk/middleware-logger": "3.428.0",
28
29
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
30
  "@aws-sdk/middleware-signing": "3.428.0",