@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.
@@ -122,7 +122,7 @@ export const se_CreateConnectAttachmentCommand = async (input, context) => {
122
122
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/connect-attachments";
123
123
  let body;
124
124
  body = JSON.stringify(take(input, {
125
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
125
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
126
126
  CoreNetworkId: [],
127
127
  EdgeLocation: [],
128
128
  Options: (_) => _json(_),
@@ -175,7 +175,7 @@ export const se_CreateConnectPeerCommand = async (input, context) => {
175
175
  let body;
176
176
  body = JSON.stringify(take(input, {
177
177
  BgpOptions: (_) => _json(_),
178
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
178
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
179
179
  ConnectAttachmentId: [],
180
180
  CoreNetworkAddress: [],
181
181
  InsideCidrBlocks: (_) => _json(_),
@@ -200,7 +200,7 @@ export const se_CreateCoreNetworkCommand = async (input, context) => {
200
200
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/core-networks";
201
201
  let body;
202
202
  body = JSON.stringify(take(input, {
203
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
203
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
204
204
  Description: [],
205
205
  GlobalNetworkId: [],
206
206
  PolicyDocument: [],
@@ -324,7 +324,7 @@ export const se_CreateSiteToSiteVpnAttachmentCommand = async (input, context) =>
324
324
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/site-to-site-vpn-attachments";
325
325
  let body;
326
326
  body = JSON.stringify(take(input, {
327
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
327
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
328
328
  CoreNetworkId: [],
329
329
  Tags: (_) => _json(_),
330
330
  VpnConnectionArn: [],
@@ -347,7 +347,7 @@ export const se_CreateTransitGatewayPeeringCommand = async (input, context) => {
347
347
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/transit-gateway-peerings";
348
348
  let body;
349
349
  body = JSON.stringify(take(input, {
350
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
350
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
351
351
  CoreNetworkId: [],
352
352
  Tags: (_) => _json(_),
353
353
  TransitGatewayArn: [],
@@ -370,7 +370,7 @@ export const se_CreateTransitGatewayRouteTableAttachmentCommand = async (input,
370
370
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/transit-gateway-route-table-attachments";
371
371
  let body;
372
372
  body = JSON.stringify(take(input, {
373
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
373
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
374
374
  PeeringId: [],
375
375
  Tags: (_) => _json(_),
376
376
  TransitGatewayRouteTableArn: [],
@@ -393,7 +393,7 @@ export const se_CreateVpcAttachmentCommand = async (input, context) => {
393
393
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vpc-attachments";
394
394
  let body;
395
395
  body = JSON.stringify(take(input, {
396
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
396
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
397
397
  CoreNetworkId: [],
398
398
  Options: (_) => _json(_),
399
399
  SubnetArns: (_) => _json(_),
@@ -1469,7 +1469,7 @@ export const se_PutCoreNetworkPolicyCommand = async (input, context) => {
1469
1469
  resolvedPath = __resolvedPath(resolvedPath, input, "CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false);
1470
1470
  let body;
1471
1471
  body = JSON.stringify(take(input, {
1472
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
1472
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1473
1473
  Description: [],
1474
1474
  LatestVersionId: [],
1475
1475
  PolicyDocument: (_) => __LazyJsonString.fromObject(_),