@aws-sdk/client-dlm 3.31.0 → 3.32.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/DLMClient.js +13 -13
  3. package/dist/cjs/DLMClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateLifecyclePolicyCommand.js +3 -3
  5. package/dist/cjs/commands/CreateLifecyclePolicyCommand.js.map +1 -1
  6. package/dist/cjs/commands/DeleteLifecyclePolicyCommand.js +3 -3
  7. package/dist/cjs/commands/DeleteLifecyclePolicyCommand.js.map +1 -1
  8. package/dist/cjs/commands/GetLifecyclePoliciesCommand.js +3 -3
  9. package/dist/cjs/commands/GetLifecyclePoliciesCommand.js.map +1 -1
  10. package/dist/cjs/commands/GetLifecyclePolicyCommand.js +3 -3
  11. package/dist/cjs/commands/GetLifecyclePolicyCommand.js.map +1 -1
  12. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  13. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  14. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  15. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  16. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  17. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  18. package/dist/cjs/commands/UpdateLifecyclePolicyCommand.js +3 -3
  19. package/dist/cjs/commands/UpdateLifecyclePolicyCommand.js.map +1 -1
  20. package/dist/cjs/endpoints.js +1 -1
  21. package/dist/cjs/endpoints.js.map +1 -1
  22. package/dist/cjs/index.js +11 -11
  23. package/dist/cjs/index.js.map +1 -1
  24. package/dist/cjs/models/index.js +1 -1
  25. package/dist/cjs/models/index.js.map +1 -1
  26. package/dist/cjs/package.json +31 -31
  27. package/dist/cjs/protocols/Aws_restJson1.js +80 -80
  28. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  29. package/dist/cjs/runtimeConfig.browser.js +4 -4
  30. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  31. package/dist/cjs/runtimeConfig.js +8 -8
  32. package/dist/cjs/runtimeConfig.js.map +1 -1
  33. package/dist/cjs/runtimeConfig.native.js +1 -1
  34. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  35. package/dist/es/package.json +31 -31
  36. package/package.json +31 -31
  37. package/tsconfig.json +1 -2
