@aws-sdk/client-backup 3.315.0 → 3.316.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.
@@ -103,7 +103,7 @@ export const se_CreateFrameworkCommand = async (input, context) => {
103
103
  FrameworkDescription: [],
104
104
  FrameworkName: [],
105
105
  FrameworkTags: (_) => _json(_),
106
- IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
106
+ IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
107
107
  }));
108
108
  return new __HttpRequest({
109
109
  protocol,
@@ -147,7 +147,7 @@ export const se_CreateReportPlanCommand = async (input, context) => {
147
147
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-plans";
148
148
  let body;
149
149
  body = JSON.stringify(take(input, {
150
- IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
150
+ IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
151
151
  ReportDeliveryChannel: (_) => _json(_),
152
152
  ReportPlanDescription: [],
153
153
  ReportPlanName: [],
@@ -1274,7 +1274,7 @@ export const se_StartReportJobCommand = async (input, context) => {
1274
1274
  resolvedPath = __resolvedPath(resolvedPath, input, "ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
1275
1275
  let body;
1276
1276
  body = JSON.stringify(take(input, {
1277
- IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
1277
+ IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
1278
1278
  }));
1279
1279
  return new __HttpRequest({
1280
1280
  protocol,
@@ -1400,7 +1400,7 @@ export const se_UpdateFrameworkCommand = async (input, context) => {
1400
1400
  body = JSON.stringify(take(input, {
1401
1401
  FrameworkControls: (_) => _json(_),
1402
1402
  FrameworkDescription: [],
1403
- IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
1403
+ IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
1404
1404
  }));
1405
1405
  return new __HttpRequest({
1406
1406
  protocol,
@@ -1485,7 +1485,7 @@ export const se_UpdateReportPlanCommand = async (input, context) => {
1485
1485
  resolvedPath = __resolvedPath(resolvedPath, input, "ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
1486
1486
  let body;
1487
1487
  body = JSON.stringify(take(input, {
1488
- IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
1488
+ IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
1489
1489
  ReportDeliveryChannel: (_) => _json(_),
1490
1490
  ReportPlanDescription: [],
1491
1491
  ReportSetting: (_) => _json(_),