@aws-sdk/client-networkmanager 3.315.0 → 3.319.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.
@@ -133,7 +133,7 @@ const se_CreateConnectAttachmentCommand = async (input, context) => {
133
133
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/connect-attachments";
134
134
  let body;
135
135
  body = JSON.stringify((0, smithy_client_1.take)(input, {
136
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
136
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
137
137
  CoreNetworkId: [],
138
138
  EdgeLocation: [],
139
139
  Options: (_) => (0, smithy_client_1._json)(_),
@@ -188,7 +188,7 @@ const se_CreateConnectPeerCommand = async (input, context) => {
188
188
  let body;
189
189
  body = JSON.stringify((0, smithy_client_1.take)(input, {
190
190
  BgpOptions: (_) => (0, smithy_client_1._json)(_),
191
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
191
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
192
192
  ConnectAttachmentId: [],
193
193
  CoreNetworkAddress: [],
194
194
  InsideCidrBlocks: (_) => (0, smithy_client_1._json)(_),
@@ -214,7 +214,7 @@ const se_CreateCoreNetworkCommand = async (input, context) => {
214
214
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/core-networks";
215
215
  let body;
216
216
  body = JSON.stringify((0, smithy_client_1.take)(input, {
217
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
217
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
218
218
  Description: [],
219
219
  GlobalNetworkId: [],
220
220
  PolicyDocument: [],
@@ -343,7 +343,7 @@ const se_CreateSiteToSiteVpnAttachmentCommand = async (input, context) => {
343
343
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/site-to-site-vpn-attachments";
344
344
  let body;
345
345
  body = JSON.stringify((0, smithy_client_1.take)(input, {
346
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
346
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
347
347
  CoreNetworkId: [],
348
348
  Tags: (_) => (0, smithy_client_1._json)(_),
349
349
  VpnConnectionArn: [],
@@ -367,7 +367,7 @@ const se_CreateTransitGatewayPeeringCommand = async (input, context) => {
367
367
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/transit-gateway-peerings";
368
368
  let body;
369
369
  body = JSON.stringify((0, smithy_client_1.take)(input, {
370
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
370
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
371
371
  CoreNetworkId: [],
372
372
  Tags: (_) => (0, smithy_client_1._json)(_),
373
373
  TransitGatewayArn: [],
@@ -391,7 +391,7 @@ const se_CreateTransitGatewayRouteTableAttachmentCommand = async (input, context
391
391
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/transit-gateway-route-table-attachments";
392
392
  let body;
393
393
  body = JSON.stringify((0, smithy_client_1.take)(input, {
394
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
394
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
395
395
  PeeringId: [],
396
396
  Tags: (_) => (0, smithy_client_1._json)(_),
397
397
  TransitGatewayRouteTableArn: [],
@@ -415,7 +415,7 @@ const se_CreateVpcAttachmentCommand = async (input, context) => {
415
415
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vpc-attachments";
416
416
  let body;
417
417
  body = JSON.stringify((0, smithy_client_1.take)(input, {
418
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
418
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
419
419
  CoreNetworkId: [],
420
420
  Options: (_) => (0, smithy_client_1._json)(_),
421
421
  SubnetArns: (_) => (0, smithy_client_1._json)(_),
@@ -1543,7 +1543,7 @@ const se_PutCoreNetworkPolicyCommand = async (input, context) => {
1543
1543
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false);
1544
1544
  let body;
1545
1545
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1546
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
1546
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1547
1547
  Description: [],
1548
1548
  LatestVersionId: [],
1549
1549
  PolicyDocument: (_) => smithy_client_1.LazyJsonString.fromObject(_),