@@ -41,7 +41,7 @@ const serializeAws_restJson1DeleteLifecyclePolicyCommand = async (input, context
41
41
  if (labelValue.length <= 0) {
42
42
  throw new Error("Empty value provided for input HTTP label: PolicyId.");
43
43
  }
44
- resolvedPath = resolvedPath.replace("{PolicyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
44
+ resolvedPath = resolvedPath.replace("{PolicyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
45
45
  }
46
46
  else {
47
47
  throw new Error("No value provided for input HTTP label: PolicyId.");
@@ -93,7 +93,7 @@ const serializeAws_restJson1GetLifecyclePolicyCommand = async (input, context) =
93
93
  if (labelValue.length <= 0) {
94
94
  throw new Error("Empty value provided for input HTTP label: PolicyId.");
95
95
  }
96
- resolvedPath = resolvedPath.replace("{PolicyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
96
+ resolvedPath = resolvedPath.replace("{PolicyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
97
97
  }
98
98
  else {
99
99
  throw new Error("No value provided for input HTTP label: PolicyId.");
@@ -119,7 +119,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
119
119
  if (labelValue.length <= 0) {
120
120
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
121
121
  }
122
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
122
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
123
123
  }
124
124
  else {
125
125
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -147,7 +147,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
147
147
  if (labelValue.length <= 0) {
148
148
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
149
149
  }
150
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
150
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
151
151
  }
152
152
  else {
153
153
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -176,7 +176,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
176
176
  if (labelValue.length <= 0) {
177
177
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
178
178
  }
179
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
179
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
180
180
  }
181
181
  else {
182
182
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -208,7 +208,7 @@ const serializeAws_restJson1UpdateLifecyclePolicyCommand = async (input, context
208
208
  if (labelValue.length <= 0) {
209
209
  throw new Error("Empty value provided for input HTTP label: PolicyId.");
210
210
  }
211
- resolvedPath = resolvedPath.replace("{PolicyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
211
+ resolvedPath = resolvedPath.replace("{PolicyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
212
212
  }
213
213
  else {
214
214
  throw new Error("No value provided for input HTTP label: PolicyId.");
@@ -243,9 +243,9 @@ const deserializeAws_restJson1CreateLifecyclePolicyCommand = async (output, cont
243
243
  $metadata: deserializeMetadata(output),
244
244
  PolicyId: undefined,
245
245
  };
246
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
246
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
247
247
  if (data.PolicyId !== undefined && data.PolicyId !== null) {
248
- contents.PolicyId = (0, smithy_client_1.expectString)(data.PolicyId);
248
+ contents.PolicyId = smithy_client_1.expectString(data.PolicyId);
249
249
  }
250
250
  return Promise.resolve(contents);
251
251
  };
@@ -367,7 +367,7 @@ const deserializeAws_restJson1GetLifecyclePoliciesCommand = async (output, conte
367
367
  $metadata: deserializeMetadata(output),
368
368
  Policies: undefined,
369
369
  };
370
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
370
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
371
371
  if (data.Policies !== undefined && data.Policies !== null) {
372
372
  contents.Policies = deserializeAws_restJson1LifecyclePolicySummaryList(data.Policies, context);
373
373
  }
@@ -439,7 +439,7 @@ const deserializeAws_restJson1GetLifecyclePolicyCommand = async (output, context
439
439
  $metadata: deserializeMetadata(output),
440
440
  Policy: undefined,
441
441
  };
442
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
442
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
443
443
  if (data.Policy !== undefined && data.Policy !== null) {
444
444
  contents.Policy = deserializeAws_restJson1LifecyclePolicy(data.Policy, context);
445
445
  }
@@ -503,7 +503,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
503
503
  $metadata: deserializeMetadata(output),
504
504
  Tags: undefined,
505
505
  };
506
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
506
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
507
507
  if (data.Tags !== undefined && data.Tags !== null) {
508
508
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
509
509
  }
@@ -757,10 +757,10 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
757
757
  };
758
758
  const data = parsedOutput.body;
759
759
  if (data.Code !== undefined && data.Code !== null) {
760
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
760
+ contents.Code = smithy_client_1.expectString(data.Code);
761
761
  }
762
762
  if (data.Message !== undefined && data.Message !== null) {
763
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
763
+ contents.Message = smithy_client_1.expectString(data.Message);
764
764
  }
765
765
  return contents;
766
766
  };
@@ -776,10 +776,10 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
776
776
  };
777
777
  const data = parsedOutput.body;
778
778
  if (data.Code !== undefined && data.Code !== null) {
779
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
779
+ contents.Code = smithy_client_1.expectString(data.Code);
780
780
  }
781
781
  if (data.Message !== undefined && data.Message !== null) {
782
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
782
+ contents.Message = smithy_client_1.expectString(data.Message);
783
783
  }
784
784
  if (data.MutuallyExclusiveParameters !== undefined && data.MutuallyExclusiveParameters !== null) {
785
785
  contents.MutuallyExclusiveParameters = deserializeAws_restJson1ParameterList(data.MutuallyExclusiveParameters, context);
@@ -800,13 +800,13 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
800
800
  };
801
801
  const data = parsedOutput.body;
802
802
  if (data.Code !== undefined && data.Code !== null) {
803
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
803
+ contents.Code = smithy_client_1.expectString(data.Code);
804
804
  }
805
805
  if (data.Message !== undefined && data.Message !== null) {
806
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
806
+ contents.Message = smithy_client_1.expectString(data.Message);
807
807
  }
808
808
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
809
- contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
809
+ contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
810
810
  }
811
811
  return contents;
812
812
  };
@@ -822,16 +822,16 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
822
822
  };
823
823
  const data = parsedOutput.body;
824
824
  if (data.Code !== undefined && data.Code !== null) {
825
- contents.Code = (0, smithy_client_1.expectString)(data.Code);
825
+ contents.Code = smithy_client_1.expectString(data.Code);
826
826
  }
827
827
  if (data.Message !== undefined && data.Message !== null) {
828
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
828
+ contents.Message = smithy_client_1.expectString(data.Message);
829
829
  }
830
830
  if (data.ResourceIds !== undefined && data.ResourceIds !== null) {
831
831
  contents.ResourceIds = deserializeAws_restJson1PolicyIdList(data.ResourceIds, context);
832
832
  }
833
833
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
834
- contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
834
+ contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
835
835
  }
836
836
  return contents;
837
837
  };
