@aws-sdk/client-transfer 3.53.0 → 3.55.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 +27 -0
- package/dist-cjs/TransferClient.js +13 -13
- package/dist-cjs/commands/CreateAccessCommand.js +3 -3
- package/dist-cjs/commands/CreateServerCommand.js +3 -3
- package/dist-cjs/commands/CreateUserCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkflowCommand.js +3 -3
- package/dist-cjs/commands/DeleteAccessCommand.js +3 -3
- package/dist-cjs/commands/DeleteServerCommand.js +3 -3
- package/dist-cjs/commands/DeleteSshPublicKeyCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkflowCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccessCommand.js +3 -3
- package/dist-cjs/commands/DescribeExecutionCommand.js +3 -3
- package/dist-cjs/commands/DescribeSecurityPolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeServerCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkflowCommand.js +3 -3
- package/dist-cjs/commands/ImportSshPublicKeyCommand.js +3 -3
- package/dist-cjs/commands/ListAccessesCommand.js +3 -3
- package/dist-cjs/commands/ListExecutionsCommand.js +3 -3
- package/dist-cjs/commands/ListSecurityPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListServersCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListUsersCommand.js +3 -3
- package/dist-cjs/commands/ListWorkflowsCommand.js +3 -3
- package/dist-cjs/commands/SendWorkflowStepStateCommand.js +3 -3
- package/dist-cjs/commands/StartServerCommand.js +3 -3
- package/dist-cjs/commands/StopServerCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestIdentityProviderCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAccessCommand.js +3 -3
- package/dist-cjs/commands/UpdateServerCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/models_0.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +198 -198
- 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-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForServerOffline.js +45 -0
- package/dist-cjs/waiters/waitForServerOnline.js +45 -0
- package/dist-es/Transfer.js +32 -32
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/pagination/ListAccessesPaginator.js +4 -4
- package/dist-es/pagination/ListExecutionsPaginator.js +4 -4
- package/dist-es/pagination/ListSecurityPoliciesPaginator.js +4 -4
- package/dist-es/pagination/ListServersPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-es/pagination/ListUsersPaginator.js +4 -4
- package/dist-es/pagination/ListWorkflowsPaginator.js +4 -4
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForServerOffline.js +60 -0
- package/dist-es/waiters/waitForServerOnline.js +60 -0
- package/dist-types/TransferClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +96 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/TransferClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForServerOffline.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForServerOnline.d.ts +7 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForServerOffline.d.ts +14 -0
- package/dist-types/waiters/waitForServerOnline.d.ts +14 -0
- package/package.json +35 -34
|
@@ -371,7 +371,7 @@ const deserializeAws_json1_1CreateAccessCommandError = async (output, context) =
|
|
|
371
371
|
$fault: "client",
|
|
372
372
|
$metadata: deserializeMetadata(output),
|
|
373
373
|
});
|
|
374
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
374
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
375
375
|
}
|
|
376
376
|
};
|
|
377
377
|
const deserializeAws_json1_1CreateServerCommand = async (output, context) => {
|
|
@@ -425,7 +425,7 @@ const deserializeAws_json1_1CreateServerCommandError = async (output, context) =
|
|
|
425
425
|
$fault: "client",
|
|
426
426
|
$metadata: deserializeMetadata(output),
|
|
427
427
|
});
|
|
428
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
428
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
429
429
|
}
|
|
430
430
|
};
|
|
431
431
|
const deserializeAws_json1_1CreateUserCommand = async (output, context) => {
|
|
@@ -473,7 +473,7 @@ const deserializeAws_json1_1CreateUserCommandError = async (output, context) =>
|
|
|
473
473
|
$fault: "client",
|
|
474
474
|
$metadata: deserializeMetadata(output),
|
|
475
475
|
});
|
|
476
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
476
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
479
|
const deserializeAws_json1_1CreateWorkflowCommand = async (output, context) => {
|
|
@@ -524,7 +524,7 @@ const deserializeAws_json1_1CreateWorkflowCommandError = async (output, context)
|
|
|
524
524
|
$fault: "client",
|
|
525
525
|
$metadata: deserializeMetadata(output),
|
|
526
526
|
});
|
|
527
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
527
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
530
|
const deserializeAws_json1_1DeleteAccessCommand = async (output, context) => {
|
|
@@ -566,7 +566,7 @@ const deserializeAws_json1_1DeleteAccessCommandError = async (output, context) =
|
|
|
566
566
|
$fault: "client",
|
|
567
567
|
$metadata: deserializeMetadata(output),
|
|
568
568
|
});
|
|
569
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
569
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
570
570
|
}
|
|
571
571
|
};
|
|
572
572
|
const deserializeAws_json1_1DeleteServerCommand = async (output, context) => {
|
|
@@ -611,7 +611,7 @@ const deserializeAws_json1_1DeleteServerCommandError = async (output, context) =
|
|
|
611
611
|
$fault: "client",
|
|
612
612
|
$metadata: deserializeMetadata(output),
|
|
613
613
|
});
|
|
614
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
614
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
615
615
|
}
|
|
616
616
|
};
|
|
617
617
|
const deserializeAws_json1_1DeleteSshPublicKeyCommand = async (output, context) => {
|
|
@@ -656,7 +656,7 @@ const deserializeAws_json1_1DeleteSshPublicKeyCommandError = async (output, cont
|
|
|
656
656
|
$fault: "client",
|
|
657
657
|
$metadata: deserializeMetadata(output),
|
|
658
658
|
});
|
|
659
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
659
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
662
|
const deserializeAws_json1_1DeleteUserCommand = async (output, context) => {
|
|
@@ -698,7 +698,7 @@ const deserializeAws_json1_1DeleteUserCommandError = async (output, context) =>
|
|
|
698
698
|
$fault: "client",
|
|
699
699
|
$metadata: deserializeMetadata(output),
|
|
700
700
|
});
|
|
701
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
701
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
702
702
|
}
|
|
703
703
|
};
|
|
704
704
|
const deserializeAws_json1_1DeleteWorkflowCommand = async (output, context) => {
|
|
@@ -743,7 +743,7 @@ const deserializeAws_json1_1DeleteWorkflowCommandError = async (output, context)
|
|
|
743
743
|
$fault: "client",
|
|
744
744
|
$metadata: deserializeMetadata(output),
|
|
745
745
|
});
|
|
746
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
746
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
747
747
|
}
|
|
748
748
|
};
|
|
749
749
|
const deserializeAws_json1_1DescribeAccessCommand = async (output, context) => {
|
|
@@ -788,7 +788,7 @@ const deserializeAws_json1_1DescribeAccessCommandError = async (output, context)
|
|
|
788
788
|
$fault: "client",
|
|
789
789
|
$metadata: deserializeMetadata(output),
|
|
790
790
|
});
|
|
791
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
791
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
794
|
const deserializeAws_json1_1DescribeExecutionCommand = async (output, context) => {
|
|
@@ -833,7 +833,7 @@ const deserializeAws_json1_1DescribeExecutionCommandError = async (output, conte
|
|
|
833
833
|
$fault: "client",
|
|
834
834
|
$metadata: deserializeMetadata(output),
|
|
835
835
|
});
|
|
836
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
836
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
837
837
|
}
|
|
838
838
|
};
|
|
839
839
|
const deserializeAws_json1_1DescribeSecurityPolicyCommand = async (output, context) => {
|
|
@@ -878,7 +878,7 @@ const deserializeAws_json1_1DescribeSecurityPolicyCommandError = async (output,
|
|
|
878
878
|
$fault: "client",
|
|
879
879
|
$metadata: deserializeMetadata(output),
|
|
880
880
|
});
|
|
881
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
881
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
882
882
|
}
|
|
883
883
|
};
|
|
884
884
|
const deserializeAws_json1_1DescribeServerCommand = async (output, context) => {
|
|
@@ -923,7 +923,7 @@ const deserializeAws_json1_1DescribeServerCommandError = async (output, context)
|
|
|
923
923
|
$fault: "client",
|
|
924
924
|
$metadata: deserializeMetadata(output),
|
|
925
925
|
});
|
|
926
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
926
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
927
927
|
}
|
|
928
928
|
};
|
|
929
929
|
const deserializeAws_json1_1DescribeUserCommand = async (output, context) => {
|
|
@@ -968,7 +968,7 @@ const deserializeAws_json1_1DescribeUserCommandError = async (output, context) =
|
|
|
968
968
|
$fault: "client",
|
|
969
969
|
$metadata: deserializeMetadata(output),
|
|
970
970
|
});
|
|
971
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
971
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
972
972
|
}
|
|
973
973
|
};
|
|
974
974
|
const deserializeAws_json1_1DescribeWorkflowCommand = async (output, context) => {
|
|
@@ -1013,7 +1013,7 @@ const deserializeAws_json1_1DescribeWorkflowCommandError = async (output, contex
|
|
|
1013
1013
|
$fault: "client",
|
|
1014
1014
|
$metadata: deserializeMetadata(output),
|
|
1015
1015
|
});
|
|
1016
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1016
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1017
1017
|
}
|
|
1018
1018
|
};
|
|
1019
1019
|
const deserializeAws_json1_1ImportSshPublicKeyCommand = async (output, context) => {
|
|
@@ -1064,7 +1064,7 @@ const deserializeAws_json1_1ImportSshPublicKeyCommandError = async (output, cont
|
|
|
1064
1064
|
$fault: "client",
|
|
1065
1065
|
$metadata: deserializeMetadata(output),
|
|
1066
1066
|
});
|
|
1067
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1067
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1068
1068
|
}
|
|
1069
1069
|
};
|
|
1070
1070
|
const deserializeAws_json1_1ListAccessesCommand = async (output, context) => {
|
|
@@ -1112,7 +1112,7 @@ const deserializeAws_json1_1ListAccessesCommandError = async (output, context) =
|
|
|
1112
1112
|
$fault: "client",
|
|
1113
1113
|
$metadata: deserializeMetadata(output),
|
|
1114
1114
|
});
|
|
1115
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1115
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1116
1116
|
}
|
|
1117
1117
|
};
|
|
1118
1118
|
const deserializeAws_json1_1ListExecutionsCommand = async (output, context) => {
|
|
@@ -1160,7 +1160,7 @@ const deserializeAws_json1_1ListExecutionsCommandError = async (output, context)
|
|
|
1160
1160
|
$fault: "client",
|
|
1161
1161
|
$metadata: deserializeMetadata(output),
|
|
1162
1162
|
});
|
|
1163
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1163
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|
|
1166
1166
|
const deserializeAws_json1_1ListSecurityPoliciesCommand = async (output, context) => {
|
|
@@ -1205,7 +1205,7 @@ const deserializeAws_json1_1ListSecurityPoliciesCommandError = async (output, co
|
|
|
1205
1205
|
$fault: "client",
|
|
1206
1206
|
$metadata: deserializeMetadata(output),
|
|
1207
1207
|
});
|
|
1208
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1208
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1209
1209
|
}
|
|
1210
1210
|
};
|
|
1211
1211
|
const deserializeAws_json1_1ListServersCommand = async (output, context) => {
|
|
@@ -1250,7 +1250,7 @@ const deserializeAws_json1_1ListServersCommandError = async (output, context) =>
|
|
|
1250
1250
|
$fault: "client",
|
|
1251
1251
|
$metadata: deserializeMetadata(output),
|
|
1252
1252
|
});
|
|
1253
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1253
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1254
1254
|
}
|
|
1255
1255
|
};
|
|
1256
1256
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1295,7 +1295,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1295
1295
|
$fault: "client",
|
|
1296
1296
|
$metadata: deserializeMetadata(output),
|
|
1297
1297
|
});
|
|
1298
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1298
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
1301
|
const deserializeAws_json1_1ListUsersCommand = async (output, context) => {
|
|
@@ -1343,7 +1343,7 @@ const deserializeAws_json1_1ListUsersCommandError = async (output, context) => {
|
|
|
1343
1343
|
$fault: "client",
|
|
1344
1344
|
$metadata: deserializeMetadata(output),
|
|
1345
1345
|
});
|
|
1346
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1346
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1347
1347
|
}
|
|
1348
1348
|
};
|
|
1349
1349
|
const deserializeAws_json1_1ListWorkflowsCommand = async (output, context) => {
|
|
@@ -1388,7 +1388,7 @@ const deserializeAws_json1_1ListWorkflowsCommandError = async (output, context)
|
|
|
1388
1388
|
$fault: "client",
|
|
1389
1389
|
$metadata: deserializeMetadata(output),
|
|
1390
1390
|
});
|
|
1391
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1391
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1392
1392
|
}
|
|
1393
1393
|
};
|
|
1394
1394
|
const deserializeAws_json1_1SendWorkflowStepStateCommand = async (output, context) => {
|
|
@@ -1439,7 +1439,7 @@ const deserializeAws_json1_1SendWorkflowStepStateCommandError = async (output, c
|
|
|
1439
1439
|
$fault: "client",
|
|
1440
1440
|
$metadata: deserializeMetadata(output),
|
|
1441
1441
|
});
|
|
1442
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1442
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1443
1443
|
}
|
|
1444
1444
|
};
|
|
1445
1445
|
const deserializeAws_json1_1StartServerCommand = async (output, context) => {
|
|
@@ -1484,7 +1484,7 @@ const deserializeAws_json1_1StartServerCommandError = async (output, context) =>
|
|
|
1484
1484
|
$fault: "client",
|
|
1485
1485
|
$metadata: deserializeMetadata(output),
|
|
1486
1486
|
});
|
|
1487
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1487
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1488
1488
|
}
|
|
1489
1489
|
};
|
|
1490
1490
|
const deserializeAws_json1_1StopServerCommand = async (output, context) => {
|
|
@@ -1529,7 +1529,7 @@ const deserializeAws_json1_1StopServerCommandError = async (output, context) =>
|
|
|
1529
1529
|
$fault: "client",
|
|
1530
1530
|
$metadata: deserializeMetadata(output),
|
|
1531
1531
|
});
|
|
1532
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1532
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1533
1533
|
}
|
|
1534
1534
|
};
|
|
1535
1535
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1571,7 +1571,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1571
1571
|
$fault: "client",
|
|
1572
1572
|
$metadata: deserializeMetadata(output),
|
|
1573
1573
|
});
|
|
1574
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1574
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
1577
|
const deserializeAws_json1_1TestIdentityProviderCommand = async (output, context) => {
|
|
@@ -1616,7 +1616,7 @@ const deserializeAws_json1_1TestIdentityProviderCommandError = async (output, co
|
|
|
1616
1616
|
$fault: "client",
|
|
1617
1617
|
$metadata: deserializeMetadata(output),
|
|
1618
1618
|
});
|
|
1619
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1619
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1620
1620
|
}
|
|
1621
1621
|
};
|
|
1622
1622
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1658,7 +1658,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1658
1658
|
$fault: "client",
|
|
1659
1659
|
$metadata: deserializeMetadata(output),
|
|
1660
1660
|
});
|
|
1661
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1661
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1662
1662
|
}
|
|
1663
1663
|
};
|
|
1664
1664
|
const deserializeAws_json1_1UpdateAccessCommand = async (output, context) => {
|
|
@@ -1706,7 +1706,7 @@ const deserializeAws_json1_1UpdateAccessCommandError = async (output, context) =
|
|
|
1706
1706
|
$fault: "client",
|
|
1707
1707
|
$metadata: deserializeMetadata(output),
|
|
1708
1708
|
});
|
|
1709
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1709
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1710
1710
|
}
|
|
1711
1711
|
};
|
|
1712
1712
|
const deserializeAws_json1_1UpdateServerCommand = async (output, context) => {
|
|
@@ -1763,7 +1763,7 @@ const deserializeAws_json1_1UpdateServerCommandError = async (output, context) =
|
|
|
1763
1763
|
$fault: "client",
|
|
1764
1764
|
$metadata: deserializeMetadata(output),
|
|
1765
1765
|
});
|
|
1766
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1766
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1767
1767
|
}
|
|
1768
1768
|
};
|
|
1769
1769
|
const deserializeAws_json1_1UpdateUserCommand = async (output, context) => {
|
|
@@ -1811,7 +1811,7 @@ const deserializeAws_json1_1UpdateUserCommandError = async (output, context) =>
|
|
|
1811
1811
|
$fault: "client",
|
|
1812
1812
|
$metadata: deserializeMetadata(output),
|
|
1813
1813
|
});
|
|
1814
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1814
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1815
1815
|
}
|
|
1816
1816
|
};
|
|
1817
1817
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1821,7 +1821,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
1821
1821
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1822
1822
|
...deserialized,
|
|
1823
1823
|
});
|
|
1824
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1824
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1825
1825
|
};
|
|
1826
1826
|
const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1827
1827
|
const body = parsedOutput.body;
|
|
@@ -1830,7 +1830,7 @@ const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, con
|
|
|
1830
1830
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1831
1831
|
...deserialized,
|
|
1832
1832
|
});
|
|
1833
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1833
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1834
1834
|
};
|
|
1835
1835
|
const deserializeAws_json1_1InternalServiceErrorResponse = async (parsedOutput, context) => {
|
|
1836
1836
|
const body = parsedOutput.body;
|
|
@@ -1839,7 +1839,7 @@ const deserializeAws_json1_1InternalServiceErrorResponse = async (parsedOutput,
|
|
|
1839
1839
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1840
1840
|
...deserialized,
|
|
1841
1841
|
});
|
|
1842
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1842
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1843
1843
|
};
|
|
1844
1844
|
const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
1845
1845
|
const body = parsedOutput.body;
|
|
@@ -1848,7 +1848,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
|
|
|
1848
1848
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1849
1849
|
...deserialized,
|
|
1850
1850
|
});
|
|
1851
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1851
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1852
1852
|
};
|
|
1853
1853
|
const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
1854
1854
|
const body = parsedOutput.body;
|
|
@@ -1857,7 +1857,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
|
|
|
1857
1857
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1858
1858
|
...deserialized,
|
|
1859
1859
|
});
|
|
1860
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1860
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1861
1861
|
};
|
|
1862
1862
|
const deserializeAws_json1_1ResourceExistsExceptionResponse = async (parsedOutput, context) => {
|
|
1863
1863
|
const body = parsedOutput.body;
|
|
@@ -1866,7 +1866,7 @@ const deserializeAws_json1_1ResourceExistsExceptionResponse = async (parsedOutpu
|
|
|
1866
1866
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1867
1867
|
...deserialized,
|
|
1868
1868
|
});
|
|
1869
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1869
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1870
1870
|
};
|
|
1871
1871
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1872
1872
|
const body = parsedOutput.body;
|
|
@@ -1875,7 +1875,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
1875
1875
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1876
1876
|
...deserialized,
|
|
1877
1877
|
});
|
|
1878
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1878
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1879
1879
|
};
|
|
1880
1880
|
const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
1881
1881
|
const body = parsedOutput.body;
|
|
@@ -1884,7 +1884,7 @@ const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedO
|
|
|
1884
1884
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1885
1885
|
...deserialized,
|
|
1886
1886
|
});
|
|
1887
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1887
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1888
1888
|
};
|
|
1889
1889
|
const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1890
1890
|
const body = parsedOutput.body;
|
|
@@ -1893,7 +1893,7 @@ const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
1893
1893
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1894
1894
|
...deserialized,
|
|
1895
1895
|
});
|
|
1896
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1896
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1897
1897
|
};
|
|
1898
1898
|
const serializeAws_json1_1AddressAllocationIds = (input, context) => {
|
|
1899
1899
|
return input
|
|
@@ -2481,7 +2481,7 @@ const serializeAws_json1_1WorkflowSteps = (input, context) => {
|
|
|
2481
2481
|
};
|
|
2482
2482
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
2483
2483
|
return {
|
|
2484
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2484
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2485
2485
|
};
|
|
2486
2486
|
};
|
|
2487
2487
|
const deserializeAws_json1_1AddressAllocationIds = (output, context) => {
|
|
@@ -2491,13 +2491,13 @@ const deserializeAws_json1_1AddressAllocationIds = (output, context) => {
|
|
|
2491
2491
|
if (entry === null) {
|
|
2492
2492
|
return null;
|
|
2493
2493
|
}
|
|
2494
|
-
return smithy_client_1.expectString(entry);
|
|
2494
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2495
2495
|
});
|
|
2496
2496
|
return retVal;
|
|
2497
2497
|
};
|
|
2498
2498
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
2499
2499
|
return {
|
|
2500
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2500
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2501
2501
|
};
|
|
2502
2502
|
};
|
|
2503
2503
|
const deserializeAws_json1_1CopyStepDetails = (output, context) => {
|
|
@@ -2505,45 +2505,45 @@ const deserializeAws_json1_1CopyStepDetails = (output, context) => {
|
|
|
2505
2505
|
DestinationFileLocation: output.DestinationFileLocation !== undefined && output.DestinationFileLocation !== null
|
|
2506
2506
|
? deserializeAws_json1_1InputFileLocation(output.DestinationFileLocation, context)
|
|
2507
2507
|
: undefined,
|
|
2508
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2509
|
-
OverwriteExisting: smithy_client_1.expectString(output.OverwriteExisting),
|
|
2510
|
-
SourceFileLocation: smithy_client_1.expectString(output.SourceFileLocation),
|
|
2508
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2509
|
+
OverwriteExisting: (0, smithy_client_1.expectString)(output.OverwriteExisting),
|
|
2510
|
+
SourceFileLocation: (0, smithy_client_1.expectString)(output.SourceFileLocation),
|
|
2511
2511
|
};
|
|
2512
2512
|
};
|
|
2513
2513
|
const deserializeAws_json1_1CreateAccessResponse = (output, context) => {
|
|
2514
2514
|
return {
|
|
2515
|
-
ExternalId: smithy_client_1.expectString(output.ExternalId),
|
|
2516
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2515
|
+
ExternalId: (0, smithy_client_1.expectString)(output.ExternalId),
|
|
2516
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2517
2517
|
};
|
|
2518
2518
|
};
|
|
2519
2519
|
const deserializeAws_json1_1CreateServerResponse = (output, context) => {
|
|
2520
2520
|
return {
|
|
2521
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2521
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2522
2522
|
};
|
|
2523
2523
|
};
|
|
2524
2524
|
const deserializeAws_json1_1CreateUserResponse = (output, context) => {
|
|
2525
2525
|
return {
|
|
2526
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2527
|
-
UserName: smithy_client_1.expectString(output.UserName),
|
|
2526
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2527
|
+
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
2528
2528
|
};
|
|
2529
2529
|
};
|
|
2530
2530
|
const deserializeAws_json1_1CreateWorkflowResponse = (output, context) => {
|
|
2531
2531
|
return {
|
|
2532
|
-
WorkflowId: smithy_client_1.expectString(output.WorkflowId),
|
|
2532
|
+
WorkflowId: (0, smithy_client_1.expectString)(output.WorkflowId),
|
|
2533
2533
|
};
|
|
2534
2534
|
};
|
|
2535
2535
|
const deserializeAws_json1_1CustomStepDetails = (output, context) => {
|
|
2536
2536
|
return {
|
|
2537
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2538
|
-
SourceFileLocation: smithy_client_1.expectString(output.SourceFileLocation),
|
|
2539
|
-
Target: smithy_client_1.expectString(output.Target),
|
|
2540
|
-
TimeoutSeconds: smithy_client_1.expectInt32(output.TimeoutSeconds),
|
|
2537
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2538
|
+
SourceFileLocation: (0, smithy_client_1.expectString)(output.SourceFileLocation),
|
|
2539
|
+
Target: (0, smithy_client_1.expectString)(output.Target),
|
|
2540
|
+
TimeoutSeconds: (0, smithy_client_1.expectInt32)(output.TimeoutSeconds),
|
|
2541
2541
|
};
|
|
2542
2542
|
};
|
|
2543
2543
|
const deserializeAws_json1_1DeleteStepDetails = (output, context) => {
|
|
2544
2544
|
return {
|
|
2545
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2546
|
-
SourceFileLocation: smithy_client_1.expectString(output.SourceFileLocation),
|
|
2545
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2546
|
+
SourceFileLocation: (0, smithy_client_1.expectString)(output.SourceFileLocation),
|
|
2547
2547
|
};
|
|
2548
2548
|
};
|
|
2549
2549
|
const deserializeAws_json1_1DescribeAccessResponse = (output, context) => {
|
|
@@ -2551,28 +2551,28 @@ const deserializeAws_json1_1DescribeAccessResponse = (output, context) => {
|
|
|
2551
2551
|
Access: output.Access !== undefined && output.Access !== null
|
|
2552
2552
|
? deserializeAws_json1_1DescribedAccess(output.Access, context)
|
|
2553
2553
|
: undefined,
|
|
2554
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2554
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2555
2555
|
};
|
|
2556
2556
|
};
|
|
2557
2557
|
const deserializeAws_json1_1DescribedAccess = (output, context) => {
|
|
2558
2558
|
return {
|
|
2559
|
-
ExternalId: smithy_client_1.expectString(output.ExternalId),
|
|
2560
|
-
HomeDirectory: smithy_client_1.expectString(output.HomeDirectory),
|
|
2559
|
+
ExternalId: (0, smithy_client_1.expectString)(output.ExternalId),
|
|
2560
|
+
HomeDirectory: (0, smithy_client_1.expectString)(output.HomeDirectory),
|
|
2561
2561
|
HomeDirectoryMappings: output.HomeDirectoryMappings !== undefined && output.HomeDirectoryMappings !== null
|
|
2562
2562
|
? deserializeAws_json1_1HomeDirectoryMappings(output.HomeDirectoryMappings, context)
|
|
2563
2563
|
: undefined,
|
|
2564
|
-
HomeDirectoryType: smithy_client_1.expectString(output.HomeDirectoryType),
|
|
2565
|
-
Policy: smithy_client_1.expectString(output.Policy),
|
|
2564
|
+
HomeDirectoryType: (0, smithy_client_1.expectString)(output.HomeDirectoryType),
|
|
2565
|
+
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
2566
2566
|
PosixProfile: output.PosixProfile !== undefined && output.PosixProfile !== null
|
|
2567
2567
|
? deserializeAws_json1_1PosixProfile(output.PosixProfile, context)
|
|
2568
2568
|
: undefined,
|
|
2569
|
-
Role: smithy_client_1.expectString(output.Role),
|
|
2569
|
+
Role: (0, smithy_client_1.expectString)(output.Role),
|
|
2570
2570
|
};
|
|
2571
2571
|
};
|
|
2572
2572
|
const deserializeAws_json1_1DescribedExecution = (output, context) => {
|
|
2573
2573
|
return {
|
|
2574
|
-
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
2575
|
-
ExecutionRole: smithy_client_1.expectString(output.ExecutionRole),
|
|
2574
|
+
ExecutionId: (0, smithy_client_1.expectString)(output.ExecutionId),
|
|
2575
|
+
ExecutionRole: (0, smithy_client_1.expectString)(output.ExecutionRole),
|
|
2576
2576
|
InitialFileLocation: output.InitialFileLocation !== undefined && output.InitialFileLocation !== null
|
|
2577
2577
|
? deserializeAws_json1_1FileLocation(output.InitialFileLocation, context)
|
|
2578
2578
|
: undefined,
|
|
@@ -2588,13 +2588,13 @@ const deserializeAws_json1_1DescribedExecution = (output, context) => {
|
|
|
2588
2588
|
ServiceMetadata: output.ServiceMetadata !== undefined && output.ServiceMetadata !== null
|
|
2589
2589
|
? deserializeAws_json1_1ServiceMetadata(output.ServiceMetadata, context)
|
|
2590
2590
|
: undefined,
|
|
2591
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2591
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2592
2592
|
};
|
|
2593
2593
|
};
|
|
2594
2594
|
const deserializeAws_json1_1DescribedSecurityPolicy = (output, context) => {
|
|
2595
2595
|
return {
|
|
2596
|
-
Fips: smithy_client_1.expectBoolean(output.Fips),
|
|
2597
|
-
SecurityPolicyName: smithy_client_1.expectString(output.SecurityPolicyName),
|
|
2596
|
+
Fips: (0, smithy_client_1.expectBoolean)(output.Fips),
|
|
2597
|
+
SecurityPolicyName: (0, smithy_client_1.expectString)(output.SecurityPolicyName),
|
|
2598
2598
|
SshCiphers: output.SshCiphers !== undefined && output.SshCiphers !== null
|
|
2599
2599
|
? deserializeAws_json1_1SecurityPolicyOptions(output.SshCiphers, context)
|
|
2600
2600
|
: undefined,
|
|
@@ -2611,32 +2611,32 @@ const deserializeAws_json1_1DescribedSecurityPolicy = (output, context) => {
|
|
|
2611
2611
|
};
|
|
2612
2612
|
const deserializeAws_json1_1DescribedServer = (output, context) => {
|
|
2613
2613
|
return {
|
|
2614
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2615
|
-
Certificate: smithy_client_1.expectString(output.Certificate),
|
|
2616
|
-
Domain: smithy_client_1.expectString(output.Domain),
|
|
2614
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2615
|
+
Certificate: (0, smithy_client_1.expectString)(output.Certificate),
|
|
2616
|
+
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
2617
2617
|
EndpointDetails: output.EndpointDetails !== undefined && output.EndpointDetails !== null
|
|
2618
2618
|
? deserializeAws_json1_1EndpointDetails(output.EndpointDetails, context)
|
|
2619
2619
|
: undefined,
|
|
2620
|
-
EndpointType: smithy_client_1.expectString(output.EndpointType),
|
|
2621
|
-
HostKeyFingerprint: smithy_client_1.expectString(output.HostKeyFingerprint),
|
|
2620
|
+
EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
|
|
2621
|
+
HostKeyFingerprint: (0, smithy_client_1.expectString)(output.HostKeyFingerprint),
|
|
2622
2622
|
IdentityProviderDetails: output.IdentityProviderDetails !== undefined && output.IdentityProviderDetails !== null
|
|
2623
2623
|
? deserializeAws_json1_1IdentityProviderDetails(output.IdentityProviderDetails, context)
|
|
2624
2624
|
: undefined,
|
|
2625
|
-
IdentityProviderType: smithy_client_1.expectString(output.IdentityProviderType),
|
|
2626
|
-
LoggingRole: smithy_client_1.expectString(output.LoggingRole),
|
|
2627
|
-
PostAuthenticationLoginBanner: smithy_client_1.expectString(output.PostAuthenticationLoginBanner),
|
|
2628
|
-
PreAuthenticationLoginBanner: smithy_client_1.expectString(output.PreAuthenticationLoginBanner),
|
|
2625
|
+
IdentityProviderType: (0, smithy_client_1.expectString)(output.IdentityProviderType),
|
|
2626
|
+
LoggingRole: (0, smithy_client_1.expectString)(output.LoggingRole),
|
|
2627
|
+
PostAuthenticationLoginBanner: (0, smithy_client_1.expectString)(output.PostAuthenticationLoginBanner),
|
|
2628
|
+
PreAuthenticationLoginBanner: (0, smithy_client_1.expectString)(output.PreAuthenticationLoginBanner),
|
|
2629
2629
|
ProtocolDetails: output.ProtocolDetails !== undefined && output.ProtocolDetails !== null
|
|
2630
2630
|
? deserializeAws_json1_1ProtocolDetails(output.ProtocolDetails, context)
|
|
2631
2631
|
: undefined,
|
|
2632
2632
|
Protocols: output.Protocols !== undefined && output.Protocols !== null
|
|
2633
2633
|
? deserializeAws_json1_1Protocols(output.Protocols, context)
|
|
2634
2634
|
: undefined,
|
|
2635
|
-
SecurityPolicyName: smithy_client_1.expectString(output.SecurityPolicyName),
|
|
2636
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2637
|
-
State: smithy_client_1.expectString(output.State),
|
|
2635
|
+
SecurityPolicyName: (0, smithy_client_1.expectString)(output.SecurityPolicyName),
|
|
2636
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2637
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
2638
2638
|
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
2639
|
-
UserCount: smithy_client_1.expectInt32(output.UserCount),
|
|
2639
|
+
UserCount: (0, smithy_client_1.expectInt32)(output.UserCount),
|
|
2640
2640
|
WorkflowDetails: output.WorkflowDetails !== undefined && output.WorkflowDetails !== null
|
|
2641
2641
|
? deserializeAws_json1_1WorkflowDetails(output.WorkflowDetails, context)
|
|
2642
2642
|
: undefined,
|
|
@@ -2644,28 +2644,28 @@ const deserializeAws_json1_1DescribedServer = (output, context) => {
|
|
|
2644
2644
|
};
|
|
2645
2645
|
const deserializeAws_json1_1DescribedUser = (output, context) => {
|
|
2646
2646
|
return {
|
|
2647
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2648
|
-
HomeDirectory: smithy_client_1.expectString(output.HomeDirectory),
|
|
2647
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2648
|
+
HomeDirectory: (0, smithy_client_1.expectString)(output.HomeDirectory),
|
|
2649
2649
|
HomeDirectoryMappings: output.HomeDirectoryMappings !== undefined && output.HomeDirectoryMappings !== null
|
|
2650
2650
|
? deserializeAws_json1_1HomeDirectoryMappings(output.HomeDirectoryMappings, context)
|
|
2651
2651
|
: undefined,
|
|
2652
|
-
HomeDirectoryType: smithy_client_1.expectString(output.HomeDirectoryType),
|
|
2653
|
-
Policy: smithy_client_1.expectString(output.Policy),
|
|
2652
|
+
HomeDirectoryType: (0, smithy_client_1.expectString)(output.HomeDirectoryType),
|
|
2653
|
+
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
2654
2654
|
PosixProfile: output.PosixProfile !== undefined && output.PosixProfile !== null
|
|
2655
2655
|
? deserializeAws_json1_1PosixProfile(output.PosixProfile, context)
|
|
2656
2656
|
: undefined,
|
|
2657
|
-
Role: smithy_client_1.expectString(output.Role),
|
|
2657
|
+
Role: (0, smithy_client_1.expectString)(output.Role),
|
|
2658
2658
|
SshPublicKeys: output.SshPublicKeys !== undefined && output.SshPublicKeys !== null
|
|
2659
2659
|
? deserializeAws_json1_1SshPublicKeys(output.SshPublicKeys, context)
|
|
2660
2660
|
: undefined,
|
|
2661
2661
|
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
2662
|
-
UserName: smithy_client_1.expectString(output.UserName),
|
|
2662
|
+
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
2663
2663
|
};
|
|
2664
2664
|
};
|
|
2665
2665
|
const deserializeAws_json1_1DescribedWorkflow = (output, context) => {
|
|
2666
2666
|
return {
|
|
2667
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2668
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2667
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2668
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2669
2669
|
OnExceptionSteps: output.OnExceptionSteps !== undefined && output.OnExceptionSteps !== null
|
|
2670
2670
|
? deserializeAws_json1_1WorkflowSteps(output.OnExceptionSteps, context)
|
|
2671
2671
|
: undefined,
|
|
@@ -2673,7 +2673,7 @@ const deserializeAws_json1_1DescribedWorkflow = (output, context) => {
|
|
|
2673
2673
|
? deserializeAws_json1_1WorkflowSteps(output.Steps, context)
|
|
2674
2674
|
: undefined,
|
|
2675
2675
|
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
2676
|
-
WorkflowId: smithy_client_1.expectString(output.WorkflowId),
|
|
2676
|
+
WorkflowId: (0, smithy_client_1.expectString)(output.WorkflowId),
|
|
2677
2677
|
};
|
|
2678
2678
|
};
|
|
2679
2679
|
const deserializeAws_json1_1DescribeExecutionResponse = (output, context) => {
|
|
@@ -2681,7 +2681,7 @@ const deserializeAws_json1_1DescribeExecutionResponse = (output, context) => {
|
|
|
2681
2681
|
Execution: output.Execution !== undefined && output.Execution !== null
|
|
2682
2682
|
? deserializeAws_json1_1DescribedExecution(output.Execution, context)
|
|
2683
2683
|
: undefined,
|
|
2684
|
-
WorkflowId: smithy_client_1.expectString(output.WorkflowId),
|
|
2684
|
+
WorkflowId: (0, smithy_client_1.expectString)(output.WorkflowId),
|
|
2685
2685
|
};
|
|
2686
2686
|
};
|
|
2687
2687
|
const deserializeAws_json1_1DescribeSecurityPolicyResponse = (output, context) => {
|
|
@@ -2700,7 +2700,7 @@ const deserializeAws_json1_1DescribeServerResponse = (output, context) => {
|
|
|
2700
2700
|
};
|
|
2701
2701
|
const deserializeAws_json1_1DescribeUserResponse = (output, context) => {
|
|
2702
2702
|
return {
|
|
2703
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2703
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2704
2704
|
User: output.User !== undefined && output.User !== null
|
|
2705
2705
|
? deserializeAws_json1_1DescribedUser(output.User, context)
|
|
2706
2706
|
: undefined,
|
|
@@ -2715,8 +2715,8 @@ const deserializeAws_json1_1DescribeWorkflowResponse = (output, context) => {
|
|
|
2715
2715
|
};
|
|
2716
2716
|
const deserializeAws_json1_1EfsFileLocation = (output, context) => {
|
|
2717
2717
|
return {
|
|
2718
|
-
FileSystemId: smithy_client_1.expectString(output.FileSystemId),
|
|
2719
|
-
Path: smithy_client_1.expectString(output.Path),
|
|
2718
|
+
FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
|
|
2719
|
+
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
2720
2720
|
};
|
|
2721
2721
|
};
|
|
2722
2722
|
const deserializeAws_json1_1EndpointDetails = (output, context) => {
|
|
@@ -2730,14 +2730,14 @@ const deserializeAws_json1_1EndpointDetails = (output, context) => {
|
|
|
2730
2730
|
SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
|
|
2731
2731
|
? deserializeAws_json1_1SubnetIds(output.SubnetIds, context)
|
|
2732
2732
|
: undefined,
|
|
2733
|
-
VpcEndpointId: smithy_client_1.expectString(output.VpcEndpointId),
|
|
2734
|
-
VpcId: smithy_client_1.expectString(output.VpcId),
|
|
2733
|
+
VpcEndpointId: (0, smithy_client_1.expectString)(output.VpcEndpointId),
|
|
2734
|
+
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2735
2735
|
};
|
|
2736
2736
|
};
|
|
2737
2737
|
const deserializeAws_json1_1ExecutionError = (output, context) => {
|
|
2738
2738
|
return {
|
|
2739
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2740
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2739
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2740
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2741
2741
|
};
|
|
2742
2742
|
};
|
|
2743
2743
|
const deserializeAws_json1_1ExecutionResults = (output, context) => {
|
|
@@ -2755,8 +2755,8 @@ const deserializeAws_json1_1ExecutionStepResult = (output, context) => {
|
|
|
2755
2755
|
Error: output.Error !== undefined && output.Error !== null
|
|
2756
2756
|
? deserializeAws_json1_1ExecutionError(output.Error, context)
|
|
2757
2757
|
: undefined,
|
|
2758
|
-
Outputs: smithy_client_1.expectString(output.Outputs),
|
|
2759
|
-
StepType: smithy_client_1.expectString(output.StepType),
|
|
2758
|
+
Outputs: (0, smithy_client_1.expectString)(output.Outputs),
|
|
2759
|
+
StepType: (0, smithy_client_1.expectString)(output.StepType),
|
|
2760
2760
|
};
|
|
2761
2761
|
};
|
|
2762
2762
|
const deserializeAws_json1_1ExecutionStepResults = (output, context) => {
|
|
@@ -2782,8 +2782,8 @@ const deserializeAws_json1_1FileLocation = (output, context) => {
|
|
|
2782
2782
|
};
|
|
2783
2783
|
const deserializeAws_json1_1HomeDirectoryMapEntry = (output, context) => {
|
|
2784
2784
|
return {
|
|
2785
|
-
Entry: smithy_client_1.expectString(output.Entry),
|
|
2786
|
-
Target: smithy_client_1.expectString(output.Target),
|
|
2785
|
+
Entry: (0, smithy_client_1.expectString)(output.Entry),
|
|
2786
|
+
Target: (0, smithy_client_1.expectString)(output.Target),
|
|
2787
2787
|
};
|
|
2788
2788
|
};
|
|
2789
2789
|
const deserializeAws_json1_1HomeDirectoryMappings = (output, context) => {
|
|
@@ -2799,17 +2799,17 @@ const deserializeAws_json1_1HomeDirectoryMappings = (output, context) => {
|
|
|
2799
2799
|
};
|
|
2800
2800
|
const deserializeAws_json1_1IdentityProviderDetails = (output, context) => {
|
|
2801
2801
|
return {
|
|
2802
|
-
DirectoryId: smithy_client_1.expectString(output.DirectoryId),
|
|
2803
|
-
Function: smithy_client_1.expectString(output.Function),
|
|
2804
|
-
InvocationRole: smithy_client_1.expectString(output.InvocationRole),
|
|
2805
|
-
Url: smithy_client_1.expectString(output.Url),
|
|
2802
|
+
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
2803
|
+
Function: (0, smithy_client_1.expectString)(output.Function),
|
|
2804
|
+
InvocationRole: (0, smithy_client_1.expectString)(output.InvocationRole),
|
|
2805
|
+
Url: (0, smithy_client_1.expectString)(output.Url),
|
|
2806
2806
|
};
|
|
2807
2807
|
};
|
|
2808
2808
|
const deserializeAws_json1_1ImportSshPublicKeyResponse = (output, context) => {
|
|
2809
2809
|
return {
|
|
2810
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2811
|
-
SshPublicKeyId: smithy_client_1.expectString(output.SshPublicKeyId),
|
|
2812
|
-
UserName: smithy_client_1.expectString(output.UserName),
|
|
2810
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2811
|
+
SshPublicKeyId: (0, smithy_client_1.expectString)(output.SshPublicKeyId),
|
|
2812
|
+
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
2813
2813
|
};
|
|
2814
2814
|
};
|
|
2815
2815
|
const deserializeAws_json1_1InputFileLocation = (output, context) => {
|
|
@@ -2824,17 +2824,17 @@ const deserializeAws_json1_1InputFileLocation = (output, context) => {
|
|
|
2824
2824
|
};
|
|
2825
2825
|
const deserializeAws_json1_1InternalServiceError = (output, context) => {
|
|
2826
2826
|
return {
|
|
2827
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2827
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2828
2828
|
};
|
|
2829
2829
|
};
|
|
2830
2830
|
const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
|
|
2831
2831
|
return {
|
|
2832
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2832
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2833
2833
|
};
|
|
2834
2834
|
};
|
|
2835
2835
|
const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
2836
2836
|
return {
|
|
2837
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2837
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2838
2838
|
};
|
|
2839
2839
|
};
|
|
2840
2840
|
const deserializeAws_json1_1ListAccessesResponse = (output, context) => {
|
|
@@ -2842,16 +2842,16 @@ const deserializeAws_json1_1ListAccessesResponse = (output, context) => {
|
|
|
2842
2842
|
Accesses: output.Accesses !== undefined && output.Accesses !== null
|
|
2843
2843
|
? deserializeAws_json1_1ListedAccesses(output.Accesses, context)
|
|
2844
2844
|
: undefined,
|
|
2845
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2846
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2845
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2846
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2847
2847
|
};
|
|
2848
2848
|
};
|
|
2849
2849
|
const deserializeAws_json1_1ListedAccess = (output, context) => {
|
|
2850
2850
|
return {
|
|
2851
|
-
ExternalId: smithy_client_1.expectString(output.ExternalId),
|
|
2852
|
-
HomeDirectory: smithy_client_1.expectString(output.HomeDirectory),
|
|
2853
|
-
HomeDirectoryType: smithy_client_1.expectString(output.HomeDirectoryType),
|
|
2854
|
-
Role: smithy_client_1.expectString(output.Role),
|
|
2851
|
+
ExternalId: (0, smithy_client_1.expectString)(output.ExternalId),
|
|
2852
|
+
HomeDirectory: (0, smithy_client_1.expectString)(output.HomeDirectory),
|
|
2853
|
+
HomeDirectoryType: (0, smithy_client_1.expectString)(output.HomeDirectoryType),
|
|
2854
|
+
Role: (0, smithy_client_1.expectString)(output.Role),
|
|
2855
2855
|
};
|
|
2856
2856
|
};
|
|
2857
2857
|
const deserializeAws_json1_1ListedAccesses = (output, context) => {
|
|
@@ -2867,14 +2867,14 @@ const deserializeAws_json1_1ListedAccesses = (output, context) => {
|
|
|
2867
2867
|
};
|
|
2868
2868
|
const deserializeAws_json1_1ListedExecution = (output, context) => {
|
|
2869
2869
|
return {
|
|
2870
|
-
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
2870
|
+
ExecutionId: (0, smithy_client_1.expectString)(output.ExecutionId),
|
|
2871
2871
|
InitialFileLocation: output.InitialFileLocation !== undefined && output.InitialFileLocation !== null
|
|
2872
2872
|
? deserializeAws_json1_1FileLocation(output.InitialFileLocation, context)
|
|
2873
2873
|
: undefined,
|
|
2874
2874
|
ServiceMetadata: output.ServiceMetadata !== undefined && output.ServiceMetadata !== null
|
|
2875
2875
|
? deserializeAws_json1_1ServiceMetadata(output.ServiceMetadata, context)
|
|
2876
2876
|
: undefined,
|
|
2877
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2877
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2878
2878
|
};
|
|
2879
2879
|
};
|
|
2880
2880
|
const deserializeAws_json1_1ListedExecutions = (output, context) => {
|
|
@@ -2890,14 +2890,14 @@ const deserializeAws_json1_1ListedExecutions = (output, context) => {
|
|
|
2890
2890
|
};
|
|
2891
2891
|
const deserializeAws_json1_1ListedServer = (output, context) => {
|
|
2892
2892
|
return {
|
|
2893
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2894
|
-
Domain: smithy_client_1.expectString(output.Domain),
|
|
2895
|
-
EndpointType: smithy_client_1.expectString(output.EndpointType),
|
|
2896
|
-
IdentityProviderType: smithy_client_1.expectString(output.IdentityProviderType),
|
|
2897
|
-
LoggingRole: smithy_client_1.expectString(output.LoggingRole),
|
|
2898
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2899
|
-
State: smithy_client_1.expectString(output.State),
|
|
2900
|
-
UserCount: smithy_client_1.expectInt32(output.UserCount),
|
|
2893
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2894
|
+
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
2895
|
+
EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
|
|
2896
|
+
IdentityProviderType: (0, smithy_client_1.expectString)(output.IdentityProviderType),
|
|
2897
|
+
LoggingRole: (0, smithy_client_1.expectString)(output.LoggingRole),
|
|
2898
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2899
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
2900
|
+
UserCount: (0, smithy_client_1.expectInt32)(output.UserCount),
|
|
2901
2901
|
};
|
|
2902
2902
|
};
|
|
2903
2903
|
const deserializeAws_json1_1ListedServers = (output, context) => {
|
|
@@ -2913,12 +2913,12 @@ const deserializeAws_json1_1ListedServers = (output, context) => {
|
|
|
2913
2913
|
};
|
|
2914
2914
|
const deserializeAws_json1_1ListedUser = (output, context) => {
|
|
2915
2915
|
return {
|
|
2916
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2917
|
-
HomeDirectory: smithy_client_1.expectString(output.HomeDirectory),
|
|
2918
|
-
HomeDirectoryType: smithy_client_1.expectString(output.HomeDirectoryType),
|
|
2919
|
-
Role: smithy_client_1.expectString(output.Role),
|
|
2920
|
-
SshPublicKeyCount: smithy_client_1.expectInt32(output.SshPublicKeyCount),
|
|
2921
|
-
UserName: smithy_client_1.expectString(output.UserName),
|
|
2916
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2917
|
+
HomeDirectory: (0, smithy_client_1.expectString)(output.HomeDirectory),
|
|
2918
|
+
HomeDirectoryType: (0, smithy_client_1.expectString)(output.HomeDirectoryType),
|
|
2919
|
+
Role: (0, smithy_client_1.expectString)(output.Role),
|
|
2920
|
+
SshPublicKeyCount: (0, smithy_client_1.expectInt32)(output.SshPublicKeyCount),
|
|
2921
|
+
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
2922
2922
|
};
|
|
2923
2923
|
};
|
|
2924
2924
|
const deserializeAws_json1_1ListedUsers = (output, context) => {
|
|
@@ -2934,9 +2934,9 @@ const deserializeAws_json1_1ListedUsers = (output, context) => {
|
|
|
2934
2934
|
};
|
|
2935
2935
|
const deserializeAws_json1_1ListedWorkflow = (output, context) => {
|
|
2936
2936
|
return {
|
|
2937
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2938
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2939
|
-
WorkflowId: smithy_client_1.expectString(output.WorkflowId),
|
|
2937
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2938
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2939
|
+
WorkflowId: (0, smithy_client_1.expectString)(output.WorkflowId),
|
|
2940
2940
|
};
|
|
2941
2941
|
};
|
|
2942
2942
|
const deserializeAws_json1_1ListedWorkflows = (output, context) => {
|
|
@@ -2955,13 +2955,13 @@ const deserializeAws_json1_1ListExecutionsResponse = (output, context) => {
|
|
|
2955
2955
|
Executions: output.Executions !== undefined && output.Executions !== null
|
|
2956
2956
|
? deserializeAws_json1_1ListedExecutions(output.Executions, context)
|
|
2957
2957
|
: undefined,
|
|
2958
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2959
|
-
WorkflowId: smithy_client_1.expectString(output.WorkflowId),
|
|
2958
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2959
|
+
WorkflowId: (0, smithy_client_1.expectString)(output.WorkflowId),
|
|
2960
2960
|
};
|
|
2961
2961
|
};
|
|
2962
2962
|
const deserializeAws_json1_1ListSecurityPoliciesResponse = (output, context) => {
|
|
2963
2963
|
return {
|
|
2964
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2964
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2965
2965
|
SecurityPolicyNames: output.SecurityPolicyNames !== undefined && output.SecurityPolicyNames !== null
|
|
2966
2966
|
? deserializeAws_json1_1SecurityPolicyNames(output.SecurityPolicyNames, context)
|
|
2967
2967
|
: undefined,
|
|
@@ -2969,7 +2969,7 @@ const deserializeAws_json1_1ListSecurityPoliciesResponse = (output, context) =>
|
|
|
2969
2969
|
};
|
|
2970
2970
|
const deserializeAws_json1_1ListServersResponse = (output, context) => {
|
|
2971
2971
|
return {
|
|
2972
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2972
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2973
2973
|
Servers: output.Servers !== undefined && output.Servers !== null
|
|
2974
2974
|
? deserializeAws_json1_1ListedServers(output.Servers, context)
|
|
2975
2975
|
: undefined,
|
|
@@ -2977,15 +2977,15 @@ const deserializeAws_json1_1ListServersResponse = (output, context) => {
|
|
|
2977
2977
|
};
|
|
2978
2978
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
2979
2979
|
return {
|
|
2980
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2981
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2980
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2981
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2982
2982
|
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
2983
2983
|
};
|
|
2984
2984
|
};
|
|
2985
2985
|
const deserializeAws_json1_1ListUsersResponse = (output, context) => {
|
|
2986
2986
|
return {
|
|
2987
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2988
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
2987
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2988
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
2989
2989
|
Users: output.Users !== undefined && output.Users !== null
|
|
2990
2990
|
? deserializeAws_json1_1ListedUsers(output.Users, context)
|
|
2991
2991
|
: undefined,
|
|
@@ -2993,7 +2993,7 @@ const deserializeAws_json1_1ListUsersResponse = (output, context) => {
|
|
|
2993
2993
|
};
|
|
2994
2994
|
const deserializeAws_json1_1ListWorkflowsResponse = (output, context) => {
|
|
2995
2995
|
return {
|
|
2996
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2996
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2997
2997
|
Workflows: output.Workflows !== undefined && output.Workflows !== null
|
|
2998
2998
|
? deserializeAws_json1_1ListedWorkflows(output.Workflows, context)
|
|
2999
2999
|
: undefined,
|
|
@@ -3001,8 +3001,8 @@ const deserializeAws_json1_1ListWorkflowsResponse = (output, context) => {
|
|
|
3001
3001
|
};
|
|
3002
3002
|
const deserializeAws_json1_1LoggingConfiguration = (output, context) => {
|
|
3003
3003
|
return {
|
|
3004
|
-
LogGroupName: smithy_client_1.expectString(output.LogGroupName),
|
|
3005
|
-
LoggingRole: smithy_client_1.expectString(output.LoggingRole),
|
|
3004
|
+
LogGroupName: (0, smithy_client_1.expectString)(output.LogGroupName),
|
|
3005
|
+
LoggingRole: (0, smithy_client_1.expectString)(output.LoggingRole),
|
|
3006
3006
|
};
|
|
3007
3007
|
};
|
|
3008
3008
|
const deserializeAws_json1_1OnUploadWorkflowDetails = (output, context) => {
|
|
@@ -3018,17 +3018,17 @@ const deserializeAws_json1_1OnUploadWorkflowDetails = (output, context) => {
|
|
|
3018
3018
|
};
|
|
3019
3019
|
const deserializeAws_json1_1PosixProfile = (output, context) => {
|
|
3020
3020
|
return {
|
|
3021
|
-
Gid: smithy_client_1.expectLong(output.Gid),
|
|
3021
|
+
Gid: (0, smithy_client_1.expectLong)(output.Gid),
|
|
3022
3022
|
SecondaryGids: output.SecondaryGids !== undefined && output.SecondaryGids !== null
|
|
3023
3023
|
? deserializeAws_json1_1SecondaryGids(output.SecondaryGids, context)
|
|
3024
3024
|
: undefined,
|
|
3025
|
-
Uid: smithy_client_1.expectLong(output.Uid),
|
|
3025
|
+
Uid: (0, smithy_client_1.expectLong)(output.Uid),
|
|
3026
3026
|
};
|
|
3027
3027
|
};
|
|
3028
3028
|
const deserializeAws_json1_1ProtocolDetails = (output, context) => {
|
|
3029
3029
|
return {
|
|
3030
|
-
PassiveIp: smithy_client_1.expectString(output.PassiveIp),
|
|
3031
|
-
TlsSessionResumptionMode: smithy_client_1.expectString(output.TlsSessionResumptionMode),
|
|
3030
|
+
PassiveIp: (0, smithy_client_1.expectString)(output.PassiveIp),
|
|
3031
|
+
TlsSessionResumptionMode: (0, smithy_client_1.expectString)(output.TlsSessionResumptionMode),
|
|
3032
3032
|
};
|
|
3033
3033
|
};
|
|
3034
3034
|
const deserializeAws_json1_1Protocols = (output, context) => {
|
|
@@ -3038,42 +3038,42 @@ const deserializeAws_json1_1Protocols = (output, context) => {
|
|
|
3038
3038
|
if (entry === null) {
|
|
3039
3039
|
return null;
|
|
3040
3040
|
}
|
|
3041
|
-
return smithy_client_1.expectString(entry);
|
|
3041
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3042
3042
|
});
|
|
3043
3043
|
return retVal;
|
|
3044
3044
|
};
|
|
3045
3045
|
const deserializeAws_json1_1ResourceExistsException = (output, context) => {
|
|
3046
3046
|
return {
|
|
3047
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3048
|
-
Resource: smithy_client_1.expectString(output.Resource),
|
|
3049
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
3047
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3048
|
+
Resource: (0, smithy_client_1.expectString)(output.Resource),
|
|
3049
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
3050
3050
|
};
|
|
3051
3051
|
};
|
|
3052
3052
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
3053
3053
|
return {
|
|
3054
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3055
|
-
Resource: smithy_client_1.expectString(output.Resource),
|
|
3056
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
3054
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3055
|
+
Resource: (0, smithy_client_1.expectString)(output.Resource),
|
|
3056
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
3057
3057
|
};
|
|
3058
3058
|
};
|
|
3059
3059
|
const deserializeAws_json1_1S3FileLocation = (output, context) => {
|
|
3060
3060
|
return {
|
|
3061
|
-
Bucket: smithy_client_1.expectString(output.Bucket),
|
|
3062
|
-
Etag: smithy_client_1.expectString(output.Etag),
|
|
3063
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3064
|
-
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
3061
|
+
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
3062
|
+
Etag: (0, smithy_client_1.expectString)(output.Etag),
|
|
3063
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3064
|
+
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
3065
3065
|
};
|
|
3066
3066
|
};
|
|
3067
3067
|
const deserializeAws_json1_1S3InputFileLocation = (output, context) => {
|
|
3068
3068
|
return {
|
|
3069
|
-
Bucket: smithy_client_1.expectString(output.Bucket),
|
|
3070
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3069
|
+
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
3070
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3071
3071
|
};
|
|
3072
3072
|
};
|
|
3073
3073
|
const deserializeAws_json1_1S3Tag = (output, context) => {
|
|
3074
3074
|
return {
|
|
3075
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3076
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
3075
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3076
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3077
3077
|
};
|
|
3078
3078
|
};
|
|
3079
3079
|
const deserializeAws_json1_1S3Tags = (output, context) => {
|
|
@@ -3094,7 +3094,7 @@ const deserializeAws_json1_1SecondaryGids = (output, context) => {
|
|
|
3094
3094
|
if (entry === null) {
|
|
3095
3095
|
return null;
|
|
3096
3096
|
}
|
|
3097
|
-
return smithy_client_1.expectLong(entry);
|
|
3097
|
+
return (0, smithy_client_1.expectLong)(entry);
|
|
3098
3098
|
});
|
|
3099
3099
|
return retVal;
|
|
3100
3100
|
};
|
|
@@ -3105,7 +3105,7 @@ const deserializeAws_json1_1SecurityGroupIds = (output, context) => {
|
|
|
3105
3105
|
if (entry === null) {
|
|
3106
3106
|
return null;
|
|
3107
3107
|
}
|
|
3108
|
-
return smithy_client_1.expectString(entry);
|
|
3108
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3109
3109
|
});
|
|
3110
3110
|
return retVal;
|
|
3111
3111
|
};
|
|
@@ -3116,7 +3116,7 @@ const deserializeAws_json1_1SecurityPolicyNames = (output, context) => {
|
|
|
3116
3116
|
if (entry === null) {
|
|
3117
3117
|
return null;
|
|
3118
3118
|
}
|
|
3119
|
-
return smithy_client_1.expectString(entry);
|
|
3119
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3120
3120
|
});
|
|
3121
3121
|
return retVal;
|
|
3122
3122
|
};
|
|
@@ -3127,7 +3127,7 @@ const deserializeAws_json1_1SecurityPolicyOptions = (output, context) => {
|
|
|
3127
3127
|
if (entry === null) {
|
|
3128
3128
|
return null;
|
|
3129
3129
|
}
|
|
3130
|
-
return smithy_client_1.expectString(entry);
|
|
3130
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3131
3131
|
});
|
|
3132
3132
|
return retVal;
|
|
3133
3133
|
};
|
|
@@ -3143,16 +3143,16 @@ const deserializeAws_json1_1ServiceMetadata = (output, context) => {
|
|
|
3143
3143
|
};
|
|
3144
3144
|
const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
|
|
3145
3145
|
return {
|
|
3146
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3146
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3147
3147
|
};
|
|
3148
3148
|
};
|
|
3149
3149
|
const deserializeAws_json1_1SshPublicKey = (output, context) => {
|
|
3150
3150
|
return {
|
|
3151
3151
|
DateImported: output.DateImported !== undefined && output.DateImported !== null
|
|
3152
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateImported)))
|
|
3152
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DateImported)))
|
|
3153
3153
|
: undefined,
|
|
3154
|
-
SshPublicKeyBody: smithy_client_1.expectString(output.SshPublicKeyBody),
|
|
3155
|
-
SshPublicKeyId: smithy_client_1.expectString(output.SshPublicKeyId),
|
|
3154
|
+
SshPublicKeyBody: (0, smithy_client_1.expectString)(output.SshPublicKeyBody),
|
|
3155
|
+
SshPublicKeyId: (0, smithy_client_1.expectString)(output.SshPublicKeyId),
|
|
3156
3156
|
};
|
|
3157
3157
|
};
|
|
3158
3158
|
const deserializeAws_json1_1SshPublicKeys = (output, context) => {
|
|
@@ -3173,14 +3173,14 @@ const deserializeAws_json1_1SubnetIds = (output, context) => {
|
|
|
3173
3173
|
if (entry === null) {
|
|
3174
3174
|
return null;
|
|
3175
3175
|
}
|
|
3176
|
-
return smithy_client_1.expectString(entry);
|
|
3176
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3177
3177
|
});
|
|
3178
3178
|
return retVal;
|
|
3179
3179
|
};
|
|
3180
3180
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
3181
3181
|
return {
|
|
3182
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3183
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
3182
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3183
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3184
3184
|
};
|
|
3185
3185
|
};
|
|
3186
3186
|
const deserializeAws_json1_1Tags = (output, context) => {
|
|
@@ -3196,8 +3196,8 @@ const deserializeAws_json1_1Tags = (output, context) => {
|
|
|
3196
3196
|
};
|
|
3197
3197
|
const deserializeAws_json1_1TagStepDetails = (output, context) => {
|
|
3198
3198
|
return {
|
|
3199
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3200
|
-
SourceFileLocation: smithy_client_1.expectString(output.SourceFileLocation),
|
|
3199
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3200
|
+
SourceFileLocation: (0, smithy_client_1.expectString)(output.SourceFileLocation),
|
|
3201
3201
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3202
3202
|
? deserializeAws_json1_1S3Tags(output.Tags, context)
|
|
3203
3203
|
: undefined,
|
|
@@ -3205,45 +3205,45 @@ const deserializeAws_json1_1TagStepDetails = (output, context) => {
|
|
|
3205
3205
|
};
|
|
3206
3206
|
const deserializeAws_json1_1TestIdentityProviderResponse = (output, context) => {
|
|
3207
3207
|
return {
|
|
3208
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3209
|
-
Response: smithy_client_1.expectString(output.Response),
|
|
3210
|
-
StatusCode: smithy_client_1.expectInt32(output.StatusCode),
|
|
3211
|
-
Url: smithy_client_1.expectString(output.Url),
|
|
3208
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3209
|
+
Response: (0, smithy_client_1.expectString)(output.Response),
|
|
3210
|
+
StatusCode: (0, smithy_client_1.expectInt32)(output.StatusCode),
|
|
3211
|
+
Url: (0, smithy_client_1.expectString)(output.Url),
|
|
3212
3212
|
};
|
|
3213
3213
|
};
|
|
3214
3214
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
3215
3215
|
return {
|
|
3216
|
-
RetryAfterSeconds: smithy_client_1.expectString(output.RetryAfterSeconds),
|
|
3216
|
+
RetryAfterSeconds: (0, smithy_client_1.expectString)(output.RetryAfterSeconds),
|
|
3217
3217
|
};
|
|
3218
3218
|
};
|
|
3219
3219
|
const deserializeAws_json1_1UpdateAccessResponse = (output, context) => {
|
|
3220
3220
|
return {
|
|
3221
|
-
ExternalId: smithy_client_1.expectString(output.ExternalId),
|
|
3222
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
3221
|
+
ExternalId: (0, smithy_client_1.expectString)(output.ExternalId),
|
|
3222
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
3223
3223
|
};
|
|
3224
3224
|
};
|
|
3225
3225
|
const deserializeAws_json1_1UpdateServerResponse = (output, context) => {
|
|
3226
3226
|
return {
|
|
3227
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
3227
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
3228
3228
|
};
|
|
3229
3229
|
};
|
|
3230
3230
|
const deserializeAws_json1_1UpdateUserResponse = (output, context) => {
|
|
3231
3231
|
return {
|
|
3232
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
3233
|
-
UserName: smithy_client_1.expectString(output.UserName),
|
|
3232
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
3233
|
+
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
3234
3234
|
};
|
|
3235
3235
|
};
|
|
3236
3236
|
const deserializeAws_json1_1UserDetails = (output, context) => {
|
|
3237
3237
|
return {
|
|
3238
|
-
ServerId: smithy_client_1.expectString(output.ServerId),
|
|
3239
|
-
SessionId: smithy_client_1.expectString(output.SessionId),
|
|
3240
|
-
UserName: smithy_client_1.expectString(output.UserName),
|
|
3238
|
+
ServerId: (0, smithy_client_1.expectString)(output.ServerId),
|
|
3239
|
+
SessionId: (0, smithy_client_1.expectString)(output.SessionId),
|
|
3240
|
+
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
3241
3241
|
};
|
|
3242
3242
|
};
|
|
3243
3243
|
const deserializeAws_json1_1WorkflowDetail = (output, context) => {
|
|
3244
3244
|
return {
|
|
3245
|
-
ExecutionRole: smithy_client_1.expectString(output.ExecutionRole),
|
|
3246
|
-
WorkflowId: smithy_client_1.expectString(output.WorkflowId),
|
|
3245
|
+
ExecutionRole: (0, smithy_client_1.expectString)(output.ExecutionRole),
|
|
3246
|
+
WorkflowId: (0, smithy_client_1.expectString)(output.WorkflowId),
|
|
3247
3247
|
};
|
|
3248
3248
|
};
|
|
3249
3249
|
const deserializeAws_json1_1WorkflowDetails = (output, context) => {
|
|
@@ -3267,7 +3267,7 @@ const deserializeAws_json1_1WorkflowStep = (output, context) => {
|
|
|
3267
3267
|
TagStepDetails: output.TagStepDetails !== undefined && output.TagStepDetails !== null
|
|
3268
3268
|
? deserializeAws_json1_1TagStepDetails(output.TagStepDetails, context)
|
|
3269
3269
|
: undefined,
|
|
3270
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3270
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3271
3271
|
};
|
|
3272
3272
|
};
|
|
3273
3273
|
const deserializeAws_json1_1WorkflowSteps = (output, context) => {
|