@aws-sdk/client-backup 3.476.0 → 3.477.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.
@@ -4,109 +4,80 @@ exports.se_ListBackupJobSummariesCommand = exports.se_ListBackupJobsCommand = ex
4
4
  exports.de_CreateRestoreTestingPlanCommand = exports.de_CreateReportPlanCommand = exports.de_CreateLogicallyAirGappedBackupVaultCommand = exports.de_CreateLegalHoldCommand = exports.de_CreateFrameworkCommand = exports.de_CreateBackupVaultCommand = exports.de_CreateBackupSelectionCommand = exports.de_CreateBackupPlanCommand = exports.de_CancelLegalHoldCommand = exports.se_UpdateRestoreTestingSelectionCommand = exports.se_UpdateRestoreTestingPlanCommand = exports.se_UpdateReportPlanCommand = exports.se_UpdateRegionSettingsCommand = exports.se_UpdateRecoveryPointLifecycleCommand = exports.se_UpdateGlobalSettingsCommand = exports.se_UpdateFrameworkCommand = exports.se_UpdateBackupPlanCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopBackupJobCommand = exports.se_StartRestoreJobCommand = exports.se_StartReportJobCommand = exports.se_StartCopyJobCommand = exports.se_StartBackupJobCommand = exports.se_PutRestoreValidationResultCommand = exports.se_PutBackupVaultNotificationsCommand = exports.se_PutBackupVaultLockConfigurationCommand = exports.se_PutBackupVaultAccessPolicyCommand = exports.se_ListTagsCommand = exports.se_ListRestoreTestingSelectionsCommand = exports.se_ListRestoreTestingPlansCommand = exports.se_ListRestoreJobSummariesCommand = exports.se_ListRestoreJobsByProtectedResourceCommand = exports.se_ListRestoreJobsCommand = exports.se_ListReportPlansCommand = exports.se_ListReportJobsCommand = exports.se_ListRecoveryPointsByResourceCommand = exports.se_ListRecoveryPointsByLegalHoldCommand = exports.se_ListRecoveryPointsByBackupVaultCommand = exports.se_ListProtectedResourcesByBackupVaultCommand = exports.se_ListProtectedResourcesCommand = exports.se_ListLegalHoldsCommand = exports.se_ListFrameworksCommand = exports.se_ListCopyJobSummariesCommand = exports.se_ListCopyJobsCommand = exports.se_ListBackupVaultsCommand = exports.se_ListBackupSelectionsCommand = exports.se_ListBackupPlanVersionsCommand = exports.se_ListBackupPlanTemplatesCommand = exports.se_ListBackupPlansCommand = void 0;
5
5
  exports.de_ListLegalHoldsCommand = exports.de_ListFrameworksCommand = exports.de_ListCopyJobSummariesCommand = exports.de_ListCopyJobsCommand = exports.de_ListBackupVaultsCommand = exports.de_ListBackupSelectionsCommand = exports.de_ListBackupPlanVersionsCommand = exports.de_ListBackupPlanTemplatesCommand = exports.de_ListBackupPlansCommand = exports.de_ListBackupJobSummariesCommand = exports.de_ListBackupJobsCommand = exports.de_GetSupportedResourceTypesCommand = exports.de_GetRestoreTestingSelectionCommand = exports.de_GetRestoreTestingPlanCommand = exports.de_GetRestoreTestingInferredMetadataCommand = exports.de_GetRestoreJobMetadataCommand = exports.de_GetRecoveryPointRestoreMetadataCommand = exports.de_GetLegalHoldCommand = exports.de_GetBackupVaultNotificationsCommand = exports.de_GetBackupVaultAccessPolicyCommand = exports.de_GetBackupSelectionCommand = exports.de_GetBackupPlanFromTemplateCommand = exports.de_GetBackupPlanFromJSONCommand = exports.de_GetBackupPlanCommand = exports.de_ExportBackupPlanTemplateCommand = exports.de_DisassociateRecoveryPointFromParentCommand = exports.de_DisassociateRecoveryPointCommand = exports.de_DescribeRestoreJobCommand = exports.de_DescribeReportPlanCommand = exports.de_DescribeReportJobCommand = exports.de_DescribeRegionSettingsCommand = exports.de_DescribeRecoveryPointCommand = exports.de_DescribeProtectedResourceCommand = exports.de_DescribeGlobalSettingsCommand = exports.de_DescribeFrameworkCommand = exports.de_DescribeCopyJobCommand = exports.de_DescribeBackupVaultCommand = exports.de_DescribeBackupJobCommand = exports.de_DeleteRestoreTestingSelectionCommand = exports.de_DeleteRestoreTestingPlanCommand = exports.de_DeleteReportPlanCommand = exports.de_DeleteRecoveryPointCommand = exports.de_DeleteFrameworkCommand = exports.de_DeleteBackupVaultNotificationsCommand = exports.de_DeleteBackupVaultLockConfigurationCommand = exports.de_DeleteBackupVaultAccessPolicyCommand = exports.de_DeleteBackupVaultCommand = exports.de_DeleteBackupSelectionCommand = exports.de_DeleteBackupPlanCommand = exports.de_CreateRestoreTestingSelectionCommand = void 0;
6
6
  exports.de_UpdateRestoreTestingSelectionCommand = exports.de_UpdateRestoreTestingPlanCommand = exports.de_UpdateReportPlanCommand = exports.de_UpdateRegionSettingsCommand = exports.de_UpdateRecoveryPointLifecycleCommand = exports.de_UpdateGlobalSettingsCommand = exports.de_UpdateFrameworkCommand = exports.de_UpdateBackupPlanCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopBackupJobCommand = exports.de_StartRestoreJobCommand = exports.de_StartReportJobCommand = exports.de_StartCopyJobCommand = exports.de_StartBackupJobCommand = exports.de_PutRestoreValidationResultCommand = exports.de_PutBackupVaultNotificationsCommand = exports.de_PutBackupVaultLockConfigurationCommand = exports.de_PutBackupVaultAccessPolicyCommand = exports.de_ListTagsCommand = exports.de_ListRestoreTestingSelectionsCommand = exports.de_ListRestoreTestingPlansCommand = exports.de_ListRestoreJobSummariesCommand = exports.de_ListRestoreJobsByProtectedResourceCommand = exports.de_ListRestoreJobsCommand = exports.de_ListReportPlansCommand = exports.de_ListReportJobsCommand = exports.de_ListRecoveryPointsByResourceCommand = exports.de_ListRecoveryPointsByLegalHoldCommand = exports.de_ListRecoveryPointsByBackupVaultCommand = exports.de_ListProtectedResourcesByBackupVaultCommand = exports.de_ListProtectedResourcesCommand = void 0;
7
- const protocol_http_1 = require("@smithy/protocol-http");
7
+ const core_1 = require("@smithy/core");
8
8
  const smithy_client_1 = require("@smithy/smithy-client");
9
9
  const uuid_1 = require("uuid");
10
10
  const BackupServiceException_1 = require("../models/BackupServiceException");
11
11
  const models_0_1 = require("../models/models_0");
12
12
  const se_CancelLegalHoldCommand = async (input, context) => {
13
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
13
+ const b = (0, core_1.requestBuilder)(input, context);
14
14
  const headers = {};
15
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/legal-holds/{LegalHoldId}";
16
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LegalHoldId", () => input.LegalHoldId, "{LegalHoldId}", false);
15
+ b.bp("/legal-holds/{LegalHoldId}");
16
+ b.p("LegalHoldId", () => input.LegalHoldId, "{LegalHoldId}", false);
17
17
  const query = (0, smithy_client_1.map)({
18
- cancelDescription: [, (0, smithy_client_1.expectNonNull)(input.CancelDescription, `CancelDescription`)],
19
- retainRecordInDays: [() => input.RetainRecordInDays !== void 0, () => input.RetainRecordInDays.toString()],
18
+ [_cD]: [, (0, smithy_client_1.expectNonNull)(input[_CD], `CancelDescription`)],
19
+ [_rRID]: [() => input.RetainRecordInDays !== void 0, () => input[_RRID].toString()],
20
20
  });
21
21
  let body;
22
- return new protocol_http_1.HttpRequest({
23
- protocol,
24
- hostname,
25
- port,
26
- method: "DELETE",
27
- headers,
28
- path: resolvedPath,
29
- query,
30
- body,
31
- });
22
+ b.m("DELETE").h(headers).q(query).b(body);
23
+ return b.build();
32
24
  };
33
25
  exports.se_CancelLegalHoldCommand = se_CancelLegalHoldCommand;
34
26
  const se_CreateBackupPlanCommand = async (input, context) => {
35
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
27
+ const b = (0, core_1.requestBuilder)(input, context);
36
28
  const headers = {
37
29
  "content-type": "application/json",
38
30
  };
39
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans";
31
+ b.bp("/backup/plans");
40
32
  let body;
41
33
  body = JSON.stringify((0, smithy_client_1.take)(input, {
42
34
  BackupPlan: (_) => (0, smithy_client_1._json)(_),
43
35
  BackupPlanTags: (_) => (0, smithy_client_1._json)(_),
44
36
  CreatorRequestId: [],
45
37
  }));
46
- return new protocol_http_1.HttpRequest({
47
- protocol,
48
- hostname,
49
- port,
50
- method: "PUT",
51
- headers,
52
- path: resolvedPath,
53
- body,
54
- });
38
+ b.m("PUT").h(headers).b(body);
39
+ return b.build();
55
40
  };
56
41
  exports.se_CreateBackupPlanCommand = se_CreateBackupPlanCommand;
57
42
  const se_CreateBackupSelectionCommand = async (input, context) => {
58
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
43
+ const b = (0, core_1.requestBuilder)(input, context);
59
44
  const headers = {
60
45
  "content-type": "application/json",
61
46
  };
62
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans/{BackupPlanId}/selections";
63
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
47
+ b.bp("/backup/plans/{BackupPlanId}/selections");
48
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
64
49
  let body;
65
50
  body = JSON.stringify((0, smithy_client_1.take)(input, {
66
51
  BackupSelection: (_) => (0, smithy_client_1._json)(_),
67
52
  CreatorRequestId: [],
68
53
  }));
69
- return new protocol_http_1.HttpRequest({
70
- protocol,
71
- hostname,
72
- port,
73
- method: "PUT",
74
- headers,
75
- path: resolvedPath,
76
- body,
77
- });
54
+ b.m("PUT").h(headers).b(body);
55
+ return b.build();
78
56
  };
79
57
  exports.se_CreateBackupSelectionCommand = se_CreateBackupSelectionCommand;
80
58
  const se_CreateBackupVaultCommand = async (input, context) => {
81
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
59
+ const b = (0, core_1.requestBuilder)(input, context);
82
60
  const headers = {
83
61
  "content-type": "application/json",
84
62
  };
85
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-vaults/{BackupVaultName}";
86
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
63
+ b.bp("/backup-vaults/{BackupVaultName}");
64
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
87
65
  let body;
88
66
  body = JSON.stringify((0, smithy_client_1.take)(input, {
89
67
  BackupVaultTags: (_) => (0, smithy_client_1._json)(_),
90
68
  CreatorRequestId: [],
91
69
  EncryptionKeyArn: [],
92
70
  }));
93
- return new protocol_http_1.HttpRequest({
94
- protocol,
95
- hostname,
96
- port,
97
- method: "PUT",
98
- headers,
99
- path: resolvedPath,
100
- body,
101
- });
71
+ b.m("PUT").h(headers).b(body);
72
+ return b.build();
102
73
  };
103
74
  exports.se_CreateBackupVaultCommand = se_CreateBackupVaultCommand;
