@aws-sdk/client-transfer 3.121.0 → 3.130.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/protocols/Aws_json1_1.js +230 -344
- package/dist-es/protocols/Aws_json1_1.js +135 -249
- package/package.json +27 -27
|
@@ -2563,120 +2563,91 @@ var serializeAws_json1_1AddressAllocationIds = function (input, context) {
|
|
|
2563
2563
|
});
|
|
2564
2564
|
};
|
|
2565
2565
|
var serializeAws_json1_1CopyStepDetails = function (input, context) {
|
|
2566
|
-
return __assign(__assign(__assign(__assign({}, (input.DestinationFileLocation
|
|
2567
|
-
input.DestinationFileLocation !== null && {
|
|
2566
|
+
return __assign(__assign(__assign(__assign({}, (input.DestinationFileLocation != null && {
|
|
2568
2567
|
DestinationFileLocation: serializeAws_json1_1InputFileLocation(input.DestinationFileLocation, context),
|
|
2569
|
-
})), (input.Name
|
|
2570
|
-
input.OverwriteExisting !== null && { OverwriteExisting: input.OverwriteExisting })), (input.SourceFileLocation !== undefined &&
|
|
2571
|
-
input.SourceFileLocation !== null && { SourceFileLocation: input.SourceFileLocation }));
|
|
2568
|
+
})), (input.Name != null && { Name: input.Name })), (input.OverwriteExisting != null && { OverwriteExisting: input.OverwriteExisting })), (input.SourceFileLocation != null && { SourceFileLocation: input.SourceFileLocation }));
|
|
2572
2569
|
};
|
|
2573
2570
|
var serializeAws_json1_1CreateAccessRequest = function (input, context) {
|
|
2574
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExternalId
|
|
2575
|
-
input.HomeDirectoryMappings !== null && {
|
|
2571
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExternalId != null && { ExternalId: input.ExternalId })), (input.HomeDirectory != null && { HomeDirectory: input.HomeDirectory })), (input.HomeDirectoryMappings != null && {
|
|
2576
2572
|
HomeDirectoryMappings: serializeAws_json1_1HomeDirectoryMappings(input.HomeDirectoryMappings, context),
|
|
2577
|
-
})), (input.HomeDirectoryType
|
|
2578
|
-
input.HomeDirectoryType !== null && { HomeDirectoryType: input.HomeDirectoryType })), (input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy })), (input.PosixProfile !== undefined &&
|
|
2579
|
-
input.PosixProfile !== null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.ServerId !== undefined && input.ServerId !== null && { ServerId: input.ServerId }));
|
|
2573
|
+
})), (input.HomeDirectoryType != null && { HomeDirectoryType: input.HomeDirectoryType })), (input.Policy != null && { Policy: input.Policy })), (input.PosixProfile != null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role != null && { Role: input.Role })), (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2580
2574
|
};
|
|
2581
2575
|
var serializeAws_json1_1CreateServerRequest = function (input, context) {
|
|
2582
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate
|
|
2583
|
-
input.EndpointDetails !== null && {
|
|
2576
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate != null && { Certificate: input.Certificate })), (input.Domain != null && { Domain: input.Domain })), (input.EndpointDetails != null && {
|
|
2584
2577
|
EndpointDetails: serializeAws_json1_1EndpointDetails(input.EndpointDetails, context),
|
|
2585
|
-
})), (input.EndpointType
|
|
2586
|
-
input.IdentityProviderDetails !== null && {
|
|
2578
|
+
})), (input.EndpointType != null && { EndpointType: input.EndpointType })), (input.HostKey != null && { HostKey: input.HostKey })), (input.IdentityProviderDetails != null && {
|
|
2587
2579
|
IdentityProviderDetails: serializeAws_json1_1IdentityProviderDetails(input.IdentityProviderDetails, context),
|
|
2588
|
-
})), (input.IdentityProviderType
|
|
2589
|
-
input.IdentityProviderType !== null && { IdentityProviderType: input.IdentityProviderType })), (input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole })), (input.PostAuthenticationLoginBanner !== undefined &&
|
|
2590
|
-
input.PostAuthenticationLoginBanner !== null && {
|
|
2580
|
+
})), (input.IdentityProviderType != null && { IdentityProviderType: input.IdentityProviderType })), (input.LoggingRole != null && { LoggingRole: input.LoggingRole })), (input.PostAuthenticationLoginBanner != null && {
|
|
2591
2581
|
PostAuthenticationLoginBanner: input.PostAuthenticationLoginBanner,
|
|
2592
|
-
})), (input.PreAuthenticationLoginBanner
|
|
2593
|
-
input.PreAuthenticationLoginBanner !== null && {
|
|
2582
|
+
})), (input.PreAuthenticationLoginBanner != null && {
|
|
2594
2583
|
PreAuthenticationLoginBanner: input.PreAuthenticationLoginBanner,
|
|
2595
|
-
})), (input.ProtocolDetails
|
|
2596
|
-
input.ProtocolDetails !== null && {
|
|
2584
|
+
})), (input.ProtocolDetails != null && {
|
|
2597
2585
|
ProtocolDetails: serializeAws_json1_1ProtocolDetails(input.ProtocolDetails, context),
|
|
2598
|
-
})), (input.Protocols
|
|
2599
|
-
input.Protocols !== null && { Protocols: serializeAws_json1_1Protocols(input.Protocols, context) })), (input.SecurityPolicyName !== undefined &&
|
|
2600
|
-
input.SecurityPolicyName !== null && { SecurityPolicyName: input.SecurityPolicyName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WorkflowDetails !== undefined &&
|
|
2601
|
-
input.WorkflowDetails !== null && {
|
|
2586
|
+
})), (input.Protocols != null && { Protocols: serializeAws_json1_1Protocols(input.Protocols, context) })), (input.SecurityPolicyName != null && { SecurityPolicyName: input.SecurityPolicyName })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WorkflowDetails != null && {
|
|
2602
2587
|
WorkflowDetails: serializeAws_json1_1WorkflowDetails(input.WorkflowDetails, context),
|
|
2603
2588
|
}));
|
|
2604
2589
|
};
|
|
2605
2590
|
var serializeAws_json1_1CreateUserRequest = function (input, context) {
|
|
2606
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.HomeDirectory
|
|
2607
|
-
input.HomeDirectoryMappings !== null && {
|
|
2591
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.HomeDirectory != null && { HomeDirectory: input.HomeDirectory })), (input.HomeDirectoryMappings != null && {
|
|
2608
2592
|
HomeDirectoryMappings: serializeAws_json1_1HomeDirectoryMappings(input.HomeDirectoryMappings, context),
|
|
2609
|
-
})), (input.HomeDirectoryType
|
|
2610
|
-
input.HomeDirectoryType !== null && { HomeDirectoryType: input.HomeDirectoryType })), (input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy })), (input.PosixProfile !== undefined &&
|
|
2611
|
-
input.PosixProfile !== null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.ServerId !== undefined && input.ServerId !== null && { ServerId: input.ServerId })), (input.SshPublicKeyBody !== undefined &&
|
|
2612
|
-
input.SshPublicKeyBody !== null && { SshPublicKeyBody: input.SshPublicKeyBody })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
2593
|
+
})), (input.HomeDirectoryType != null && { HomeDirectoryType: input.HomeDirectoryType })), (input.Policy != null && { Policy: input.Policy })), (input.PosixProfile != null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role != null && { Role: input.Role })), (input.ServerId != null && { ServerId: input.ServerId })), (input.SshPublicKeyBody != null && { SshPublicKeyBody: input.SshPublicKeyBody })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.UserName != null && { UserName: input.UserName }));
|
|
2613
2594
|
};
|
|
2614
2595
|
var serializeAws_json1_1CreateWorkflowRequest = function (input, context) {
|
|
2615
|
-
return __assign(__assign(__assign(__assign({}, (input.Description
|
|
2616
|
-
input.OnExceptionSteps !== null && {
|
|
2596
|
+
return __assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.OnExceptionSteps != null && {
|
|
2617
2597
|
OnExceptionSteps: serializeAws_json1_1WorkflowSteps(input.OnExceptionSteps, context),
|
|
2618
|
-
})), (input.Steps
|
|
2619
|
-
input.Steps !== null && { Steps: serializeAws_json1_1WorkflowSteps(input.Steps, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
2598
|
+
})), (input.Steps != null && { Steps: serializeAws_json1_1WorkflowSteps(input.Steps, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
2620
2599
|
};
|
|
2621
2600
|
var serializeAws_json1_1CustomStepDetails = function (input, context) {
|
|
2622
|
-
return __assign(__assign(__assign(__assign({}, (input.Name
|
|
2623
|
-
input.SourceFileLocation !== null && { SourceFileLocation: input.SourceFileLocation })), (input.Target !== undefined && input.Target !== null && { Target: input.Target })), (input.TimeoutSeconds !== undefined &&
|
|
2624
|
-
input.TimeoutSeconds !== null && { TimeoutSeconds: input.TimeoutSeconds }));
|
|
2601
|
+
return __assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.SourceFileLocation != null && { SourceFileLocation: input.SourceFileLocation })), (input.Target != null && { Target: input.Target })), (input.TimeoutSeconds != null && { TimeoutSeconds: input.TimeoutSeconds }));
|
|
2625
2602
|
};
|
|
2626
2603
|
var serializeAws_json1_1DeleteAccessRequest = function (input, context) {
|
|
2627
|
-
return __assign(__assign({}, (input.ExternalId
|
|
2604
|
+
return __assign(__assign({}, (input.ExternalId != null && { ExternalId: input.ExternalId })), (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2628
2605
|
};
|
|
2629
2606
|
var serializeAws_json1_1DeleteServerRequest = function (input, context) {
|
|
2630
|
-
return __assign({}, (input.ServerId
|
|
2607
|
+
return __assign({}, (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2631
2608
|
};
|
|
2632
2609
|
var serializeAws_json1_1DeleteSshPublicKeyRequest = function (input, context) {
|
|
2633
|
-
return __assign(__assign(__assign({}, (input.ServerId
|
|
2634
|
-
input.SshPublicKeyId !== null && { SshPublicKeyId: input.SshPublicKeyId })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
2610
|
+
return __assign(__assign(__assign({}, (input.ServerId != null && { ServerId: input.ServerId })), (input.SshPublicKeyId != null && { SshPublicKeyId: input.SshPublicKeyId })), (input.UserName != null && { UserName: input.UserName }));
|
|
2635
2611
|
};
|
|
2636
2612
|
var serializeAws_json1_1DeleteStepDetails = function (input, context) {
|
|
2637
|
-
return __assign(__assign({}, (input.Name
|
|
2638
|
-
input.SourceFileLocation !== null && { SourceFileLocation: input.SourceFileLocation }));
|
|
2613
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.SourceFileLocation != null && { SourceFileLocation: input.SourceFileLocation }));
|
|
2639
2614
|
};
|
|
2640
2615
|
var serializeAws_json1_1DeleteUserRequest = function (input, context) {
|
|
2641
|
-
return __assign(__assign({}, (input.ServerId
|
|
2616
|
+
return __assign(__assign({}, (input.ServerId != null && { ServerId: input.ServerId })), (input.UserName != null && { UserName: input.UserName }));
|
|
2642
2617
|
};
|
|
2643
2618
|
var serializeAws_json1_1DeleteWorkflowRequest = function (input, context) {
|
|
2644
|
-
return __assign({}, (input.WorkflowId
|
|
2619
|
+
return __assign({}, (input.WorkflowId != null && { WorkflowId: input.WorkflowId }));
|
|
2645
2620
|
};
|
|
2646
2621
|
var serializeAws_json1_1DescribeAccessRequest = function (input, context) {
|
|
2647
|
-
return __assign(__assign({}, (input.ExternalId
|
|
2622
|
+
return __assign(__assign({}, (input.ExternalId != null && { ExternalId: input.ExternalId })), (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2648
2623
|
};
|
|
2649
2624
|
var serializeAws_json1_1DescribeExecutionRequest = function (input, context) {
|
|
2650
|
-
return __assign(__assign({}, (input.ExecutionId
|
|
2625
|
+
return __assign(__assign({}, (input.ExecutionId != null && { ExecutionId: input.ExecutionId })), (input.WorkflowId != null && { WorkflowId: input.WorkflowId }));
|
|
2651
2626
|
};
|
|
2652
2627
|
var serializeAws_json1_1DescribeSecurityPolicyRequest = function (input, context) {
|
|
2653
|
-
return __assign({}, (input.SecurityPolicyName
|
|
2654
|
-
input.SecurityPolicyName !== null && { SecurityPolicyName: input.SecurityPolicyName }));
|
|
2628
|
+
return __assign({}, (input.SecurityPolicyName != null && { SecurityPolicyName: input.SecurityPolicyName }));
|
|
2655
2629
|
};
|
|
2656
2630
|
var serializeAws_json1_1DescribeServerRequest = function (input, context) {
|
|
2657
|
-
return __assign({}, (input.ServerId
|
|
2631
|
+
return __assign({}, (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2658
2632
|
};
|
|
2659
2633
|
var serializeAws_json1_1DescribeUserRequest = function (input, context) {
|
|
2660
|
-
return __assign(__assign({}, (input.ServerId
|
|
2634
|
+
return __assign(__assign({}, (input.ServerId != null && { ServerId: input.ServerId })), (input.UserName != null && { UserName: input.UserName }));
|
|
2661
2635
|
};
|
|
2662
2636
|
var serializeAws_json1_1DescribeWorkflowRequest = function (input, context) {
|
|
2663
|
-
return __assign({}, (input.WorkflowId
|
|
2637
|
+
return __assign({}, (input.WorkflowId != null && { WorkflowId: input.WorkflowId }));
|
|
2664
2638
|
};
|
|
2665
2639
|
var serializeAws_json1_1EfsFileLocation = function (input, context) {
|
|
2666
|
-
return __assign(__assign({}, (input.FileSystemId
|
|
2640
|
+
return __assign(__assign({}, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.Path != null && { Path: input.Path }));
|
|
2667
2641
|
};
|
|
2668
2642
|
var serializeAws_json1_1EndpointDetails = function (input, context) {
|
|
2669
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AddressAllocationIds
|
|
2670
|
-
input.AddressAllocationIds !== null && {
|
|
2643
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AddressAllocationIds != null && {
|
|
2671
2644
|
AddressAllocationIds: serializeAws_json1_1AddressAllocationIds(input.AddressAllocationIds, context),
|
|
2672
|
-
})), (input.SecurityGroupIds
|
|
2673
|
-
input.SecurityGroupIds !== null && {
|
|
2645
|
+
})), (input.SecurityGroupIds != null && {
|
|
2674
2646
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
2675
|
-
})), (input.SubnetIds
|
|
2676
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.VpcEndpointId !== undefined && input.VpcEndpointId !== null && { VpcEndpointId: input.VpcEndpointId })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
|
|
2647
|
+
})), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId })), (input.VpcId != null && { VpcId: input.VpcId }));
|
|
2677
2648
|
};
|
|
2678
2649
|
var serializeAws_json1_1HomeDirectoryMapEntry = function (input, context) {
|
|
2679
|
-
return __assign(__assign({}, (input.Entry
|
|
2650
|
+
return __assign(__assign({}, (input.Entry != null && { Entry: input.Entry })), (input.Target != null && { Target: input.Target }));
|
|
2680
2651
|
};
|
|
2681
2652
|
var serializeAws_json1_1HomeDirectoryMappings = function (input, context) {
|
|
2682
2653
|
return input
|
|
@@ -2689,42 +2660,38 @@ var serializeAws_json1_1HomeDirectoryMappings = function (input, context) {
|
|
|
2689
2660
|
});
|
|
2690
2661
|
};
|
|
2691
2662
|
var serializeAws_json1_1IdentityProviderDetails = function (input, context) {
|
|
2692
|
-
return __assign(__assign(__assign(__assign({}, (input.DirectoryId
|
|
2693
|
-
input.InvocationRole !== null && { InvocationRole: input.InvocationRole })), (input.Url !== undefined && input.Url !== null && { Url: input.Url }));
|
|
2663
|
+
return __assign(__assign(__assign(__assign({}, (input.DirectoryId != null && { DirectoryId: input.DirectoryId })), (input.Function != null && { Function: input.Function })), (input.InvocationRole != null && { InvocationRole: input.InvocationRole })), (input.Url != null && { Url: input.Url }));
|
|
2694
2664
|
};
|
|
2695
2665
|
var serializeAws_json1_1ImportSshPublicKeyRequest = function (input, context) {
|
|
2696
|
-
return __assign(__assign(__assign({}, (input.ServerId
|
|
2697
|
-
input.SshPublicKeyBody !== null && { SshPublicKeyBody: input.SshPublicKeyBody })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
2666
|
+
return __assign(__assign(__assign({}, (input.ServerId != null && { ServerId: input.ServerId })), (input.SshPublicKeyBody != null && { SshPublicKeyBody: input.SshPublicKeyBody })), (input.UserName != null && { UserName: input.UserName }));
|
|
2698
2667
|
};
|
|
2699
2668
|
var serializeAws_json1_1InputFileLocation = function (input, context) {
|
|
2700
|
-
return __assign(__assign({}, (input.EfsFileLocation
|
|
2701
|
-
input.EfsFileLocation !== null && {
|
|
2669
|
+
return __assign(__assign({}, (input.EfsFileLocation != null && {
|
|
2702
2670
|
EfsFileLocation: serializeAws_json1_1EfsFileLocation(input.EfsFileLocation, context),
|
|
2703
|
-
})), (input.S3FileLocation
|
|
2704
|
-
input.S3FileLocation !== null && {
|
|
2671
|
+
})), (input.S3FileLocation != null && {
|
|
2705
2672
|
S3FileLocation: serializeAws_json1_1S3InputFileLocation(input.S3FileLocation, context),
|
|
2706
2673
|
}));
|
|
2707
2674
|
};
|
|
2708
2675
|
var serializeAws_json1_1ListAccessesRequest = function (input, context) {
|
|
2709
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2676
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2710
2677
|
};
|
|
2711
2678
|
var serializeAws_json1_1ListExecutionsRequest = function (input, context) {
|
|
2712
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2679
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.WorkflowId != null && { WorkflowId: input.WorkflowId }));
|
|
2713
2680
|
};
|
|
2714
2681
|
var serializeAws_json1_1ListSecurityPoliciesRequest = function (input, context) {
|
|
2715
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2682
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2716
2683
|
};
|
|
2717
2684
|
var serializeAws_json1_1ListServersRequest = function (input, context) {
|
|
2718
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2685
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2719
2686
|
};
|
|
2720
2687
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
2721
|
-
return __assign(__assign(__assign({}, (input.Arn
|
|
2688
|
+
return __assign(__assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2722
2689
|
};
|
|
2723
2690
|
var serializeAws_json1_1ListUsersRequest = function (input, context) {
|
|
2724
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2691
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2725
2692
|
};
|
|
2726
2693
|
var serializeAws_json1_1ListWorkflowsRequest = function (input, context) {
|
|
2727
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2694
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2728
2695
|
};
|
|
2729
2696
|
var serializeAws_json1_1OnUploadWorkflowDetails = function (input, context) {
|
|
2730
2697
|
return input
|
|
@@ -2737,14 +2704,12 @@ var serializeAws_json1_1OnUploadWorkflowDetails = function (input, context) {
|
|
|
2737
2704
|
});
|
|
2738
2705
|
};
|
|
2739
2706
|
var serializeAws_json1_1PosixProfile = function (input, context) {
|
|
2740
|
-
return __assign(__assign(__assign({}, (input.Gid
|
|
2741
|
-
input.SecondaryGids !== null && {
|
|
2707
|
+
return __assign(__assign(__assign({}, (input.Gid != null && { Gid: input.Gid })), (input.SecondaryGids != null && {
|
|
2742
2708
|
SecondaryGids: serializeAws_json1_1SecondaryGids(input.SecondaryGids, context),
|
|
2743
|
-
})), (input.Uid
|
|
2709
|
+
})), (input.Uid != null && { Uid: input.Uid }));
|
|
2744
2710
|
};
|
|
2745
2711
|
var serializeAws_json1_1ProtocolDetails = function (input, context) {
|
|
2746
|
-
return __assign(__assign(__assign({}, (input.PassiveIp
|
|
2747
|
-
input.TlsSessionResumptionMode !== null && { TlsSessionResumptionMode: input.TlsSessionResumptionMode }));
|
|
2712
|
+
return __assign(__assign(__assign({}, (input.PassiveIp != null && { PassiveIp: input.PassiveIp })), (input.SetStatOption != null && { SetStatOption: input.SetStatOption })), (input.TlsSessionResumptionMode != null && { TlsSessionResumptionMode: input.TlsSessionResumptionMode }));
|
|
2748
2713
|
};
|
|
2749
2714
|
var serializeAws_json1_1Protocols = function (input, context) {
|
|
2750
2715
|
return input
|
|
@@ -2757,10 +2722,10 @@ var serializeAws_json1_1Protocols = function (input, context) {
|
|
|
2757
2722
|
});
|
|
2758
2723
|
};
|
|
2759
2724
|
var serializeAws_json1_1S3InputFileLocation = function (input, context) {
|
|
2760
|
-
return __assign(__assign({}, (input.Bucket
|
|
2725
|
+
return __assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.Key != null && { Key: input.Key }));
|
|
2761
2726
|
};
|
|
2762
2727
|
var serializeAws_json1_1S3Tag = function (input, context) {
|
|
2763
|
-
return __assign(__assign({}, (input.Key
|
|
2728
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2764
2729
|
};
|
|
2765
2730
|
var serializeAws_json1_1S3Tags = function (input, context) {
|
|
2766
2731
|
return input
|
|
@@ -2793,13 +2758,13 @@ var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
|
2793
2758
|
});
|
|
2794
2759
|
};
|
|
2795
2760
|
var serializeAws_json1_1SendWorkflowStepStateRequest = function (input, context) {
|
|
2796
|
-
return __assign(__assign(__assign(__assign({}, (input.ExecutionId
|
|
2761
|
+
return __assign(__assign(__assign(__assign({}, (input.ExecutionId != null && { ExecutionId: input.ExecutionId })), (input.Status != null && { Status: input.Status })), (input.Token != null && { Token: input.Token })), (input.WorkflowId != null && { WorkflowId: input.WorkflowId }));
|
|
2797
2762
|
};
|
|
2798
2763
|
var serializeAws_json1_1StartServerRequest = function (input, context) {
|
|
2799
|
-
return __assign({}, (input.ServerId
|
|
2764
|
+
return __assign({}, (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2800
2765
|
};
|
|
2801
2766
|
var serializeAws_json1_1StopServerRequest = function (input, context) {
|
|
2802
|
-
return __assign({}, (input.ServerId
|
|
2767
|
+
return __assign({}, (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2803
2768
|
};
|
|
2804
2769
|
var serializeAws_json1_1SubnetIds = function (input, context) {
|
|
2805
2770
|
return input
|
|
@@ -2812,7 +2777,7 @@ var serializeAws_json1_1SubnetIds = function (input, context) {
|
|
|
2812
2777
|
});
|
|
2813
2778
|
};
|
|
2814
2779
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
2815
|
-
return __assign(__assign({}, (input.Key
|
|
2780
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2816
2781
|
};
|
|
2817
2782
|
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
2818
2783
|
return input
|
|
@@ -2825,7 +2790,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
|
|
|
2825
2790
|
});
|
|
2826
2791
|
};
|
|
2827
2792
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
2828
|
-
return __assign(__assign({}, (input.Arn
|
|
2793
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
2829
2794
|
};
|
|
2830
2795
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
2831
2796
|
return input
|
|
@@ -2838,77 +2803,55 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
2838
2803
|
});
|
|
2839
2804
|
};
|
|
2840
2805
|
var serializeAws_json1_1TagStepDetails = function (input, context) {
|
|
2841
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
2842
|
-
input.SourceFileLocation !== null && { SourceFileLocation: input.SourceFileLocation })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1S3Tags(input.Tags, context) }));
|
|
2806
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.SourceFileLocation != null && { SourceFileLocation: input.SourceFileLocation })), (input.Tags != null && { Tags: serializeAws_json1_1S3Tags(input.Tags, context) }));
|
|
2843
2807
|
};
|
|
2844
2808
|
var serializeAws_json1_1TestIdentityProviderRequest = function (input, context) {
|
|
2845
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ServerId
|
|
2846
|
-
input.ServerProtocol !== null && { ServerProtocol: input.ServerProtocol })), (input.SourceIp !== undefined && input.SourceIp !== null && { SourceIp: input.SourceIp })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName })), (input.UserPassword !== undefined && input.UserPassword !== null && { UserPassword: input.UserPassword }));
|
|
2809
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ServerId != null && { ServerId: input.ServerId })), (input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol })), (input.SourceIp != null && { SourceIp: input.SourceIp })), (input.UserName != null && { UserName: input.UserName })), (input.UserPassword != null && { UserPassword: input.UserPassword }));
|
|
2847
2810
|
};
|
|
2848
2811
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
2849
|
-
return __assign(__assign({}, (input.Arn
|
|
2850
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
2812
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
2851
2813
|
};
|
|
2852
2814
|
var serializeAws_json1_1UpdateAccessRequest = function (input, context) {
|
|
2853
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExternalId
|
|
2854
|
-
input.HomeDirectoryMappings !== null && {
|
|
2815
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExternalId != null && { ExternalId: input.ExternalId })), (input.HomeDirectory != null && { HomeDirectory: input.HomeDirectory })), (input.HomeDirectoryMappings != null && {
|
|
2855
2816
|
HomeDirectoryMappings: serializeAws_json1_1HomeDirectoryMappings(input.HomeDirectoryMappings, context),
|
|
2856
|
-
})), (input.HomeDirectoryType
|
|
2857
|
-
input.HomeDirectoryType !== null && { HomeDirectoryType: input.HomeDirectoryType })), (input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy })), (input.PosixProfile !== undefined &&
|
|
2858
|
-
input.PosixProfile !== null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.ServerId !== undefined && input.ServerId !== null && { ServerId: input.ServerId }));
|
|
2817
|
+
})), (input.HomeDirectoryType != null && { HomeDirectoryType: input.HomeDirectoryType })), (input.Policy != null && { Policy: input.Policy })), (input.PosixProfile != null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role != null && { Role: input.Role })), (input.ServerId != null && { ServerId: input.ServerId }));
|
|
2859
2818
|
};
|
|
2860
2819
|
var serializeAws_json1_1UpdateServerRequest = function (input, context) {
|
|
2861
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate
|
|
2862
|
-
input.EndpointDetails !== null && {
|
|
2820
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate != null && { Certificate: input.Certificate })), (input.EndpointDetails != null && {
|
|
2863
2821
|
EndpointDetails: serializeAws_json1_1EndpointDetails(input.EndpointDetails, context),
|
|
2864
|
-
})), (input.EndpointType
|
|
2865
|
-
input.IdentityProviderDetails !== null && {
|
|
2822
|
+
})), (input.EndpointType != null && { EndpointType: input.EndpointType })), (input.HostKey != null && { HostKey: input.HostKey })), (input.IdentityProviderDetails != null && {
|
|
2866
2823
|
IdentityProviderDetails: serializeAws_json1_1IdentityProviderDetails(input.IdentityProviderDetails, context),
|
|
2867
|
-
})), (input.LoggingRole
|
|
2868
|
-
input.PostAuthenticationLoginBanner !== null && {
|
|
2824
|
+
})), (input.LoggingRole != null && { LoggingRole: input.LoggingRole })), (input.PostAuthenticationLoginBanner != null && {
|
|
2869
2825
|
PostAuthenticationLoginBanner: input.PostAuthenticationLoginBanner,
|
|
2870
|
-
})), (input.PreAuthenticationLoginBanner
|
|
2871
|
-
input.PreAuthenticationLoginBanner !== null && {
|
|
2826
|
+
})), (input.PreAuthenticationLoginBanner != null && {
|
|
2872
2827
|
PreAuthenticationLoginBanner: input.PreAuthenticationLoginBanner,
|
|
2873
|
-
})), (input.ProtocolDetails
|
|
2874
|
-
input.ProtocolDetails !== null && {
|
|
2828
|
+
})), (input.ProtocolDetails != null && {
|
|
2875
2829
|
ProtocolDetails: serializeAws_json1_1ProtocolDetails(input.ProtocolDetails, context),
|
|
2876
|
-
})), (input.Protocols
|
|
2877
|
-
input.Protocols !== null && { Protocols: serializeAws_json1_1Protocols(input.Protocols, context) })), (input.SecurityPolicyName !== undefined &&
|
|
2878
|
-
input.SecurityPolicyName !== null && { SecurityPolicyName: input.SecurityPolicyName })), (input.ServerId !== undefined && input.ServerId !== null && { ServerId: input.ServerId })), (input.WorkflowDetails !== undefined &&
|
|
2879
|
-
input.WorkflowDetails !== null && {
|
|
2830
|
+
})), (input.Protocols != null && { Protocols: serializeAws_json1_1Protocols(input.Protocols, context) })), (input.SecurityPolicyName != null && { SecurityPolicyName: input.SecurityPolicyName })), (input.ServerId != null && { ServerId: input.ServerId })), (input.WorkflowDetails != null && {
|
|
2880
2831
|
WorkflowDetails: serializeAws_json1_1WorkflowDetails(input.WorkflowDetails, context),
|
|
2881
2832
|
}));
|
|
2882
2833
|
};
|
|
2883
2834
|
var serializeAws_json1_1UpdateUserRequest = function (input, context) {
|
|
2884
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.HomeDirectory
|
|
2885
|
-
input.HomeDirectoryMappings !== null && {
|
|
2835
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.HomeDirectory != null && { HomeDirectory: input.HomeDirectory })), (input.HomeDirectoryMappings != null && {
|
|
2886
2836
|
HomeDirectoryMappings: serializeAws_json1_1HomeDirectoryMappings(input.HomeDirectoryMappings, context),
|
|
2887
|
-
})), (input.HomeDirectoryType
|
|
2888
|
-
input.HomeDirectoryType !== null && { HomeDirectoryType: input.HomeDirectoryType })), (input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy })), (input.PosixProfile !== undefined &&
|
|
2889
|
-
input.PosixProfile !== null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.ServerId !== undefined && input.ServerId !== null && { ServerId: input.ServerId })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
2837
|
+
})), (input.HomeDirectoryType != null && { HomeDirectoryType: input.HomeDirectoryType })), (input.Policy != null && { Policy: input.Policy })), (input.PosixProfile != null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role != null && { Role: input.Role })), (input.ServerId != null && { ServerId: input.ServerId })), (input.UserName != null && { UserName: input.UserName }));
|
|
2890
2838
|
};
|
|
2891
2839
|
var serializeAws_json1_1WorkflowDetail = function (input, context) {
|
|
2892
|
-
return __assign(__assign({}, (input.ExecutionRole
|
|
2840
|
+
return __assign(__assign({}, (input.ExecutionRole != null && { ExecutionRole: input.ExecutionRole })), (input.WorkflowId != null && { WorkflowId: input.WorkflowId }));
|
|
2893
2841
|
};
|
|
2894
2842
|
var serializeAws_json1_1WorkflowDetails = function (input, context) {
|
|
2895
|
-
return __assign({}, (input.OnUpload
|
|
2896
|
-
input.OnUpload !== null && { OnUpload: serializeAws_json1_1OnUploadWorkflowDetails(input.OnUpload, context) }));
|
|
2843
|
+
return __assign({}, (input.OnUpload != null && { OnUpload: serializeAws_json1_1OnUploadWorkflowDetails(input.OnUpload, context) }));
|
|
2897
2844
|
};
|
|
2898
2845
|
var serializeAws_json1_1WorkflowStep = function (input, context) {
|
|
2899
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CopyStepDetails
|
|
2900
|
-
input.CopyStepDetails !== null && {
|
|
2846
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CopyStepDetails != null && {
|
|
2901
2847
|
CopyStepDetails: serializeAws_json1_1CopyStepDetails(input.CopyStepDetails, context),
|
|
2902
|
-
})), (input.CustomStepDetails
|
|
2903
|
-
input.CustomStepDetails !== null && {
|
|
2848
|
+
})), (input.CustomStepDetails != null && {
|
|
2904
2849
|
CustomStepDetails: serializeAws_json1_1CustomStepDetails(input.CustomStepDetails, context),
|
|
2905
|
-
})), (input.DeleteStepDetails
|
|
2906
|
-
input.DeleteStepDetails !== null && {
|
|
2850
|
+
})), (input.DeleteStepDetails != null && {
|
|
2907
2851
|
DeleteStepDetails: serializeAws_json1_1DeleteStepDetails(input.DeleteStepDetails, context),
|
|
2908
|
-
})), (input.TagStepDetails
|
|
2909
|
-
input.TagStepDetails !== null && {
|
|
2852
|
+
})), (input.TagStepDetails != null && {
|
|
2910
2853
|
TagStepDetails: serializeAws_json1_1TagStepDetails(input.TagStepDetails, context),
|
|
2911
|
-
})), (input.Type
|
|
2854
|
+
})), (input.Type != null && { Type: input.Type }));
|
|
2912
2855
|
};
|
|
2913
2856
|
var serializeAws_json1_1WorkflowSteps = function (input, context) {
|
|
2914
2857
|
return input
|
|
@@ -2943,7 +2886,7 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
2943
2886
|
};
|
|
2944
2887
|
var deserializeAws_json1_1CopyStepDetails = function (output, context) {
|
|
2945
2888
|
return {
|
|
2946
|
-
DestinationFileLocation: output.DestinationFileLocation
|
|
2889
|
+
DestinationFileLocation: output.DestinationFileLocation != null
|
|
2947
2890
|
? deserializeAws_json1_1InputFileLocation(output.DestinationFileLocation, context)
|
|
2948
2891
|
: undefined,
|
|
2949
2892
|
Name: __expectString(output.Name),
|
|
@@ -2989,9 +2932,7 @@ var deserializeAws_json1_1DeleteStepDetails = function (output, context) {
|
|
|
2989
2932
|
};
|
|
2990
2933
|
var deserializeAws_json1_1DescribeAccessResponse = function (output, context) {
|
|
2991
2934
|
return {
|
|
2992
|
-
Access: output.Access
|
|
2993
|
-
? deserializeAws_json1_1DescribedAccess(output.Access, context)
|
|
2994
|
-
: undefined,
|
|
2935
|
+
Access: output.Access != null ? deserializeAws_json1_1DescribedAccess(output.Access, context) : undefined,
|
|
2995
2936
|
ServerId: __expectString(output.ServerId),
|
|
2996
2937
|
};
|
|
2997
2938
|
};
|
|
@@ -2999,14 +2940,12 @@ var deserializeAws_json1_1DescribedAccess = function (output, context) {
|
|
|
2999
2940
|
return {
|
|
3000
2941
|
ExternalId: __expectString(output.ExternalId),
|
|
3001
2942
|
HomeDirectory: __expectString(output.HomeDirectory),
|
|
3002
|
-
HomeDirectoryMappings: output.HomeDirectoryMappings
|
|
2943
|
+
HomeDirectoryMappings: output.HomeDirectoryMappings != null
|
|
3003
2944
|
? deserializeAws_json1_1HomeDirectoryMappings(output.HomeDirectoryMappings, context)
|
|
3004
2945
|
: undefined,
|
|
3005
2946
|
HomeDirectoryType: __expectString(output.HomeDirectoryType),
|
|
3006
2947
|
Policy: __expectString(output.Policy),
|
|
3007
|
-
PosixProfile: output.PosixProfile
|
|
3008
|
-
? deserializeAws_json1_1PosixProfile(output.PosixProfile, context)
|
|
3009
|
-
: undefined,
|
|
2948
|
+
PosixProfile: output.PosixProfile != null ? deserializeAws_json1_1PosixProfile(output.PosixProfile, context) : undefined,
|
|
3010
2949
|
Role: __expectString(output.Role),
|
|
3011
2950
|
};
|
|
3012
2951
|
};
|
|
@@ -3014,19 +2953,15 @@ var deserializeAws_json1_1DescribedExecution = function (output, context) {
|
|
|
3014
2953
|
return {
|
|
3015
2954
|
ExecutionId: __expectString(output.ExecutionId),
|
|
3016
2955
|
ExecutionRole: __expectString(output.ExecutionRole),
|
|
3017
|
-
InitialFileLocation: output.InitialFileLocation
|
|
2956
|
+
InitialFileLocation: output.InitialFileLocation != null
|
|
3018
2957
|
? deserializeAws_json1_1FileLocation(output.InitialFileLocation, context)
|
|
3019
2958
|
: undefined,
|
|
3020
|
-
LoggingConfiguration: output.LoggingConfiguration
|
|
2959
|
+
LoggingConfiguration: output.LoggingConfiguration != null
|
|
3021
2960
|
? deserializeAws_json1_1LoggingConfiguration(output.LoggingConfiguration, context)
|
|
3022
2961
|
: undefined,
|
|
3023
|
-
PosixProfile: output.PosixProfile
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
Results: output.Results !== undefined && output.Results !== null
|
|
3027
|
-
? deserializeAws_json1_1ExecutionResults(output.Results, context)
|
|
3028
|
-
: undefined,
|
|
3029
|
-
ServiceMetadata: output.ServiceMetadata !== undefined && output.ServiceMetadata !== null
|
|
2962
|
+
PosixProfile: output.PosixProfile != null ? deserializeAws_json1_1PosixProfile(output.PosixProfile, context) : undefined,
|
|
2963
|
+
Results: output.Results != null ? deserializeAws_json1_1ExecutionResults(output.Results, context) : undefined,
|
|
2964
|
+
ServiceMetadata: output.ServiceMetadata != null
|
|
3030
2965
|
? deserializeAws_json1_1ServiceMetadata(output.ServiceMetadata, context)
|
|
3031
2966
|
: undefined,
|
|
3032
2967
|
Status: __expectString(output.Status),
|
|
@@ -3036,18 +2971,10 @@ var deserializeAws_json1_1DescribedSecurityPolicy = function (output, context) {
|
|
|
3036
2971
|
return {
|
|
3037
2972
|
Fips: __expectBoolean(output.Fips),
|
|
3038
2973
|
SecurityPolicyName: __expectString(output.SecurityPolicyName),
|
|
3039
|
-
SshCiphers: output.SshCiphers
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
? deserializeAws_json1_1SecurityPolicyOptions(output.SshKexs, context)
|
|
3044
|
-
: undefined,
|
|
3045
|
-
SshMacs: output.SshMacs !== undefined && output.SshMacs !== null
|
|
3046
|
-
? deserializeAws_json1_1SecurityPolicyOptions(output.SshMacs, context)
|
|
3047
|
-
: undefined,
|
|
3048
|
-
TlsCiphers: output.TlsCiphers !== undefined && output.TlsCiphers !== null
|
|
3049
|
-
? deserializeAws_json1_1SecurityPolicyOptions(output.TlsCiphers, context)
|
|
3050
|
-
: undefined,
|
|
2974
|
+
SshCiphers: output.SshCiphers != null ? deserializeAws_json1_1SecurityPolicyOptions(output.SshCiphers, context) : undefined,
|
|
2975
|
+
SshKexs: output.SshKexs != null ? deserializeAws_json1_1SecurityPolicyOptions(output.SshKexs, context) : undefined,
|
|
2976
|
+
SshMacs: output.SshMacs != null ? deserializeAws_json1_1SecurityPolicyOptions(output.SshMacs, context) : undefined,
|
|
2977
|
+
TlsCiphers: output.TlsCiphers != null ? deserializeAws_json1_1SecurityPolicyOptions(output.TlsCiphers, context) : undefined,
|
|
3051
2978
|
};
|
|
3052
2979
|
};
|
|
3053
2980
|
var deserializeAws_json1_1DescribedServer = function (output, context) {
|
|
@@ -3055,30 +2982,28 @@ var deserializeAws_json1_1DescribedServer = function (output, context) {
|
|
|
3055
2982
|
Arn: __expectString(output.Arn),
|
|
3056
2983
|
Certificate: __expectString(output.Certificate),
|
|
3057
2984
|
Domain: __expectString(output.Domain),
|
|
3058
|
-
EndpointDetails: output.EndpointDetails
|
|
2985
|
+
EndpointDetails: output.EndpointDetails != null
|
|
3059
2986
|
? deserializeAws_json1_1EndpointDetails(output.EndpointDetails, context)
|
|
3060
2987
|
: undefined,
|
|
3061
2988
|
EndpointType: __expectString(output.EndpointType),
|
|
3062
2989
|
HostKeyFingerprint: __expectString(output.HostKeyFingerprint),
|
|
3063
|
-
IdentityProviderDetails: output.IdentityProviderDetails
|
|
2990
|
+
IdentityProviderDetails: output.IdentityProviderDetails != null
|
|
3064
2991
|
? deserializeAws_json1_1IdentityProviderDetails(output.IdentityProviderDetails, context)
|
|
3065
2992
|
: undefined,
|
|
3066
2993
|
IdentityProviderType: __expectString(output.IdentityProviderType),
|
|
3067
2994
|
LoggingRole: __expectString(output.LoggingRole),
|
|
3068
2995
|
PostAuthenticationLoginBanner: __expectString(output.PostAuthenticationLoginBanner),
|
|
3069
2996
|
PreAuthenticationLoginBanner: __expectString(output.PreAuthenticationLoginBanner),
|
|
3070
|
-
ProtocolDetails: output.ProtocolDetails
|
|
2997
|
+
ProtocolDetails: output.ProtocolDetails != null
|
|
3071
2998
|
? deserializeAws_json1_1ProtocolDetails(output.ProtocolDetails, context)
|
|
3072
2999
|
: undefined,
|
|
3073
|
-
Protocols: output.Protocols
|
|
3074
|
-
? deserializeAws_json1_1Protocols(output.Protocols, context)
|
|
3075
|
-
: undefined,
|
|
3000
|
+
Protocols: output.Protocols != null ? deserializeAws_json1_1Protocols(output.Protocols, context) : undefined,
|
|
3076
3001
|
SecurityPolicyName: __expectString(output.SecurityPolicyName),
|
|
3077
3002
|
ServerId: __expectString(output.ServerId),
|
|
3078
3003
|
State: __expectString(output.State),
|
|
3079
|
-
Tags: output.Tags
|
|
3004
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
3080
3005
|
UserCount: __expectInt32(output.UserCount),
|
|
3081
|
-
WorkflowDetails: output.WorkflowDetails
|
|
3006
|
+
WorkflowDetails: output.WorkflowDetails != null
|
|
3082
3007
|
? deserializeAws_json1_1WorkflowDetails(output.WorkflowDetails, context)
|
|
3083
3008
|
: undefined,
|
|
3084
3009
|
};
|
|
@@ -3087,19 +3012,15 @@ var deserializeAws_json1_1DescribedUser = function (output, context) {
|
|
|
3087
3012
|
return {
|
|
3088
3013
|
Arn: __expectString(output.Arn),
|
|
3089
3014
|
HomeDirectory: __expectString(output.HomeDirectory),
|
|
3090
|
-
HomeDirectoryMappings: output.HomeDirectoryMappings
|
|
3015
|
+
HomeDirectoryMappings: output.HomeDirectoryMappings != null
|
|
3091
3016
|
? deserializeAws_json1_1HomeDirectoryMappings(output.HomeDirectoryMappings, context)
|
|
3092
3017
|
: undefined,
|
|
3093
3018
|
HomeDirectoryType: __expectString(output.HomeDirectoryType),
|
|
3094
3019
|
Policy: __expectString(output.Policy),
|
|
3095
|
-
PosixProfile: output.PosixProfile
|
|
3096
|
-
? deserializeAws_json1_1PosixProfile(output.PosixProfile, context)
|
|
3097
|
-
: undefined,
|
|
3020
|
+
PosixProfile: output.PosixProfile != null ? deserializeAws_json1_1PosixProfile(output.PosixProfile, context) : undefined,
|
|
3098
3021
|
Role: __expectString(output.Role),
|
|
3099
|
-
SshPublicKeys: output.SshPublicKeys
|
|
3100
|
-
|
|
3101
|
-
: undefined,
|
|
3102
|
-
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
3022
|
+
SshPublicKeys: output.SshPublicKeys != null ? deserializeAws_json1_1SshPublicKeys(output.SshPublicKeys, context) : undefined,
|
|
3023
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
3103
3024
|
UserName: __expectString(output.UserName),
|
|
3104
3025
|
};
|
|
3105
3026
|
};
|
|
@@ -3107,51 +3028,41 @@ var deserializeAws_json1_1DescribedWorkflow = function (output, context) {
|
|
|
3107
3028
|
return {
|
|
3108
3029
|
Arn: __expectString(output.Arn),
|
|
3109
3030
|
Description: __expectString(output.Description),
|
|
3110
|
-
OnExceptionSteps: output.OnExceptionSteps
|
|
3031
|
+
OnExceptionSteps: output.OnExceptionSteps != null
|
|
3111
3032
|
? deserializeAws_json1_1WorkflowSteps(output.OnExceptionSteps, context)
|
|
3112
3033
|
: undefined,
|
|
3113
|
-
Steps: output.Steps
|
|
3114
|
-
|
|
3115
|
-
: undefined,
|
|
3116
|
-
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
3034
|
+
Steps: output.Steps != null ? deserializeAws_json1_1WorkflowSteps(output.Steps, context) : undefined,
|
|
3035
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
3117
3036
|
WorkflowId: __expectString(output.WorkflowId),
|
|
3118
3037
|
};
|
|
3119
3038
|
};
|
|
3120
3039
|
var deserializeAws_json1_1DescribeExecutionResponse = function (output, context) {
|
|
3121
3040
|
return {
|
|
3122
|
-
Execution: output.Execution
|
|
3123
|
-
? deserializeAws_json1_1DescribedExecution(output.Execution, context)
|
|
3124
|
-
: undefined,
|
|
3041
|
+
Execution: output.Execution != null ? deserializeAws_json1_1DescribedExecution(output.Execution, context) : undefined,
|
|
3125
3042
|
WorkflowId: __expectString(output.WorkflowId),
|
|
3126
3043
|
};
|
|
3127
3044
|
};
|
|
3128
3045
|
var deserializeAws_json1_1DescribeSecurityPolicyResponse = function (output, context) {
|
|
3129
3046
|
return {
|
|
3130
|
-
SecurityPolicy: output.SecurityPolicy
|
|
3047
|
+
SecurityPolicy: output.SecurityPolicy != null
|
|
3131
3048
|
? deserializeAws_json1_1DescribedSecurityPolicy(output.SecurityPolicy, context)
|
|
3132
3049
|
: undefined,
|
|
3133
3050
|
};
|
|
3134
3051
|
};
|
|
3135
3052
|
var deserializeAws_json1_1DescribeServerResponse = function (output, context) {
|
|
3136
3053
|
return {
|
|
3137
|
-
Server: output.Server
|
|
3138
|
-
? deserializeAws_json1_1DescribedServer(output.Server, context)
|
|
3139
|
-
: undefined,
|
|
3054
|
+
Server: output.Server != null ? deserializeAws_json1_1DescribedServer(output.Server, context) : undefined,
|
|
3140
3055
|
};
|
|
3141
3056
|
};
|
|
3142
3057
|
var deserializeAws_json1_1DescribeUserResponse = function (output, context) {
|
|
3143
3058
|
return {
|
|
3144
3059
|
ServerId: __expectString(output.ServerId),
|
|
3145
|
-
User: output.User
|
|
3146
|
-
? deserializeAws_json1_1DescribedUser(output.User, context)
|
|
3147
|
-
: undefined,
|
|
3060
|
+
User: output.User != null ? deserializeAws_json1_1DescribedUser(output.User, context) : undefined,
|
|
3148
3061
|
};
|
|
3149
3062
|
};
|
|
3150
3063
|
var deserializeAws_json1_1DescribeWorkflowResponse = function (output, context) {
|
|
3151
3064
|
return {
|
|
3152
|
-
Workflow: output.Workflow
|
|
3153
|
-
? deserializeAws_json1_1DescribedWorkflow(output.Workflow, context)
|
|
3154
|
-
: undefined,
|
|
3065
|
+
Workflow: output.Workflow != null ? deserializeAws_json1_1DescribedWorkflow(output.Workflow, context) : undefined,
|
|
3155
3066
|
};
|
|
3156
3067
|
};
|
|
3157
3068
|
var deserializeAws_json1_1EfsFileLocation = function (output, context) {
|
|
@@ -3162,15 +3073,13 @@ var deserializeAws_json1_1EfsFileLocation = function (output, context) {
|
|
|
3162
3073
|
};
|
|
3163
3074
|
var deserializeAws_json1_1EndpointDetails = function (output, context) {
|
|
3164
3075
|
return {
|
|
3165
|
-
AddressAllocationIds: output.AddressAllocationIds
|
|
3076
|
+
AddressAllocationIds: output.AddressAllocationIds != null
|
|
3166
3077
|
? deserializeAws_json1_1AddressAllocationIds(output.AddressAllocationIds, context)
|
|
3167
3078
|
: undefined,
|
|
3168
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
3079
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
3169
3080
|
? deserializeAws_json1_1SecurityGroupIds(output.SecurityGroupIds, context)
|
|
3170
3081
|
: undefined,
|
|
3171
|
-
SubnetIds: output.SubnetIds
|
|
3172
|
-
? deserializeAws_json1_1SubnetIds(output.SubnetIds, context)
|
|
3173
|
-
: undefined,
|
|
3082
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIds(output.SubnetIds, context) : undefined,
|
|
3174
3083
|
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
3175
3084
|
VpcId: __expectString(output.VpcId),
|
|
3176
3085
|
};
|
|
@@ -3183,19 +3092,15 @@ var deserializeAws_json1_1ExecutionError = function (output, context) {
|
|
|
3183
3092
|
};
|
|
3184
3093
|
var deserializeAws_json1_1ExecutionResults = function (output, context) {
|
|
3185
3094
|
return {
|
|
3186
|
-
OnExceptionSteps: output.OnExceptionSteps
|
|
3095
|
+
OnExceptionSteps: output.OnExceptionSteps != null
|
|
3187
3096
|
? deserializeAws_json1_1ExecutionStepResults(output.OnExceptionSteps, context)
|
|
3188
3097
|
: undefined,
|
|
3189
|
-
Steps: output.Steps
|
|
3190
|
-
? deserializeAws_json1_1ExecutionStepResults(output.Steps, context)
|
|
3191
|
-
: undefined,
|
|
3098
|
+
Steps: output.Steps != null ? deserializeAws_json1_1ExecutionStepResults(output.Steps, context) : undefined,
|
|
3192
3099
|
};
|
|
3193
3100
|
};
|
|
3194
3101
|
var deserializeAws_json1_1ExecutionStepResult = function (output, context) {
|
|
3195
3102
|
return {
|
|
3196
|
-
Error: output.Error
|
|
3197
|
-
? deserializeAws_json1_1ExecutionError(output.Error, context)
|
|
3198
|
-
: undefined,
|
|
3103
|
+
Error: output.Error != null ? deserializeAws_json1_1ExecutionError(output.Error, context) : undefined,
|
|
3199
3104
|
Outputs: __expectString(output.Outputs),
|
|
3200
3105
|
StepType: __expectString(output.StepType),
|
|
3201
3106
|
};
|
|
@@ -3213,12 +3118,10 @@ var deserializeAws_json1_1ExecutionStepResults = function (output, context) {
|
|
|
3213
3118
|
};
|
|
3214
3119
|
var deserializeAws_json1_1FileLocation = function (output, context) {
|
|
3215
3120
|
return {
|
|
3216
|
-
EfsFileLocation: output.EfsFileLocation
|
|
3121
|
+
EfsFileLocation: output.EfsFileLocation != null
|
|
3217
3122
|
? deserializeAws_json1_1EfsFileLocation(output.EfsFileLocation, context)
|
|
3218
3123
|
: undefined,
|
|
3219
|
-
S3FileLocation: output.S3FileLocation
|
|
3220
|
-
? deserializeAws_json1_1S3FileLocation(output.S3FileLocation, context)
|
|
3221
|
-
: undefined,
|
|
3124
|
+
S3FileLocation: output.S3FileLocation != null ? deserializeAws_json1_1S3FileLocation(output.S3FileLocation, context) : undefined,
|
|
3222
3125
|
};
|
|
3223
3126
|
};
|
|
3224
3127
|
var deserializeAws_json1_1HomeDirectoryMapEntry = function (output, context) {
|
|
@@ -3255,10 +3158,10 @@ var deserializeAws_json1_1ImportSshPublicKeyResponse = function (output, context
|
|
|
3255
3158
|
};
|
|
3256
3159
|
var deserializeAws_json1_1InputFileLocation = function (output, context) {
|
|
3257
3160
|
return {
|
|
3258
|
-
EfsFileLocation: output.EfsFileLocation
|
|
3161
|
+
EfsFileLocation: output.EfsFileLocation != null
|
|
3259
3162
|
? deserializeAws_json1_1EfsFileLocation(output.EfsFileLocation, context)
|
|
3260
3163
|
: undefined,
|
|
3261
|
-
S3FileLocation: output.S3FileLocation
|
|
3164
|
+
S3FileLocation: output.S3FileLocation != null
|
|
3262
3165
|
? deserializeAws_json1_1S3InputFileLocation(output.S3FileLocation, context)
|
|
3263
3166
|
: undefined,
|
|
3264
3167
|
};
|
|
@@ -3280,9 +3183,7 @@ var deserializeAws_json1_1InvalidRequestException = function (output, context) {
|
|
|
3280
3183
|
};
|
|
3281
3184
|
var deserializeAws_json1_1ListAccessesResponse = function (output, context) {
|
|
3282
3185
|
return {
|
|
3283
|
-
Accesses: output.Accesses
|
|
3284
|
-
? deserializeAws_json1_1ListedAccesses(output.Accesses, context)
|
|
3285
|
-
: undefined,
|
|
3186
|
+
Accesses: output.Accesses != null ? deserializeAws_json1_1ListedAccesses(output.Accesses, context) : undefined,
|
|
3286
3187
|
NextToken: __expectString(output.NextToken),
|
|
3287
3188
|
ServerId: __expectString(output.ServerId),
|
|
3288
3189
|
};
|
|
@@ -3309,10 +3210,10 @@ var deserializeAws_json1_1ListedAccesses = function (output, context) {
|
|
|
3309
3210
|
var deserializeAws_json1_1ListedExecution = function (output, context) {
|
|
3310
3211
|
return {
|
|
3311
3212
|
ExecutionId: __expectString(output.ExecutionId),
|
|
3312
|
-
InitialFileLocation: output.InitialFileLocation
|
|
3213
|
+
InitialFileLocation: output.InitialFileLocation != null
|
|
3313
3214
|
? deserializeAws_json1_1FileLocation(output.InitialFileLocation, context)
|
|
3314
3215
|
: undefined,
|
|
3315
|
-
ServiceMetadata: output.ServiceMetadata
|
|
3216
|
+
ServiceMetadata: output.ServiceMetadata != null
|
|
3316
3217
|
? deserializeAws_json1_1ServiceMetadata(output.ServiceMetadata, context)
|
|
3317
3218
|
: undefined,
|
|
3318
3219
|
Status: __expectString(output.Status),
|
|
@@ -3393,9 +3294,7 @@ var deserializeAws_json1_1ListedWorkflows = function (output, context) {
|
|
|
3393
3294
|
};
|
|
3394
3295
|
var deserializeAws_json1_1ListExecutionsResponse = function (output, context) {
|
|
3395
3296
|
return {
|
|
3396
|
-
Executions: output.Executions
|
|
3397
|
-
? deserializeAws_json1_1ListedExecutions(output.Executions, context)
|
|
3398
|
-
: undefined,
|
|
3297
|
+
Executions: output.Executions != null ? deserializeAws_json1_1ListedExecutions(output.Executions, context) : undefined,
|
|
3399
3298
|
NextToken: __expectString(output.NextToken),
|
|
3400
3299
|
WorkflowId: __expectString(output.WorkflowId),
|
|
3401
3300
|
};
|
|
@@ -3403,7 +3302,7 @@ var deserializeAws_json1_1ListExecutionsResponse = function (output, context) {
|
|
|
3403
3302
|
var deserializeAws_json1_1ListSecurityPoliciesResponse = function (output, context) {
|
|
3404
3303
|
return {
|
|
3405
3304
|
NextToken: __expectString(output.NextToken),
|
|
3406
|
-
SecurityPolicyNames: output.SecurityPolicyNames
|
|
3305
|
+
SecurityPolicyNames: output.SecurityPolicyNames != null
|
|
3407
3306
|
? deserializeAws_json1_1SecurityPolicyNames(output.SecurityPolicyNames, context)
|
|
3408
3307
|
: undefined,
|
|
3409
3308
|
};
|
|
@@ -3411,33 +3310,27 @@ var deserializeAws_json1_1ListSecurityPoliciesResponse = function (output, conte
|
|
|
3411
3310
|
var deserializeAws_json1_1ListServersResponse = function (output, context) {
|
|
3412
3311
|
return {
|
|
3413
3312
|
NextToken: __expectString(output.NextToken),
|
|
3414
|
-
Servers: output.Servers
|
|
3415
|
-
? deserializeAws_json1_1ListedServers(output.Servers, context)
|
|
3416
|
-
: undefined,
|
|
3313
|
+
Servers: output.Servers != null ? deserializeAws_json1_1ListedServers(output.Servers, context) : undefined,
|
|
3417
3314
|
};
|
|
3418
3315
|
};
|
|
3419
3316
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
3420
3317
|
return {
|
|
3421
3318
|
Arn: __expectString(output.Arn),
|
|
3422
3319
|
NextToken: __expectString(output.NextToken),
|
|
3423
|
-
Tags: output.Tags
|
|
3320
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
3424
3321
|
};
|
|
3425
3322
|
};
|
|
3426
3323
|
var deserializeAws_json1_1ListUsersResponse = function (output, context) {
|
|
3427
3324
|
return {
|
|
3428
3325
|
NextToken: __expectString(output.NextToken),
|
|
3429
3326
|
ServerId: __expectString(output.ServerId),
|
|
3430
|
-
Users: output.Users
|
|
3431
|
-
? deserializeAws_json1_1ListedUsers(output.Users, context)
|
|
3432
|
-
: undefined,
|
|
3327
|
+
Users: output.Users != null ? deserializeAws_json1_1ListedUsers(output.Users, context) : undefined,
|
|
3433
3328
|
};
|
|
3434
3329
|
};
|
|
3435
3330
|
var deserializeAws_json1_1ListWorkflowsResponse = function (output, context) {
|
|
3436
3331
|
return {
|
|
3437
3332
|
NextToken: __expectString(output.NextToken),
|
|
3438
|
-
Workflows: output.Workflows
|
|
3439
|
-
? deserializeAws_json1_1ListedWorkflows(output.Workflows, context)
|
|
3440
|
-
: undefined,
|
|
3333
|
+
Workflows: output.Workflows != null ? deserializeAws_json1_1ListedWorkflows(output.Workflows, context) : undefined,
|
|
3441
3334
|
};
|
|
3442
3335
|
};
|
|
3443
3336
|
var deserializeAws_json1_1LoggingConfiguration = function (output, context) {
|
|
@@ -3460,9 +3353,7 @@ var deserializeAws_json1_1OnUploadWorkflowDetails = function (output, context) {
|
|
|
3460
3353
|
var deserializeAws_json1_1PosixProfile = function (output, context) {
|
|
3461
3354
|
return {
|
|
3462
3355
|
Gid: __expectLong(output.Gid),
|
|
3463
|
-
SecondaryGids: output.SecondaryGids
|
|
3464
|
-
? deserializeAws_json1_1SecondaryGids(output.SecondaryGids, context)
|
|
3465
|
-
: undefined,
|
|
3356
|
+
SecondaryGids: output.SecondaryGids != null ? deserializeAws_json1_1SecondaryGids(output.SecondaryGids, context) : undefined,
|
|
3466
3357
|
Uid: __expectLong(output.Uid),
|
|
3467
3358
|
};
|
|
3468
3359
|
};
|
|
@@ -3578,9 +3469,7 @@ var deserializeAws_json1_1SendWorkflowStepStateResponse = function (output, cont
|
|
|
3578
3469
|
};
|
|
3579
3470
|
var deserializeAws_json1_1ServiceMetadata = function (output, context) {
|
|
3580
3471
|
return {
|
|
3581
|
-
UserDetails: output.UserDetails
|
|
3582
|
-
? deserializeAws_json1_1UserDetails(output.UserDetails, context)
|
|
3583
|
-
: undefined,
|
|
3472
|
+
UserDetails: output.UserDetails != null ? deserializeAws_json1_1UserDetails(output.UserDetails, context) : undefined,
|
|
3584
3473
|
};
|
|
3585
3474
|
};
|
|
3586
3475
|
var deserializeAws_json1_1ServiceUnavailableException = function (output, context) {
|
|
@@ -3590,7 +3479,7 @@ var deserializeAws_json1_1ServiceUnavailableException = function (output, contex
|
|
|
3590
3479
|
};
|
|
3591
3480
|
var deserializeAws_json1_1SshPublicKey = function (output, context) {
|
|
3592
3481
|
return {
|
|
3593
|
-
DateImported: output.DateImported
|
|
3482
|
+
DateImported: output.DateImported != null
|
|
3594
3483
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateImported)))
|
|
3595
3484
|
: undefined,
|
|
3596
3485
|
SshPublicKeyBody: __expectString(output.SshPublicKeyBody),
|
|
@@ -3640,9 +3529,7 @@ var deserializeAws_json1_1TagStepDetails = function (output, context) {
|
|
|
3640
3529
|
return {
|
|
3641
3530
|
Name: __expectString(output.Name),
|
|
3642
3531
|
SourceFileLocation: __expectString(output.SourceFileLocation),
|
|
3643
|
-
Tags: output.Tags
|
|
3644
|
-
? deserializeAws_json1_1S3Tags(output.Tags, context)
|
|
3645
|
-
: undefined,
|
|
3532
|
+
Tags: output.Tags != null ? deserializeAws_json1_1S3Tags(output.Tags, context) : undefined,
|
|
3646
3533
|
};
|
|
3647
3534
|
};
|
|
3648
3535
|
var deserializeAws_json1_1TestIdentityProviderResponse = function (output, context) {
|
|
@@ -3690,25 +3577,21 @@ var deserializeAws_json1_1WorkflowDetail = function (output, context) {
|
|
|
3690
3577
|
};
|
|
3691
3578
|
var deserializeAws_json1_1WorkflowDetails = function (output, context) {
|
|
3692
3579
|
return {
|
|
3693
|
-
OnUpload: output.OnUpload
|
|
3694
|
-
? deserializeAws_json1_1OnUploadWorkflowDetails(output.OnUpload, context)
|
|
3695
|
-
: undefined,
|
|
3580
|
+
OnUpload: output.OnUpload != null ? deserializeAws_json1_1OnUploadWorkflowDetails(output.OnUpload, context) : undefined,
|
|
3696
3581
|
};
|
|
3697
3582
|
};
|
|
3698
3583
|
var deserializeAws_json1_1WorkflowStep = function (output, context) {
|
|
3699
3584
|
return {
|
|
3700
|
-
CopyStepDetails: output.CopyStepDetails
|
|
3585
|
+
CopyStepDetails: output.CopyStepDetails != null
|
|
3701
3586
|
? deserializeAws_json1_1CopyStepDetails(output.CopyStepDetails, context)
|
|
3702
3587
|
: undefined,
|
|
3703
|
-
CustomStepDetails: output.CustomStepDetails
|
|
3588
|
+
CustomStepDetails: output.CustomStepDetails != null
|
|
3704
3589
|
? deserializeAws_json1_1CustomStepDetails(output.CustomStepDetails, context)
|
|
3705
3590
|
: undefined,
|
|
3706
|
-
DeleteStepDetails: output.DeleteStepDetails
|
|
3591
|
+
DeleteStepDetails: output.DeleteStepDetails != null
|
|
3707
3592
|
? deserializeAws_json1_1DeleteStepDetails(output.DeleteStepDetails, context)
|
|
3708
3593
|
: undefined,
|
|
3709
|
-
TagStepDetails: output.TagStepDetails
|
|
3710
|
-
? deserializeAws_json1_1TagStepDetails(output.TagStepDetails, context)
|
|
3711
|
-
: undefined,
|
|
3594
|
+
TagStepDetails: output.TagStepDetails != null ? deserializeAws_json1_1TagStepDetails(output.TagStepDetails, context) : undefined,
|
|
3712
3595
|
Type: __expectString(output.Type),
|
|
3713
3596
|
};
|
|
3714
3597
|
};
|
|
@@ -3779,6 +3662,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3779
3662
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
3780
3663
|
var sanitizeErrorCode = function (rawValue) {
|
|
3781
3664
|
var cleanValue = rawValue;
|
|
3665
|
+
if (typeof cleanValue === "number") {
|
|
3666
|
+
cleanValue = cleanValue.toString();
|
|
3667
|
+
}
|
|
3782
3668
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3783
3669
|
cleanValue = cleanValue.split(":")[0];
|
|
3784
3670
|
}
|