@@ -1180,7 +1180,7 @@ const deserializeAws_restJson1Action = (output, context) => {
1180
1180
  CrossRegionCopy: output.CrossRegionCopy !== undefined && output.CrossRegionCopy !== null
1181
1181
  ? deserializeAws_restJson1CrossRegionCopyActionList(output.CrossRegionCopy, context)
1182
1182
  : undefined,
1183
- Name: (0, smithy_client_1.expectString)(output.Name),
1183
+ Name: smithy_client_1.expectString(output.Name),
1184
1184
  };
1185
1185
  };
1186
1186
  const deserializeAws_restJson1ActionList = (output, context) => {
@@ -1200,15 +1200,15 @@ const deserializeAws_restJson1AvailabilityZoneList = (output, context) => {
1200
1200
  if (entry === null) {
1201
1201
  return null;
1202
1202
  }
1203
- return (0, smithy_client_1.expectString)(entry);
1203
+ return smithy_client_1.expectString(entry);
1204
1204
  });
1205
1205
  };
1206
1206
  const deserializeAws_restJson1CreateRule = (output, context) => {
1207
1207
  return {
1208
- CronExpression: (0, smithy_client_1.expectString)(output.CronExpression),
1209
- Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1210
- IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1211
- Location: (0, smithy_client_1.expectString)(output.Location),
1208
+ CronExpression: smithy_client_1.expectString(output.CronExpression),
1209
+ Interval: smithy_client_1.expectInt32(output.Interval),
1210
+ IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1211
+ Location: smithy_client_1.expectString(output.Location),
1212
1212
  Times: output.Times !== undefined && output.Times !== null
1213
1213
  ? deserializeAws_restJson1TimesList(output.Times, context)
1214
1214
  : undefined,
@@ -1222,7 +1222,7 @@ const deserializeAws_restJson1CrossRegionCopyAction = (output, context) => {
1222
1222
  RetainRule: output.RetainRule !== undefined && output.RetainRule !== null
1223
1223
  ? deserializeAws_restJson1CrossRegionCopyRetainRule(output.RetainRule, context)
1224
1224
  : undefined,
1225
- Target: (0, smithy_client_1.expectString)(output.Target),
1225
+ Target: smithy_client_1.expectString(output.Target),
1226
1226
  };
1227
1227
  };
1228
1228
  const deserializeAws_restJson1CrossRegionCopyActionList = (output, context) => {
@@ -1237,29 +1237,29 @@ const deserializeAws_restJson1CrossRegionCopyActionList = (output, context) => {
1237
1237
  };
1238
1238
  const deserializeAws_restJson1CrossRegionCopyDeprecateRule = (output, context) => {
1239
1239
  return {
1240
- Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1241
- IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1240
+ Interval: smithy_client_1.expectInt32(output.Interval),
1241
+ IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1242
1242
  };
1243
1243
  };
1244
1244
  const deserializeAws_restJson1CrossRegionCopyRetainRule = (output, context) => {
1245
1245
  return {
1246
- Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1247
- IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1246
+ Interval: smithy_client_1.expectInt32(output.Interval),
1247
+ IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1248
1248
  };
1249
1249
  };
1250
1250
  const deserializeAws_restJson1CrossRegionCopyRule = (output, context) => {
1251
1251
  return {
1252
- CmkArn: (0, smithy_client_1.expectString)(output.CmkArn),
1253
- CopyTags: (0, smithy_client_1.expectBoolean)(output.CopyTags),
1252
+ CmkArn: smithy_client_1.expectString(output.CmkArn),
1253
+ CopyTags: smithy_client_1.expectBoolean(output.CopyTags),
1254
1254
  DeprecateRule: output.DeprecateRule !== undefined && output.DeprecateRule !== null
1255
1255
  ? deserializeAws_restJson1CrossRegionCopyDeprecateRule(output.DeprecateRule, context)
1256
1256
  : undefined,
1257
- Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
1257
+ Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
1258
1258
  RetainRule: output.RetainRule !== undefined && output.RetainRule !== null
1259
1259
  ? deserializeAws_restJson1CrossRegionCopyRetainRule(output.RetainRule, context)
1260
1260
  : undefined,
1261
- Target: (0, smithy_client_1.expectString)(output.Target),
1262
- TargetRegion: (0, smithy_client_1.expectString)(output.TargetRegion),
1261
+ Target: smithy_client_1.expectString(output.Target),
1262
+ TargetRegion: smithy_client_1.expectString(output.TargetRegion),
1263
1263
  };
1264
1264
  };
1265
1265
  const deserializeAws_restJson1CrossRegionCopyRules = (output, context) => {
@@ -1274,21 +1274,21 @@ const deserializeAws_restJson1CrossRegionCopyRules = (output, context) => {
1274
1274
  };
1275
1275
  const deserializeAws_restJson1DeprecateRule = (output, context) => {
1276
1276
  return {
1277
- Count: (0, smithy_client_1.expectInt32)(output.Count),
1278
- Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1279
- IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1277
+ Count: smithy_client_1.expectInt32(output.Count),
1278
+ Interval: smithy_client_1.expectInt32(output.Interval),
1279
+ IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1280
1280
  };
1281
1281
  };
1282
1282
  const deserializeAws_restJson1EncryptionConfiguration = (output, context) => {
1283
1283
  return {
1284
- CmkArn: (0, smithy_client_1.expectString)(output.CmkArn),
1285
- Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
1284
+ CmkArn: smithy_client_1.expectString(output.CmkArn),
1285
+ Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
1286
1286
  };
1287
1287
  };
1288
1288
  const deserializeAws_restJson1EventParameters = (output, context) => {
1289
1289
  return {
1290
- DescriptionRegex: (0, smithy_client_1.expectString)(output.DescriptionRegex),
1291
- EventType: (0, smithy_client_1.expectString)(output.EventType),
1290
+ DescriptionRegex: smithy_client_1.expectString(output.DescriptionRegex),
1291
+ EventType: smithy_client_1.expectString(output.EventType),
1292
1292
  SnapshotOwner: output.SnapshotOwner !== undefined && output.SnapshotOwner !== null
1293
1293
  ? deserializeAws_restJson1SnapshotOwnerList(output.SnapshotOwner, context)
1294
1294
  : undefined,
@@ -1299,7 +1299,7 @@ const deserializeAws_restJson1EventSource = (output, context) => {
1299
1299
  Parameters: output.Parameters !== undefined && output.Parameters !== null
1300
1300
  ? deserializeAws_restJson1EventParameters(output.Parameters, context)
1301
1301
  : undefined,
1302
- Type: (0, smithy_client_1.expectString)(output.Type),
1302
+ Type: smithy_client_1.expectString(output.Type),
1303
1303
  };
1304
1304
  };
1305
1305
  const deserializeAws_restJson1FastRestoreRule = (output, context) => {
@@ -1307,28 +1307,28 @@ const deserializeAws_restJson1FastRestoreRule = (output, context) => {
1307
1307
  AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
1308
1308
  ? deserializeAws_restJson1AvailabilityZoneList(output.AvailabilityZones, context)
1309
1309
  : undefined,
1310
- Count: (0, smithy_client_1.expectInt32)(output.Count),
1311
- Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1312
- IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1310
+ Count: smithy_client_1.expectInt32(output.Count),
1311
+ Interval: smithy_client_1.expectInt32(output.Interval),
1312
+ IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1313
1313
  };
1314
1314
  };
1315
1315
  const deserializeAws_restJson1LifecyclePolicy = (output, context) => {
1316
1316
  return {
1317
1317
  DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
1318
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DateCreated)))
1318
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateCreated)))
1319
1319
  : undefined,