104
75
  const se_CreateFrameworkCommand = async (input, context) => {
105
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
76
+ const b = (0, core_1.requestBuilder)(input, context);
106
77
  const headers = {
107
78
  "content-type": "application/json",
108
79
  };
109
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/frameworks";
80
+ b.bp("/audit/frameworks");
110
81
  let body;
111
82
  body = JSON.stringify((0, smithy_client_1.take)(input, {
112
83
  FrameworkControls: (_) => (0, smithy_client_1._json)(_),
@@ -115,23 +86,16 @@ const se_CreateFrameworkCommand = async (input, context) => {
115
86
  FrameworkTags: (_) => (0, smithy_client_1._json)(_),
116
87
  IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
117
88
  }));
118
- return new protocol_http_1.HttpRequest({
119
- protocol,
120
- hostname,
121
- port,
122
- method: "POST",
123
- headers,
124
- path: resolvedPath,
125
- body,
126
- });
89
+ b.m("POST").h(headers).b(body);
90
+ return b.build();
127
91
  };
128
92
  exports.se_CreateFrameworkCommand = se_CreateFrameworkCommand;
129
93
  const se_CreateLegalHoldCommand = async (input, context) => {
130
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
94
+ const b = (0, core_1.requestBuilder)(input, context);
131
95
  const headers = {
132
96
  "content-type": "application/json",
133
97
  };
134
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/legal-holds";
98
+ b.bp("/legal-holds");
135
99
  let body;
136
100
  body = JSON.stringify((0, smithy_client_1.take)(input, {
137
101
  Description: [],
@@ -140,25 +104,17 @@ const se_CreateLegalHoldCommand = async (input, context) => {
140
104
  Tags: (_) => (0, smithy_client_1._json)(_),
141
105
  Title: [],
142
106
  }));
143
- return new protocol_http_1.HttpRequest({
144
- protocol,
145
- hostname,
146
- port,
147
- method: "POST",
148
- headers,
149
- path: resolvedPath,
150
- body,
151
- });
107
+ b.m("POST").h(headers).b(body);
108
+ return b.build();
152
109
  };
153
110
  exports.se_CreateLegalHoldCommand = se_CreateLegalHoldCommand;
154
111
  const se_CreateLogicallyAirGappedBackupVaultCommand = async (input, context) => {
155
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
112
+ const b = (0, core_1.requestBuilder)(input, context);
156
113
  const headers = {
157
114
  "content-type": "application/json",
158
115
  };
159
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
160
- "/logically-air-gapped-backup-vaults/{BackupVaultName}";
161
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
116
+ b.bp("/logically-air-gapped-backup-vaults/{BackupVaultName}");
117
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
162
118
  let body;
163
119
  body = JSON.stringify((0, smithy_client_1.take)(input, {
164
120
  BackupVaultTags: (_) => (0, smithy_client_1._json)(_),
@@ -166,23 +122,16 @@ const se_CreateLogicallyAirGappedBackupVaultCommand = async (input, context) =>
166
122
  MaxRetentionDays: [],
167
123
  MinRetentionDays: [],
168
124
  }));
169
- return new protocol_http_1.HttpRequest({
170
- protocol,
171
- hostname,
172
- port,
173
- method: "PUT",
174
- headers,
175
- path: resolvedPath,
176
- body,
177
- });
125
+ b.m("PUT").h(headers).b(body);
126
+ return b.build();
178
127
  };
179
128
  exports.se_CreateLogicallyAirGappedBackupVaultCommand = se_CreateLogicallyAirGappedBackupVaultCommand;
180
129
  const se_CreateReportPlanCommand = async (input, context) => {
181
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
130
+ const b = (0, core_1.requestBuilder)(input, context);
182
131
  const headers = {
183
132
  "content-type": "application/json",
184
133
  };
185
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-plans";
134
+ b.bp("/audit/report-plans");
186
135
  let body;
187
136
  body = JSON.stringify((0, smithy_client_1.take)(input, {
188
137
  IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
@@ -192,1501 +141,940 @@ const se_CreateReportPlanCommand = async (input, context) => {
192
141
  ReportPlanTags: (_) => (0, smithy_client_1._json)(_),
193
142
  ReportSetting: (_) => (0, smithy_client_1._json)(_),
194
143
  }));
195
- return new protocol_http_1.HttpRequest({
196
- protocol,
197
- hostname,
198
- port,
199
- method: "POST",
200
- headers,
201
- path: resolvedPath,
202
- body,
203
- });
144
+ b.m("POST").h(headers).b(body);
145
+ return b.build();
204
146
  };
205
147
  exports.se_CreateReportPlanCommand = se_CreateReportPlanCommand;
206
148
  const se_CreateRestoreTestingPlanCommand = async (input, context) => {
207
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
149
+ const b = (0, core_1.requestBuilder)(input, context);
208
150
  const headers = {
209
151
  "content-type": "application/json",
210
152
  };
211
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/restore-testing/plans";
153
+ b.bp("/restore-testing/plans");
212
154
  let body;
213
155
  body = JSON.stringify((0, smithy_client_1.take)(input, {
214
156
  CreatorRequestId: [],
215
157
  RestoreTestingPlan: (_) => (0, smithy_client_1._json)(_),
216
158
  Tags: (_) => (0, smithy_client_1._json)(_),
217
159
  }));
218
- return new protocol_http_1.HttpRequest({
219
- protocol,
220
- hostname,
221
- port,
222
- method: "PUT",
223
- headers,
224
- path: resolvedPath,
225
- body,
226
- });
160
+ b.m("PUT").h(headers).b(body);
161
+ return b.build();
227
162
  };
228
163
  exports.se_CreateRestoreTestingPlanCommand = se_CreateRestoreTestingPlanCommand;
229
164
  const se_CreateRestoreTestingSelectionCommand = async (input, context) => {
230
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
165
+ const b = (0, core_1.requestBuilder)(input, context);
231
166
  const headers = {
232
167
  "content-type": "application/json",
233
168
  };
234
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
235
- "/restore-testing/plans/{RestoreTestingPlanName}/selections";
236
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
169
+ b.bp("/restore-testing/plans/{RestoreTestingPlanName}/selections");
170
+ b.p("RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
237
171
  let body;
238
172
  body = JSON.stringify((0, smithy_client_1.take)(input, {
239
173
  CreatorRequestId: [],
240
174
  RestoreTestingSelection: (_) => (0, smithy_client_1._json)(_),
241
175
  }));
242
- return new protocol_http_1.HttpRequest({
243
- protocol,
244
- hostname,
245
- port,
246
- method: "PUT",
247
- headers,
248
- path: resolvedPath,
249
- body,
250
- });
176
+ b.m("PUT").h(headers).b(body);
177
+ return b.build();
251
178
  };
252
179
  exports.se_CreateRestoreTestingSelectionCommand = se_CreateRestoreTestingSelectionCommand;
253
180
  const se_DeleteBackupPlanCommand = async (input, context) => {
254
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
181
+ const b = (0, core_1.requestBuilder)(input, context);
255
182
  const headers = {};
256
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans/{BackupPlanId}";
257
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
183
+ b.bp("/backup/plans/{BackupPlanId}");
184
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
258
185
  let body;
259
- return new protocol_http_1.HttpRequest({
260
- protocol,
261
- hostname,
262
- port,
263
- method: "DELETE",
264
- headers,
265
- path: resolvedPath,
266
- body,
267
- });
186
+ b.m("DELETE").h(headers).b(body);
187
+ return b.build();
268
188
  };
269
189
  exports.se_DeleteBackupPlanCommand = se_DeleteBackupPlanCommand;
270
190
  const se_DeleteBackupSelectionCommand = async (input, context) => {
271
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
191
+ const b = (0, core_1.requestBuilder)(input, context);
272
192
  const headers = {};
273
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
274
- "/backup/plans/{BackupPlanId}/selections/{SelectionId}";
275
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
276
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SelectionId", () => input.SelectionId, "{SelectionId}", false);
193
+ b.bp("/backup/plans/{BackupPlanId}/selections/{SelectionId}");
194
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
195
+ b.p("SelectionId", () => input.SelectionId, "{SelectionId}", false);
277
196
  let body;
278
- return new protocol_http_1.HttpRequest({
279
- protocol,
280
- hostname,
281
- port,
282
- method: "DELETE",
283
- headers,
284
- path: resolvedPath,
285
- body,
286
- });
197
+ b.m("DELETE").h(headers).b(body);
198
+ return b.build();
287
199
  };
288
200
  exports.se_DeleteBackupSelectionCommand = se_DeleteBackupSelectionCommand;
289
201
  const se_DeleteBackupVaultCommand = async (input, context) => {
290
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
202
+ const b = (0, core_1.requestBuilder)(input, context);
291
203
  const headers = {};
292
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-vaults/{BackupVaultName}";
293
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
204
+ b.bp("/backup-vaults/{BackupVaultName}");
205
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
294
206
  let body;
295
- return new protocol_http_1.HttpRequest({
296
- protocol,
297
- hostname,
298
- port,
299
- method: "DELETE",
300
- headers,
301
- path: resolvedPath,
302
- body,
303
- });
207
+ b.m("DELETE").h(headers).b(body);
208
+ return b.build();
304
209
  };
305
210
  exports.se_DeleteBackupVaultCommand = se_DeleteBackupVaultCommand;
306
211
  const se_DeleteBackupVaultAccessPolicyCommand = async (input, context) => {
307
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
212
+ const b = (0, core_1.requestBuilder)(input, context);
308
213
  const headers = {};
309
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
310
- "/backup-vaults/{BackupVaultName}/access-policy";
311
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
214
+ b.bp("/backup-vaults/{BackupVaultName}/access-policy");
215
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
312
216
  let body;
313
- return new protocol_http_1.HttpRequest({
314
- protocol,
315
- hostname,
316
- port,
317
- method: "DELETE",
318
- headers,
319
- path: resolvedPath,
320
- body,
321
- });
217
+ b.m("DELETE").h(headers).b(body);
218
+ return b.build();
322
219
  };
323
220
  exports.se_DeleteBackupVaultAccessPolicyCommand = se_DeleteBackupVaultAccessPolicyCommand;
324
221
  const se_DeleteBackupVaultLockConfigurationCommand = async (input, context) => {
325
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
222
+ const b = (0, core_1.requestBuilder)(input, context);
326
223
  const headers = {};
327
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
328
- "/backup-vaults/{BackupVaultName}/vault-lock";
329
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
224
+ b.bp("/backup-vaults/{BackupVaultName}/vault-lock");
225
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
330
226
  let body;
331
- return new protocol_http_1.HttpRequest({
332
- protocol,
333
- hostname,
334
- port,
335
- method: "DELETE",
336
- headers,
337
- path: resolvedPath,
338
- body,
339
- });
227
+ b.m("DELETE").h(headers).b(body);
228
+ return b.build();
340
229
  };
341
230
  exports.se_DeleteBackupVaultLockConfigurationCommand = se_DeleteBackupVaultLockConfigurationCommand;
342
231
  const se_DeleteBackupVaultNotificationsCommand = async (input, context) => {
343
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
232
+ const b = (0, core_1.requestBuilder)(input, context);
344
233
  const headers = {};
345
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
346
- "/backup-vaults/{BackupVaultName}/notification-configuration";
347
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
234
+ b.bp("/backup-vaults/{BackupVaultName}/notification-configuration");
235
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
348
236
  let body;
349
- return new protocol_http_1.HttpRequest({
350
- protocol,
351
- hostname,
352
- port,
353
- method: "DELETE",
354
- headers,
355
- path: resolvedPath,
356
- body,
357
- });
237
+ b.m("DELETE").h(headers).b(body);
238
+ return b.build();
358
239
  };
359
240
  exports.se_DeleteBackupVaultNotificationsCommand = se_DeleteBackupVaultNotificationsCommand;
360
241
  const se_DeleteFrameworkCommand = async (input, context) => {
361
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
242
+ const b = (0, core_1.requestBuilder)(input, context);
362
243
  const headers = {};
363
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/frameworks/{FrameworkName}";
364
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FrameworkName", () => input.FrameworkName, "{FrameworkName}", false);
244
+ b.bp("/audit/frameworks/{FrameworkName}");
245
+ b.p("FrameworkName", () => input.FrameworkName, "{FrameworkName}", false);
365
246
  let body;
366
- return new protocol_http_1.HttpRequest({
367
- protocol,
368
- hostname,
369
- port,
370
- method: "DELETE",
371
- headers,
372
- path: resolvedPath,
373
- body,
374
- });
247
+ b.m("DELETE").h(headers).b(body);
248
+ return b.build();
375
249
  };
376
250
  exports.se_DeleteFrameworkCommand = se_DeleteFrameworkCommand;
377
251
  const se_DeleteRecoveryPointCommand = async (input, context) => {
378
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
252
+ const b = (0, core_1.requestBuilder)(input, context);
379
253
  const headers = {};
380
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
381
- "/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}";
382
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
383
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
254
+ b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}");
255
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
256
+ b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
384
257
  let body;
385
- return new protocol_http_1.HttpRequest({
386
- protocol,
387
- hostname,
388
- port,
389
- method: "DELETE",
390
- headers,
391
- path: resolvedPath,
392
- body,
393
- });
258
+ b.m("DELETE").h(headers).b(body);
259
+ return b.build();
394
260
  };
395
261
  exports.se_DeleteRecoveryPointCommand = se_DeleteRecoveryPointCommand;
396
262
  const se_DeleteReportPlanCommand = async (input, context) => {
397
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
263
+ const b = (0, core_1.requestBuilder)(input, context);
398
264
  const headers = {};
399
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-plans/{ReportPlanName}";
400
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
265
+ b.bp("/audit/report-plans/{ReportPlanName}");
266
+ b.p("ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
401
267
  let body;
402
- return new protocol_http_1.HttpRequest({
403
- protocol,
404
- hostname,
405
- port,
406
- method: "DELETE",
407
- headers,
408
- path: resolvedPath,
409
- body,
410
- });
268
+ b.m("DELETE").h(headers).b(body);
269
+ return b.build();
411
270
  };
412
271
  exports.se_DeleteReportPlanCommand = se_DeleteReportPlanCommand;
413
272
  const se_DeleteRestoreTestingPlanCommand = async (input, context) => {
414
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
273
+ const b = (0, core_1.requestBuilder)(input, context);
415
274
  const headers = {};
416
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
417
- "/restore-testing/plans/{RestoreTestingPlanName}";
418
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
275
+ b.bp("/restore-testing/plans/{RestoreTestingPlanName}");
276
+ b.p("RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
419
277
  let body;
420
- return new protocol_http_1.HttpRequest({
421
- protocol,
422
- hostname,
423
- port,
424
- method: "DELETE",
425
- headers,
426
- path: resolvedPath,
427
- body,
428
- });
278
+ b.m("DELETE").h(headers).b(body);
279
+ return b.build();
429
280
  };
430
281
  exports.se_DeleteRestoreTestingPlanCommand = se_DeleteRestoreTestingPlanCommand;
431
282
  const se_DeleteRestoreTestingSelectionCommand = async (input, context) => {
432
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
283
+ const b = (0, core_1.requestBuilder)(input, context);
433
284
  const headers = {};
434
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
435
- "/restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}";
436
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
437
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingSelectionName", () => input.RestoreTestingSelectionName, "{RestoreTestingSelectionName}", false);
285
+ b.bp("/restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}");
286
+ b.p("RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
287
+ b.p("RestoreTestingSelectionName", () => input.RestoreTestingSelectionName, "{RestoreTestingSelectionName}", false);
438
288
  let body;
439
- return new protocol_http_1.HttpRequest({
440
- protocol,
441
- hostname,
442
- port,
443
- method: "DELETE",
444
- headers,
445
- path: resolvedPath,
446
- body,
447
- });
289
+ b.m("DELETE").h(headers).b(body);
290
+ return b.build();
448
291
  };
449
292
  exports.se_DeleteRestoreTestingSelectionCommand = se_DeleteRestoreTestingSelectionCommand;
450
293
  const se_DescribeBackupJobCommand = async (input, context) => {
451
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
294
+ const b = (0, core_1.requestBuilder)(input, context);
452
295
  const headers = {};
453
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-jobs/{BackupJobId}";
454
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupJobId", () => input.BackupJobId, "{BackupJobId}", false);
296
+ b.bp("/backup-jobs/{BackupJobId}");
297
+ b.p("BackupJobId", () => input.BackupJobId, "{BackupJobId}", false);
455
298
  let body;
456
- return new protocol_http_1.HttpRequest({
457
- protocol,
458
- hostname,
459
- port,
460
- method: "GET",
461
- headers,
462
- path: resolvedPath,
463
- body,
464
- });
299
+ b.m("GET").h(headers).b(body);
300
+ return b.build();
465
301
  };
466
302
  exports.se_DescribeBackupJobCommand = se_DescribeBackupJobCommand;
467
303
  const se_DescribeBackupVaultCommand = async (input, context) => {
468
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
304
+ const b = (0, core_1.requestBuilder)(input, context);
469
305
  const headers = {};
470
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-vaults/{BackupVaultName}";
471
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
306
+ b.bp("/backup-vaults/{BackupVaultName}");
307
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
472
308
  const query = (0, smithy_client_1.map)({
473
- backupVaultAccountId: [, input.BackupVaultAccountId],
309
+ [_bVAI]: [, input[_BVAI]],
474
310
  });
475
311
  let body;
476
- return new protocol_http_1.HttpRequest({
477
- protocol,
478
- hostname,
479
- port,
480
- method: "GET",
481
- headers,
482
- path: resolvedPath,
483
- query,
484
- body,
485
- });
312
+ b.m("GET").h(headers).q(query).b(body);
313
+ return b.build();
486
314
  };
487
315
  exports.se_DescribeBackupVaultCommand = se_DescribeBackupVaultCommand;
488
316
  const se_DescribeCopyJobCommand = async (input, context) => {
489
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
+ const b = (0, core_1.requestBuilder)(input, context);
490
318
  const headers = {};
491
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/copy-jobs/{CopyJobId}";
492
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CopyJobId", () => input.CopyJobId, "{CopyJobId}", false);
319
+ b.bp("/copy-jobs/{CopyJobId}");
320
+ b.p("CopyJobId", () => input.CopyJobId, "{CopyJobId}", false);
493
321
  let body;
494
- return new protocol_http_1.HttpRequest({
495
- protocol,
496
- hostname,
497
- port,
498
- method: "GET",
499
- headers,
500
- path: resolvedPath,
501
- body,
502
- });
322
+ b.m("GET").h(headers).b(body);
323
+ return b.build();
503
324
  };
504
325
  exports.se_DescribeCopyJobCommand = se_DescribeCopyJobCommand;
505
326
  const se_DescribeFrameworkCommand = async (input, context) => {
506
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
327
+ const b = (0, core_1.requestBuilder)(input, context);
507
328
  const headers = {};
508
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/frameworks/{FrameworkName}";
509
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FrameworkName", () => input.FrameworkName, "{FrameworkName}", false);
329
+ b.bp("/audit/frameworks/{FrameworkName}");
330
+ b.p("FrameworkName", () => input.FrameworkName, "{FrameworkName}", false);
510
331
  let body;
511
- return new protocol_http_1.HttpRequest({
512
- protocol,
513
- hostname,
514
- port,
515
- method: "GET",
516
- headers,
517
- path: resolvedPath,
518
- body,
519
- });
332
+ b.m("GET").h(headers).b(body);
333
+ return b.build();
520
334
  };
521
335
  exports.se_DescribeFrameworkCommand = se_DescribeFrameworkCommand;
522
336
  const se_DescribeGlobalSettingsCommand = async (input, context) => {
523
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
337
+ const b = (0, core_1.requestBuilder)(input, context);
524
338
  const headers = {
525
339
  "content-type": "application/json",
526
340
  };
527
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/global-settings";
341
+ b.bp("/global-settings");
528
342
  let body;
529
343
  body = "";
530
- return new protocol_http_1.HttpRequest({
531
- protocol,
532
- hostname,
533
- port,
534
- method: "GET",
535
- headers,
536
- path: resolvedPath,
537
- body,
538
- });
344
+ b.m("GET").h(headers).b(body);
345
+ return b.build();
539
346
  };
540
347
  exports.se_DescribeGlobalSettingsCommand = se_DescribeGlobalSettingsCommand;
541
348
  const se_DescribeProtectedResourceCommand = async (input, context) => {
542
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
349
+ const b = (0, core_1.requestBuilder)(input, context);
543
350
  const headers = {};
544
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources/{ResourceArn}";
545
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
351
+ b.bp("/resources/{ResourceArn}");
352
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
546
353
  let body;
547
- return new protocol_http_1.HttpRequest({
548
- protocol,
549
- hostname,
550
- port,
551
- method: "GET",
552
- headers,
553
- path: resolvedPath,
554
- body,
555
- });
354
+ b.m("GET").h(headers).b(body);
355
+ return b.build();
556
356
  };
557
357
  exports.se_DescribeProtectedResourceCommand = se_DescribeProtectedResourceCommand;
558
358
  const se_DescribeRecoveryPointCommand = async (input, context) => {
559
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
359
+ const b = (0, core_1.requestBuilder)(input, context);
560
360
  const headers = {};
561
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
562
- "/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}";
563
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
564
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
361
+ b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}");
362
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
363
+ b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
565
364
  const query = (0, smithy_client_1.map)({
566
- backupVaultAccountId: [, input.BackupVaultAccountId],
365
+ [_bVAI]: [, input[_BVAI]],
567
366
  });
568
367
  let body;
569
- return new protocol_http_1.HttpRequest({
570
- protocol,
571
- hostname,
572
- port,
573
- method: "GET",
574
- headers,
575
- path: resolvedPath,
576
- query,
577
- body,
578
- });
368
+ b.m("GET").h(headers).q(query).b(body);
369
+ return b.build();
579
370
  };
580
371
  exports.se_DescribeRecoveryPointCommand = se_DescribeRecoveryPointCommand;
581
372
  const se_DescribeRegionSettingsCommand = async (input, context) => {
582
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
373
+ const b = (0, core_1.requestBuilder)(input, context);
583
374
  const headers = {
584
375
  "content-type": "application/json",
585
376
  };
586
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/account-settings";
377
+ b.bp("/account-settings");
587
378
  let body;
588
379
  body = "";
589
- return new protocol_http_1.HttpRequest({
590
- protocol,
591
- hostname,
592
- port,
593
- method: "GET",
594
- headers,
595
- path: resolvedPath,
596
- body,
597
- });
380
+ b.m("GET").h(headers).b(body);
381
+ return b.build();
598
382
  };
599
383
  exports.se_DescribeRegionSettingsCommand = se_DescribeRegionSettingsCommand;
600
384
  const se_DescribeReportJobCommand = async (input, context) => {
601
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
385
+ const b = (0, core_1.requestBuilder)(input, context);
602
386
  const headers = {};
603
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-jobs/{ReportJobId}";
604
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReportJobId", () => input.ReportJobId, "{ReportJobId}", false);
387
+ b.bp("/audit/report-jobs/{ReportJobId}");
388
+ b.p("ReportJobId", () => input.ReportJobId, "{ReportJobId}", false);
605
389
  let body;
606
- return new protocol_http_1.HttpRequest({
607
- protocol,
608
- hostname,
609
- port,
610
- method: "GET",
611
- headers,
612
- path: resolvedPath,
613
- body,
614
- });
390
+ b.m("GET").h(headers).b(body);
391
+ return b.build();
615
392
  };
616
393
  exports.se_DescribeReportJobCommand = se_DescribeReportJobCommand;
617
394
  const se_DescribeReportPlanCommand = async (input, context) => {
618
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
395
+ const b = (0, core_1.requestBuilder)(input, context);
619
396
  const headers = {};
620
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-plans/{ReportPlanName}";
621
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
397
+ b.bp("/audit/report-plans/{ReportPlanName}");
398
+ b.p("ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
622
399
  let body;
623
- return new protocol_http_1.HttpRequest({
624
- protocol,
625
- hostname,
626
- port,
627
- method: "GET",
628
- headers,
629
- path: resolvedPath,
630
- body,
631
- });
400
+ b.m("GET").h(headers).b(body);
401
+ return b.build();
632
402
  };
633
403
  exports.se_DescribeReportPlanCommand = se_DescribeReportPlanCommand;
634
404
  const se_DescribeRestoreJobCommand = async (input, context) => {
635
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
405
+ const b = (0, core_1.requestBuilder)(input, context);
636
406
  const headers = {};
637
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/restore-jobs/{RestoreJobId}";
638
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreJobId", () => input.RestoreJobId, "{RestoreJobId}", false);
407
+ b.bp("/restore-jobs/{RestoreJobId}");
408
+ b.p("RestoreJobId", () => input.RestoreJobId, "{RestoreJobId}", false);
639
409
  let body;
640
- return new protocol_http_1.HttpRequest({
641
- protocol,
642
- hostname,
643
- port,
644
- method: "GET",
645
- headers,
646
- path: resolvedPath,
647
- body,
648
- });
410
+ b.m("GET").h(headers).b(body);
411
+ return b.build();
649
412
  };
650
413
  exports.se_DescribeRestoreJobCommand = se_DescribeRestoreJobCommand;
651
414
  const se_DisassociateRecoveryPointCommand = async (input, context) => {
652
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
415
+ const b = (0, core_1.requestBuilder)(input, context);
653
416
  const headers = {};
654
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
655
- "/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/disassociate";
656
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
657
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
417
+ b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/disassociate");
418
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
419
+ b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
658
420
  let body;
659
- return new protocol_http_1.HttpRequest({
660
- protocol,
661
- hostname,
662
- port,
663
- method: "POST",
664
- headers,
665
- path: resolvedPath,
666
- body,
667
- });
421
+ b.m("POST").h(headers).b(body);
422
+ return b.build();
668
423
  };
669
424
  exports.se_DisassociateRecoveryPointCommand = se_DisassociateRecoveryPointCommand;
670
425
  const se_DisassociateRecoveryPointFromParentCommand = async (input, context) => {
671
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
426
+ const b = (0, core_1.requestBuilder)(input, context);
672
427
  const headers = {};
673
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
674
- "/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/parentAssociation";
675
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
676
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
428
+ b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/parentAssociation");
429
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
430
+ b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
677
431
  let body;
678
- return new protocol_http_1.HttpRequest({
679
- protocol,
680
- hostname,
681
- port,
682
- method: "DELETE",
683
- headers,
684
- path: resolvedPath,
685
- body,
686
- });
432
+ b.m("DELETE").h(headers).b(body);
433
+ return b.build();
687
434
  };
688
435
  exports.se_DisassociateRecoveryPointFromParentCommand = se_DisassociateRecoveryPointFromParentCommand;
689
436
  const se_ExportBackupPlanTemplateCommand = async (input, context) => {
690
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
437
+ const b = (0, core_1.requestBuilder)(input, context);
691
438
  const headers = {};
692
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans/{BackupPlanId}/toTemplate";
693
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
439
+ b.bp("/backup/plans/{BackupPlanId}/toTemplate");
440
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
694
441
  let body;
695
- return new protocol_http_1.HttpRequest({
696
- protocol,
697
- hostname,
698
- port,
699
- method: "GET",
700
- headers,
701
- path: resolvedPath,
702
- body,
703
- });
442
+ b.m("GET").h(headers).b(body);
443
+ return b.build();
704
444
  };
705
445
  exports.se_ExportBackupPlanTemplateCommand = se_ExportBackupPlanTemplateCommand;
706
446
  const se_GetBackupPlanCommand = async (input, context) => {
707
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
447
+ const b = (0, core_1.requestBuilder)(input, context);
708
448
  const headers = {};
709
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans/{BackupPlanId}";
710
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
449
+ b.bp("/backup/plans/{BackupPlanId}");
450
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
711
451
  const query = (0, smithy_client_1.map)({
712
- versionId: [, input.VersionId],
452
+ [_vI]: [, input[_VI]],
713
453
  });
714
454
  let body;
715
- return new protocol_http_1.HttpRequest({
716
- protocol,
717
- hostname,
718
- port,
719
- method: "GET",
720
- headers,
721
- path: resolvedPath,
722
- query,
723
- body,
724
- });
455
+ b.m("GET").h(headers).q(query).b(body);
456
+ return b.build();
725
457
  };
726
458
  exports.se_GetBackupPlanCommand = se_GetBackupPlanCommand;
727
459
  const se_GetBackupPlanFromJSONCommand = async (input, context) => {
728
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
460
+ const b = (0, core_1.requestBuilder)(input, context);
729
461
  const headers = {
730
462
  "content-type": "application/json",
731
463
  };
732
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/template/json/toPlan";
464
+ b.bp("/backup/template/json/toPlan");
733
465
  let body;
734
466
  body = JSON.stringify((0, smithy_client_1.take)(input, {
735
467
  BackupPlanTemplateJson: [],
736
468
  }));
737
- return new protocol_http_1.HttpRequest({
738
- protocol,
739
- hostname,
740
- port,
741
- method: "POST",
742
- headers,
743
- path: resolvedPath,
744
- body,
745
- });
469
+ b.m("POST").h(headers).b(body);
470
+ return b.build();
746
471
  };
747
472
  exports.se_GetBackupPlanFromJSONCommand = se_GetBackupPlanFromJSONCommand;
748
473
  const se_GetBackupPlanFromTemplateCommand = async (input, context) => {
749
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
474
+ const b = (0, core_1.requestBuilder)(input, context);
750
475
  const headers = {};
751
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
752
- "/backup/template/plans/{BackupPlanTemplateId}/toPlan";
753
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanTemplateId", () => input.BackupPlanTemplateId, "{BackupPlanTemplateId}", false);
476
+ b.bp("/backup/template/plans/{BackupPlanTemplateId}/toPlan");
477
+ b.p("BackupPlanTemplateId", () => input.BackupPlanTemplateId, "{BackupPlanTemplateId}", false);
754
478
  let body;
755
- return new protocol_http_1.HttpRequest({
756
- protocol,
757
- hostname,
758
- port,
759
- method: "GET",
760
- headers,
761
- path: resolvedPath,
762
- body,
763
- });
479
+ b.m("GET").h(headers).b(body);
480
+ return b.build();
764
481
  };
765
482
  exports.se_GetBackupPlanFromTemplateCommand = se_GetBackupPlanFromTemplateCommand;
766
483
  const se_GetBackupSelectionCommand = async (input, context) => {
767
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
484
+ const b = (0, core_1.requestBuilder)(input, context);
768
485
  const headers = {};
769
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
770
- "/backup/plans/{BackupPlanId}/selections/{SelectionId}";
771
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
772
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SelectionId", () => input.SelectionId, "{SelectionId}", false);
486
+ b.bp("/backup/plans/{BackupPlanId}/selections/{SelectionId}");
487
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
488
+ b.p("SelectionId", () => input.SelectionId, "{SelectionId}", false);
773
489
  let body;
774
- return new protocol_http_1.HttpRequest({
775
- protocol,
776
- hostname,
777
- port,
778
- method: "GET",
779
- headers,
780
- path: resolvedPath,
781
- body,
782
- });
490
+ b.m("GET").h(headers).b(body);
491
+ return b.build();
783
492
  };
784
493
  exports.se_GetBackupSelectionCommand = se_GetBackupSelectionCommand;
785
494
  const se_GetBackupVaultAccessPolicyCommand = async (input, context) => {
786
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
495
+ const b = (0, core_1.requestBuilder)(input, context);
787
496
  const headers = {};
788
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
789
- "/backup-vaults/{BackupVaultName}/access-policy";
790
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
497
+ b.bp("/backup-vaults/{BackupVaultName}/access-policy");
498
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
791
499
  let body;
792
- return new protocol_http_1.HttpRequest({
793
- protocol,
794
- hostname,
795
- port,
796
- method: "GET",
797
- headers,
798
- path: resolvedPath,
799
- body,
800
- });
500
+ b.m("GET").h(headers).b(body);
501
+ return b.build();
801
502
  };
802
503
  exports.se_GetBackupVaultAccessPolicyCommand = se_GetBackupVaultAccessPolicyCommand;
803
504
  const se_GetBackupVaultNotificationsCommand = async (input, context) => {
804
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
505
+ const b = (0, core_1.requestBuilder)(input, context);
805
506
  const headers = {};
806
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
807
- "/backup-vaults/{BackupVaultName}/notification-configuration";
808
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
507
+ b.bp("/backup-vaults/{BackupVaultName}/notification-configuration");
508
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
809
509
  let body;
810
- return new protocol_http_1.HttpRequest({
811
- protocol,
812
- hostname,
813
- port,
814
- method: "GET",
815
- headers,
816
- path: resolvedPath,
817
- body,
818
- });
510
+ b.m("GET").h(headers).b(body);
511
+ return b.build();
819
512
  };
820
513
  exports.se_GetBackupVaultNotificationsCommand = se_GetBackupVaultNotificationsCommand;
821
514
  const se_GetLegalHoldCommand = async (input, context) => {
822
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
515
+ const b = (0, core_1.requestBuilder)(input, context);
823
516
  const headers = {};
824
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/legal-holds/{LegalHoldId}";
825
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LegalHoldId", () => input.LegalHoldId, "{LegalHoldId}", false);
517
+ b.bp("/legal-holds/{LegalHoldId}");
518
+ b.p("LegalHoldId", () => input.LegalHoldId, "{LegalHoldId}", false);
826
519
  let body;
827
- return new protocol_http_1.HttpRequest({
828
- protocol,
829
- hostname,
830
- port,
831
- method: "GET",
832
- headers,
833
- path: resolvedPath,
834
- body,
835
- });
520
+ b.m("GET").h(headers).b(body);
521
+ return b.build();
836
522
  };
837
523
  exports.se_GetLegalHoldCommand = se_GetLegalHoldCommand;
838
524
  const se_GetRecoveryPointRestoreMetadataCommand = async (input, context) => {
839
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
525
+ const b = (0, core_1.requestBuilder)(input, context);
840
526
  const headers = {};
841
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
842
- "/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/restore-metadata";
843
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
844
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
527
+ b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/restore-metadata");
528
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
529
+ b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
845
530
  const query = (0, smithy_client_1.map)({
846
- backupVaultAccountId: [, input.BackupVaultAccountId],
531
+ [_bVAI]: [, input[_BVAI]],
847
532
  });
848
533
  let body;
849
- return new protocol_http_1.HttpRequest({
850
- protocol,
851
- hostname,
852
- port,
853
- method: "GET",
854
- headers,
855
- path: resolvedPath,
856
- query,
857
- body,
858
- });
534
+ b.m("GET").h(headers).q(query).b(body);
535
+ return b.build();
859
536
  };
860
537
  exports.se_GetRecoveryPointRestoreMetadataCommand = se_GetRecoveryPointRestoreMetadataCommand;
861
538
  const se_GetRestoreJobMetadataCommand = async (input, context) => {
862
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
539
+ const b = (0, core_1.requestBuilder)(input, context);
863
540
  const headers = {};
864
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/restore-jobs/{RestoreJobId}/metadata";
865
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreJobId", () => input.RestoreJobId, "{RestoreJobId}", false);
541
+ b.bp("/restore-jobs/{RestoreJobId}/metadata");
542
+ b.p("RestoreJobId", () => input.RestoreJobId, "{RestoreJobId}", false);
866
543
  let body;
867
- return new protocol_http_1.HttpRequest({
868
- protocol,
869
- hostname,
870
- port,
871
- method: "GET",
872
- headers,
873
- path: resolvedPath,
874
- body,
875
- });
544
+ b.m("GET").h(headers).b(body);
545
+ return b.build();
876
546
  };
877
547
  exports.se_GetRestoreJobMetadataCommand = se_GetRestoreJobMetadataCommand;
878
548
  const se_GetRestoreTestingInferredMetadataCommand = async (input, context) => {
879
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
549
+ const b = (0, core_1.requestBuilder)(input, context);
880
550
  const headers = {};
881
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/restore-testing/inferred-metadata";
551
+ b.bp("/restore-testing/inferred-metadata");
882
552
  const query = (0, smithy_client_1.map)({
883
- BackupVaultAccountId: [, input.BackupVaultAccountId],
884
- BackupVaultName: [, (0, smithy_client_1.expectNonNull)(input.BackupVaultName, `BackupVaultName`)],
885
- RecoveryPointArn: [, (0, smithy_client_1.expectNonNull)(input.RecoveryPointArn, `RecoveryPointArn`)],
553
+ [_BVAI]: [, input[_BVAI]],
554
+ [_BVN]: [, (0, smithy_client_1.expectNonNull)(input[_BVN], `BackupVaultName`)],
555
+ [_RPA]: [, (0, smithy_client_1.expectNonNull)(input[_RPA], `RecoveryPointArn`)],
886
556
  });
887
557
  let body;
888
- return new protocol_http_1.HttpRequest({
889
- protocol,
890
- hostname,
891
- port,
892
- method: "GET",
893
- headers,
894
- path: resolvedPath,
895
- query,
896
- body,
897
- });
558
+ b.m("GET").h(headers).q(query).b(body);
559
+ return b.build();
898
560
  };
899
561
  exports.se_GetRestoreTestingInferredMetadataCommand = se_GetRestoreTestingInferredMetadataCommand;
900
562
  const se_GetRestoreTestingPlanCommand = async (input, context) => {
901
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
563
+ const b = (0, core_1.requestBuilder)(input, context);
902
564
  const headers = {};
903
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
904
- "/restore-testing/plans/{RestoreTestingPlanName}";
905
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
565
+ b.bp("/restore-testing/plans/{RestoreTestingPlanName}");
566
+ b.p("RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
906
567
  let body;
907
- return new protocol_http_1.HttpRequest({
908
- protocol,
909
- hostname,
910
- port,
911
- method: "GET",
912
- headers,
913
- path: resolvedPath,
914
- body,
915
- });
568
+ b.m("GET").h(headers).b(body);
569
+ return b.build();
916
570
  };
917
571
  exports.se_GetRestoreTestingPlanCommand = se_GetRestoreTestingPlanCommand;
918
572
  const se_GetRestoreTestingSelectionCommand = async (input, context) => {
919
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
573
+ const b = (0, core_1.requestBuilder)(input, context);
920
574
  const headers = {};
921
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
922
- "/restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}";
923
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
924
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingSelectionName", () => input.RestoreTestingSelectionName, "{RestoreTestingSelectionName}", false);
575
+ b.bp("/restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}");
576
+ b.p("RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
577
+ b.p("RestoreTestingSelectionName", () => input.RestoreTestingSelectionName, "{RestoreTestingSelectionName}", false);
925
578
  let body;
926
- return new protocol_http_1.HttpRequest({
927
- protocol,
928
- hostname,
929
- port,
930
- method: "GET",
931
- headers,
932
- path: resolvedPath,
933
- body,
934
- });
579
+ b.m("GET").h(headers).b(body);
580
+ return b.build();
935
581
  };
936
582
  exports.se_GetRestoreTestingSelectionCommand = se_GetRestoreTestingSelectionCommand;
937
583
  const se_GetSupportedResourceTypesCommand = async (input, context) => {
938
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
584
+ const b = (0, core_1.requestBuilder)(input, context);
939
585
  const headers = {
940
586
  "content-type": "application/json",
941
587
  };
942
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/supported-resource-types";
588
+ b.bp("/supported-resource-types");
943
589
  let body;
944
590
  body = "";
945
- return new protocol_http_1.HttpRequest({
946
- protocol,
947
- hostname,
948
- port,
949
- method: "GET",
950
- headers,
951
- path: resolvedPath,
952
- body,
953
- });
591
+ b.m("GET").h(headers).b(body);
592
+ return b.build();
954
593
  };
955
594
  exports.se_GetSupportedResourceTypesCommand = se_GetSupportedResourceTypesCommand;
956
595
  const se_ListBackupJobsCommand = async (input, context) => {
957
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
596
+ const b = (0, core_1.requestBuilder)(input, context);
958
597
  const headers = {};
959
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-jobs";
598
+ b.bp("/backup-jobs");
960
599
  const query = (0, smithy_client_1.map)({
961
- nextToken: [, input.NextToken],
962
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
963
- resourceArn: [, input.ByResourceArn],
964
- state: [, input.ByState],
965
- backupVaultName: [, input.ByBackupVaultName],
966
- createdBefore: [
967
- () => input.ByCreatedBefore !== void 0,
968
- () => (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
969
- ],
970
- createdAfter: [
971
- () => input.ByCreatedAfter !== void 0,
972
- () => (input.ByCreatedAfter.toISOString().split(".")[0] + "Z").toString(),
973
- ],
974
- resourceType: [, input.ByResourceType],
975
- accountId: [, input.ByAccountId],
976
- completeAfter: [
600
+ [_nT]: [, input[_NT]],
601
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
602
+ [_rA]: [, input[_BRA]],
603
+ [_s]: [, input[_BS]],
604
+ [_bVN]: [, input[_BBVN]],
605
+ [_cB]: [() => input.ByCreatedBefore !== void 0, () => (input[_BCB].toISOString().split(".")[0] + "Z").toString()],
606
+ [_cA]: [() => input.ByCreatedAfter !== void 0, () => (input[_BCA].toISOString().split(".")[0] + "Z").toString()],
607
+ [_rT]: [, input[_BRT]],
608
+ [_aI]: [, input[_BAI]],
609
+ [_cAo]: [
977
610
  () => input.ByCompleteAfter !== void 0,
978
- () => (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
611
+ () => (input[_BCAy].toISOString().split(".")[0] + "Z").toString(),
979
612
  ],
980
- completeBefore: [
613
+ [_cBo]: [
981
614
  () => input.ByCompleteBefore !== void 0,
982
- () => (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
615
+ () => (input[_BCBy].toISOString().split(".")[0] + "Z").toString(),
983
616
  ],
984
- parentJobId: [, input.ByParentJobId],
985
- messageCategory: [, input.ByMessageCategory],
617
+ [_pJI]: [, input[_BPJI]],
618
+ [_mC]: [, input[_BMC]],
986
619
  });
987
620
  let body;
988
- return new protocol_http_1.HttpRequest({
989
- protocol,
990
- hostname,
991
- port,
992
- method: "GET",
993
- headers,
994
- path: resolvedPath,
995
- query,
996
- body,
997
- });
621
+ b.m("GET").h(headers).q(query).b(body);
622
+ return b.build();
998
623
  };
999
624
  exports.se_ListBackupJobsCommand = se_ListBackupJobsCommand;
1000
625
  const se_ListBackupJobSummariesCommand = async (input, context) => {
1001
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
626
+ const b = (0, core_1.requestBuilder)(input, context);
1002
627
  const headers = {};
1003
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/backup-job-summaries";
628
+ b.bp("/audit/backup-job-summaries");
1004
629
  const query = (0, smithy_client_1.map)({
1005
- AccountId: [, input.AccountId],
1006
- State: [, input.State],
1007
- ResourceType: [, input.ResourceType],
1008
- MessageCategory: [, input.MessageCategory],
1009
- AggregationPeriod: [, input.AggregationPeriod],
1010
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1011
- NextToken: [, input.NextToken],
630
+ [_AI]: [, input[_AI]],
631
+ [_S]: [, input[_S]],
632
+ [_RT]: [, input[_RT]],
633
+ [_MC]: [, input[_MC]],
634
+ [_AP]: [, input[_AP]],
635
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
636
+ [_NT]: [, input[_NT]],
1012
637
  });
1013
638
  let body;
1014
- return new protocol_http_1.HttpRequest({
1015
- protocol,
1016
- hostname,
1017
- port,
1018
- method: "GET",
1019
- headers,
1020
- path: resolvedPath,
1021
- query,
1022
- body,
1023
- });
639
+ b.m("GET").h(headers).q(query).b(body);
640
+ return b.build();
1024
641
  };
1025
642
  exports.se_ListBackupJobSummariesCommand = se_ListBackupJobSummariesCommand;
1026
643
  const se_ListBackupPlansCommand = async (input, context) => {
1027
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
644
+ const b = (0, core_1.requestBuilder)(input, context);
1028
645
  const headers = {};
1029
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans";
646
+ b.bp("/backup/plans");
1030
647
  const query = (0, smithy_client_1.map)({
1031
- nextToken: [, input.NextToken],
1032
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1033
- includeDeleted: [() => input.IncludeDeleted !== void 0, () => input.IncludeDeleted.toString()],
648
+ [_nT]: [, input[_NT]],
649
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
650
+ [_iD]: [() => input.IncludeDeleted !== void 0, () => input[_ID].toString()],
1034
651
  });
1035
652
  let body;
1036
- return new protocol_http_1.HttpRequest({
1037
- protocol,
1038
- hostname,
1039
- port,
1040
- method: "GET",
1041
- headers,
1042
- path: resolvedPath,
1043
- query,
1044
- body,
1045
- });
653
+ b.m("GET").h(headers).q(query).b(body);
654
+ return b.build();
1046
655
  };
1047
656
  exports.se_ListBackupPlansCommand = se_ListBackupPlansCommand;
1048
657
  const se_ListBackupPlanTemplatesCommand = async (input, context) => {
1049
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
658
+ const b = (0, core_1.requestBuilder)(input, context);
1050
659
  const headers = {};
1051
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/template/plans";
660
+ b.bp("/backup/template/plans");
1052
661
  const query = (0, smithy_client_1.map)({
1053
- nextToken: [, input.NextToken],
1054
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
662
+ [_nT]: [, input[_NT]],
663
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1055
664
  });
1056
665
  let body;
1057
- return new protocol_http_1.HttpRequest({
1058
- protocol,
1059
- hostname,
1060
- port,
1061
- method: "GET",
1062
- headers,
1063
- path: resolvedPath,
1064
- query,
1065
- body,
1066
- });
666
+ b.m("GET").h(headers).q(query).b(body);
667
+ return b.build();
1067
668
  };
1068
669
  exports.se_ListBackupPlanTemplatesCommand = se_ListBackupPlanTemplatesCommand;
1069
670
  const se_ListBackupPlanVersionsCommand = async (input, context) => {
1070
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
671
+ const b = (0, core_1.requestBuilder)(input, context);
1071
672
  const headers = {};
1072
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans/{BackupPlanId}/versions";
1073
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
673
+ b.bp("/backup/plans/{BackupPlanId}/versions");
674
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
1074
675
  const query = (0, smithy_client_1.map)({
1075
- nextToken: [, input.NextToken],
1076
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
676
+ [_nT]: [, input[_NT]],
677
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1077
678
  });
1078
679
  let body;
1079
- return new protocol_http_1.HttpRequest({
1080
- protocol,
1081
- hostname,
1082
- port,
1083
- method: "GET",
1084
- headers,
1085
- path: resolvedPath,
1086
- query,
1087
- body,
1088
- });
680
+ b.m("GET").h(headers).q(query).b(body);
681
+ return b.build();
1089
682
  };
1090
683
  exports.se_ListBackupPlanVersionsCommand = se_ListBackupPlanVersionsCommand;
1091
684
  const se_ListBackupSelectionsCommand = async (input, context) => {
1092
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
685
+ const b = (0, core_1.requestBuilder)(input, context);
1093
686
  const headers = {};
1094
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans/{BackupPlanId}/selections";
1095
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
687
+ b.bp("/backup/plans/{BackupPlanId}/selections");
688
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
1096
689
  const query = (0, smithy_client_1.map)({
1097
- nextToken: [, input.NextToken],
1098
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
690
+ [_nT]: [, input[_NT]],
691
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1099
692
  });
1100
693
  let body;
1101
- return new protocol_http_1.HttpRequest({
1102
- protocol,
1103
- hostname,
1104
- port,
1105
- method: "GET",
1106
- headers,
1107
- path: resolvedPath,
1108
- query,
1109
- body,
1110
- });
694
+ b.m("GET").h(headers).q(query).b(body);
695
+ return b.build();
1111
696
  };
1112
697
  exports.se_ListBackupSelectionsCommand = se_ListBackupSelectionsCommand;
1113
698
  const se_ListBackupVaultsCommand = async (input, context) => {
1114
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
699
+ const b = (0, core_1.requestBuilder)(input, context);
1115
700
  const headers = {};
1116
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-vaults";
701
+ b.bp("/backup-vaults");
1117
702
  const query = (0, smithy_client_1.map)({
1118
- vaultType: [, input.ByVaultType],
1119
- shared: [() => input.ByShared !== void 0, () => input.ByShared.toString()],
1120
- nextToken: [, input.NextToken],
1121
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
703
+ [_vT]: [, input[_BVT]],
704
+ [_sh]: [() => input.ByShared !== void 0, () => input[_BSy].toString()],
705
+ [_nT]: [, input[_NT]],
706
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1122
707
  });
1123
708
  let body;
1124
- return new protocol_http_1.HttpRequest({
1125
- protocol,
1126
- hostname,
1127
- port,
1128
- method: "GET",
1129
- headers,
1130
- path: resolvedPath,
1131
- query,
1132
- body,
1133
- });
709
+ b.m("GET").h(headers).q(query).b(body);
710
+ return b.build();
1134
711
  };
1135
712
  exports.se_ListBackupVaultsCommand = se_ListBackupVaultsCommand;
1136
713
  const se_ListCopyJobsCommand = async (input, context) => {
1137
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
714
+ const b = (0, core_1.requestBuilder)(input, context);
1138
715
  const headers = {};
1139
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/copy-jobs";
716
+ b.bp("/copy-jobs");
1140
717
  const query = (0, smithy_client_1.map)({
1141
- nextToken: [, input.NextToken],
1142
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1143
- resourceArn: [, input.ByResourceArn],
1144
- state: [, input.ByState],
1145
- createdBefore: [
1146
- () => input.ByCreatedBefore !== void 0,
1147
- () => (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
1148
- ],
1149
- createdAfter: [
1150
- () => input.ByCreatedAfter !== void 0,
1151
- () => (input.ByCreatedAfter.toISOString().split(".")[0] + "Z").toString(),
1152
- ],
1153
- resourceType: [, input.ByResourceType],
1154
- destinationVaultArn: [, input.ByDestinationVaultArn],
1155
- accountId: [, input.ByAccountId],
1156
- completeBefore: [
718
+ [_nT]: [, input[_NT]],
719
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
720
+ [_rA]: [, input[_BRA]],
721
+ [_s]: [, input[_BS]],
722
+ [_cB]: [() => input.ByCreatedBefore !== void 0, () => (input[_BCB].toISOString().split(".")[0] + "Z").toString()],
723
+ [_cA]: [() => input.ByCreatedAfter !== void 0, () => (input[_BCA].toISOString().split(".")[0] + "Z").toString()],
724
+ [_rT]: [, input[_BRT]],
725
+ [_dVA]: [, input[_BDVA]],
726
+ [_aI]: [, input[_BAI]],
727
+ [_cBo]: [
1157
728
  () => input.ByCompleteBefore !== void 0,
1158
- () => (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
729
+ () => (input[_BCBy].toISOString().split(".")[0] + "Z").toString(),
1159
730
  ],
1160
- completeAfter: [
731
+ [_cAo]: [
1161
732
  () => input.ByCompleteAfter !== void 0,
1162
- () => (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
733
+ () => (input[_BCAy].toISOString().split(".")[0] + "Z").toString(),
1163
734
  ],
1164
- parentJobId: [, input.ByParentJobId],
1165
- messageCategory: [, input.ByMessageCategory],
735
+ [_pJI]: [, input[_BPJI]],
736
+ [_mC]: [, input[_BMC]],
1166
737
  });
1167
738
  let body;
1168
- return new protocol_http_1.HttpRequest({
1169
- protocol,
1170
- hostname,
1171
- port,
1172
- method: "GET",
1173
- headers,
1174
- path: resolvedPath,
1175
- query,
1176
- body,
1177
- });
739
+ b.m("GET").h(headers).q(query).b(body);
740
+ return b.build();
1178
741
  };
1179
742
  exports.se_ListCopyJobsCommand = se_ListCopyJobsCommand;
1180
743
  const se_ListCopyJobSummariesCommand = async (input, context) => {
1181
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
744
+ const b = (0, core_1.requestBuilder)(input, context);
1182
745
  const headers = {};
1183
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/copy-job-summaries";
746
+ b.bp("/audit/copy-job-summaries");
1184
747
  const query = (0, smithy_client_1.map)({
1185
- AccountId: [, input.AccountId],
1186
- State: [, input.State],
1187
- ResourceType: [, input.ResourceType],
1188
- MessageCategory: [, input.MessageCategory],
1189
- AggregationPeriod: [, input.AggregationPeriod],
1190
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1191
- NextToken: [, input.NextToken],
748
+ [_AI]: [, input[_AI]],
749
+ [_S]: [, input[_S]],
750
+ [_RT]: [, input[_RT]],
751
+ [_MC]: [, input[_MC]],
752
+ [_AP]: [, input[_AP]],
753
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
754
+ [_NT]: [, input[_NT]],
1192
755
  });
1193
756
  let body;
1194
- return new protocol_http_1.HttpRequest({
1195
- protocol,
1196
- hostname,
1197
- port,
1198
- method: "GET",
1199
- headers,
1200
- path: resolvedPath,
1201
- query,
1202
- body,
1203
- });
757
+ b.m("GET").h(headers).q(query).b(body);
758
+ return b.build();
1204
759
  };
1205
760
  exports.se_ListCopyJobSummariesCommand = se_ListCopyJobSummariesCommand;
1206
761
  const se_ListFrameworksCommand = async (input, context) => {
1207
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
762
+ const b = (0, core_1.requestBuilder)(input, context);
1208
763
  const headers = {};
1209
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/frameworks";
764
+ b.bp("/audit/frameworks");
1210
765
  const query = (0, smithy_client_1.map)({
1211
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1212
- NextToken: [, input.NextToken],
766
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
767
+ [_NT]: [, input[_NT]],
1213
768
  });
1214
769
  let body;
1215
- return new protocol_http_1.HttpRequest({
1216
- protocol,
1217
- hostname,
1218
- port,
1219
- method: "GET",
1220
- headers,
1221
- path: resolvedPath,
1222
- query,
1223
- body,
1224
- });
770
+ b.m("GET").h(headers).q(query).b(body);
771
+ return b.build();
1225
772
  };
1226
773
  exports.se_ListFrameworksCommand = se_ListFrameworksCommand;
1227
774
  const se_ListLegalHoldsCommand = async (input, context) => {
1228
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
775
+ const b = (0, core_1.requestBuilder)(input, context);
1229
776
  const headers = {};
1230
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/legal-holds";
777
+ b.bp("/legal-holds");
1231
778
  const query = (0, smithy_client_1.map)({
1232
- nextToken: [, input.NextToken],
1233
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
779
+ [_nT]: [, input[_NT]],
780
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1234
781
  });
1235
782
  let body;
1236
- return new protocol_http_1.HttpRequest({
1237
- protocol,
1238
- hostname,
1239
- port,
1240
- method: "GET",
1241
- headers,
1242
- path: resolvedPath,
1243
- query,
1244
- body,
1245
- });
783
+ b.m("GET").h(headers).q(query).b(body);
784
+ return b.build();
1246
785
  };
1247
786
  exports.se_ListLegalHoldsCommand = se_ListLegalHoldsCommand;
1248
787
  const se_ListProtectedResourcesCommand = async (input, context) => {
1249
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
788
+ const b = (0, core_1.requestBuilder)(input, context);
1250
789
  const headers = {};
1251
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources";
790
+ b.bp("/resources");
1252
791
  const query = (0, smithy_client_1.map)({
1253
- nextToken: [, input.NextToken],
1254
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
792
+ [_nT]: [, input[_NT]],
793
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1255
794
  });
1256
795
  let body;
1257
- return new protocol_http_1.HttpRequest({
1258
- protocol,
1259
- hostname,
1260
- port,
1261
- method: "GET",
1262
- headers,
1263
- path: resolvedPath,
1264
- query,
1265
- body,
1266
- });
796
+ b.m("GET").h(headers).q(query).b(body);
797
+ return b.build();
1267
798
  };
1268
799
  exports.se_ListProtectedResourcesCommand = se_ListProtectedResourcesCommand;
1269
800
  const se_ListProtectedResourcesByBackupVaultCommand = async (input, context) => {
1270
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
801
+ const b = (0, core_1.requestBuilder)(input, context);
1271
802
  const headers = {};
1272
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1273
- "/backup-vaults/{BackupVaultName}/resources";
1274
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
803
+ b.bp("/backup-vaults/{BackupVaultName}/resources");
804
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1275
805
  const query = (0, smithy_client_1.map)({
1276
- backupVaultAccountId: [, input.BackupVaultAccountId],
1277
- nextToken: [, input.NextToken],
1278
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
806
+ [_bVAI]: [, input[_BVAI]],
807
+ [_nT]: [, input[_NT]],
808
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1279
809
  });
1280
810
  let body;
1281
- return new protocol_http_1.HttpRequest({
1282
- protocol,
1283
- hostname,
1284
- port,
1285
- method: "GET",
1286
- headers,
1287
- path: resolvedPath,
1288
- query,
1289
- body,
1290
- });
811
+ b.m("GET").h(headers).q(query).b(body);
812
+ return b.build();
1291
813
  };
1292
814
  exports.se_ListProtectedResourcesByBackupVaultCommand = se_ListProtectedResourcesByBackupVaultCommand;
1293
815
  const se_ListRecoveryPointsByBackupVaultCommand = async (input, context) => {
1294
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
816
+ const b = (0, core_1.requestBuilder)(input, context);
1295
817
  const headers = {};
1296
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1297
- "/backup-vaults/{BackupVaultName}/recovery-points";
1298
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
818
+ b.bp("/backup-vaults/{BackupVaultName}/recovery-points");
819
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1299
820
  const query = (0, smithy_client_1.map)({
1300
- backupVaultAccountId: [, input.BackupVaultAccountId],
1301
- nextToken: [, input.NextToken],
1302
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1303
- resourceArn: [, input.ByResourceArn],
1304
- resourceType: [, input.ByResourceType],
1305
- backupPlanId: [, input.ByBackupPlanId],
1306
- createdBefore: [
1307
- () => input.ByCreatedBefore !== void 0,
1308
- () => (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
1309
- ],
1310
- createdAfter: [
1311
- () => input.ByCreatedAfter !== void 0,
1312
- () => (input.ByCreatedAfter.toISOString().split(".")[0] + "Z").toString(),
1313
- ],
1314
- parentRecoveryPointArn: [, input.ByParentRecoveryPointArn],
821
+ [_bVAI]: [, input[_BVAI]],
822
+ [_nT]: [, input[_NT]],
823
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
824
+ [_rA]: [, input[_BRA]],
825
+ [_rT]: [, input[_BRT]],
826
+ [_bPI]: [, input[_BBPI]],
827
+ [_cB]: [() => input.ByCreatedBefore !== void 0, () => (input[_BCB].toISOString().split(".")[0] + "Z").toString()],
828
+ [_cA]: [() => input.ByCreatedAfter !== void 0, () => (input[_BCA].toISOString().split(".")[0] + "Z").toString()],
829
+ [_pRPA]: [, input[_BPRPA]],
1315
830
  });
1316
831
  let body;
1317
- return new protocol_http_1.HttpRequest({
1318
- protocol,
1319
- hostname,
1320
- port,
1321
- method: "GET",
1322
- headers,
1323
- path: resolvedPath,
1324
- query,
1325
- body,
1326
- });
832
+ b.m("GET").h(headers).q(query).b(body);
833
+ return b.build();
1327
834
  };
1328
835
  exports.se_ListRecoveryPointsByBackupVaultCommand = se_ListRecoveryPointsByBackupVaultCommand;
1329
836
  const se_ListRecoveryPointsByLegalHoldCommand = async (input, context) => {
1330
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
837
+ const b = (0, core_1.requestBuilder)(input, context);
1331
838
  const headers = {};
1332
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1333
- "/legal-holds/{LegalHoldId}/recovery-points";
1334
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LegalHoldId", () => input.LegalHoldId, "{LegalHoldId}", false);
839
+ b.bp("/legal-holds/{LegalHoldId}/recovery-points");
840
+ b.p("LegalHoldId", () => input.LegalHoldId, "{LegalHoldId}", false);
1335
841
  const query = (0, smithy_client_1.map)({
1336
- nextToken: [, input.NextToken],
1337
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
842
+ [_nT]: [, input[_NT]],
843
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1338
844
  });
1339
845
  let body;
1340
- return new protocol_http_1.HttpRequest({
1341
- protocol,
1342
- hostname,
1343
- port,
1344
- method: "GET",
1345
- headers,
1346
- path: resolvedPath,
1347
- query,
1348
- body,
1349
- });
846
+ b.m("GET").h(headers).q(query).b(body);
847
+ return b.build();
1350
848
  };
1351
849
  exports.se_ListRecoveryPointsByLegalHoldCommand = se_ListRecoveryPointsByLegalHoldCommand;
1352
850
  const se_ListRecoveryPointsByResourceCommand = async (input, context) => {
1353
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
851
+ const b = (0, core_1.requestBuilder)(input, context);
1354
852
  const headers = {};
1355
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources/{ResourceArn}/recovery-points";
1356
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
853
+ b.bp("/resources/{ResourceArn}/recovery-points");
854
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1357
855
  const query = (0, smithy_client_1.map)({
1358
- nextToken: [, input.NextToken],
1359
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
856
+ [_nT]: [, input[_NT]],
857
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1360
858
  });
1361
859
  let body;
1362
- return new protocol_http_1.HttpRequest({
1363
- protocol,
1364
- hostname,
1365
- port,
1366
- method: "GET",
1367
- headers,
1368
- path: resolvedPath,
1369
- query,
1370
- body,
1371
- });
860
+ b.m("GET").h(headers).q(query).b(body);
861
+ return b.build();
1372
862
  };
1373
863
  exports.se_ListRecoveryPointsByResourceCommand = se_ListRecoveryPointsByResourceCommand;
1374
864
  const se_ListReportJobsCommand = async (input, context) => {
1375
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
865
+ const b = (0, core_1.requestBuilder)(input, context);
1376
866
  const headers = {};
1377
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-jobs";
867
+ b.bp("/audit/report-jobs");
1378
868
  const query = (0, smithy_client_1.map)({
1379
- ReportPlanName: [, input.ByReportPlanName],
1380
- CreationBefore: [
869
+ [_RPN]: [, input[_BRPN]],
870
+ [_CB]: [
1381
871
  () => input.ByCreationBefore !== void 0,
1382
- () => (input.ByCreationBefore.toISOString().split(".")[0] + "Z").toString(),
872
+ () => (input[_BCByr].toISOString().split(".")[0] + "Z").toString(),
1383
873
  ],
1384
- CreationAfter: [
874
+ [_CA]: [
1385
875
  () => input.ByCreationAfter !== void 0,
1386
- () => (input.ByCreationAfter.toISOString().split(".")[0] + "Z").toString(),
876
+ () => (input[_BCAyr].toISOString().split(".")[0] + "Z").toString(),
1387
877
  ],
1388
- Status: [, input.ByStatus],
1389
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1390
- NextToken: [, input.NextToken],
878
+ [_St]: [, input[_BSyt]],
879
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
880
+ [_NT]: [, input[_NT]],
1391
881
  });
1392
882
  let body;
1393
- return new protocol_http_1.HttpRequest({
1394
- protocol,
1395
- hostname,
1396
- port,
1397
- method: "GET",
1398
- headers,
1399
- path: resolvedPath,
1400
- query,
1401
- body,
1402
- });
883
+ b.m("GET").h(headers).q(query).b(body);
884
+ return b.build();
1403
885
  };
1404
886
  exports.se_ListReportJobsCommand = se_ListReportJobsCommand;
1405
887
  const se_ListReportPlansCommand = async (input, context) => {
1406
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
888
+ const b = (0, core_1.requestBuilder)(input, context);
1407
889
  const headers = {};
1408
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-plans";
890
+ b.bp("/audit/report-plans");
1409
891
  const query = (0, smithy_client_1.map)({
1410
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1411
- NextToken: [, input.NextToken],
892
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
893
+ [_NT]: [, input[_NT]],
1412
894
  });
1413
895
  let body;
1414
- return new protocol_http_1.HttpRequest({
1415
- protocol,
1416
- hostname,
1417
- port,
1418
- method: "GET",
1419
- headers,
1420
- path: resolvedPath,
1421
- query,
1422
- body,
1423
- });
896
+ b.m("GET").h(headers).q(query).b(body);
897
+ return b.build();
1424
898
  };
1425
899
  exports.se_ListReportPlansCommand = se_ListReportPlansCommand;
1426
900
  const se_ListRestoreJobsCommand = async (input, context) => {
1427
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
901
+ const b = (0, core_1.requestBuilder)(input, context);
1428
902
  const headers = {};
1429
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/restore-jobs";
903
+ b.bp("/restore-jobs");
1430
904
  const query = (0, smithy_client_1.map)({
1431
- nextToken: [, input.NextToken],
1432
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1433
- accountId: [, input.ByAccountId],
1434
- resourceType: [, input.ByResourceType],
1435
- createdBefore: [
1436
- () => input.ByCreatedBefore !== void 0,
1437
- () => (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
1438
- ],
1439
- createdAfter: [
1440
- () => input.ByCreatedAfter !== void 0,
1441
- () => (input.ByCreatedAfter.toISOString().split(".")[0] + "Z").toString(),
1442
- ],
1443
- status: [, input.ByStatus],
1444
- completeBefore: [
905
+ [_nT]: [, input[_NT]],
906
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
907
+ [_aI]: [, input[_BAI]],
908
+ [_rT]: [, input[_BRT]],
909
+ [_cB]: [() => input.ByCreatedBefore !== void 0, () => (input[_BCB].toISOString().split(".")[0] + "Z").toString()],
910
+ [_cA]: [() => input.ByCreatedAfter !== void 0, () => (input[_BCA].toISOString().split(".")[0] + "Z").toString()],
911
+ [_st]: [, input[_BSyt]],
912
+ [_cBo]: [
1445
913
  () => input.ByCompleteBefore !== void 0,
1446
- () => (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
914
+ () => (input[_BCBy].toISOString().split(".")[0] + "Z").toString(),
1447
915
  ],
1448
- completeAfter: [
916
+ [_cAo]: [
1449
917
  () => input.ByCompleteAfter !== void 0,
1450
- () => (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
918
+ () => (input[_BCAy].toISOString().split(".")[0] + "Z").toString(),
1451
919
  ],
1452
- restoreTestingPlanArn: [, input.ByRestoreTestingPlanArn],
920
+ [_rTPA]: [, input[_BRTPA]],
1453
921
  });
1454
922
  let body;
1455
- return new protocol_http_1.HttpRequest({
1456
- protocol,
1457
- hostname,
1458
- port,
1459
- method: "GET",
1460
- headers,
1461
- path: resolvedPath,
1462
- query,
1463
- body,
1464
- });
923
+ b.m("GET").h(headers).q(query).b(body);
924
+ return b.build();
1465
925
  };
1466
926
  exports.se_ListRestoreJobsCommand = se_ListRestoreJobsCommand;
1467
927
  const se_ListRestoreJobsByProtectedResourceCommand = async (input, context) => {
1468
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
928
+ const b = (0, core_1.requestBuilder)(input, context);
1469
929
  const headers = {};
1470
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources/{ResourceArn}/restore-jobs";
1471
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
930
+ b.bp("/resources/{ResourceArn}/restore-jobs");
931
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1472
932
  const query = (0, smithy_client_1.map)({
1473
- status: [, input.ByStatus],
1474
- recoveryPointCreationDateAfter: [
933
+ [_st]: [, input[_BSyt]],
934
+ [_rPCDA]: [
1475
935
  () => input.ByRecoveryPointCreationDateAfter !== void 0,
1476
- () => (input.ByRecoveryPointCreationDateAfter.toISOString().split(".")[0] + "Z").toString(),
936
+ () => (input[_BRPCDA].toISOString().split(".")[0] + "Z").toString(),
1477
937
  ],
1478
- recoveryPointCreationDateBefore: [
938
+ [_rPCDB]: [
1479
939
  () => input.ByRecoveryPointCreationDateBefore !== void 0,
1480
- () => (input.ByRecoveryPointCreationDateBefore.toISOString().split(".")[0] + "Z").toString(),
940
+ () => (input[_BRPCDB].toISOString().split(".")[0] + "Z").toString(),
1481
941
  ],
1482
- nextToken: [, input.NextToken],
1483
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
942
+ [_nT]: [, input[_NT]],
943
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1484
944
  });
1485
945
  let body;
1486
- return new protocol_http_1.HttpRequest({
1487
- protocol,
1488
- hostname,
1489
- port,
1490
- method: "GET",
1491
- headers,
1492
- path: resolvedPath,
1493
- query,
1494
- body,
1495
- });
946
+ b.m("GET").h(headers).q(query).b(body);
947
+ return b.build();
1496
948
  };
1497
949
  exports.se_ListRestoreJobsByProtectedResourceCommand = se_ListRestoreJobsByProtectedResourceCommand;
1498
950
  const se_ListRestoreJobSummariesCommand = async (input, context) => {
1499
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
951
+ const b = (0, core_1.requestBuilder)(input, context);
1500
952
  const headers = {};
1501
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/restore-job-summaries";
953
+ b.bp("/audit/restore-job-summaries");
1502
954
  const query = (0, smithy_client_1.map)({
1503
- AccountId: [, input.AccountId],
1504
- State: [, input.State],
1505
- ResourceType: [, input.ResourceType],
1506
- AggregationPeriod: [, input.AggregationPeriod],
1507
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1508
- NextToken: [, input.NextToken],
955
+ [_AI]: [, input[_AI]],
956
+ [_S]: [, input[_S]],
957
+ [_RT]: [, input[_RT]],
958
+ [_AP]: [, input[_AP]],
959
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
960
+ [_NT]: [, input[_NT]],
1509
961
  });
1510
962
  let body;
1511
- return new protocol_http_1.HttpRequest({
1512
- protocol,
1513
- hostname,
1514
- port,
1515
- method: "GET",
1516
- headers,
1517
- path: resolvedPath,
1518
- query,
1519
- body,
1520
- });
963
+ b.m("GET").h(headers).q(query).b(body);
964
+ return b.build();
1521
965
  };
1522
966
  exports.se_ListRestoreJobSummariesCommand = se_ListRestoreJobSummariesCommand;
1523
967
  const se_ListRestoreTestingPlansCommand = async (input, context) => {
1524
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
968
+ const b = (0, core_1.requestBuilder)(input, context);
1525
969
  const headers = {};
1526
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/restore-testing/plans";
970
+ b.bp("/restore-testing/plans");
1527
971
  const query = (0, smithy_client_1.map)({
1528
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1529
- NextToken: [, input.NextToken],
972
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
973
+ [_NT]: [, input[_NT]],
1530
974
  });
1531
975
  let body;
1532
- return new protocol_http_1.HttpRequest({
1533
- protocol,
1534
- hostname,
1535
- port,
1536
- method: "GET",
1537
- headers,
1538
- path: resolvedPath,
1539
- query,
1540
- body,
1541
- });
976
+ b.m("GET").h(headers).q(query).b(body);
977
+ return b.build();
1542
978
  };
1543
979
  exports.se_ListRestoreTestingPlansCommand = se_ListRestoreTestingPlansCommand;
1544
980
  const se_ListRestoreTestingSelectionsCommand = async (input, context) => {
1545
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
981
+ const b = (0, core_1.requestBuilder)(input, context);
1546
982
  const headers = {};
1547
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1548
- "/restore-testing/plans/{RestoreTestingPlanName}/selections";
1549
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
983
+ b.bp("/restore-testing/plans/{RestoreTestingPlanName}/selections");
984
+ b.p("RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
1550
985
  const query = (0, smithy_client_1.map)({
1551
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1552
- NextToken: [, input.NextToken],
986
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
987
+ [_NT]: [, input[_NT]],
1553
988
  });
1554
989
  let body;
1555
- return new protocol_http_1.HttpRequest({
1556
- protocol,
1557
- hostname,
1558
- port,
1559
- method: "GET",
1560
- headers,
1561
- path: resolvedPath,
1562
- query,
1563
- body,
1564
- });
990
+ b.m("GET").h(headers).q(query).b(body);
991
+ return b.build();
1565
992
  };
1566
993
  exports.se_ListRestoreTestingSelectionsCommand = se_ListRestoreTestingSelectionsCommand;
1567
994
  const se_ListTagsCommand = async (input, context) => {
1568
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
995
+ const b = (0, core_1.requestBuilder)(input, context);
1569
996
  const headers = {};
1570
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
1571
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
997
+ b.bp("/tags/{ResourceArn}");
998
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1572
999
  const query = (0, smithy_client_1.map)({
1573
- nextToken: [, input.NextToken],
1574
- maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1000
+ [_nT]: [, input[_NT]],
1001
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
1575
1002
  });
1576
1003
  let body;
1577
- return new protocol_http_1.HttpRequest({
1578
- protocol,
1579
- hostname,
1580
- port,
1581
- method: "GET",
1582
- headers,
1583
- path: resolvedPath,
1584
- query,
1585
- body,
1586
- });
1004
+ b.m("GET").h(headers).q(query).b(body);
1005
+ return b.build();
1587
1006
  };
1588
1007
  exports.se_ListTagsCommand = se_ListTagsCommand;
1589
1008
  const se_PutBackupVaultAccessPolicyCommand = async (input, context) => {
1590
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1009
+ const b = (0, core_1.requestBuilder)(input, context);
1591
1010
  const headers = {
1592
1011
  "content-type": "application/json",
1593
1012
  };
1594
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1595
- "/backup-vaults/{BackupVaultName}/access-policy";
1596
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1013
+ b.bp("/backup-vaults/{BackupVaultName}/access-policy");
1014
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1597
1015
  let body;
1598
1016
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1599
1017
  Policy: [],
1600
1018
  }));
1601
- return new protocol_http_1.HttpRequest({
1602
- protocol,
1603
- hostname,
1604
- port,
1605
- method: "PUT",
1606
- headers,
1607
- path: resolvedPath,
1608
- body,
1609
- });
1019
+ b.m("PUT").h(headers).b(body);
1020
+ return b.build();
1610
1021
  };
1611
1022
  exports.se_PutBackupVaultAccessPolicyCommand = se_PutBackupVaultAccessPolicyCommand;
1612
1023
  const se_PutBackupVaultLockConfigurationCommand = async (input, context) => {
1613
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1024
+ const b = (0, core_1.requestBuilder)(input, context);
1614
1025
  const headers = {
1615
1026
  "content-type": "application/json",
1616
1027
  };
1617
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1618
- "/backup-vaults/{BackupVaultName}/vault-lock";
1619
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1028
+ b.bp("/backup-vaults/{BackupVaultName}/vault-lock");
1029
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1620
1030
  let body;
1621
1031
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1622
1032
  ChangeableForDays: [],
1623
1033
  MaxRetentionDays: [],
1624
1034
  MinRetentionDays: [],
1625
1035
  }));
1626
- return new protocol_http_1.HttpRequest({
1627
- protocol,
1628
- hostname,
1629
- port,
1630
- method: "PUT",
1631
- headers,
1632
- path: resolvedPath,
1633
- body,
1634
- });
1036
+ b.m("PUT").h(headers).b(body);
1037
+ return b.build();
1635
1038
  };
1636
1039
  exports.se_PutBackupVaultLockConfigurationCommand = se_PutBackupVaultLockConfigurationCommand;
1637
1040
  const se_PutBackupVaultNotificationsCommand = async (input, context) => {
1638
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1041
+ const b = (0, core_1.requestBuilder)(input, context);
1639
1042
  const headers = {
1640
1043
  "content-type": "application/json",
1641
1044
  };
1642
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1643
- "/backup-vaults/{BackupVaultName}/notification-configuration";
1644
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1045
+ b.bp("/backup-vaults/{BackupVaultName}/notification-configuration");
1046
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1645
1047
  let body;
1646
1048
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1647
1049
  BackupVaultEvents: (_) => (0, smithy_client_1._json)(_),
1648
1050
  SNSTopicArn: [],
1649
1051
  }));
1650
- return new protocol_http_1.HttpRequest({
1651
- protocol,
1652
- hostname,
1653
- port,
1654
- method: "PUT",
1655
- headers,
1656
- path: resolvedPath,
1657
- body,
1658
- });
1052
+ b.m("PUT").h(headers).b(body);
1053
+ return b.build();
1659
1054
  };
1660
1055
  exports.se_PutBackupVaultNotificationsCommand = se_PutBackupVaultNotificationsCommand;
1661
1056
  const se_PutRestoreValidationResultCommand = async (input, context) => {
1662
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1057
+ const b = (0, core_1.requestBuilder)(input, context);
1663
1058
  const headers = {
1664
1059
  "content-type": "application/json",
1665
1060
  };
1666
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/restore-jobs/{RestoreJobId}/validations";
1667
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreJobId", () => input.RestoreJobId, "{RestoreJobId}", false);
1061
+ b.bp("/restore-jobs/{RestoreJobId}/validations");
1062
+ b.p("RestoreJobId", () => input.RestoreJobId, "{RestoreJobId}", false);
1668
1063
  let body;
1669
1064
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1670
1065
  ValidationStatus: [],
1671
1066
  ValidationStatusMessage: [],
1672
1067
  }));
1673
- return new protocol_http_1.HttpRequest({
1674
- protocol,
1675
- hostname,
1676
- port,
1677
- method: "PUT",
1678
- headers,
1679
- path: resolvedPath,
1680
- body,
1681
- });
1068
+ b.m("PUT").h(headers).b(body);
1069
+ return b.build();
1682
1070
  };
1683
1071
  exports.se_PutRestoreValidationResultCommand = se_PutRestoreValidationResultCommand;
1684
1072
  const se_StartBackupJobCommand = async (input, context) => {
1685
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1073
+ const b = (0, core_1.requestBuilder)(input, context);
1686
1074
  const headers = {
1687
1075
  "content-type": "application/json",
1688
1076
  };
1689
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-jobs";
1077
+ b.bp("/backup-jobs");
1690
1078
  let body;
1691
1079
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1692
1080
  BackupOptions: (_) => (0, smithy_client_1._json)(_),
@@ -1699,23 +1087,16 @@ const se_StartBackupJobCommand = async (input, context) => {
1699
1087
  ResourceArn: [],
1700
1088
  StartWindowMinutes: [],
1701
1089
  }));
1702
- return new protocol_http_1.HttpRequest({
1703
- protocol,
1704
- hostname,
1705
- port,
1706
- method: "PUT",
1707
- headers,
1708
- path: resolvedPath,
1709
- body,
1710
- });
1090
+ b.m("PUT").h(headers).b(body);
1091
+ return b.build();
1711
1092
  };
1712
1093
  exports.se_StartBackupJobCommand = se_StartBackupJobCommand;
1713
1094
  const se_StartCopyJobCommand = async (input, context) => {
1714
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1095
+ const b = (0, core_1.requestBuilder)(input, context);
1715
1096
  const headers = {
1716
1097
  "content-type": "application/json",
1717
1098
  };
1718
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/copy-jobs";
1099
+ b.bp("/copy-jobs");
1719
1100
  let body;
1720
1101
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1721
1102
  DestinationBackupVaultArn: [],
@@ -1725,45 +1106,31 @@ const se_StartCopyJobCommand = async (input, context) => {
1725
1106
  RecoveryPointArn: [],
1726
1107
  SourceBackupVaultName: [],
1727
1108
  }));
1728
- return new protocol_http_1.HttpRequest({
1729
- protocol,
1730
- hostname,
1731
- port,
1732
- method: "PUT",
1733
- headers,
1734
- path: resolvedPath,
1735
- body,
1736
- });
1109
+ b.m("PUT").h(headers).b(body);
1110
+ return b.build();
1737
1111
  };
1738
1112
  exports.se_StartCopyJobCommand = se_StartCopyJobCommand;
1739
1113
  const se_StartReportJobCommand = async (input, context) => {
1740
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1114
+ const b = (0, core_1.requestBuilder)(input, context);
1741
1115
  const headers = {
1742
1116
  "content-type": "application/json",
1743
1117
  };
1744
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-jobs/{ReportPlanName}";
1745
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
1118
+ b.bp("/audit/report-jobs/{ReportPlanName}");
1119
+ b.p("ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
1746
1120
  let body;
1747
1121
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1748
1122
  IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1749
1123
  }));
1750
- return new protocol_http_1.HttpRequest({
1751
- protocol,
1752
- hostname,
1753
- port,
1754
- method: "POST",
1755
- headers,
1756
- path: resolvedPath,
1757
- body,
1758
- });
1124
+ b.m("POST").h(headers).b(body);
1125
+ return b.build();
1759
1126
  };
1760
1127
  exports.se_StartReportJobCommand = se_StartReportJobCommand;
1761
1128
  const se_StartRestoreJobCommand = async (input, context) => {
1762
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1129
+ const b = (0, core_1.requestBuilder)(input, context);
1763
1130
  const headers = {
1764
1131
  "content-type": "application/json",
1765
1132
  };
1766
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/restore-jobs";
1133
+ b.bp("/restore-jobs");
1767
1134
  let body;
1768
1135
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1769
1136
  CopySourceTagsToRestoredResource: [],
@@ -1773,198 +1140,134 @@ const se_StartRestoreJobCommand = async (input, context) => {
1773
1140
  RecoveryPointArn: [],
1774
1141
  ResourceType: [],
1775
1142
  }));
1776
- return new protocol_http_1.HttpRequest({
1777
- protocol,
1778
- hostname,
1779
- port,
1780
- method: "PUT",
1781
- headers,
1782
- path: resolvedPath,
1783
- body,
1784
- });
1143
+ b.m("PUT").h(headers).b(body);
1144
+ return b.build();
1785
1145
  };
1786
1146
  exports.se_StartRestoreJobCommand = se_StartRestoreJobCommand;
1787
1147
  const se_StopBackupJobCommand = async (input, context) => {
1788
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1148
+ const b = (0, core_1.requestBuilder)(input, context);
1789
1149
  const headers = {};
1790
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-jobs/{BackupJobId}";
1791
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupJobId", () => input.BackupJobId, "{BackupJobId}", false);
1150
+ b.bp("/backup-jobs/{BackupJobId}");
1151
+ b.p("BackupJobId", () => input.BackupJobId, "{BackupJobId}", false);
1792
1152
  let body;
1793
- return new protocol_http_1.HttpRequest({
1794
- protocol,
1795
- hostname,
1796
- port,
1797
- method: "POST",
1798
- headers,
1799
- path: resolvedPath,
1800
- body,
1801
- });
1153
+ b.m("POST").h(headers).b(body);
1154
+ return b.build();
1802
1155
  };
1803
1156
  exports.se_StopBackupJobCommand = se_StopBackupJobCommand;
1804
1157
  const se_TagResourceCommand = async (input, context) => {
1805
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1158
+ const b = (0, core_1.requestBuilder)(input, context);
1806
1159
  const headers = {
1807
1160
  "content-type": "application/json",
1808
1161
  };
1809
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
1810
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1162
+ b.bp("/tags/{ResourceArn}");
1163
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1811
1164
  let body;
1812
1165
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1813
1166
  Tags: (_) => (0, smithy_client_1._json)(_),
1814
1167
  }));
1815
- return new protocol_http_1.HttpRequest({
1816
- protocol,
1817
- hostname,
1818
- port,
1819
- method: "POST",
1820
- headers,
1821
- path: resolvedPath,
1822
- body,
1823
- });
1168
+ b.m("POST").h(headers).b(body);
1169
+ return b.build();
1824
1170
  };
1825
1171
  exports.se_TagResourceCommand = se_TagResourceCommand;
1826
1172
  const se_UntagResourceCommand = async (input, context) => {
1827
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1173
+ const b = (0, core_1.requestBuilder)(input, context);
1828
1174
  const headers = {
1829
1175
  "content-type": "application/json",
1830
1176
  };
1831
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/untag/{ResourceArn}";
1832
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1177
+ b.bp("/untag/{ResourceArn}");
1178
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1833
1179
  let body;
1834
1180
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1835
1181
  TagKeyList: (_) => (0, smithy_client_1._json)(_),
1836
1182
  }));
1837
- return new protocol_http_1.HttpRequest({
1838
- protocol,
1839
- hostname,
1840
- port,
1841
- method: "POST",
1842
- headers,
1843
- path: resolvedPath,
1844
- body,
1845
- });
1183
+ b.m("POST").h(headers).b(body);
1184
+ return b.build();
1846
1185
  };
1847
1186
  exports.se_UntagResourceCommand = se_UntagResourceCommand;
1848
1187
  const se_UpdateBackupPlanCommand = async (input, context) => {
1849
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1188
+ const b = (0, core_1.requestBuilder)(input, context);
1850
1189
  const headers = {
1851
1190
  "content-type": "application/json",
1852
1191
  };
1853
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans/{BackupPlanId}";
1854
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
1192
+ b.bp("/backup/plans/{BackupPlanId}");
1193
+ b.p("BackupPlanId", () => input.BackupPlanId, "{BackupPlanId}", false);
1855
1194
  let body;
1856
1195
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1857
1196
  BackupPlan: (_) => (0, smithy_client_1._json)(_),
1858
1197
  }));
1859
- return new protocol_http_1.HttpRequest({
1860
- protocol,
1861
- hostname,
1862
- port,
1863
- method: "POST",
1864
- headers,
1865
- path: resolvedPath,
1866
- body,
1867
- });
1198
+ b.m("POST").h(headers).b(body);
1199
+ return b.build();
1868
1200
  };
