@aws-sdk/client-snowball 3.54.1 → 3.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/SnowballClient.js +13 -13
- package/dist-cjs/commands/CancelClusterCommand.js +3 -3
- package/dist-cjs/commands/CancelJobCommand.js +3 -3
- package/dist-cjs/commands/CreateAddressCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateJobCommand.js +3 -3
- package/dist-cjs/commands/CreateLongTermPricingCommand.js +3 -3
- package/dist-cjs/commands/CreateReturnShippingLabelCommand.js +3 -3
- package/dist-cjs/commands/DescribeAddressCommand.js +3 -3
- package/dist-cjs/commands/DescribeAddressesCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeReturnShippingLabelCommand.js +3 -3
- package/dist-cjs/commands/GetJobManifestCommand.js +3 -3
- package/dist-cjs/commands/GetJobUnlockCodeCommand.js +3 -3
- package/dist-cjs/commands/GetSnowballUsageCommand.js +3 -3
- package/dist-cjs/commands/GetSoftwareUpdatesCommand.js +3 -3
- package/dist-cjs/commands/ListClusterJobsCommand.js +3 -3
- package/dist-cjs/commands/ListClustersCommand.js +3 -3
- package/dist-cjs/commands/ListCompatibleImagesCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListLongTermPricingCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterCommand.js +3 -3
- package/dist-cjs/commands/UpdateJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateJobShipmentStateCommand.js +3 -3
- package/dist-cjs/commands/UpdateLongTermPricingCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +158 -158
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Snowball.js +25 -25
- package/dist-es/pagination/DescribeAddressesPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -294,7 +294,7 @@ const deserializeAws_json1_1CancelClusterCommandError = async (output, context)
|
|
|
294
294
|
$fault: "client",
|
|
295
295
|
$metadata: deserializeMetadata(output),
|
|
296
296
|
});
|
|
297
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
297
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
const deserializeAws_json1_1CancelJobCommand = async (output, context) => {
|
|
@@ -336,7 +336,7 @@ const deserializeAws_json1_1CancelJobCommandError = async (output, context) => {
|
|
|
336
336
|
$fault: "client",
|
|
337
337
|
$metadata: deserializeMetadata(output),
|
|
338
338
|
});
|
|
339
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
339
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
const deserializeAws_json1_1CreateAddressCommand = async (output, context) => {
|
|
@@ -375,7 +375,7 @@ const deserializeAws_json1_1CreateAddressCommandError = async (output, context)
|
|
|
375
375
|
$fault: "client",
|
|
376
376
|
$metadata: deserializeMetadata(output),
|
|
377
377
|
});
|
|
378
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
378
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
379
379
|
}
|
|
380
380
|
};
|
|
381
381
|
const deserializeAws_json1_1CreateClusterCommand = async (output, context) => {
|
|
@@ -420,7 +420,7 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
|
|
|
420
420
|
$fault: "client",
|
|
421
421
|
$metadata: deserializeMetadata(output),
|
|
422
422
|
});
|
|
423
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
423
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
424
424
|
}
|
|
425
425
|
};
|
|
426
426
|
const deserializeAws_json1_1CreateJobCommand = async (output, context) => {
|
|
@@ -468,7 +468,7 @@ const deserializeAws_json1_1CreateJobCommandError = async (output, context) => {
|
|
|
468
468
|
$fault: "client",
|
|
469
469
|
$metadata: deserializeMetadata(output),
|
|
470
470
|
});
|
|
471
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
471
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
474
|
const deserializeAws_json1_1CreateLongTermPricingCommand = async (output, context) => {
|
|
@@ -504,7 +504,7 @@ const deserializeAws_json1_1CreateLongTermPricingCommandError = async (output, c
|
|
|
504
504
|
$fault: "client",
|
|
505
505
|
$metadata: deserializeMetadata(output),
|
|
506
506
|
});
|
|
507
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
507
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
508
508
|
}
|
|
509
509
|
};
|
|
510
510
|
const deserializeAws_json1_1CreateReturnShippingLabelCommand = async (output, context) => {
|
|
@@ -552,7 +552,7 @@ const deserializeAws_json1_1CreateReturnShippingLabelCommandError = async (outpu
|
|
|
552
552
|
$fault: "client",
|
|
553
553
|
$metadata: deserializeMetadata(output),
|
|
554
554
|
});
|
|
555
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
555
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
556
556
|
}
|
|
557
557
|
};
|
|
558
558
|
const deserializeAws_json1_1DescribeAddressCommand = async (output, context) => {
|
|
@@ -588,7 +588,7 @@ const deserializeAws_json1_1DescribeAddressCommandError = async (output, context
|
|
|
588
588
|
$fault: "client",
|
|
589
589
|
$metadata: deserializeMetadata(output),
|
|
590
590
|
});
|
|
591
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
591
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
592
592
|
}
|
|
593
593
|
};
|
|
594
594
|
const deserializeAws_json1_1DescribeAddressesCommand = async (output, context) => {
|
|
@@ -627,7 +627,7 @@ const deserializeAws_json1_1DescribeAddressesCommandError = async (output, conte
|
|
|
627
627
|
$fault: "client",
|
|
628
628
|
$metadata: deserializeMetadata(output),
|
|
629
629
|
});
|
|
630
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
630
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
633
|
const deserializeAws_json1_1DescribeClusterCommand = async (output, context) => {
|
|
@@ -663,7 +663,7 @@ const deserializeAws_json1_1DescribeClusterCommandError = async (output, context
|
|
|
663
663
|
$fault: "client",
|
|
664
664
|
$metadata: deserializeMetadata(output),
|
|
665
665
|
});
|
|
666
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
666
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
667
667
|
}
|
|
668
668
|
};
|
|
669
669
|
const deserializeAws_json1_1DescribeJobCommand = async (output, context) => {
|
|
@@ -699,7 +699,7 @@ const deserializeAws_json1_1DescribeJobCommandError = async (output, context) =>
|
|
|
699
699
|
$fault: "client",
|
|
700
700
|
$metadata: deserializeMetadata(output),
|
|
701
701
|
});
|
|
702
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
702
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
703
703
|
}
|
|
704
704
|
};
|
|
705
705
|
const deserializeAws_json1_1DescribeReturnShippingLabelCommand = async (output, context) => {
|
|
@@ -741,7 +741,7 @@ const deserializeAws_json1_1DescribeReturnShippingLabelCommandError = async (out
|
|
|
741
741
|
$fault: "client",
|
|
742
742
|
$metadata: deserializeMetadata(output),
|
|
743
743
|
});
|
|
744
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
744
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
745
745
|
}
|
|
746
746
|
};
|
|
747
747
|
const deserializeAws_json1_1GetJobManifestCommand = async (output, context) => {
|
|
@@ -780,7 +780,7 @@ const deserializeAws_json1_1GetJobManifestCommandError = async (output, context)
|
|
|
780
780
|
$fault: "client",
|
|
781
781
|
$metadata: deserializeMetadata(output),
|
|
782
782
|
});
|
|
783
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
783
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
784
784
|
}
|
|
785
785
|
};
|
|
786
786
|
const deserializeAws_json1_1GetJobUnlockCodeCommand = async (output, context) => {
|
|
@@ -819,7 +819,7 @@ const deserializeAws_json1_1GetJobUnlockCodeCommandError = async (output, contex
|
|
|
819
819
|
$fault: "client",
|
|
820
820
|
$metadata: deserializeMetadata(output),
|
|
821
821
|
});
|
|
822
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
822
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
823
823
|
}
|
|
824
824
|
};
|
|
825
825
|
const deserializeAws_json1_1GetSnowballUsageCommand = async (output, context) => {
|
|
@@ -852,7 +852,7 @@ const deserializeAws_json1_1GetSnowballUsageCommandError = async (output, contex
|
|
|
852
852
|
$fault: "client",
|
|
853
853
|
$metadata: deserializeMetadata(output),
|
|
854
854
|
});
|
|
855
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
855
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
856
856
|
}
|
|
857
857
|
};
|
|
858
858
|
const deserializeAws_json1_1GetSoftwareUpdatesCommand = async (output, context) => {
|
|
@@ -891,7 +891,7 @@ const deserializeAws_json1_1GetSoftwareUpdatesCommandError = async (output, cont
|
|
|
891
891
|
$fault: "client",
|
|
892
892
|
$metadata: deserializeMetadata(output),
|
|
893
893
|
});
|
|
894
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
894
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
895
895
|
}
|
|
896
896
|
};
|
|
897
897
|
const deserializeAws_json1_1ListClusterJobsCommand = async (output, context) => {
|
|
@@ -930,7 +930,7 @@ const deserializeAws_json1_1ListClusterJobsCommandError = async (output, context
|
|
|
930
930
|
$fault: "client",
|
|
931
931
|
$metadata: deserializeMetadata(output),
|
|
932
932
|
});
|
|
933
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
933
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
934
934
|
}
|
|
935
935
|
};
|
|
936
936
|
const deserializeAws_json1_1ListClustersCommand = async (output, context) => {
|
|
@@ -966,7 +966,7 @@ const deserializeAws_json1_1ListClustersCommandError = async (output, context) =
|
|
|
966
966
|
$fault: "client",
|
|
967
967
|
$metadata: deserializeMetadata(output),
|
|
968
968
|
});
|
|
969
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
969
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
970
970
|
}
|
|
971
971
|
};
|
|
972
972
|
const deserializeAws_json1_1ListCompatibleImagesCommand = async (output, context) => {
|
|
@@ -1005,7 +1005,7 @@ const deserializeAws_json1_1ListCompatibleImagesCommandError = async (output, co
|
|
|
1005
1005
|
$fault: "client",
|
|
1006
1006
|
$metadata: deserializeMetadata(output),
|
|
1007
1007
|
});
|
|
1008
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1008
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1009
1009
|
}
|
|
1010
1010
|
};
|
|
1011
1011
|
const deserializeAws_json1_1ListJobsCommand = async (output, context) => {
|
|
@@ -1041,7 +1041,7 @@ const deserializeAws_json1_1ListJobsCommandError = async (output, context) => {
|
|
|
1041
1041
|
$fault: "client",
|
|
1042
1042
|
$metadata: deserializeMetadata(output),
|
|
1043
1043
|
});
|
|
1044
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1044
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1045
1045
|
}
|
|
1046
1046
|
};
|
|
1047
1047
|
const deserializeAws_json1_1ListLongTermPricingCommand = async (output, context) => {
|
|
@@ -1080,7 +1080,7 @@ const deserializeAws_json1_1ListLongTermPricingCommandError = async (output, con
|
|
|
1080
1080
|
$fault: "client",
|
|
1081
1081
|
$metadata: deserializeMetadata(output),
|
|
1082
1082
|
});
|
|
1083
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1083
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1084
1084
|
}
|
|
1085
1085
|
};
|
|
1086
1086
|
const deserializeAws_json1_1UpdateClusterCommand = async (output, context) => {
|
|
@@ -1128,7 +1128,7 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
|
|
|
1128
1128
|
$fault: "client",
|
|
1129
1129
|
$metadata: deserializeMetadata(output),
|
|
1130
1130
|
});
|
|
1131
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1131
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1132
1132
|
}
|
|
1133
1133
|
};
|
|
1134
1134
|
const deserializeAws_json1_1UpdateJobCommand = async (output, context) => {
|
|
@@ -1179,7 +1179,7 @@ const deserializeAws_json1_1UpdateJobCommandError = async (output, context) => {
|
|
|
1179
1179
|
$fault: "client",
|
|
1180
1180
|
$metadata: deserializeMetadata(output),
|
|
1181
1181
|
});
|
|
1182
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1182
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1183
1183
|
}
|
|
1184
1184
|
};
|
|
1185
1185
|
const deserializeAws_json1_1UpdateJobShipmentStateCommand = async (output, context) => {
|
|
@@ -1218,7 +1218,7 @@ const deserializeAws_json1_1UpdateJobShipmentStateCommandError = async (output,
|
|
|
1218
1218
|
$fault: "client",
|
|
1219
1219
|
$metadata: deserializeMetadata(output),
|
|
1220
1220
|
});
|
|
1221
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1221
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1222
1222
|
}
|
|
1223
1223
|
};
|
|
1224
1224
|
const deserializeAws_json1_1UpdateLongTermPricingCommand = async (output, context) => {
|
|
@@ -1254,7 +1254,7 @@ const deserializeAws_json1_1UpdateLongTermPricingCommandError = async (output, c
|
|
|
1254
1254
|
$fault: "client",
|
|
1255
1255
|
$metadata: deserializeMetadata(output),
|
|
1256
1256
|
});
|
|
1257
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1257
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1258
1258
|
}
|
|
1259
1259
|
};
|
|
1260
1260
|
const deserializeAws_json1_1ClusterLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1264,7 +1264,7 @@ const deserializeAws_json1_1ClusterLimitExceededExceptionResponse = async (parse
|
|
|
1264
1264
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1265
1265
|
...deserialized,
|
|
1266
1266
|
});
|
|
1267
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1267
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1268
1268
|
};
|
|
1269
1269
|
const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1270
1270
|
const body = parsedOutput.body;
|
|
@@ -1273,7 +1273,7 @@ const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, con
|
|
|
1273
1273
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1274
1274
|
...deserialized,
|
|
1275
1275
|
});
|
|
1276
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1276
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1277
1277
|
};
|
|
1278
1278
|
const deserializeAws_json1_1Ec2RequestFailedExceptionResponse = async (parsedOutput, context) => {
|
|
1279
1279
|
const body = parsedOutput.body;
|
|
@@ -1282,7 +1282,7 @@ const deserializeAws_json1_1Ec2RequestFailedExceptionResponse = async (parsedOut
|
|
|
1282
1282
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1283
1283
|
...deserialized,
|
|
1284
1284
|
});
|
|
1285
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1285
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1286
1286
|
};
|
|
1287
1287
|
const deserializeAws_json1_1InvalidAddressExceptionResponse = async (parsedOutput, context) => {
|
|
1288
1288
|
const body = parsedOutput.body;
|
|
@@ -1291,7 +1291,7 @@ const deserializeAws_json1_1InvalidAddressExceptionResponse = async (parsedOutpu
|
|
|
1291
1291
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1292
1292
|
...deserialized,
|
|
1293
1293
|
});
|
|
1294
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1294
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1295
1295
|
};
|
|
1296
1296
|
const deserializeAws_json1_1InvalidInputCombinationExceptionResponse = async (parsedOutput, context) => {
|
|
1297
1297
|
const body = parsedOutput.body;
|
|
@@ -1300,7 +1300,7 @@ const deserializeAws_json1_1InvalidInputCombinationExceptionResponse = async (pa
|
|
|
1300
1300
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1301
1301
|
...deserialized,
|
|
1302
1302
|
});
|
|
1303
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1303
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1304
1304
|
};
|
|
1305
1305
|
const deserializeAws_json1_1InvalidJobStateExceptionResponse = async (parsedOutput, context) => {
|
|
1306
1306
|
const body = parsedOutput.body;
|
|
@@ -1309,7 +1309,7 @@ const deserializeAws_json1_1InvalidJobStateExceptionResponse = async (parsedOutp
|
|
|
1309
1309
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1310
1310
|
...deserialized,
|
|
1311
1311
|
});
|
|
1312
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1312
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1313
1313
|
};
|
|
1314
1314
|
const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
1315
1315
|
const body = parsedOutput.body;
|
|
@@ -1318,7 +1318,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
|
|
|
1318
1318
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1319
1319
|
...deserialized,
|
|
1320
1320
|
});
|
|
1321
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1321
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1322
1322
|
};
|
|
1323
1323
|
const deserializeAws_json1_1InvalidResourceExceptionResponse = async (parsedOutput, context) => {
|
|
1324
1324
|
const body = parsedOutput.body;
|
|
@@ -1327,7 +1327,7 @@ const deserializeAws_json1_1InvalidResourceExceptionResponse = async (parsedOutp
|
|
|
1327
1327
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1328
1328
|
...deserialized,
|
|
1329
1329
|
});
|
|
1330
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1330
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1331
1331
|
};
|
|
1332
1332
|
const deserializeAws_json1_1KMSRequestFailedExceptionResponse = async (parsedOutput, context) => {
|
|
1333
1333
|
const body = parsedOutput.body;
|
|
@@ -1336,7 +1336,7 @@ const deserializeAws_json1_1KMSRequestFailedExceptionResponse = async (parsedOut
|
|
|
1336
1336
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1337
1337
|
...deserialized,
|
|
1338
1338
|
});
|
|
1339
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1339
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1340
1340
|
};
|
|
1341
1341
|
const deserializeAws_json1_1ReturnShippingLabelAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
1342
1342
|
const body = parsedOutput.body;
|
|
@@ -1345,7 +1345,7 @@ const deserializeAws_json1_1ReturnShippingLabelAlreadyExistsExceptionResponse =
|
|
|
1345
1345
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1346
1346
|
...deserialized,
|
|
1347
1347
|
});
|
|
1348
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1348
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1349
1349
|
};
|
|
1350
1350
|
const deserializeAws_json1_1UnsupportedAddressExceptionResponse = async (parsedOutput, context) => {
|
|
1351
1351
|
const body = parsedOutput.body;
|
|
@@ -1354,7 +1354,7 @@ const deserializeAws_json1_1UnsupportedAddressExceptionResponse = async (parsedO
|
|
|
1354
1354
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1355
1355
|
...deserialized,
|
|
1356
1356
|
});
|
|
1357
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1357
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1358
1358
|
};
|
|
1359
1359
|
const serializeAws_json1_1Address = (input, context) => {
|
|
1360
1360
|
return {
|
|
@@ -1789,20 +1789,20 @@ const serializeAws_json1_1WirelessConnection = (input, context) => {
|
|
|
1789
1789
|
};
|
|
1790
1790
|
const deserializeAws_json1_1Address = (output, context) => {
|
|
1791
1791
|
return {
|
|
1792
|
-
AddressId: smithy_client_1.expectString(output.AddressId),
|
|
1793
|
-
City: smithy_client_1.expectString(output.City),
|
|
1794
|
-
Company: smithy_client_1.expectString(output.Company),
|
|
1795
|
-
Country: smithy_client_1.expectString(output.Country),
|
|
1796
|
-
IsRestricted: smithy_client_1.expectBoolean(output.IsRestricted),
|
|
1797
|
-
Landmark: smithy_client_1.expectString(output.Landmark),
|
|
1798
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1799
|
-
PhoneNumber: smithy_client_1.expectString(output.PhoneNumber),
|
|
1800
|
-
PostalCode: smithy_client_1.expectString(output.PostalCode),
|
|
1801
|
-
PrefectureOrDistrict: smithy_client_1.expectString(output.PrefectureOrDistrict),
|
|
1802
|
-
StateOrProvince: smithy_client_1.expectString(output.StateOrProvince),
|
|
1803
|
-
Street1: smithy_client_1.expectString(output.Street1),
|
|
1804
|
-
Street2: smithy_client_1.expectString(output.Street2),
|
|
1805
|
-
Street3: smithy_client_1.expectString(output.Street3),
|
|
1792
|
+
AddressId: (0, smithy_client_1.expectString)(output.AddressId),
|
|
1793
|
+
City: (0, smithy_client_1.expectString)(output.City),
|
|
1794
|
+
Company: (0, smithy_client_1.expectString)(output.Company),
|
|
1795
|
+
Country: (0, smithy_client_1.expectString)(output.Country),
|
|
1796
|
+
IsRestricted: (0, smithy_client_1.expectBoolean)(output.IsRestricted),
|
|
1797
|
+
Landmark: (0, smithy_client_1.expectString)(output.Landmark),
|
|
1798
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1799
|
+
PhoneNumber: (0, smithy_client_1.expectString)(output.PhoneNumber),
|
|
1800
|
+
PostalCode: (0, smithy_client_1.expectString)(output.PostalCode),
|
|
1801
|
+
PrefectureOrDistrict: (0, smithy_client_1.expectString)(output.PrefectureOrDistrict),
|
|
1802
|
+
StateOrProvince: (0, smithy_client_1.expectString)(output.StateOrProvince),
|
|
1803
|
+
Street1: (0, smithy_client_1.expectString)(output.Street1),
|
|
1804
|
+
Street2: (0, smithy_client_1.expectString)(output.Street2),
|
|
1805
|
+
Street3: (0, smithy_client_1.expectString)(output.Street3),
|
|
1806
1806
|
};
|
|
1807
1807
|
};
|
|
1808
1808
|
const deserializeAws_json1_1AddressList = (output, context) => {
|
|
@@ -1824,17 +1824,17 @@ const deserializeAws_json1_1CancelJobResult = (output, context) => {
|
|
|
1824
1824
|
};
|
|
1825
1825
|
const deserializeAws_json1_1ClusterLimitExceededException = (output, context) => {
|
|
1826
1826
|
return {
|
|
1827
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1827
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1828
1828
|
};
|
|
1829
1829
|
};
|
|
1830
1830
|
const deserializeAws_json1_1ClusterListEntry = (output, context) => {
|
|
1831
1831
|
return {
|
|
1832
|
-
ClusterId: smithy_client_1.expectString(output.ClusterId),
|
|
1833
|
-
ClusterState: smithy_client_1.expectString(output.ClusterState),
|
|
1832
|
+
ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
|
|
1833
|
+
ClusterState: (0, smithy_client_1.expectString)(output.ClusterState),
|
|
1834
1834
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
1835
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
1835
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
1836
1836
|
: undefined,
|
|
1837
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
1837
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1838
1838
|
};
|
|
1839
1839
|
};
|
|
1840
1840
|
const deserializeAws_json1_1ClusterListEntryList = (output, context) => {
|
|
@@ -1850,16 +1850,16 @@ const deserializeAws_json1_1ClusterListEntryList = (output, context) => {
|
|
|
1850
1850
|
};
|
|
1851
1851
|
const deserializeAws_json1_1ClusterMetadata = (output, context) => {
|
|
1852
1852
|
return {
|
|
1853
|
-
AddressId: smithy_client_1.expectString(output.AddressId),
|
|
1854
|
-
ClusterId: smithy_client_1.expectString(output.ClusterId),
|
|
1855
|
-
ClusterState: smithy_client_1.expectString(output.ClusterState),
|
|
1853
|
+
AddressId: (0, smithy_client_1.expectString)(output.AddressId),
|
|
1854
|
+
ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
|
|
1855
|
+
ClusterState: (0, smithy_client_1.expectString)(output.ClusterState),
|
|
1856
1856
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
1857
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
1857
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
1858
1858
|
: undefined,
|
|
1859
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
1860
|
-
ForwardingAddressId: smithy_client_1.expectString(output.ForwardingAddressId),
|
|
1861
|
-
JobType: smithy_client_1.expectString(output.JobType),
|
|
1862
|
-
KmsKeyARN: smithy_client_1.expectString(output.KmsKeyARN),
|
|
1859
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1860
|
+
ForwardingAddressId: (0, smithy_client_1.expectString)(output.ForwardingAddressId),
|
|
1861
|
+
JobType: (0, smithy_client_1.expectString)(output.JobType),
|
|
1862
|
+
KmsKeyARN: (0, smithy_client_1.expectString)(output.KmsKeyARN),
|
|
1863
1863
|
Notification: output.Notification !== undefined && output.Notification !== null
|
|
1864
1864
|
? deserializeAws_json1_1Notification(output.Notification, context)
|
|
1865
1865
|
: undefined,
|
|
@@ -1869,9 +1869,9 @@ const deserializeAws_json1_1ClusterMetadata = (output, context) => {
|
|
|
1869
1869
|
Resources: output.Resources !== undefined && output.Resources !== null
|
|
1870
1870
|
? deserializeAws_json1_1JobResource(output.Resources, context)
|
|
1871
1871
|
: undefined,
|
|
1872
|
-
RoleARN: smithy_client_1.expectString(output.RoleARN),
|
|
1873
|
-
ShippingOption: smithy_client_1.expectString(output.ShippingOption),
|
|
1874
|
-
SnowballType: smithy_client_1.expectString(output.SnowballType),
|
|
1872
|
+
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1873
|
+
ShippingOption: (0, smithy_client_1.expectString)(output.ShippingOption),
|
|
1874
|
+
SnowballType: (0, smithy_client_1.expectString)(output.SnowballType),
|
|
1875
1875
|
TaxDocuments: output.TaxDocuments !== undefined && output.TaxDocuments !== null
|
|
1876
1876
|
? deserializeAws_json1_1TaxDocuments(output.TaxDocuments, context)
|
|
1877
1877
|
: undefined,
|
|
@@ -1879,8 +1879,8 @@ const deserializeAws_json1_1ClusterMetadata = (output, context) => {
|
|
|
1879
1879
|
};
|
|
1880
1880
|
const deserializeAws_json1_1CompatibleImage = (output, context) => {
|
|
1881
1881
|
return {
|
|
1882
|
-
AmiId: smithy_client_1.expectString(output.AmiId),
|
|
1883
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1882
|
+
AmiId: (0, smithy_client_1.expectString)(output.AmiId),
|
|
1883
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1884
1884
|
};
|
|
1885
1885
|
};
|
|
1886
1886
|
const deserializeAws_json1_1CompatibleImageList = (output, context) => {
|
|
@@ -1896,41 +1896,41 @@ const deserializeAws_json1_1CompatibleImageList = (output, context) => {
|
|
|
1896
1896
|
};
|
|
1897
1897
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
1898
1898
|
return {
|
|
1899
|
-
ConflictResource: smithy_client_1.expectString(output.ConflictResource),
|
|
1900
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1899
|
+
ConflictResource: (0, smithy_client_1.expectString)(output.ConflictResource),
|
|
1900
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1901
1901
|
};
|
|
1902
1902
|
};
|
|
1903
1903
|
const deserializeAws_json1_1CreateAddressResult = (output, context) => {
|
|
1904
1904
|
return {
|
|
1905
|
-
AddressId: smithy_client_1.expectString(output.AddressId),
|
|
1905
|
+
AddressId: (0, smithy_client_1.expectString)(output.AddressId),
|
|
1906
1906
|
};
|
|
1907
1907
|
};
|
|
1908
1908
|
const deserializeAws_json1_1CreateClusterResult = (output, context) => {
|
|
1909
1909
|
return {
|
|
1910
|
-
ClusterId: smithy_client_1.expectString(output.ClusterId),
|
|
1910
|
+
ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
|
|
1911
1911
|
};
|
|
1912
1912
|
};
|
|
1913
1913
|
const deserializeAws_json1_1CreateJobResult = (output, context) => {
|
|
1914
1914
|
return {
|
|
1915
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1915
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1916
1916
|
};
|
|
1917
1917
|
};
|
|
1918
1918
|
const deserializeAws_json1_1CreateLongTermPricingResult = (output, context) => {
|
|
1919
1919
|
return {
|
|
1920
|
-
LongTermPricingId: smithy_client_1.expectString(output.LongTermPricingId),
|
|
1920
|
+
LongTermPricingId: (0, smithy_client_1.expectString)(output.LongTermPricingId),
|
|
1921
1921
|
};
|
|
1922
1922
|
};
|
|
1923
1923
|
const deserializeAws_json1_1CreateReturnShippingLabelResult = (output, context) => {
|
|
1924
1924
|
return {
|
|
1925
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
1925
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1926
1926
|
};
|
|
1927
1927
|
};
|
|
1928
1928
|
const deserializeAws_json1_1DataTransfer = (output, context) => {
|
|
1929
1929
|
return {
|
|
1930
|
-
BytesTransferred: smithy_client_1.expectLong(output.BytesTransferred),
|
|
1931
|
-
ObjectsTransferred: smithy_client_1.expectLong(output.ObjectsTransferred),
|
|
1932
|
-
TotalBytes: smithy_client_1.expectLong(output.TotalBytes),
|
|
1933
|
-
TotalObjects: smithy_client_1.expectLong(output.TotalObjects),
|
|
1930
|
+
BytesTransferred: (0, smithy_client_1.expectLong)(output.BytesTransferred),
|
|
1931
|
+
ObjectsTransferred: (0, smithy_client_1.expectLong)(output.ObjectsTransferred),
|
|
1932
|
+
TotalBytes: (0, smithy_client_1.expectLong)(output.TotalBytes),
|
|
1933
|
+
TotalObjects: (0, smithy_client_1.expectLong)(output.TotalObjects),
|
|
1934
1934
|
};
|
|
1935
1935
|
};
|
|
1936
1936
|
const deserializeAws_json1_1DescribeAddressesResult = (output, context) => {
|
|
@@ -1938,7 +1938,7 @@ const deserializeAws_json1_1DescribeAddressesResult = (output, context) => {
|
|
|
1938
1938
|
Addresses: output.Addresses !== undefined && output.Addresses !== null
|
|
1939
1939
|
? deserializeAws_json1_1AddressList(output.Addresses, context)
|
|
1940
1940
|
: undefined,
|
|
1941
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1941
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1942
1942
|
};
|
|
1943
1943
|
};
|
|
1944
1944
|
const deserializeAws_json1_1DescribeAddressResult = (output, context) => {
|
|
@@ -1968,10 +1968,10 @@ const deserializeAws_json1_1DescribeJobResult = (output, context) => {
|
|
|
1968
1968
|
const deserializeAws_json1_1DescribeReturnShippingLabelResult = (output, context) => {
|
|
1969
1969
|
return {
|
|
1970
1970
|
ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
|
|
1971
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationDate)))
|
|
1971
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationDate)))
|
|
1972
1972
|
: undefined,
|
|
1973
|
-
ReturnShippingLabelURI: smithy_client_1.expectString(output.ReturnShippingLabelURI),
|
|
1974
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
1973
|
+
ReturnShippingLabelURI: (0, smithy_client_1.expectString)(output.ReturnShippingLabelURI),
|
|
1974
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1975
1975
|
};
|
|
1976
1976
|
};
|
|
1977
1977
|
const deserializeAws_json1_1DeviceConfiguration = (output, context) => {
|
|
@@ -1983,8 +1983,8 @@ const deserializeAws_json1_1DeviceConfiguration = (output, context) => {
|
|
|
1983
1983
|
};
|
|
1984
1984
|
const deserializeAws_json1_1Ec2AmiResource = (output, context) => {
|
|
1985
1985
|
return {
|
|
1986
|
-
AmiId: smithy_client_1.expectString(output.AmiId),
|
|
1987
|
-
SnowballAmiId: smithy_client_1.expectString(output.SnowballAmiId),
|
|
1986
|
+
AmiId: (0, smithy_client_1.expectString)(output.AmiId),
|
|
1987
|
+
SnowballAmiId: (0, smithy_client_1.expectString)(output.SnowballAmiId),
|
|
1988
1988
|
};
|
|
1989
1989
|
};
|
|
1990
1990
|
const deserializeAws_json1_1Ec2AmiResourceList = (output, context) => {
|
|
@@ -2000,12 +2000,12 @@ const deserializeAws_json1_1Ec2AmiResourceList = (output, context) => {
|
|
|
2000
2000
|
};
|
|
2001
2001
|
const deserializeAws_json1_1Ec2RequestFailedException = (output, context) => {
|
|
2002
2002
|
return {
|
|
2003
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2003
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2004
2004
|
};
|
|
2005
2005
|
};
|
|
2006
2006
|
const deserializeAws_json1_1EventTriggerDefinition = (output, context) => {
|
|
2007
2007
|
return {
|
|
2008
|
-
EventResourceARN: smithy_client_1.expectString(output.EventResourceARN),
|
|
2008
|
+
EventResourceARN: (0, smithy_client_1.expectString)(output.EventResourceARN),
|
|
2009
2009
|
};
|
|
2010
2010
|
};
|
|
2011
2011
|
const deserializeAws_json1_1EventTriggerDefinitionList = (output, context) => {
|
|
@@ -2021,67 +2021,67 @@ const deserializeAws_json1_1EventTriggerDefinitionList = (output, context) => {
|
|
|
2021
2021
|
};
|
|
2022
2022
|
const deserializeAws_json1_1GetJobManifestResult = (output, context) => {
|
|
2023
2023
|
return {
|
|
2024
|
-
ManifestURI: smithy_client_1.expectString(output.ManifestURI),
|
|
2024
|
+
ManifestURI: (0, smithy_client_1.expectString)(output.ManifestURI),
|
|
2025
2025
|
};
|
|
2026
2026
|
};
|
|
2027
2027
|
const deserializeAws_json1_1GetJobUnlockCodeResult = (output, context) => {
|
|
2028
2028
|
return {
|
|
2029
|
-
UnlockCode: smithy_client_1.expectString(output.UnlockCode),
|
|
2029
|
+
UnlockCode: (0, smithy_client_1.expectString)(output.UnlockCode),
|
|
2030
2030
|
};
|
|
2031
2031
|
};
|
|
2032
2032
|
const deserializeAws_json1_1GetSnowballUsageResult = (output, context) => {
|
|
2033
2033
|
return {
|
|
2034
|
-
SnowballLimit: smithy_client_1.expectInt32(output.SnowballLimit),
|
|
2035
|
-
SnowballsInUse: smithy_client_1.expectInt32(output.SnowballsInUse),
|
|
2034
|
+
SnowballLimit: (0, smithy_client_1.expectInt32)(output.SnowballLimit),
|
|
2035
|
+
SnowballsInUse: (0, smithy_client_1.expectInt32)(output.SnowballsInUse),
|
|
2036
2036
|
};
|
|
2037
2037
|
};
|
|
2038
2038
|
const deserializeAws_json1_1GetSoftwareUpdatesResult = (output, context) => {
|
|
2039
2039
|
return {
|
|
2040
|
-
UpdatesURI: smithy_client_1.expectString(output.UpdatesURI),
|
|
2040
|
+
UpdatesURI: (0, smithy_client_1.expectString)(output.UpdatesURI),
|
|
2041
2041
|
};
|
|
2042
2042
|
};
|
|
2043
2043
|
const deserializeAws_json1_1INDTaxDocuments = (output, context) => {
|
|
2044
2044
|
return {
|
|
2045
|
-
GSTIN: smithy_client_1.expectString(output.GSTIN),
|
|
2045
|
+
GSTIN: (0, smithy_client_1.expectString)(output.GSTIN),
|
|
2046
2046
|
};
|
|
2047
2047
|
};
|
|
2048
2048
|
const deserializeAws_json1_1InvalidAddressException = (output, context) => {
|
|
2049
2049
|
return {
|
|
2050
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2050
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2051
2051
|
};
|
|
2052
2052
|
};
|
|
2053
2053
|
const deserializeAws_json1_1InvalidInputCombinationException = (output, context) => {
|
|
2054
2054
|
return {
|
|
2055
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2055
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2056
2056
|
};
|
|
2057
2057
|
};
|
|
2058
2058
|
const deserializeAws_json1_1InvalidJobStateException = (output, context) => {
|
|
2059
2059
|
return {
|
|
2060
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2060
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2061
2061
|
};
|
|
2062
2062
|
};
|
|
2063
2063
|
const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
|
|
2064
2064
|
return {
|
|
2065
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2065
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2066
2066
|
};
|
|
2067
2067
|
};
|
|
2068
2068
|
const deserializeAws_json1_1InvalidResourceException = (output, context) => {
|
|
2069
2069
|
return {
|
|
2070
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2071
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
2070
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2071
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
2072
2072
|
};
|
|
2073
2073
|
};
|
|
2074
2074
|
const deserializeAws_json1_1JobListEntry = (output, context) => {
|
|
2075
2075
|
return {
|
|
2076
2076
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
2077
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
2077
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
2078
2078
|
: undefined,
|
|
2079
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2080
|
-
IsMaster: smithy_client_1.expectBoolean(output.IsMaster),
|
|
2081
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
2082
|
-
JobState: smithy_client_1.expectString(output.JobState),
|
|
2083
|
-
JobType: smithy_client_1.expectString(output.JobType),
|
|
2084
|
-
SnowballType: smithy_client_1.expectString(output.SnowballType),
|
|
2079
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2080
|
+
IsMaster: (0, smithy_client_1.expectBoolean)(output.IsMaster),
|
|
2081
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
2082
|
+
JobState: (0, smithy_client_1.expectString)(output.JobState),
|
|
2083
|
+
JobType: (0, smithy_client_1.expectString)(output.JobType),
|
|
2084
|
+
SnowballType: (0, smithy_client_1.expectString)(output.SnowballType),
|
|
2085
2085
|
};
|
|
2086
2086
|
};
|
|
2087
2087
|
const deserializeAws_json1_1JobListEntryList = (output, context) => {
|
|
@@ -2097,50 +2097,50 @@ const deserializeAws_json1_1JobListEntryList = (output, context) => {
|
|
|
2097
2097
|
};
|
|
2098
2098
|
const deserializeAws_json1_1JobLogs = (output, context) => {
|
|
2099
2099
|
return {
|
|
2100
|
-
JobCompletionReportURI: smithy_client_1.expectString(output.JobCompletionReportURI),
|
|
2101
|
-
JobFailureLogURI: smithy_client_1.expectString(output.JobFailureLogURI),
|
|
2102
|
-
JobSuccessLogURI: smithy_client_1.expectString(output.JobSuccessLogURI),
|
|
2100
|
+
JobCompletionReportURI: (0, smithy_client_1.expectString)(output.JobCompletionReportURI),
|
|
2101
|
+
JobFailureLogURI: (0, smithy_client_1.expectString)(output.JobFailureLogURI),
|
|
2102
|
+
JobSuccessLogURI: (0, smithy_client_1.expectString)(output.JobSuccessLogURI),
|
|
2103
2103
|
};
|
|
2104
2104
|
};
|
|
2105
2105
|
const deserializeAws_json1_1JobMetadata = (output, context) => {
|
|
2106
2106
|
return {
|
|
2107
|
-
AddressId: smithy_client_1.expectString(output.AddressId),
|
|
2108
|
-
ClusterId: smithy_client_1.expectString(output.ClusterId),
|
|
2107
|
+
AddressId: (0, smithy_client_1.expectString)(output.AddressId),
|
|
2108
|
+
ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
|
|
2109
2109
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
2110
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
2110
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
2111
2111
|
: undefined,
|
|
2112
2112
|
DataTransferProgress: output.DataTransferProgress !== undefined && output.DataTransferProgress !== null
|
|
2113
2113
|
? deserializeAws_json1_1DataTransfer(output.DataTransferProgress, context)
|
|
2114
2114
|
: undefined,
|
|
2115
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2115
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2116
2116
|
DeviceConfiguration: output.DeviceConfiguration !== undefined && output.DeviceConfiguration !== null
|
|
2117
2117
|
? deserializeAws_json1_1DeviceConfiguration(output.DeviceConfiguration, context)
|
|
2118
2118
|
: undefined,
|
|
2119
|
-
ForwardingAddressId: smithy_client_1.expectString(output.ForwardingAddressId),
|
|
2120
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
2119
|
+
ForwardingAddressId: (0, smithy_client_1.expectString)(output.ForwardingAddressId),
|
|
2120
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
2121
2121
|
JobLogInfo: output.JobLogInfo !== undefined && output.JobLogInfo !== null
|
|
2122
2122
|
? deserializeAws_json1_1JobLogs(output.JobLogInfo, context)
|
|
2123
2123
|
: undefined,
|
|
2124
|
-
JobState: smithy_client_1.expectString(output.JobState),
|
|
2125
|
-
JobType: smithy_client_1.expectString(output.JobType),
|
|
2126
|
-
KmsKeyARN: smithy_client_1.expectString(output.KmsKeyARN),
|
|
2127
|
-
LongTermPricingId: smithy_client_1.expectString(output.LongTermPricingId),
|
|
2124
|
+
JobState: (0, smithy_client_1.expectString)(output.JobState),
|
|
2125
|
+
JobType: (0, smithy_client_1.expectString)(output.JobType),
|
|
2126
|
+
KmsKeyARN: (0, smithy_client_1.expectString)(output.KmsKeyARN),
|
|
2127
|
+
LongTermPricingId: (0, smithy_client_1.expectString)(output.LongTermPricingId),
|
|
2128
2128
|
Notification: output.Notification !== undefined && output.Notification !== null
|
|
2129
2129
|
? deserializeAws_json1_1Notification(output.Notification, context)
|
|
2130
2130
|
: undefined,
|
|
2131
2131
|
OnDeviceServiceConfiguration: output.OnDeviceServiceConfiguration !== undefined && output.OnDeviceServiceConfiguration !== null
|
|
2132
2132
|
? deserializeAws_json1_1OnDeviceServiceConfiguration(output.OnDeviceServiceConfiguration, context)
|
|
2133
2133
|
: undefined,
|
|
2134
|
-
RemoteManagement: smithy_client_1.expectString(output.RemoteManagement),
|
|
2134
|
+
RemoteManagement: (0, smithy_client_1.expectString)(output.RemoteManagement),
|
|
2135
2135
|
Resources: output.Resources !== undefined && output.Resources !== null
|
|
2136
2136
|
? deserializeAws_json1_1JobResource(output.Resources, context)
|
|
2137
2137
|
: undefined,
|
|
2138
|
-
RoleARN: smithy_client_1.expectString(output.RoleARN),
|
|
2138
|
+
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2139
2139
|
ShippingDetails: output.ShippingDetails !== undefined && output.ShippingDetails !== null
|
|
2140
2140
|
? deserializeAws_json1_1ShippingDetails(output.ShippingDetails, context)
|
|
2141
2141
|
: undefined,
|
|
2142
|
-
SnowballCapacityPreference: smithy_client_1.expectString(output.SnowballCapacityPreference),
|
|
2143
|
-
SnowballType: smithy_client_1.expectString(output.SnowballType),
|
|
2142
|
+
SnowballCapacityPreference: (0, smithy_client_1.expectString)(output.SnowballCapacityPreference),
|
|
2143
|
+
SnowballType: (0, smithy_client_1.expectString)(output.SnowballType),
|
|
2144
2144
|
TaxDocuments: output.TaxDocuments !== undefined && output.TaxDocuments !== null
|
|
2145
2145
|
? deserializeAws_json1_1TaxDocuments(output.TaxDocuments, context)
|
|
2146
2146
|
: undefined,
|
|
@@ -2177,19 +2177,19 @@ const deserializeAws_json1_1JobStateList = (output, context) => {
|
|
|
2177
2177
|
if (entry === null) {
|
|
2178
2178
|
return null;
|
|
2179
2179
|
}
|
|
2180
|
-
return smithy_client_1.expectString(entry);
|
|
2180
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2181
2181
|
});
|
|
2182
2182
|
return retVal;
|
|
2183
2183
|
};
|
|
2184
2184
|
const deserializeAws_json1_1KeyRange = (output, context) => {
|
|
2185
2185
|
return {
|
|
2186
|
-
BeginMarker: smithy_client_1.expectString(output.BeginMarker),
|
|
2187
|
-
EndMarker: smithy_client_1.expectString(output.EndMarker),
|
|
2186
|
+
BeginMarker: (0, smithy_client_1.expectString)(output.BeginMarker),
|
|
2187
|
+
EndMarker: (0, smithy_client_1.expectString)(output.EndMarker),
|
|
2188
2188
|
};
|
|
2189
2189
|
};
|
|
2190
2190
|
const deserializeAws_json1_1KMSRequestFailedException = (output, context) => {
|
|
2191
2191
|
return {
|
|
2192
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2192
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2193
2193
|
};
|
|
2194
2194
|
};
|
|
2195
2195
|
const deserializeAws_json1_1LambdaResource = (output, context) => {
|
|
@@ -2197,7 +2197,7 @@ const deserializeAws_json1_1LambdaResource = (output, context) => {
|
|
|
2197
2197
|
EventTriggers: output.EventTriggers !== undefined && output.EventTriggers !== null
|
|
2198
2198
|
? deserializeAws_json1_1EventTriggerDefinitionList(output.EventTriggers, context)
|
|
2199
2199
|
: undefined,
|
|
2200
|
-
LambdaArn: smithy_client_1.expectString(output.LambdaArn),
|
|
2200
|
+
LambdaArn: (0, smithy_client_1.expectString)(output.LambdaArn),
|
|
2201
2201
|
};
|
|
2202
2202
|
};
|
|
2203
2203
|
const deserializeAws_json1_1LambdaResourceList = (output, context) => {
|
|
@@ -2216,7 +2216,7 @@ const deserializeAws_json1_1ListClusterJobsResult = (output, context) => {
|
|
|
2216
2216
|
JobListEntries: output.JobListEntries !== undefined && output.JobListEntries !== null
|
|
2217
2217
|
? deserializeAws_json1_1JobListEntryList(output.JobListEntries, context)
|
|
2218
2218
|
: undefined,
|
|
2219
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2219
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2220
2220
|
};
|
|
2221
2221
|
};
|
|
2222
2222
|
const deserializeAws_json1_1ListClustersResult = (output, context) => {
|
|
@@ -2224,7 +2224,7 @@ const deserializeAws_json1_1ListClustersResult = (output, context) => {
|
|
|
2224
2224
|
ClusterListEntries: output.ClusterListEntries !== undefined && output.ClusterListEntries !== null
|
|
2225
2225
|
? deserializeAws_json1_1ClusterListEntryList(output.ClusterListEntries, context)
|
|
2226
2226
|
: undefined,
|
|
2227
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2227
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2228
2228
|
};
|
|
2229
2229
|
};
|
|
2230
2230
|
const deserializeAws_json1_1ListCompatibleImagesResult = (output, context) => {
|
|
@@ -2232,7 +2232,7 @@ const deserializeAws_json1_1ListCompatibleImagesResult = (output, context) => {
|
|
|
2232
2232
|
CompatibleImages: output.CompatibleImages !== undefined && output.CompatibleImages !== null
|
|
2233
2233
|
? deserializeAws_json1_1CompatibleImageList(output.CompatibleImages, context)
|
|
2234
2234
|
: undefined,
|
|
2235
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2235
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2236
2236
|
};
|
|
2237
2237
|
};
|
|
2238
2238
|
const deserializeAws_json1_1ListJobsResult = (output, context) => {
|
|
@@ -2240,7 +2240,7 @@ const deserializeAws_json1_1ListJobsResult = (output, context) => {
|
|
|
2240
2240
|
JobListEntries: output.JobListEntries !== undefined && output.JobListEntries !== null
|
|
2241
2241
|
? deserializeAws_json1_1JobListEntryList(output.JobListEntries, context)
|
|
2242
2242
|
: undefined,
|
|
2243
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2243
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2244
2244
|
};
|
|
2245
2245
|
};
|
|
2246
2246
|
const deserializeAws_json1_1ListLongTermPricingResult = (output, context) => {
|
|
@@ -2248,7 +2248,7 @@ const deserializeAws_json1_1ListLongTermPricingResult = (output, context) => {
|
|
|
2248
2248
|
LongTermPricingEntries: output.LongTermPricingEntries !== undefined && output.LongTermPricingEntries !== null
|
|
2249
2249
|
? deserializeAws_json1_1LongTermPricingEntryList(output.LongTermPricingEntries, context)
|
|
2250
2250
|
: undefined,
|
|
2251
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2251
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2252
2252
|
};
|
|
2253
2253
|
};
|
|
2254
2254
|
const deserializeAws_json1_1LongTermPricingAssociatedJobIdList = (output, context) => {
|
|
@@ -2258,7 +2258,7 @@ const deserializeAws_json1_1LongTermPricingAssociatedJobIdList = (output, contex
|
|
|
2258
2258
|
if (entry === null) {
|
|
2259
2259
|
return null;
|
|
2260
2260
|
}
|
|
2261
|
-
return smithy_client_1.expectString(entry);
|
|
2261
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2262
2262
|
});
|
|
2263
2263
|
return retVal;
|
|
2264
2264
|
};
|
|
@@ -2275,28 +2275,28 @@ const deserializeAws_json1_1LongTermPricingEntryList = (output, context) => {
|
|
|
2275
2275
|
};
|
|
2276
2276
|
const deserializeAws_json1_1LongTermPricingListEntry = (output, context) => {
|
|
2277
2277
|
return {
|
|
2278
|
-
CurrentActiveJob: smithy_client_1.expectString(output.CurrentActiveJob),
|
|
2279
|
-
IsLongTermPricingAutoRenew: smithy_client_1.expectBoolean(output.IsLongTermPricingAutoRenew),
|
|
2278
|
+
CurrentActiveJob: (0, smithy_client_1.expectString)(output.CurrentActiveJob),
|
|
2279
|
+
IsLongTermPricingAutoRenew: (0, smithy_client_1.expectBoolean)(output.IsLongTermPricingAutoRenew),
|
|
2280
2280
|
JobIds: output.JobIds !== undefined && output.JobIds !== null
|
|
2281
2281
|
? deserializeAws_json1_1LongTermPricingAssociatedJobIdList(output.JobIds, context)
|
|
2282
2282
|
: undefined,
|
|
2283
2283
|
LongTermPricingEndDate: output.LongTermPricingEndDate !== undefined && output.LongTermPricingEndDate !== null
|
|
2284
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LongTermPricingEndDate)))
|
|
2284
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LongTermPricingEndDate)))
|
|
2285
2285
|
: undefined,
|
|
2286
|
-
LongTermPricingId: smithy_client_1.expectString(output.LongTermPricingId),
|
|
2286
|
+
LongTermPricingId: (0, smithy_client_1.expectString)(output.LongTermPricingId),
|
|
2287
2287
|
LongTermPricingStartDate: output.LongTermPricingStartDate !== undefined && output.LongTermPricingStartDate !== null
|
|
2288
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LongTermPricingStartDate)))
|
|
2288
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LongTermPricingStartDate)))
|
|
2289
2289
|
: undefined,
|
|
2290
|
-
LongTermPricingStatus: smithy_client_1.expectString(output.LongTermPricingStatus),
|
|
2291
|
-
LongTermPricingType: smithy_client_1.expectString(output.LongTermPricingType),
|
|
2292
|
-
ReplacementJob: smithy_client_1.expectString(output.ReplacementJob),
|
|
2293
|
-
SnowballType: smithy_client_1.expectString(output.SnowballType),
|
|
2290
|
+
LongTermPricingStatus: (0, smithy_client_1.expectString)(output.LongTermPricingStatus),
|
|
2291
|
+
LongTermPricingType: (0, smithy_client_1.expectString)(output.LongTermPricingType),
|
|
2292
|
+
ReplacementJob: (0, smithy_client_1.expectString)(output.ReplacementJob),
|
|
2293
|
+
SnowballType: (0, smithy_client_1.expectString)(output.SnowballType),
|
|
2294
2294
|
};
|
|
2295
2295
|
};
|
|
2296
2296
|
const deserializeAws_json1_1NFSOnDeviceServiceConfiguration = (output, context) => {
|
|
2297
2297
|
return {
|
|
2298
|
-
StorageLimit: smithy_client_1.expectInt32(output.StorageLimit),
|
|
2299
|
-
StorageUnit: smithy_client_1.expectString(output.StorageUnit),
|
|
2298
|
+
StorageLimit: (0, smithy_client_1.expectInt32)(output.StorageLimit),
|
|
2299
|
+
StorageUnit: (0, smithy_client_1.expectString)(output.StorageUnit),
|
|
2300
2300
|
};
|
|
2301
2301
|
};
|
|
2302
2302
|
const deserializeAws_json1_1Notification = (output, context) => {
|
|
@@ -2304,8 +2304,8 @@ const deserializeAws_json1_1Notification = (output, context) => {
|
|
|
2304
2304
|
JobStatesToNotify: output.JobStatesToNotify !== undefined && output.JobStatesToNotify !== null
|
|
2305
2305
|
? deserializeAws_json1_1JobStateList(output.JobStatesToNotify, context)
|
|
2306
2306
|
: undefined,
|
|
2307
|
-
NotifyAll: smithy_client_1.expectBoolean(output.NotifyAll),
|
|
2308
|
-
SnsTopicARN: smithy_client_1.expectString(output.SnsTopicARN),
|
|
2307
|
+
NotifyAll: (0, smithy_client_1.expectBoolean)(output.NotifyAll),
|
|
2308
|
+
SnsTopicARN: (0, smithy_client_1.expectString)(output.SnsTopicARN),
|
|
2309
2309
|
};
|
|
2310
2310
|
};
|
|
2311
2311
|
const deserializeAws_json1_1OnDeviceServiceConfiguration = (output, context) => {
|
|
@@ -2320,12 +2320,12 @@ const deserializeAws_json1_1OnDeviceServiceConfiguration = (output, context) =>
|
|
|
2320
2320
|
};
|
|
2321
2321
|
const deserializeAws_json1_1ReturnShippingLabelAlreadyExistsException = (output, context) => {
|
|
2322
2322
|
return {
|
|
2323
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2323
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2324
2324
|
};
|
|
2325
2325
|
};
|
|
2326
2326
|
const deserializeAws_json1_1S3Resource = (output, context) => {
|
|
2327
2327
|
return {
|
|
2328
|
-
BucketArn: smithy_client_1.expectString(output.BucketArn),
|
|
2328
|
+
BucketArn: (0, smithy_client_1.expectString)(output.BucketArn),
|
|
2329
2329
|
KeyRange: output.KeyRange !== undefined && output.KeyRange !== null
|
|
2330
2330
|
? deserializeAws_json1_1KeyRange(output.KeyRange, context)
|
|
2331
2331
|
: undefined,
|
|
@@ -2347,8 +2347,8 @@ const deserializeAws_json1_1S3ResourceList = (output, context) => {
|
|
|
2347
2347
|
};
|
|
2348
2348
|
const deserializeAws_json1_1Shipment = (output, context) => {
|
|
2349
2349
|
return {
|
|
2350
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2351
|
-
TrackingNumber: smithy_client_1.expectString(output.TrackingNumber),
|
|
2350
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2351
|
+
TrackingNumber: (0, smithy_client_1.expectString)(output.TrackingNumber),
|
|
2352
2352
|
};
|
|
2353
2353
|
};
|
|
2354
2354
|
const deserializeAws_json1_1ShippingDetails = (output, context) => {
|
|
@@ -2359,7 +2359,7 @@ const deserializeAws_json1_1ShippingDetails = (output, context) => {
|
|
|
2359
2359
|
OutboundShipment: output.OutboundShipment !== undefined && output.OutboundShipment !== null
|
|
2360
2360
|
? deserializeAws_json1_1Shipment(output.OutboundShipment, context)
|
|
2361
2361
|
: undefined,
|
|
2362
|
-
ShippingOption: smithy_client_1.expectString(output.ShippingOption),
|
|
2362
|
+
ShippingOption: (0, smithy_client_1.expectString)(output.ShippingOption),
|
|
2363
2363
|
};
|
|
2364
2364
|
};
|
|
2365
2365
|
const deserializeAws_json1_1SnowconeDeviceConfiguration = (output, context) => {
|
|
@@ -2371,8 +2371,8 @@ const deserializeAws_json1_1SnowconeDeviceConfiguration = (output, context) => {
|
|
|
2371
2371
|
};
|
|
2372
2372
|
const deserializeAws_json1_1TargetOnDeviceService = (output, context) => {
|
|
2373
2373
|
return {
|
|
2374
|
-
ServiceName: smithy_client_1.expectString(output.ServiceName),
|
|
2375
|
-
TransferOption: smithy_client_1.expectString(output.TransferOption),
|
|
2374
|
+
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
2375
|
+
TransferOption: (0, smithy_client_1.expectString)(output.TransferOption),
|
|
2376
2376
|
};
|
|
2377
2377
|
};
|
|
2378
2378
|
const deserializeAws_json1_1TargetOnDeviceServiceList = (output, context) => {
|
|
@@ -2395,13 +2395,13 @@ const deserializeAws_json1_1TaxDocuments = (output, context) => {
|
|
|
2395
2395
|
};
|
|
2396
2396
|
const deserializeAws_json1_1TGWOnDeviceServiceConfiguration = (output, context) => {
|
|
2397
2397
|
return {
|
|
2398
|
-
StorageLimit: smithy_client_1.expectInt32(output.StorageLimit),
|
|
2399
|
-
StorageUnit: smithy_client_1.expectString(output.StorageUnit),
|
|
2398
|
+
StorageLimit: (0, smithy_client_1.expectInt32)(output.StorageLimit),
|
|
2399
|
+
StorageUnit: (0, smithy_client_1.expectString)(output.StorageUnit),
|
|
2400
2400
|
};
|
|
2401
2401
|
};
|
|
2402
2402
|
const deserializeAws_json1_1UnsupportedAddressException = (output, context) => {
|
|
2403
2403
|
return {
|
|
2404
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2404
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2405
2405
|
};
|
|
2406
2406
|
};
|
|
2407
2407
|
const deserializeAws_json1_1UpdateClusterResult = (output, context) => {
|
|
@@ -2418,7 +2418,7 @@ const deserializeAws_json1_1UpdateLongTermPricingResult = (output, context) => {
|
|
|
2418
2418
|
};
|
|
2419
2419
|
const deserializeAws_json1_1WirelessConnection = (output, context) => {
|
|
2420
2420
|
return {
|
|
2421
|
-
IsWifiEnabled: smithy_client_1.expectBoolean(output.IsWifiEnabled),
|
|
2421
|
+
IsWifiEnabled: (0, smithy_client_1.expectBoolean)(output.IsWifiEnabled),
|
|
2422
2422
|
};
|
|
2423
2423
|
};
|
|
2424
2424
|
const deserializeMetadata = (output) => {
|