1320
1320
  DateModified: output.DateModified !== undefined && output.DateModified !== null
1321
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DateModified)))
1321
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateModified)))
1322
1322
  : undefined,
1323
- Description: (0, smithy_client_1.expectString)(output.Description),
1324
- ExecutionRoleArn: (0, smithy_client_1.expectString)(output.ExecutionRoleArn),
1325
- PolicyArn: (0, smithy_client_1.expectString)(output.PolicyArn),
1323
+ Description: smithy_client_1.expectString(output.Description),
1324
+ ExecutionRoleArn: smithy_client_1.expectString(output.ExecutionRoleArn),
1325
+ PolicyArn: smithy_client_1.expectString(output.PolicyArn),
1326
1326
  PolicyDetails: output.PolicyDetails !== undefined && output.PolicyDetails !== null
1327
1327
  ? deserializeAws_restJson1PolicyDetails(output.PolicyDetails, context)
1328
1328
  : undefined,
1329
- PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
1330
- State: (0, smithy_client_1.expectString)(output.State),
1331
- StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
1329
+ PolicyId: smithy_client_1.expectString(output.PolicyId),
1330
+ State: smithy_client_1.expectString(output.State),
1331
+ StatusMessage: smithy_client_1.expectString(output.StatusMessage),
1332
1332
  Tags: output.Tags !== undefined && output.Tags !== null