1869
1201
  exports.se_UpdateBackupPlanCommand = se_UpdateBackupPlanCommand;
1870
1202
  const se_UpdateFrameworkCommand = async (input, context) => {
1871
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1203
+ const b = (0, core_1.requestBuilder)(input, context);
1872
1204
  const headers = {
1873
1205
  "content-type": "application/json",
1874
1206
  };
1875
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/frameworks/{FrameworkName}";
1876
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FrameworkName", () => input.FrameworkName, "{FrameworkName}", false);
1207
+ b.bp("/audit/frameworks/{FrameworkName}");
1208
+ b.p("FrameworkName", () => input.FrameworkName, "{FrameworkName}", false);
1877
1209
  let body;
1878
1210
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1879
1211
  FrameworkControls: (_) => (0, smithy_client_1._json)(_),
1880
1212
  FrameworkDescription: [],
1881
1213
  IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1882
1214
  }));
1883
- return new protocol_http_1.HttpRequest({
1884
- protocol,
1885
- hostname,
1886
- port,
1887
- method: "PUT",
1888
- headers,
1889
- path: resolvedPath,
1890
- body,
1891
- });
1215
+ b.m("PUT").h(headers).b(body);
1216
+ return b.build();
1892
1217
  };
1893
1218
  exports.se_UpdateFrameworkCommand = se_UpdateFrameworkCommand;
