@aws-sdk/client-datasync 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +265 -429
- package/dist-es/protocols/Aws_json1_1.js +131 -295
- package/package.json +26 -26
|
@@ -2936,172 +2936,112 @@ var serializeAws_json1_1AgentArnList = function (input, context) {
|
|
|
2936
2936
|
});
|
|
2937
2937
|
};
|
|
2938
2938
|
var serializeAws_json1_1CancelTaskExecutionRequest = function (input, context) {
|
|
2939
|
-
return __assign({}, (input.TaskExecutionArn
|
|
2940
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
2939
|
+
return __assign({}, (input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
2941
2940
|
};
|
|
2942
2941
|
var serializeAws_json1_1CreateAgentRequest = function (input, context) {
|
|
2943
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActivationKey
|
|
2944
|
-
input.SecurityGroupArns !== null && {
|
|
2942
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActivationKey != null && { ActivationKey: input.ActivationKey })), (input.AgentName != null && { AgentName: input.AgentName })), (input.SecurityGroupArns != null && {
|
|
2945
2943
|
SecurityGroupArns: serializeAws_json1_1PLSecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2946
|
-
})), (input.SubnetArns
|
|
2947
|
-
input.SubnetArns !== null && { SubnetArns: serializeAws_json1_1PLSubnetArnList(input.SubnetArns, context) })), (input.Tags !== undefined &&
|
|
2948
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.VpcEndpointId !== undefined && input.VpcEndpointId !== null && { VpcEndpointId: input.VpcEndpointId }));
|
|
2944
|
+
})), (input.SubnetArns != null && { SubnetArns: serializeAws_json1_1PLSubnetArnList(input.SubnetArns, context) })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }));
|
|
2949
2945
|
};
|
|
2950
2946
|
var serializeAws_json1_1CreateLocationEfsRequest = function (input, context) {
|
|
2951
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPointArn
|
|
2952
|
-
input.AccessPointArn !== null && { AccessPointArn: input.AccessPointArn })), (input.Ec2Config !== undefined &&
|
|
2953
|
-
input.Ec2Config !== null && { Ec2Config: serializeAws_json1_1Ec2Config(input.Ec2Config, context) })), (input.EfsFilesystemArn !== undefined &&
|
|
2954
|
-
input.EfsFilesystemArn !== null && { EfsFilesystemArn: input.EfsFilesystemArn })), (input.FileSystemAccessRoleArn !== undefined &&
|
|
2955
|
-
input.FileSystemAccessRoleArn !== null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn })), (input.InTransitEncryption !== undefined &&
|
|
2956
|
-
input.InTransitEncryption !== null && { InTransitEncryption: input.InTransitEncryption })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2957
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2947
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPointArn != null && { AccessPointArn: input.AccessPointArn })), (input.Ec2Config != null && { Ec2Config: serializeAws_json1_1Ec2Config(input.Ec2Config, context) })), (input.EfsFilesystemArn != null && { EfsFilesystemArn: input.EfsFilesystemArn })), (input.FileSystemAccessRoleArn != null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn })), (input.InTransitEncryption != null && { InTransitEncryption: input.InTransitEncryption })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2958
2948
|
};
|
|
2959
2949
|
var serializeAws_json1_1CreateLocationFsxLustreRequest = function (input, context) {
|
|
2960
|
-
return __assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn
|
|
2961
|
-
input.FsxFilesystemArn !== null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.SecurityGroupArns !== undefined &&
|
|
2962
|
-
input.SecurityGroupArns !== null && {
|
|
2950
|
+
return __assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.SecurityGroupArns != null && {
|
|
2963
2951
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2964
|
-
})), (input.Subdirectory
|
|
2965
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2952
|
+
})), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2966
2953
|
};
|
|
2967
2954
|
var serializeAws_json1_1CreateLocationFsxOntapRequest = function (input, context) {
|
|
2968
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Protocol
|
|
2969
|
-
input.Protocol !== null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) })), (input.SecurityGroupArns !== undefined &&
|
|
2970
|
-
input.SecurityGroupArns !== null && {
|
|
2955
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Protocol != null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) })), (input.SecurityGroupArns != null && {
|
|
2971
2956
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2972
|
-
})), (input.StorageVirtualMachineArn
|
|
2973
|
-
input.StorageVirtualMachineArn !== null && { StorageVirtualMachineArn: input.StorageVirtualMachineArn })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2974
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2957
|
+
})), (input.StorageVirtualMachineArn != null && { StorageVirtualMachineArn: input.StorageVirtualMachineArn })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2975
2958
|
};
|
|
2976
2959
|
var serializeAws_json1_1CreateLocationFsxOpenZfsRequest = function (input, context) {
|
|
2977
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn
|
|
2978
|
-
input.FsxFilesystemArn !== null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Protocol !== undefined &&
|
|
2979
|
-
input.Protocol !== null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) })), (input.SecurityGroupArns !== undefined &&
|
|
2980
|
-
input.SecurityGroupArns !== null && {
|
|
2960
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Protocol != null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) })), (input.SecurityGroupArns != null && {
|
|
2981
2961
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2982
|
-
})), (input.Subdirectory
|
|
2983
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2962
|
+
})), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2984
2963
|
};
|
|
2985
2964
|
var serializeAws_json1_1CreateLocationFsxWindowsRequest = function (input, context) {
|
|
2986
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Domain
|
|
2987
|
-
input.FsxFilesystemArn !== null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.SecurityGroupArns !== undefined &&
|
|
2988
|
-
input.SecurityGroupArns !== null && {
|
|
2965
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Domain != null && { Domain: input.Domain })), (input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Password != null && { Password: input.Password })), (input.SecurityGroupArns != null && {
|
|
2989
2966
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2990
|
-
})), (input.Subdirectory
|
|
2991
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.User !== undefined && input.User !== null && { User: input.User }));
|
|
2967
|
+
})), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.User != null && { User: input.User }));
|
|
2992
2968
|
};
|
|
2993
2969
|
var serializeAws_json1_1CreateLocationHdfsRequest = function (input, context) {
|
|
2994
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
2995
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.AuthenticationType !== undefined &&
|
|
2996
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.BlockSize !== undefined && input.BlockSize !== null && { BlockSize: input.BlockSize })), (input.KerberosKeytab !== undefined &&
|
|
2997
|
-
input.KerberosKeytab !== null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) })), (input.KerberosKrb5Conf !== undefined &&
|
|
2998
|
-
input.KerberosKrb5Conf !== null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) })), (input.KerberosPrincipal !== undefined &&
|
|
2999
|
-
input.KerberosPrincipal !== null && { KerberosPrincipal: input.KerberosPrincipal })), (input.KmsKeyProviderUri !== undefined &&
|
|
3000
|
-
input.KmsKeyProviderUri !== null && { KmsKeyProviderUri: input.KmsKeyProviderUri })), (input.NameNodes !== undefined &&
|
|
3001
|
-
input.NameNodes !== null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) })), (input.QopConfiguration !== undefined &&
|
|
3002
|
-
input.QopConfiguration !== null && {
|
|
2970
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.BlockSize != null && { BlockSize: input.BlockSize })), (input.KerberosKeytab != null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) })), (input.KerberosKrb5Conf != null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) })), (input.KerberosPrincipal != null && { KerberosPrincipal: input.KerberosPrincipal })), (input.KmsKeyProviderUri != null && { KmsKeyProviderUri: input.KmsKeyProviderUri })), (input.NameNodes != null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) })), (input.QopConfiguration != null && {
|
|
3003
2971
|
QopConfiguration: serializeAws_json1_1QopConfiguration(input.QopConfiguration, context),
|
|
3004
|
-
})), (input.ReplicationFactor
|
|
3005
|
-
input.ReplicationFactor !== null && { ReplicationFactor: input.ReplicationFactor })), (input.SimpleUser !== undefined && input.SimpleUser !== null && { SimpleUser: input.SimpleUser })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
3006
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2972
|
+
})), (input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor })), (input.SimpleUser != null && { SimpleUser: input.SimpleUser })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3007
2973
|
};
|
|
3008
2974
|
var serializeAws_json1_1CreateLocationNfsRequest = function (input, context) {
|
|
3009
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.MountOptions
|
|
3010
|
-
input.MountOptions !== null && {
|
|
2975
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.MountOptions != null && {
|
|
3011
2976
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
3012
|
-
})), (input.OnPremConfig
|
|
3013
|
-
input.OnPremConfig !== null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) })), (input.ServerHostname !== undefined &&
|
|
3014
|
-
input.ServerHostname !== null && { ServerHostname: input.ServerHostname })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
3015
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2977
|
+
})), (input.OnPremConfig != null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) })), (input.ServerHostname != null && { ServerHostname: input.ServerHostname })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3016
2978
|
};
|
|
3017
2979
|
var serializeAws_json1_1CreateLocationObjectStorageRequest = function (input, context) {
|
|
3018
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessKey
|
|
3019
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName })), (input.SecretKey !== undefined && input.SecretKey !== null && { SecretKey: input.SecretKey })), (input.ServerHostname !== undefined &&
|
|
3020
|
-
input.ServerHostname !== null && { ServerHostname: input.ServerHostname })), (input.ServerPort !== undefined && input.ServerPort !== null && { ServerPort: input.ServerPort })), (input.ServerProtocol !== undefined &&
|
|
3021
|
-
input.ServerProtocol !== null && { ServerProtocol: input.ServerProtocol })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
3022
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2980
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessKey != null && { AccessKey: input.AccessKey })), (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.BucketName != null && { BucketName: input.BucketName })), (input.SecretKey != null && { SecretKey: input.SecretKey })), (input.ServerHostname != null && { ServerHostname: input.ServerHostname })), (input.ServerPort != null && { ServerPort: input.ServerPort })), (input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3023
2981
|
};
|
|
3024
2982
|
var serializeAws_json1_1CreateLocationS3Request = function (input, context) {
|
|
3025
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
3026
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.S3BucketArn !== undefined && input.S3BucketArn !== null && { S3BucketArn: input.S3BucketArn })), (input.S3Config !== undefined &&
|
|
3027
|
-
input.S3Config !== null && { S3Config: serializeAws_json1_1S3Config(input.S3Config, context) })), (input.S3StorageClass !== undefined &&
|
|
3028
|
-
input.S3StorageClass !== null && { S3StorageClass: input.S3StorageClass })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
3029
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2983
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.S3BucketArn != null && { S3BucketArn: input.S3BucketArn })), (input.S3Config != null && { S3Config: serializeAws_json1_1S3Config(input.S3Config, context) })), (input.S3StorageClass != null && { S3StorageClass: input.S3StorageClass })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3030
2984
|
};
|
|
3031
2985
|
var serializeAws_json1_1CreateLocationSmbRequest = function (input, context) {
|
|
3032
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
3033
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.MountOptions !== undefined &&
|
|
3034
|
-
input.MountOptions !== null && {
|
|
2986
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.Domain != null && { Domain: input.Domain })), (input.MountOptions != null && {
|
|
3035
2987
|
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
3036
|
-
})), (input.Password
|
|
3037
|
-
input.ServerHostname !== null && { ServerHostname: input.ServerHostname })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
3038
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.User !== undefined && input.User !== null && { User: input.User }));
|
|
2988
|
+
})), (input.Password != null && { Password: input.Password })), (input.ServerHostname != null && { ServerHostname: input.ServerHostname })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.User != null && { User: input.User }));
|
|
3039
2989
|
};
|
|
3040
2990
|
var serializeAws_json1_1CreateTaskRequest = function (input, context) {
|
|
3041
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLogGroupArn
|
|
3042
|
-
input.CloudWatchLogGroupArn !== null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn })), (input.DestinationLocationArn !== undefined &&
|
|
3043
|
-
input.DestinationLocationArn !== null && { DestinationLocationArn: input.DestinationLocationArn })), (input.Excludes !== undefined &&
|
|
3044
|
-
input.Excludes !== null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes !== undefined &&
|
|
3045
|
-
input.Includes !== null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Options !== undefined &&
|
|
3046
|
-
input.Options !== null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.Schedule !== undefined &&
|
|
3047
|
-
input.Schedule !== null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) })), (input.SourceLocationArn !== undefined &&
|
|
3048
|
-
input.SourceLocationArn !== null && { SourceLocationArn: input.SourceLocationArn })), (input.Tags !== undefined &&
|
|
3049
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2991
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn })), (input.DestinationLocationArn != null && { DestinationLocationArn: input.DestinationLocationArn })), (input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.Name != null && { Name: input.Name })), (input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.Schedule != null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) })), (input.SourceLocationArn != null && { SourceLocationArn: input.SourceLocationArn })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3050
2992
|
};
|
|
3051
2993
|
var serializeAws_json1_1DeleteAgentRequest = function (input, context) {
|
|
3052
|
-
return __assign({}, (input.AgentArn
|
|
2994
|
+
return __assign({}, (input.AgentArn != null && { AgentArn: input.AgentArn }));
|
|
3053
2995
|
};
|
|
3054
2996
|
var serializeAws_json1_1DeleteLocationRequest = function (input, context) {
|
|
3055
|
-
return __assign({}, (input.LocationArn
|
|
2997
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3056
2998
|
};
|
|
3057
2999
|
var serializeAws_json1_1DeleteTaskRequest = function (input, context) {
|
|
3058
|
-
return __assign({}, (input.TaskArn
|
|
3000
|
+
return __assign({}, (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
3059
3001
|
};
|
|
3060
3002
|
var serializeAws_json1_1DescribeAgentRequest = function (input, context) {
|
|
3061
|
-
return __assign({}, (input.AgentArn
|
|
3003
|
+
return __assign({}, (input.AgentArn != null && { AgentArn: input.AgentArn }));
|
|
3062
3004
|
};
|
|
3063
3005
|
var serializeAws_json1_1DescribeLocationEfsRequest = function (input, context) {
|
|
3064
|
-
return __assign({}, (input.LocationArn
|
|
3006
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3065
3007
|
};
|
|
3066
3008
|
var serializeAws_json1_1DescribeLocationFsxLustreRequest = function (input, context) {
|
|
3067
|
-
return __assign({}, (input.LocationArn
|
|
3009
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3068
3010
|
};
|
|
3069
3011
|
var serializeAws_json1_1DescribeLocationFsxOntapRequest = function (input, context) {
|
|
3070
|
-
return __assign({}, (input.LocationArn
|
|
3012
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3071
3013
|
};
|
|
3072
3014
|
var serializeAws_json1_1DescribeLocationFsxOpenZfsRequest = function (input, context) {
|
|
3073
|
-
return __assign({}, (input.LocationArn
|
|
3015
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3074
3016
|
};
|
|
3075
3017
|
var serializeAws_json1_1DescribeLocationFsxWindowsRequest = function (input, context) {
|
|
3076
|
-
return __assign({}, (input.LocationArn
|
|
3018
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3077
3019
|
};
|
|
3078
3020
|
var serializeAws_json1_1DescribeLocationHdfsRequest = function (input, context) {
|
|
3079
|
-
return __assign({}, (input.LocationArn
|
|
3021
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3080
3022
|
};
|
|
3081
3023
|
var serializeAws_json1_1DescribeLocationNfsRequest = function (input, context) {
|
|
3082
|
-
return __assign({}, (input.LocationArn
|
|
3024
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3083
3025
|
};
|
|
3084
3026
|
var serializeAws_json1_1DescribeLocationObjectStorageRequest = function (input, context) {
|
|
3085
|
-
return __assign({}, (input.LocationArn
|
|
3027
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3086
3028
|
};
|
|
3087
3029
|
var serializeAws_json1_1DescribeLocationS3Request = function (input, context) {
|
|
3088
|
-
return __assign({}, (input.LocationArn
|
|
3030
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3089
3031
|
};
|
|
3090
3032
|
var serializeAws_json1_1DescribeLocationSmbRequest = function (input, context) {
|
|
3091
|
-
return __assign({}, (input.LocationArn
|
|
3033
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3092
3034
|
};
|
|
3093
3035
|
var serializeAws_json1_1DescribeTaskExecutionRequest = function (input, context) {
|
|
3094
|
-
return __assign({}, (input.TaskExecutionArn
|
|
3095
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
3036
|
+
return __assign({}, (input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
3096
3037
|
};
|
|
3097
3038
|
var serializeAws_json1_1DescribeTaskRequest = function (input, context) {
|
|
3098
|
-
return __assign({}, (input.TaskArn
|
|
3039
|
+
return __assign({}, (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
3099
3040
|
};
|
|
3100
3041
|
var serializeAws_json1_1Ec2Config = function (input, context) {
|
|
3101
|
-
return __assign(__assign({}, (input.SecurityGroupArns
|
|
3102
|
-
input.SecurityGroupArns !== null && {
|
|
3042
|
+
return __assign(__assign({}, (input.SecurityGroupArns != null && {
|
|
3103
3043
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
3104
|
-
})), (input.SubnetArn
|
|
3044
|
+
})), (input.SubnetArn != null && { SubnetArn: input.SubnetArn }));
|
|
3105
3045
|
};
|
|
3106
3046
|
var serializeAws_json1_1Ec2SecurityGroupArnList = function (input, context) {
|
|
3107
3047
|
return input
|
|
@@ -3124,7 +3064,7 @@ var serializeAws_json1_1FilterList = function (input, context) {
|
|
|
3124
3064
|
});
|
|
3125
3065
|
};
|
|
3126
3066
|
var serializeAws_json1_1FilterRule = function (input, context) {
|
|
3127
|
-
return __assign(__assign({}, (input.FilterType
|
|
3067
|
+
return __assign(__assign({}, (input.FilterType != null && { FilterType: input.FilterType })), (input.Value != null && { Value: input.Value }));
|
|
3128
3068
|
};
|
|
3129
3069
|
var serializeAws_json1_1FilterValues = function (input, context) {
|
|
3130
3070
|
return input
|
|
@@ -3137,24 +3077,20 @@ var serializeAws_json1_1FilterValues = function (input, context) {
|
|
|
3137
3077
|
});
|
|
3138
3078
|
};
|
|
3139
3079
|
var serializeAws_json1_1FsxProtocol = function (input, context) {
|
|
3140
|
-
return __assign(__assign({}, (input.NFS
|
|
3141
|
-
input.NFS !== null && { NFS: serializeAws_json1_1FsxProtocolNfs(input.NFS, context) })), (input.SMB !== undefined &&
|
|
3142
|
-
input.SMB !== null && { SMB: serializeAws_json1_1FsxProtocolSmb(input.SMB, context) }));
|
|
3080
|
+
return __assign(__assign({}, (input.NFS != null && { NFS: serializeAws_json1_1FsxProtocolNfs(input.NFS, context) })), (input.SMB != null && { SMB: serializeAws_json1_1FsxProtocolSmb(input.SMB, context) }));
|
|
3143
3081
|
};
|
|
3144
3082
|
var serializeAws_json1_1FsxProtocolNfs = function (input, context) {
|
|
3145
|
-
return __assign({}, (input.MountOptions
|
|
3146
|
-
input.MountOptions !== null && {
|
|
3083
|
+
return __assign({}, (input.MountOptions != null && {
|
|
3147
3084
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
3148
3085
|
}));
|
|
3149
3086
|
};
|
|
3150
3087
|
var serializeAws_json1_1FsxProtocolSmb = function (input, context) {
|
|
3151
|
-
return __assign(__assign(__assign(__assign({}, (input.Domain
|
|
3152
|
-
input.MountOptions !== null && {
|
|
3088
|
+
return __assign(__assign(__assign(__assign({}, (input.Domain != null && { Domain: input.Domain })), (input.MountOptions != null && {
|
|
3153
3089
|
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
3154
|
-
})), (input.Password
|
|
3090
|
+
})), (input.Password != null && { Password: input.Password })), (input.User != null && { User: input.User }));
|
|
3155
3091
|
};
|
|
3156
3092
|
var serializeAws_json1_1HdfsNameNode = function (input, context) {
|
|
3157
|
-
return __assign(__assign({}, (input.Hostname
|
|
3093
|
+
return __assign(__assign({}, (input.Hostname != null && { Hostname: input.Hostname })), (input.Port != null && { Port: input.Port }));
|
|
3158
3094
|
};
|
|
3159
3095
|
var serializeAws_json1_1HdfsNameNodeList = function (input, context) {
|
|
3160
3096
|
return input
|
|
@@ -3177,25 +3113,22 @@ var serializeAws_json1_1InputTagList = function (input, context) {
|
|
|
3177
3113
|
});
|
|
3178
3114
|
};
|
|
3179
3115
|
var serializeAws_json1_1ListAgentsRequest = function (input, context) {
|
|
3180
|
-
return __assign(__assign({}, (input.MaxResults
|
|
3116
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3181
3117
|
};
|
|
3182
3118
|
var serializeAws_json1_1ListLocationsRequest = function (input, context) {
|
|
3183
|
-
return __assign(__assign(__assign({}, (input.Filters
|
|
3184
|
-
input.Filters !== null && { Filters: serializeAws_json1_1LocationFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3119
|
+
return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1LocationFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3185
3120
|
};
|
|
3186
3121
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
3187
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3122
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
3188
3123
|
};
|
|
3189
3124
|
var serializeAws_json1_1ListTaskExecutionsRequest = function (input, context) {
|
|
3190
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3125
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
3191
3126
|
};
|
|
3192
3127
|
var serializeAws_json1_1ListTasksRequest = function (input, context) {
|
|
3193
|
-
return __assign(__assign(__assign({}, (input.Filters
|
|
3194
|
-
input.Filters !== null && { Filters: serializeAws_json1_1TaskFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3128
|
+
return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1TaskFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3195
3129
|
};
|
|
3196
3130
|
var serializeAws_json1_1LocationFilter = function (input, context) {
|
|
3197
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
3198
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3131
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3199
3132
|
};
|
|
3200
3133
|
var serializeAws_json1_1LocationFilters = function (input, context) {
|
|
3201
3134
|
return input
|
|
@@ -3208,19 +3141,15 @@ var serializeAws_json1_1LocationFilters = function (input, context) {
|
|
|
3208
3141
|
});
|
|
3209
3142
|
};
|
|
3210
3143
|
var serializeAws_json1_1NfsMountOptions = function (input, context) {
|
|
3211
|
-
return __assign({}, (input.Version
|
|
3144
|
+
return __assign({}, (input.Version != null && { Version: input.Version }));
|
|
3212
3145
|
};
|
|
3213
3146
|
var serializeAws_json1_1OnPremConfig = function (input, context) {
|
|
3214
|
-
return __assign({}, (input.AgentArns
|
|
3215
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }));
|
|
3147
|
+
return __assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }));
|
|
3216
3148
|
};
|
|
3217
3149
|
var serializeAws_json1_1Options = function (input, context) {
|
|
3218
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Atime
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
input.PreserveDeletedFiles !== null && { PreserveDeletedFiles: input.PreserveDeletedFiles })), (input.PreserveDevices !== undefined &&
|
|
3222
|
-
input.PreserveDevices !== null && { PreserveDevices: input.PreserveDevices })), (input.SecurityDescriptorCopyFlags !== undefined &&
|
|
3223
|
-
input.SecurityDescriptorCopyFlags !== null && { SecurityDescriptorCopyFlags: input.SecurityDescriptorCopyFlags })), (input.TaskQueueing !== undefined && input.TaskQueueing !== null && { TaskQueueing: input.TaskQueueing })), (input.TransferMode !== undefined && input.TransferMode !== null && { TransferMode: input.TransferMode })), (input.Uid !== undefined && input.Uid !== null && { Uid: input.Uid })), (input.VerifyMode !== undefined && input.VerifyMode !== null && { VerifyMode: input.VerifyMode }));
|
|
3150
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Atime != null && { Atime: input.Atime })), (input.BytesPerSecond != null && { BytesPerSecond: input.BytesPerSecond })), (input.Gid != null && { Gid: input.Gid })), (input.LogLevel != null && { LogLevel: input.LogLevel })), (input.Mtime != null && { Mtime: input.Mtime })), (input.ObjectTags != null && { ObjectTags: input.ObjectTags })), (input.OverwriteMode != null && { OverwriteMode: input.OverwriteMode })), (input.PosixPermissions != null && { PosixPermissions: input.PosixPermissions })), (input.PreserveDeletedFiles != null && { PreserveDeletedFiles: input.PreserveDeletedFiles })), (input.PreserveDevices != null && { PreserveDevices: input.PreserveDevices })), (input.SecurityDescriptorCopyFlags != null && {
|
|
3151
|
+
SecurityDescriptorCopyFlags: input.SecurityDescriptorCopyFlags,
|
|
3152
|
+
})), (input.TaskQueueing != null && { TaskQueueing: input.TaskQueueing })), (input.TransferMode != null && { TransferMode: input.TransferMode })), (input.Uid != null && { Uid: input.Uid })), (input.VerifyMode != null && { VerifyMode: input.VerifyMode }));
|
|
3224
3153
|
};
|
|
3225
3154
|
var serializeAws_json1_1PLSecurityGroupArnList = function (input, context) {
|
|
3226
3155
|
return input
|
|
@@ -3243,23 +3172,18 @@ var serializeAws_json1_1PLSubnetArnList = function (input, context) {
|
|
|
3243
3172
|
});
|
|
3244
3173
|
};
|
|
3245
3174
|
var serializeAws_json1_1QopConfiguration = function (input, context) {
|
|
3246
|
-
return __assign(__assign({}, (input.DataTransferProtection
|
|
3247
|
-
input.DataTransferProtection !== null && { DataTransferProtection: input.DataTransferProtection })), (input.RpcProtection !== undefined && input.RpcProtection !== null && { RpcProtection: input.RpcProtection }));
|
|
3175
|
+
return __assign(__assign({}, (input.DataTransferProtection != null && { DataTransferProtection: input.DataTransferProtection })), (input.RpcProtection != null && { RpcProtection: input.RpcProtection }));
|
|
3248
3176
|
};
|
|
3249
3177
|
var serializeAws_json1_1S3Config = function (input, context) {
|
|
3250
|
-
return __assign({}, (input.BucketAccessRoleArn
|
|
3251
|
-
input.BucketAccessRoleArn !== null && { BucketAccessRoleArn: input.BucketAccessRoleArn }));
|
|
3178
|
+
return __assign({}, (input.BucketAccessRoleArn != null && { BucketAccessRoleArn: input.BucketAccessRoleArn }));
|
|
3252
3179
|
};
|
|
3253
3180
|
var serializeAws_json1_1SmbMountOptions = function (input, context) {
|
|
3254
|
-
return __assign({}, (input.Version
|
|
3181
|
+
return __assign({}, (input.Version != null && { Version: input.Version }));
|
|
3255
3182
|
};
|
|
3256
3183
|
var serializeAws_json1_1StartTaskExecutionRequest = function (input, context) {
|
|
3257
|
-
return __assign(__assign(__assign(__assign({}, (input.Excludes
|
|
3258
|
-
input.Excludes !== null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes !== undefined &&
|
|
3259
|
-
input.Includes !== null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.OverrideOptions !== undefined &&
|
|
3260
|
-
input.OverrideOptions !== null && {
|
|
3184
|
+
return __assign(__assign(__assign(__assign({}, (input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.OverrideOptions != null && {
|
|
3261
3185
|
OverrideOptions: serializeAws_json1_1Options(input.OverrideOptions, context),
|
|
3262
|
-
})), (input.TaskArn
|
|
3186
|
+
})), (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
3263
3187
|
};
|
|
3264
3188
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
3265
3189
|
return input
|
|
@@ -3272,15 +3196,13 @@ var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
|
3272
3196
|
});
|
|
3273
3197
|
};
|
|
3274
3198
|
var serializeAws_json1_1TagListEntry = function (input, context) {
|
|
3275
|
-
return __assign(__assign({}, (input.Key
|
|
3199
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3276
3200
|
};
|
|
3277
3201
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3278
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3279
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3202
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3280
3203
|
};
|
|
3281
3204
|
var serializeAws_json1_1TaskFilter = function (input, context) {
|
|
3282
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
3283
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3205
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3284
3206
|
};
|
|
3285
3207
|
var serializeAws_json1_1TaskFilters = function (input, context) {
|
|
3286
3208
|
return input
|
|
@@ -3293,61 +3215,37 @@ var serializeAws_json1_1TaskFilters = function (input, context) {
|
|
|
3293
3215
|
});
|
|
3294
3216
|
};
|
|
3295
3217
|
var serializeAws_json1_1TaskSchedule = function (input, context) {
|
|
3296
|
-
return __assign({}, (input.ScheduleExpression
|
|
3297
|
-
input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }));
|
|
3218
|
+
return __assign({}, (input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }));
|
|
3298
3219
|
};
|
|
3299
3220
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3300
|
-
return __assign(__assign({}, (input.Keys
|
|
3301
|
-
input.Keys !== null && { Keys: serializeAws_json1_1TagKeyList(input.Keys, context) })), (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }));
|
|
3221
|
+
return __assign(__assign({}, (input.Keys != null && { Keys: serializeAws_json1_1TagKeyList(input.Keys, context) })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
3302
3222
|
};
|
|
3303
3223
|
var serializeAws_json1_1UpdateAgentRequest = function (input, context) {
|
|
3304
|
-
return __assign(__assign({}, (input.AgentArn
|
|
3224
|
+
return __assign(__assign({}, (input.AgentArn != null && { AgentArn: input.AgentArn })), (input.Name != null && { Name: input.Name }));
|
|
3305
3225
|
};
|
|
3306
3226
|
var serializeAws_json1_1UpdateLocationHdfsRequest = function (input, context) {
|
|
3307
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
3308
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.AuthenticationType !== undefined &&
|
|
3309
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.BlockSize !== undefined && input.BlockSize !== null && { BlockSize: input.BlockSize })), (input.KerberosKeytab !== undefined &&
|
|
3310
|
-
input.KerberosKeytab !== null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) })), (input.KerberosKrb5Conf !== undefined &&
|
|
3311
|
-
input.KerberosKrb5Conf !== null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) })), (input.KerberosPrincipal !== undefined &&
|
|
3312
|
-
input.KerberosPrincipal !== null && { KerberosPrincipal: input.KerberosPrincipal })), (input.KmsKeyProviderUri !== undefined &&
|
|
3313
|
-
input.KmsKeyProviderUri !== null && { KmsKeyProviderUri: input.KmsKeyProviderUri })), (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn })), (input.NameNodes !== undefined &&
|
|
3314
|
-
input.NameNodes !== null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) })), (input.QopConfiguration !== undefined &&
|
|
3315
|
-
input.QopConfiguration !== null && {
|
|
3227
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.BlockSize != null && { BlockSize: input.BlockSize })), (input.KerberosKeytab != null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) })), (input.KerberosKrb5Conf != null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) })), (input.KerberosPrincipal != null && { KerberosPrincipal: input.KerberosPrincipal })), (input.KmsKeyProviderUri != null && { KmsKeyProviderUri: input.KmsKeyProviderUri })), (input.LocationArn != null && { LocationArn: input.LocationArn })), (input.NameNodes != null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) })), (input.QopConfiguration != null && {
|
|
3316
3228
|
QopConfiguration: serializeAws_json1_1QopConfiguration(input.QopConfiguration, context),
|
|
3317
|
-
})), (input.ReplicationFactor
|
|
3318
|
-
input.ReplicationFactor !== null && { ReplicationFactor: input.ReplicationFactor })), (input.SimpleUser !== undefined && input.SimpleUser !== null && { SimpleUser: input.SimpleUser })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }));
|
|
3229
|
+
})), (input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor })), (input.SimpleUser != null && { SimpleUser: input.SimpleUser })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory }));
|
|
3319
3230
|
};
|
|
3320
3231
|
var serializeAws_json1_1UpdateLocationNfsRequest = function (input, context) {
|
|
3321
|
-
return __assign(__assign(__assign(__assign({}, (input.LocationArn
|
|
3322
|
-
input.MountOptions !== null && {
|
|
3232
|
+
return __assign(__assign(__assign(__assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn })), (input.MountOptions != null && {
|
|
3323
3233
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
3324
|
-
})), (input.OnPremConfig
|
|
3325
|
-
input.OnPremConfig !== null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }));
|
|
3234
|
+
})), (input.OnPremConfig != null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory }));
|
|
3326
3235
|
};
|
|
3327
3236
|
var serializeAws_json1_1UpdateLocationObjectStorageRequest = function (input, context) {
|
|
3328
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessKey
|
|
3329
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn })), (input.SecretKey !== undefined && input.SecretKey !== null && { SecretKey: input.SecretKey })), (input.ServerPort !== undefined && input.ServerPort !== null && { ServerPort: input.ServerPort })), (input.ServerProtocol !== undefined &&
|
|
3330
|
-
input.ServerProtocol !== null && { ServerProtocol: input.ServerProtocol })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }));
|
|
3237
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessKey != null && { AccessKey: input.AccessKey })), (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.LocationArn != null && { LocationArn: input.LocationArn })), (input.SecretKey != null && { SecretKey: input.SecretKey })), (input.ServerPort != null && { ServerPort: input.ServerPort })), (input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory }));
|
|
3331
3238
|
};
|
|
3332
3239
|
var serializeAws_json1_1UpdateLocationSmbRequest = function (input, context) {
|
|
3333
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
3334
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn })), (input.MountOptions !== undefined &&
|
|
3335
|
-
input.MountOptions !== null && {
|
|
3240
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.Domain != null && { Domain: input.Domain })), (input.LocationArn != null && { LocationArn: input.LocationArn })), (input.MountOptions != null && {
|
|
3336
3241
|
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
3337
|
-
})), (input.Password
|
|
3242
|
+
})), (input.Password != null && { Password: input.Password })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.User != null && { User: input.User }));
|
|
3338
3243
|
};
|
|
3339
3244
|
var serializeAws_json1_1UpdateTaskExecutionRequest = function (input, context) {
|
|
3340
|
-
return __assign(__assign({}, (input.Options
|
|
3341
|
-
input.Options !== null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.TaskExecutionArn !== undefined &&
|
|
3342
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
3245
|
+
return __assign(__assign({}, (input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
3343
3246
|
};
|
|
3344
3247
|
var serializeAws_json1_1UpdateTaskRequest = function (input, context) {
|
|
3345
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLogGroupArn
|
|
3346
|
-
input.CloudWatchLogGroupArn !== null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn })), (input.Excludes !== undefined &&
|
|
3347
|
-
input.Excludes !== null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes !== undefined &&
|
|
3348
|
-
input.Includes !== null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Options !== undefined &&
|
|
3349
|
-
input.Options !== null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.Schedule !== undefined &&
|
|
3350
|
-
input.Schedule !== null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) })), (input.TaskArn !== undefined && input.TaskArn !== null && { TaskArn: input.TaskArn }));
|
|
3248
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn })), (input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.Name != null && { Name: input.Name })), (input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.Schedule != null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) })), (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
3351
3249
|
};
|
|
3352
3250
|
var deserializeAws_json1_1AgentArnList = function (output, context) {
|
|
3353
3251
|
var retVal = (output || [])
|
|
@@ -3453,15 +3351,15 @@ var deserializeAws_json1_1DeleteTaskResponse = function (output, context) {
|
|
|
3453
3351
|
var deserializeAws_json1_1DescribeAgentResponse = function (output, context) {
|
|
3454
3352
|
return {
|
|
3455
3353
|
AgentArn: __expectString(output.AgentArn),
|
|
3456
|
-
CreationTime: output.CreationTime
|
|
3354
|
+
CreationTime: output.CreationTime != null
|
|
3457
3355
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3458
3356
|
: undefined,
|
|
3459
3357
|
EndpointType: __expectString(output.EndpointType),
|
|
3460
|
-
LastConnectionTime: output.LastConnectionTime
|
|
3358
|
+
LastConnectionTime: output.LastConnectionTime != null
|
|
3461
3359
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastConnectionTime)))
|
|
3462
3360
|
: undefined,
|
|
3463
3361
|
Name: __expectString(output.Name),
|
|
3464
|
-
PrivateLinkConfig: output.PrivateLinkConfig
|
|
3362
|
+
PrivateLinkConfig: output.PrivateLinkConfig != null
|
|
3465
3363
|
? deserializeAws_json1_1PrivateLinkConfig(output.PrivateLinkConfig, context)
|
|
3466
3364
|
: undefined,
|
|
3467
3365
|
Status: __expectString(output.Status),
|
|
@@ -3470,12 +3368,10 @@ var deserializeAws_json1_1DescribeAgentResponse = function (output, context) {
|
|
|
3470
3368
|
var deserializeAws_json1_1DescribeLocationEfsResponse = function (output, context) {
|
|
3471
3369
|
return {
|
|
3472
3370
|
AccessPointArn: __expectString(output.AccessPointArn),
|
|
3473
|
-
CreationTime: output.CreationTime
|
|
3371
|
+
CreationTime: output.CreationTime != null
|
|
3474
3372
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3475
3373
|
: undefined,
|
|
3476
|
-
Ec2Config: output.Ec2Config
|
|
3477
|
-
? deserializeAws_json1_1Ec2Config(output.Ec2Config, context)
|
|
3478
|
-
: undefined,
|
|
3374
|
+
Ec2Config: output.Ec2Config != null ? deserializeAws_json1_1Ec2Config(output.Ec2Config, context) : undefined,
|
|
3479
3375
|
FileSystemAccessRoleArn: __expectString(output.FileSystemAccessRoleArn),
|
|
3480
3376
|
InTransitEncryption: __expectString(output.InTransitEncryption),
|
|
3481
3377
|
LocationArn: __expectString(output.LocationArn),
|
|
@@ -3484,28 +3380,26 @@ var deserializeAws_json1_1DescribeLocationEfsResponse = function (output, contex
|
|
|
3484
3380
|
};
|
|
3485
3381
|
var deserializeAws_json1_1DescribeLocationFsxLustreResponse = function (output, context) {
|
|
3486
3382
|
return {
|
|
3487
|
-
CreationTime: output.CreationTime
|
|
3383
|
+
CreationTime: output.CreationTime != null
|
|
3488
3384
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3489
3385
|
: undefined,
|
|
3490
3386
|
LocationArn: __expectString(output.LocationArn),
|
|
3491
3387
|
LocationUri: __expectString(output.LocationUri),
|
|
3492
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3388
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3493
3389
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3494
3390
|
: undefined,
|
|
3495
3391
|
};
|
|
3496
3392
|
};
|
|
3497
3393
|
var deserializeAws_json1_1DescribeLocationFsxOntapResponse = function (output, context) {
|
|
3498
3394
|
return {
|
|
3499
|
-
CreationTime: output.CreationTime
|
|
3395
|
+
CreationTime: output.CreationTime != null
|
|
3500
3396
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3501
3397
|
: undefined,
|
|
3502
3398
|
FsxFilesystemArn: __expectString(output.FsxFilesystemArn),
|
|
3503
3399
|
LocationArn: __expectString(output.LocationArn),
|
|
3504
3400
|
LocationUri: __expectString(output.LocationUri),
|
|
3505
|
-
Protocol: output.Protocol
|
|
3506
|
-
|
|
3507
|
-
: undefined,
|
|
3508
|
-
SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
|
|
3401
|
+
Protocol: output.Protocol != null ? deserializeAws_json1_1FsxProtocol(output.Protocol, context) : undefined,
|
|
3402
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3509
3403
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3510
3404
|
: undefined,
|
|
3511
3405
|
StorageVirtualMachineArn: __expectString(output.StorageVirtualMachineArn),
|
|
@@ -3513,28 +3407,26 @@ var deserializeAws_json1_1DescribeLocationFsxOntapResponse = function (output, c
|
|
|
3513
3407
|
};
|
|
3514
3408
|
var deserializeAws_json1_1DescribeLocationFsxOpenZfsResponse = function (output, context) {
|
|
3515
3409
|
return {
|
|
3516
|
-
CreationTime: output.CreationTime
|
|
3410
|
+
CreationTime: output.CreationTime != null
|
|
3517
3411
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3518
3412
|
: undefined,
|
|
3519
3413
|
LocationArn: __expectString(output.LocationArn),
|
|
3520
3414
|
LocationUri: __expectString(output.LocationUri),
|
|
3521
|
-
Protocol: output.Protocol
|
|
3522
|
-
|
|
3523
|
-
: undefined,
|
|
3524
|
-
SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
|
|
3415
|
+
Protocol: output.Protocol != null ? deserializeAws_json1_1FsxProtocol(output.Protocol, context) : undefined,
|
|
3416
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3525
3417
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3526
3418
|
: undefined,
|
|
3527
3419
|
};
|
|
3528
3420
|
};
|
|
3529
3421
|
var deserializeAws_json1_1DescribeLocationFsxWindowsResponse = function (output, context) {
|
|
3530
3422
|
return {
|
|
3531
|
-
CreationTime: output.CreationTime
|
|
3423
|
+
CreationTime: output.CreationTime != null
|
|
3532
3424
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3533
3425
|
: undefined,
|
|
3534
3426
|
Domain: __expectString(output.Domain),
|
|
3535
3427
|
LocationArn: __expectString(output.LocationArn),
|
|
3536
3428
|
LocationUri: __expectString(output.LocationUri),
|
|
3537
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3429
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3538
3430
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3539
3431
|
: undefined,
|
|
3540
3432
|
User: __expectString(output.User),
|
|
@@ -3542,22 +3434,18 @@ var deserializeAws_json1_1DescribeLocationFsxWindowsResponse = function (output,
|
|
|
3542
3434
|
};
|
|
3543
3435
|
var deserializeAws_json1_1DescribeLocationHdfsResponse = function (output, context) {
|
|
3544
3436
|
return {
|
|
3545
|
-
AgentArns: output.AgentArns
|
|
3546
|
-
? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
|
|
3547
|
-
: undefined,
|
|
3437
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3548
3438
|
AuthenticationType: __expectString(output.AuthenticationType),
|
|
3549
3439
|
BlockSize: __expectInt32(output.BlockSize),
|
|
3550
|
-
CreationTime: output.CreationTime
|
|
3440
|
+
CreationTime: output.CreationTime != null
|
|
3551
3441
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3552
3442
|
: undefined,
|
|
3553
3443
|
KerberosPrincipal: __expectString(output.KerberosPrincipal),
|
|
3554
3444
|
KmsKeyProviderUri: __expectString(output.KmsKeyProviderUri),
|
|
3555
3445
|
LocationArn: __expectString(output.LocationArn),
|
|
3556
3446
|
LocationUri: __expectString(output.LocationUri),
|
|
3557
|
-
NameNodes: output.NameNodes
|
|
3558
|
-
|
|
3559
|
-
: undefined,
|
|
3560
|
-
QopConfiguration: output.QopConfiguration !== undefined && output.QopConfiguration !== null
|
|
3447
|
+
NameNodes: output.NameNodes != null ? deserializeAws_json1_1HdfsNameNodeList(output.NameNodes, context) : undefined,
|
|
3448
|
+
QopConfiguration: output.QopConfiguration != null
|
|
3561
3449
|
? deserializeAws_json1_1QopConfiguration(output.QopConfiguration, context)
|
|
3562
3450
|
: undefined,
|
|
3563
3451
|
ReplicationFactor: __expectInt32(output.ReplicationFactor),
|
|
@@ -3566,26 +3454,20 @@ var deserializeAws_json1_1DescribeLocationHdfsResponse = function (output, conte
|
|
|
3566
3454
|
};
|
|
3567
3455
|
var deserializeAws_json1_1DescribeLocationNfsResponse = function (output, context) {
|
|
3568
3456
|
return {
|
|
3569
|
-
CreationTime: output.CreationTime
|
|
3457
|
+
CreationTime: output.CreationTime != null
|
|
3570
3458
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3571
3459
|
: undefined,
|
|
3572
3460
|
LocationArn: __expectString(output.LocationArn),
|
|
3573
3461
|
LocationUri: __expectString(output.LocationUri),
|
|
3574
|
-
MountOptions: output.MountOptions
|
|
3575
|
-
|
|
3576
|
-
: undefined,
|
|
3577
|
-
OnPremConfig: output.OnPremConfig !== undefined && output.OnPremConfig !== null
|
|
3578
|
-
? deserializeAws_json1_1OnPremConfig(output.OnPremConfig, context)
|
|
3579
|
-
: undefined,
|
|
3462
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context) : undefined,
|
|
3463
|
+
OnPremConfig: output.OnPremConfig != null ? deserializeAws_json1_1OnPremConfig(output.OnPremConfig, context) : undefined,
|
|
3580
3464
|
};
|
|
3581
3465
|
};
|
|
3582
3466
|
var deserializeAws_json1_1DescribeLocationObjectStorageResponse = function (output, context) {
|
|
3583
3467
|
return {
|
|
3584
3468
|
AccessKey: __expectString(output.AccessKey),
|
|
3585
|
-
AgentArns: output.AgentArns
|
|
3586
|
-
|
|
3587
|
-
: undefined,
|
|
3588
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3469
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3470
|
+
CreationTime: output.CreationTime != null
|
|
3589
3471
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3590
3472
|
: undefined,
|
|
3591
3473
|
LocationArn: __expectString(output.LocationArn),
|
|
@@ -3596,34 +3478,26 @@ var deserializeAws_json1_1DescribeLocationObjectStorageResponse = function (outp
|
|
|
3596
3478
|
};
|
|
3597
3479
|
var deserializeAws_json1_1DescribeLocationS3Response = function (output, context) {
|
|
3598
3480
|
return {
|
|
3599
|
-
AgentArns: output.AgentArns
|
|
3600
|
-
|
|
3601
|
-
: undefined,
|
|
3602
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3481
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3482
|
+
CreationTime: output.CreationTime != null
|
|
3603
3483
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3604
3484
|
: undefined,
|
|
3605
3485
|
LocationArn: __expectString(output.LocationArn),
|
|
3606
3486
|
LocationUri: __expectString(output.LocationUri),
|
|
3607
|
-
S3Config: output.S3Config
|
|
3608
|
-
? deserializeAws_json1_1S3Config(output.S3Config, context)
|
|
3609
|
-
: undefined,
|
|
3487
|
+
S3Config: output.S3Config != null ? deserializeAws_json1_1S3Config(output.S3Config, context) : undefined,
|
|
3610
3488
|
S3StorageClass: __expectString(output.S3StorageClass),
|
|
3611
3489
|
};
|
|
3612
3490
|
};
|
|
3613
3491
|
var deserializeAws_json1_1DescribeLocationSmbResponse = function (output, context) {
|
|
3614
3492
|
return {
|
|
3615
|
-
AgentArns: output.AgentArns
|
|
3616
|
-
|
|
3617
|
-
: undefined,
|
|
3618
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3493
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3494
|
+
CreationTime: output.CreationTime != null
|
|
3619
3495
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3620
3496
|
: undefined,
|
|
3621
3497
|
Domain: __expectString(output.Domain),
|
|
3622
3498
|
LocationArn: __expectString(output.LocationArn),
|
|
3623
3499
|
LocationUri: __expectString(output.LocationUri),
|
|
3624
|
-
MountOptions: output.MountOptions
|
|
3625
|
-
? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context)
|
|
3626
|
-
: undefined,
|
|
3500
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context) : undefined,
|
|
3627
3501
|
User: __expectString(output.User),
|
|
3628
3502
|
};
|
|
3629
3503
|
};
|
|
@@ -3633,22 +3507,12 @@ var deserializeAws_json1_1DescribeTaskExecutionResponse = function (output, cont
|
|
|
3633
3507
|
BytesWritten: __expectLong(output.BytesWritten),
|
|
3634
3508
|
EstimatedBytesToTransfer: __expectLong(output.EstimatedBytesToTransfer),
|
|
3635
3509
|
EstimatedFilesToTransfer: __expectLong(output.EstimatedFilesToTransfer),
|
|
3636
|
-
Excludes: output.Excludes
|
|
3637
|
-
? deserializeAws_json1_1FilterList(output.Excludes, context)
|
|
3638
|
-
: undefined,
|
|
3510
|
+
Excludes: output.Excludes != null ? deserializeAws_json1_1FilterList(output.Excludes, context) : undefined,
|
|
3639
3511
|
FilesTransferred: __expectLong(output.FilesTransferred),
|
|
3640
|
-
Includes: output.Includes
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
? deserializeAws_json1_1Options(output.Options, context)
|
|
3645
|
-
: undefined,
|
|
3646
|
-
Result: output.Result !== undefined && output.Result !== null
|
|
3647
|
-
? deserializeAws_json1_1TaskExecutionResultDetail(output.Result, context)
|
|
3648
|
-
: undefined,
|
|
3649
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3650
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3651
|
-
: undefined,
|
|
3512
|
+
Includes: output.Includes != null ? deserializeAws_json1_1FilterList(output.Includes, context) : undefined,
|
|
3513
|
+
Options: output.Options != null ? deserializeAws_json1_1Options(output.Options, context) : undefined,
|
|
3514
|
+
Result: output.Result != null ? deserializeAws_json1_1TaskExecutionResultDetail(output.Result, context) : undefined,
|
|
3515
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3652
3516
|
Status: __expectString(output.Status),
|
|
3653
3517
|
TaskExecutionArn: __expectString(output.TaskExecutionArn),
|
|
3654
3518
|
};
|
|
@@ -3656,31 +3520,23 @@ var deserializeAws_json1_1DescribeTaskExecutionResponse = function (output, cont
|
|
|
3656
3520
|
var deserializeAws_json1_1DescribeTaskResponse = function (output, context) {
|
|
3657
3521
|
return {
|
|
3658
3522
|
CloudWatchLogGroupArn: __expectString(output.CloudWatchLogGroupArn),
|
|
3659
|
-
CreationTime: output.CreationTime
|
|
3523
|
+
CreationTime: output.CreationTime != null
|
|
3660
3524
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3661
3525
|
: undefined,
|
|
3662
3526
|
CurrentTaskExecutionArn: __expectString(output.CurrentTaskExecutionArn),
|
|
3663
3527
|
DestinationLocationArn: __expectString(output.DestinationLocationArn),
|
|
3664
|
-
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns
|
|
3528
|
+
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns != null
|
|
3665
3529
|
? deserializeAws_json1_1DestinationNetworkInterfaceArns(output.DestinationNetworkInterfaceArns, context)
|
|
3666
3530
|
: undefined,
|
|
3667
3531
|
ErrorCode: __expectString(output.ErrorCode),
|
|
3668
3532
|
ErrorDetail: __expectString(output.ErrorDetail),
|
|
3669
|
-
Excludes: output.Excludes
|
|
3670
|
-
|
|
3671
|
-
: undefined,
|
|
3672
|
-
Includes: output.Includes !== undefined && output.Includes !== null
|
|
3673
|
-
? deserializeAws_json1_1FilterList(output.Includes, context)
|
|
3674
|
-
: undefined,
|
|
3533
|
+
Excludes: output.Excludes != null ? deserializeAws_json1_1FilterList(output.Excludes, context) : undefined,
|
|
3534
|
+
Includes: output.Includes != null ? deserializeAws_json1_1FilterList(output.Includes, context) : undefined,
|
|
3675
3535
|
Name: __expectString(output.Name),
|
|
3676
|
-
Options: output.Options
|
|
3677
|
-
|
|
3678
|
-
: undefined,
|
|
3679
|
-
Schedule: output.Schedule !== undefined && output.Schedule !== null
|
|
3680
|
-
? deserializeAws_json1_1TaskSchedule(output.Schedule, context)
|
|
3681
|
-
: undefined,
|
|
3536
|
+
Options: output.Options != null ? deserializeAws_json1_1Options(output.Options, context) : undefined,
|
|
3537
|
+
Schedule: output.Schedule != null ? deserializeAws_json1_1TaskSchedule(output.Schedule, context) : undefined,
|
|
3682
3538
|
SourceLocationArn: __expectString(output.SourceLocationArn),
|
|
3683
|
-
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns
|
|
3539
|
+
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns != null
|
|
3684
3540
|
? deserializeAws_json1_1SourceNetworkInterfaceArns(output.SourceNetworkInterfaceArns, context)
|
|
3685
3541
|
: undefined,
|
|
3686
3542
|
Status: __expectString(output.Status),
|
|
@@ -3700,7 +3556,7 @@ var deserializeAws_json1_1DestinationNetworkInterfaceArns = function (output, co
|
|
|
3700
3556
|
};
|
|
3701
3557
|
var deserializeAws_json1_1Ec2Config = function (output, context) {
|
|
3702
3558
|
return {
|
|
3703
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3559
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3704
3560
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3705
3561
|
: undefined,
|
|
3706
3562
|
SubnetArn: __expectString(output.SubnetArn),
|
|
@@ -3736,27 +3592,19 @@ var deserializeAws_json1_1FilterRule = function (output, context) {
|
|
|
3736
3592
|
};
|
|
3737
3593
|
var deserializeAws_json1_1FsxProtocol = function (output, context) {
|
|
3738
3594
|
return {
|
|
3739
|
-
NFS: output.NFS
|
|
3740
|
-
|
|
3741
|
-
: undefined,
|
|
3742
|
-
SMB: output.SMB !== undefined && output.SMB !== null
|
|
3743
|
-
? deserializeAws_json1_1FsxProtocolSmb(output.SMB, context)
|
|
3744
|
-
: undefined,
|
|
3595
|
+
NFS: output.NFS != null ? deserializeAws_json1_1FsxProtocolNfs(output.NFS, context) : undefined,
|
|
3596
|
+
SMB: output.SMB != null ? deserializeAws_json1_1FsxProtocolSmb(output.SMB, context) : undefined,
|
|
3745
3597
|
};
|
|
3746
3598
|
};
|
|
3747
3599
|
var deserializeAws_json1_1FsxProtocolNfs = function (output, context) {
|
|
3748
3600
|
return {
|
|
3749
|
-
MountOptions: output.MountOptions
|
|
3750
|
-
? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context)
|
|
3751
|
-
: undefined,
|
|
3601
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context) : undefined,
|
|
3752
3602
|
};
|
|
3753
3603
|
};
|
|
3754
3604
|
var deserializeAws_json1_1FsxProtocolSmb = function (output, context) {
|
|
3755
3605
|
return {
|
|
3756
3606
|
Domain: __expectString(output.Domain),
|
|
3757
|
-
MountOptions: output.MountOptions
|
|
3758
|
-
? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context)
|
|
3759
|
-
: undefined,
|
|
3607
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context) : undefined,
|
|
3760
3608
|
Password: __expectString(output.Password),
|
|
3761
3609
|
User: __expectString(output.User),
|
|
3762
3610
|
};
|
|
@@ -3793,32 +3641,26 @@ var deserializeAws_json1_1InvalidRequestException = function (output, context) {
|
|
|
3793
3641
|
};
|
|
3794
3642
|
var deserializeAws_json1_1ListAgentsResponse = function (output, context) {
|
|
3795
3643
|
return {
|
|
3796
|
-
Agents: output.Agents
|
|
3797
|
-
? deserializeAws_json1_1AgentList(output.Agents, context)
|
|
3798
|
-
: undefined,
|
|
3644
|
+
Agents: output.Agents != null ? deserializeAws_json1_1AgentList(output.Agents, context) : undefined,
|
|
3799
3645
|
NextToken: __expectString(output.NextToken),
|
|
3800
3646
|
};
|
|
3801
3647
|
};
|
|
3802
3648
|
var deserializeAws_json1_1ListLocationsResponse = function (output, context) {
|
|
3803
3649
|
return {
|
|
3804
|
-
Locations: output.Locations
|
|
3805
|
-
? deserializeAws_json1_1LocationList(output.Locations, context)
|
|
3806
|
-
: undefined,
|
|
3650
|
+
Locations: output.Locations != null ? deserializeAws_json1_1LocationList(output.Locations, context) : undefined,
|
|
3807
3651
|
NextToken: __expectString(output.NextToken),
|
|
3808
3652
|
};
|
|
3809
3653
|
};
|
|
3810
3654
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
3811
3655
|
return {
|
|
3812
3656
|
NextToken: __expectString(output.NextToken),
|
|
3813
|
-
Tags: output.Tags
|
|
3814
|
-
? deserializeAws_json1_1OutputTagList(output.Tags, context)
|
|
3815
|
-
: undefined,
|
|
3657
|
+
Tags: output.Tags != null ? deserializeAws_json1_1OutputTagList(output.Tags, context) : undefined,
|
|
3816
3658
|
};
|
|
3817
3659
|
};
|
|
3818
3660
|
var deserializeAws_json1_1ListTaskExecutionsResponse = function (output, context) {
|
|
3819
3661
|
return {
|
|
3820
3662
|
NextToken: __expectString(output.NextToken),
|
|
3821
|
-
TaskExecutions: output.TaskExecutions
|
|
3663
|
+
TaskExecutions: output.TaskExecutions != null
|
|
3822
3664
|
? deserializeAws_json1_1TaskExecutionList(output.TaskExecutions, context)
|
|
3823
3665
|
: undefined,
|
|
3824
3666
|
};
|
|
@@ -3826,9 +3668,7 @@ var deserializeAws_json1_1ListTaskExecutionsResponse = function (output, context
|
|
|
3826
3668
|
var deserializeAws_json1_1ListTasksResponse = function (output, context) {
|
|
3827
3669
|
return {
|
|
3828
3670
|
NextToken: __expectString(output.NextToken),
|
|
3829
|
-
Tasks: output.Tasks
|
|
3830
|
-
? deserializeAws_json1_1TaskList(output.Tasks, context)
|
|
3831
|
-
: undefined,
|
|
3671
|
+
Tasks: output.Tasks != null ? deserializeAws_json1_1TaskList(output.Tasks, context) : undefined,
|
|
3832
3672
|
};
|
|
3833
3673
|
};
|
|
3834
3674
|
var deserializeAws_json1_1LocationList = function (output, context) {
|
|
@@ -3855,9 +3695,7 @@ var deserializeAws_json1_1NfsMountOptions = function (output, context) {
|
|
|
3855
3695
|
};
|
|
3856
3696
|
var deserializeAws_json1_1OnPremConfig = function (output, context) {
|
|
3857
3697
|
return {
|
|
3858
|
-
AgentArns: output.AgentArns
|
|
3859
|
-
? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
|
|
3860
|
-
: undefined,
|
|
3698
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3861
3699
|
};
|
|
3862
3700
|
};
|
|
3863
3701
|
var deserializeAws_json1_1Options = function (output, context) {
|
|
@@ -3915,12 +3753,10 @@ var deserializeAws_json1_1PLSubnetArnList = function (output, context) {
|
|
|
3915
3753
|
var deserializeAws_json1_1PrivateLinkConfig = function (output, context) {
|
|
3916
3754
|
return {
|
|
3917
3755
|
PrivateLinkEndpoint: __expectString(output.PrivateLinkEndpoint),
|
|
3918
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3756
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3919
3757
|
? deserializeAws_json1_1PLSecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3920
3758
|
: undefined,
|
|
3921
|
-
SubnetArns: output.SubnetArns
|
|
3922
|
-
? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context)
|
|
3923
|
-
: undefined,
|
|
3759
|
+
SubnetArns: output.SubnetArns != null ? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context) : undefined,
|
|
3924
3760
|
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
3925
3761
|
};
|
|
3926
3762
|
};
|