1333
1333
  ? deserializeAws_restJson1TagMap(output.Tags, context)
1334
1334
  : undefined,
@@ -1336,10 +1336,10 @@ const deserializeAws_restJson1LifecyclePolicy = (output, context) => {
1336
1336
  };
1337
1337
  const deserializeAws_restJson1LifecyclePolicySummary = (output, context) => {
1338
1338
  return {
1339
- Description: (0, smithy_client_1.expectString)(output.Description),
1340
- PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
1341
- PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
1342
- State: (0, smithy_client_1.expectString)(output.State),
1339
+ Description: smithy_client_1.expectString(output.Description),
1340
+ PolicyId: smithy_client_1.expectString(output.PolicyId),
1341
+ PolicyType: smithy_client_1.expectString(output.PolicyType),
1342
+ State: smithy_client_1.expectString(output.State),
1343
1343
  Tags: output.Tags !== undefined && output.Tags !== null
1344
1344
  ? deserializeAws_restJson1TagMap(output.Tags, context)
1345
1345
  : undefined,
@@ -1362,13 +1362,13 @@ const deserializeAws_restJson1ParameterList = (output, context) => {
1362
1362
  if (entry === null) {
1363
1363
  return null;
1364
1364
  }
1365
- return (0, smithy_client_1.expectString)(entry);
1365
+ return smithy_client_1.expectString(entry);
1366
1366
  });
1367
1367
  };
1368
1368
  const deserializeAws_restJson1_Parameters = (output, context) => {
1369
1369
  return {
1370
- ExcludeBootVolume: (0, smithy_client_1.expectBoolean)(output.ExcludeBootVolume),
1371
- NoReboot: (0, smithy_client_1.expectBoolean)(output.NoReboot),
1370
+ ExcludeBootVolume: smithy_client_1.expectBoolean(output.ExcludeBootVolume),
1371
+ NoReboot: smithy_client_1.expectBoolean(output.NoReboot),
1372
1372
  };
1373
1373
  };
1374
1374
  const deserializeAws_restJson1PolicyDetails = (output, context) => {
@@ -1382,7 +1382,7 @@ const deserializeAws_restJson1PolicyDetails = (output, context) => {
1382
1382
  Parameters: output.Parameters !== undefined && output.Parameters !== null
1383
1383
  ? deserializeAws_restJson1_Parameters(output.Parameters, context)
1384
1384
  : undefined,
1385
- PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
1385
+ PolicyType: smithy_client_1.expectString(output.PolicyType),
1386
1386
  ResourceLocations: output.ResourceLocations !== undefined && output.ResourceLocations !== null
1387
1387
  ? deserializeAws_restJson1ResourceLocationList(output.ResourceLocations, context)
1388
1388
  : undefined,
@@ -1404,7 +1404,7 @@ const deserializeAws_restJson1PolicyIdList = (output, context) => {
1404
1404
  if (entry === null) {
1405
1405
  return null;
1406
1406
  }
1407
- return (0, smithy_client_1.expectString)(entry);
1407
+ return smithy_client_1.expectString(entry);
1408
1408
  });
1409
1409
  };
1410
1410
  const deserializeAws_restJson1ResourceLocationList = (output, context) => {
@@ -1414,7 +1414,7 @@ const deserializeAws_restJson1ResourceLocationList = (output, context) => {
1414
1414
  if (entry === null) {
1415
1415
  return null;
1416
1416
  }
1417
- return (0, smithy_client_1.expectString)(entry);
1417
+ return smithy_client_1.expectString(entry);
1418
1418
  });
1419
1419
  };
1420
1420
  const deserializeAws_restJson1ResourceTypeValuesList = (output, context) => {
@@ -1424,19 +1424,19 @@ const deserializeAws_restJson1ResourceTypeValuesList = (output, context) => {
1424
1424
  if (entry === null) {
1425
1425
  return null;
1426
1426
  }
1427
- return (0, smithy_client_1.expectString)(entry);
1427
+ return smithy_client_1.expectString(entry);
1428
1428
  });
1429
1429
  };
1430
1430
  const deserializeAws_restJson1RetainRule = (output, context) => {
1431
1431
  return {
1432
- Count: (0, smithy_client_1.expectInt32)(output.Count),
1433
- Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1434
- IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1432
+ Count: smithy_client_1.expectInt32(output.Count),
1433
+ Interval: smithy_client_1.expectInt32(output.Interval),
1434
+ IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1435
1435
  };
1436
1436
  };