1894
1219
  const se_UpdateGlobalSettingsCommand = async (input, context) => {
1895
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1220
+ const b = (0, core_1.requestBuilder)(input, context);
1896
1221
  const headers = {
1897
1222
  "content-type": "application/json",
1898
1223
  };
1899
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/global-settings";
1224
+ b.bp("/global-settings");
1900
1225
  let body;
1901
1226
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1902
1227
  GlobalSettings: (_) => (0, smithy_client_1._json)(_),
1903
1228
  }));
1904
- return new protocol_http_1.HttpRequest({
1905
- protocol,
1906
- hostname,
1907
- port,
1908
- method: "PUT",
1909
- headers,
1910
- path: resolvedPath,
1911
- body,
1912
- });
1229
+ b.m("PUT").h(headers).b(body);
1230
+ return b.build();
1913
1231
  };
1914
1232
  exports.se_UpdateGlobalSettingsCommand = se_UpdateGlobalSettingsCommand;
1915
1233
  const se_UpdateRecoveryPointLifecycleCommand = async (input, context) => {
1916
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1234
+ const b = (0, core_1.requestBuilder)(input, context);
1917
1235
  const headers = {
1918
1236
  "content-type": "application/json",
1919
1237
  };
1920
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1921
- "/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}";
1922
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1923
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
1238
+ b.bp("/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}");
1239
+ b.p("BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1240
+ b.p("RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
1924
1241
  let body;
1925
1242
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1926
1243
  Lifecycle: (_) => (0, smithy_client_1._json)(_),
1927
1244
  }));
