@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.
- package/dist-cjs/Backup.js +76 -1008
- package/dist-cjs/protocols/Aws_restJson1.js +5 -5
- package/dist-es/Backup.js +76 -1008
- package/dist-es/protocols/Aws_restJson1.js +5 -5
- package/dist-types/Backup.d.ts +83 -280
- package/dist-types/ts3.4/Backup.d.ts +2 -1
- package/package.json +6 -6
|
@@ -112,7 +112,7 @@ const se_CreateFrameworkCommand = async (input, context) => {
|
|
|
112
112
|
FrameworkDescription: [],
|
|
113
113
|
FrameworkName: [],
|
|
114
114
|
FrameworkTags: (_) => (0, smithy_client_1._json)(_),
|
|
115
|
-
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
115
|
+
IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
116
116
|
}));
|
|
117
117
|
return new protocol_http_1.HttpRequest({
|
|
118
118
|
protocol,
|
|
@@ -158,7 +158,7 @@ const se_CreateReportPlanCommand = async (input, context) => {
|
|
|
158
158
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-plans";
|
|
159
159
|
let body;
|
|
160
160
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
161
|
-
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
161
|
+
IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
162
162
|
ReportDeliveryChannel: (_) => (0, smithy_client_1._json)(_),
|
|
163
163
|
ReportPlanDescription: [],
|
|
164
164
|
ReportPlanName: [],
|
|
@@ -1340,7 +1340,7 @@ const se_StartReportJobCommand = async (input, context) => {
|
|
|
1340
1340
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
|
|
1341
1341
|
let body;
|
|
1342
1342
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1343
|
-
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1343
|
+
IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1344
1344
|
}));
|
|
1345
1345
|
return new protocol_http_1.HttpRequest({
|
|
1346
1346
|
protocol,
|
|
@@ -1472,7 +1472,7 @@ const se_UpdateFrameworkCommand = async (input, context) => {
|
|
|
1472
1472
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1473
1473
|
FrameworkControls: (_) => (0, smithy_client_1._json)(_),
|
|
1474
1474
|
FrameworkDescription: [],
|
|
1475
|
-
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1475
|
+
IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1476
1476
|
}));
|
|
1477
1477
|
return new protocol_http_1.HttpRequest({
|
|
1478
1478
|
protocol,
|
|
@@ -1561,7 +1561,7 @@ const se_UpdateReportPlanCommand = async (input, context) => {
|
|
|
1561
1561
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
|
|
1562
1562
|
let body;
|
|
1563
1563
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1564
|
-
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1564
|
+
IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1565
1565
|
ReportDeliveryChannel: (_) => (0, smithy_client_1._json)(_),
|
|
1566
1566
|
ReportPlanDescription: [],
|
|
1567
1567
|
ReportSetting: (_) => (0, smithy_client_1._json)(_),
|