1437
1437
  const deserializeAws_restJson1Schedule = (output, context) => {
1438
1438
  return {
1439
- CopyTags: (0, smithy_client_1.expectBoolean)(output.CopyTags),
1439
+ CopyTags: smithy_client_1.expectBoolean(output.CopyTags),
1440
1440
  CreateRule: output.CreateRule !== undefined && output.CreateRule !== null
1441
1441
  ? deserializeAws_restJson1CreateRule(output.CreateRule, context)
1442
1442
  : undefined,
@@ -1449,7 +1449,7 @@ const deserializeAws_restJson1Schedule = (output, context) => {
1449
1449
  FastRestoreRule: output.FastRestoreRule !== undefined && output.FastRestoreRule !== null
1450
1450
  ? deserializeAws_restJson1FastRestoreRule(output.FastRestoreRule, context)
1451
1451
  : undefined,
1452
- Name: (0, smithy_client_1.expectString)(output.Name),
1452
+ Name: smithy_client_1.expectString(output.Name),
1453
1453
  RetainRule: output.RetainRule !== undefined && output.RetainRule !== null
1454
1454
  ? deserializeAws_restJson1RetainRule(output.RetainRule, context)
1455
1455
  : undefined,
@@ -1479,8 +1479,8 @@ const deserializeAws_restJson1ShareRule = (output, context) => {
1479
1479
  TargetAccounts: output.TargetAccounts !== undefined && output.TargetAccounts !== null
1480
1480
  ? deserializeAws_restJson1ShareTargetAccountList(output.TargetAccounts, context)
1481
1481
  : undefined,
1482
- UnshareInterval: (0, smithy_client_1.expectInt32)(output.UnshareInterval),
1483
- UnshareIntervalUnit: (0, smithy_client_1.expectString)(output.UnshareIntervalUnit),
1482
+ UnshareInterval: smithy_client_1.expectInt32(output.UnshareInterval),
1483
+ UnshareIntervalUnit: smithy_client_1.expectString(output.UnshareIntervalUnit),
1484
1484
  };
1485
1485
  };
1486
1486
  const deserializeAws_restJson1ShareRules = (output, context) => {
@@ -1500,7 +1500,7 @@ const deserializeAws_restJson1ShareTargetAccountList = (output, context) => {
1500
1500
  if (entry === null) {
1501
1501
  return null;
1502
1502
  }
1503
- return (0, smithy_client_1.expectString)(entry);
1503
+ return smithy_client_1.expectString(entry);
1504
1504
  });
1505
1505
  };
1506
1506
  const deserializeAws_restJson1SnapshotOwnerList = (output, context) => {
@@ -1510,13 +1510,13 @@ const deserializeAws_restJson1SnapshotOwnerList = (output, context) => {
1510
1510
  if (entry === null) {
1511
1511
  return null;
1512
1512
  }
1513
- return (0, smithy_client_1.expectString)(entry);
1513
+ return smithy_client_1.expectString(entry);
1514
1514
  });
1515
1515
  };
1516
1516
  const deserializeAws_restJson1Tag = (output, context) => {
1517
1517
  return {
1518
- Key: (0, smithy_client_1.expectString)(output.Key),
1519
- Value: (0, smithy_client_1.expectString)(output.Value),
1518
+ Key: smithy_client_1.expectString(output.Key),
1519
+ Value: smithy_client_1.expectString(output.Value),
1520
1520
  };
1521
1521
  };
1522
1522
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -1526,7 +1526,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1526
1526
  }
1527
1527
  return {
1528
1528
  ...acc,
1529
- [key]: (0, smithy_client_1.expectString)(value),
1529
+ [key]: smithy_client_1.expectString(value),
1530
1530
  };
1531
1531
  }, {});
1532
1532
  };
@@ -1557,7 +1557,7 @@ const deserializeAws_restJson1TimesList = (output, context) => {
1557
1557
  if (entry === null) {
1558
1558
  return null;
1559
1559
  }
1560
- return (0, smithy_client_1.expectString)(entry);
1560
+ return smithy_client_1.expectString(entry);
1561
1561
  });
1562
1562
  };
1563
1563
  const deserializeAws_restJson1VariableTagsList = (output, context) => {