1928
- return new protocol_http_1.HttpRequest({
1929
- protocol,
1930
- hostname,
1931
- port,
1932
- method: "POST",
1933
- headers,
1934
- path: resolvedPath,
1935
- body,
1936
- });
1245
+ b.m("POST").h(headers).b(body);
1246
+ return b.build();
1937
1247
  };
1938
1248
  exports.se_UpdateRecoveryPointLifecycleCommand = se_UpdateRecoveryPointLifecycleCommand;
1939
1249
  const se_UpdateRegionSettingsCommand = async (input, context) => {
1940
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1250
+ const b = (0, core_1.requestBuilder)(input, context);
1941
1251
  const headers = {
1942
1252
  "content-type": "application/json",
1943
1253
  };
1944
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/account-settings";
1254
+ b.bp("/account-settings");
1945
1255
  let body;
1946
1256
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1947
1257
  ResourceTypeManagementPreference: (_) => (0, smithy_client_1._json)(_),
1948
1258
  ResourceTypeOptInPreference: (_) => (0, smithy_client_1._json)(_),
1949
1259
  }));
1950
- return new protocol_http_1.HttpRequest({
1951
- protocol,
1952
- hostname,
1953
- port,
1954
- method: "PUT",
1955
- headers,
1956
- path: resolvedPath,
1957
- body,
1958
- });
1260
+ b.m("PUT").h(headers).b(body);
1261
+ return b.build();
1959
1262
  };
1960
1263
  exports.se_UpdateRegionSettingsCommand = se_UpdateRegionSettingsCommand;
1961
1264
  const se_UpdateReportPlanCommand = async (input, context) => {
1962
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1265
+ const b = (0, core_1.requestBuilder)(input, context);
1963
1266
  const headers = {
1964
1267
  "content-type": "application/json",
1965
1268
  };
1966
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/audit/report-plans/{ReportPlanName}";
1967
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
1269
+ b.bp("/audit/report-plans/{ReportPlanName}");
1270
+ b.p("ReportPlanName", () => input.ReportPlanName, "{ReportPlanName}", false);
1968
1271
  let body;
1969
1272
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1970
1273
  IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
@@ -1972,62 +1275,39 @@ const se_UpdateReportPlanCommand = async (input, context) => {
1972
1275
  ReportPlanDescription: [],
1973
1276
  ReportSetting: (_) => (0, smithy_client_1._json)(_),
1974
1277
  }));
1975
- return new protocol_http_1.HttpRequest({
1976
- protocol,
1977
- hostname,
1978
- port,
1979
- method: "PUT",
1980
- headers,
1981
- path: resolvedPath,
1982
- body,
1983
- });
1278
+ b.m("PUT").h(headers).b(body);
1279
+ return b.build();
1984
1280
  };
1985
1281
  exports.se_UpdateReportPlanCommand = se_UpdateReportPlanCommand;
1986
1282
  const se_UpdateRestoreTestingPlanCommand = async (input, context) => {
1987
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1283
+ const b = (0, core_1.requestBuilder)(input, context);
1988
1284
  const headers = {
1989
1285
  "content-type": "application/json",
1990
1286
  };
1991
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1992
- "/restore-testing/plans/{RestoreTestingPlanName}";
1993
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
1287
+ b.bp("/restore-testing/plans/{RestoreTestingPlanName}");
1288
+ b.p("RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
1994
1289
  let body;
1995
1290
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1996
1291
  RestoreTestingPlan: (_) => (0, smithy_client_1._json)(_),
1997
1292
  }));
1998
- return new protocol_http_1.HttpRequest({
1999
- protocol,
2000
- hostname,
2001
- port,
2002
- method: "PUT",
2003
- headers,
2004
- path: resolvedPath,
2005
- body,
2006
- });
1293
+ b.m("PUT").h(headers).b(body);
1294
+ return b.build();
2007
1295
  };
2008
1296
  exports.se_UpdateRestoreTestingPlanCommand = se_UpdateRestoreTestingPlanCommand;
2009
1297
  const se_UpdateRestoreTestingSelectionCommand = async (input, context) => {
2010
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1298
+ const b = (0, core_1.requestBuilder)(input, context);
2011
1299
  const headers = {
2012
1300
  "content-type": "application/json",
2013
1301
  };
2014
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2015
- "/restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}";
2016
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
2017
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RestoreTestingSelectionName", () => input.RestoreTestingSelectionName, "{RestoreTestingSelectionName}", false);
1302
+ b.bp("/restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}");
1303
+ b.p("RestoreTestingPlanName", () => input.RestoreTestingPlanName, "{RestoreTestingPlanName}", false);
1304
+ b.p("RestoreTestingSelectionName", () => input.RestoreTestingSelectionName, "{RestoreTestingSelectionName}", false);
2018
1305
  let body;
2019
1306
  body = JSON.stringify((0, smithy_client_1.take)(input, {
2020
1307
  RestoreTestingSelection: (_) => (0, smithy_client_1._json)(_),
2021
1308
  }));
2022
- return new protocol_http_1.HttpRequest({
2023
- protocol,
2024
- hostname,
2025
- port,
2026
- method: "PUT",
2027
- headers,
2028
- path: resolvedPath,
2029
- body,
2030
- });
1309
+ b.m("PUT").h(headers).b(body);
1310
+ return b.build();
2031
1311
  };
2032
1312
  exports.se_UpdateRestoreTestingSelectionCommand = se_UpdateRestoreTestingSelectionCommand;
2033
1313
  const de_CancelLegalHoldCommand = async (output, context) => {
@@ -6710,6 +5990,74 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
6710
5990
  value !== "" &&
6711
5991
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
6712
5992
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
5993
+ const _AI = "AccountId";
5994
+ const _AP = "AggregationPeriod";
5995
+ const _BAI = "ByAccountId";
5996
+ const _BBPI = "ByBackupPlanId";
5997
+ const _BBVN = "ByBackupVaultName";
5998
+ const _BCA = "ByCreatedAfter";
5999
+ const _BCAy = "ByCompleteAfter";
6000
+ const _BCAyr = "ByCreationAfter";
6001
+ const _BCB = "ByCreatedBefore";
6002
+ const _BCBy = "ByCompleteBefore";
6003
+ const _BCByr = "ByCreationBefore";
6004
+ const _BDVA = "ByDestinationVaultArn";
6005
+ const _BMC = "ByMessageCategory";
6006
+ const _BPJI = "ByParentJobId";
6007
+ const _BPRPA = "ByParentRecoveryPointArn";
6008
+ const _BRA = "ByResourceArn";
6009
+ const _BRPCDA = "ByRecoveryPointCreationDateAfter";
6010
+ const _BRPCDB = "ByRecoveryPointCreationDateBefore";
6011
+ const _BRPN = "ByReportPlanName";
6012
+ const _BRT = "ByResourceType";
6013
+ const _BRTPA = "ByRestoreTestingPlanArn";
6014
+ const _BS = "ByState";
6015
+ const _BSy = "ByShared";
6016
+ const _BSyt = "ByStatus";
6017
+ const _BVAI = "BackupVaultAccountId";
6018
+ const _BVN = "BackupVaultName";
6019
+ const _BVT = "ByVaultType";
6020
+ const _CA = "CreationAfter";
6021
+ const _CB = "CreationBefore";
6022
+ const _CD = "CancelDescription";
6023
+ const _ID = "IncludeDeleted";
6024
+ const _MC = "MessageCategory";
6025
+ const _MR = "MaxResults";
6026
+ const _NT = "NextToken";
6027
+ const _RPA = "RecoveryPointArn";
6028
+ const _RPN = "ReportPlanName";
6029
+ const _RRID = "RetainRecordInDays";
6030
+ const _RT = "ResourceType";
6031
+ const _S = "State";
6032
+ const _St = "Status";
6033
+ const _VI = "VersionId";
6034
+ const _aI = "accountId";
6035
+ const _bPI = "backupPlanId";
6036
+ const _bVAI = "backupVaultAccountId";
6037
+ const _bVN = "backupVaultName";
6038
+ const _cA = "createdAfter";
6039
+ const _cAo = "completeAfter";
6040
+ const _cB = "createdBefore";
6041
+ const _cBo = "completeBefore";
6042
+ const _cD = "cancelDescription";
6043
+ const _dVA = "destinationVaultArn";
6044
+ const _iD = "includeDeleted";
6045
+ const _mC = "messageCategory";
6046
+ const _mR = "maxResults";
6047
+ const _nT = "nextToken";
6048
+ const _pJI = "parentJobId";
6049
+ const _pRPA = "parentRecoveryPointArn";
6050
+ const _rA = "resourceArn";
6051
+ const _rPCDA = "recoveryPointCreationDateAfter";
6052
+ const _rPCDB = "recoveryPointCreationDateBefore";
6053
+ const _rRID = "retainRecordInDays";
6054
+ const _rT = "resourceType";
6055
+ const _rTPA = "restoreTestingPlanArn";
6056
+ const _s = "state";
6057
+ const _sh = "shared";
6058
+ const _st = "status";
6059
+ const _vI = "versionId";
6060
+ const _vT = "vaultType";
6713
6061
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
6714
6062
  if (encoded.length) {
6715
6063
  return JSON.parse(encoded);