@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
|
@@ -2236,303 +2236,243 @@ const serializeAws_json1_1AgentArnList = (input, context) => {
|
|
|
2236
2236
|
};
|
|
2237
2237
|
const serializeAws_json1_1CancelTaskExecutionRequest = (input, context) => {
|
|
2238
2238
|
return {
|
|
2239
|
-
...(input.TaskExecutionArn
|
|
2240
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2239
|
+
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2241
2240
|
};
|
|
2242
2241
|
};
|
|
2243
2242
|
const serializeAws_json1_1CreateAgentRequest = (input, context) => {
|
|
2244
2243
|
return {
|
|
2245
|
-
...(input.ActivationKey
|
|
2246
|
-
...(input.AgentName
|
|
2247
|
-
...(input.SecurityGroupArns
|
|
2248
|
-
input.SecurityGroupArns !== null && {
|
|
2244
|
+
...(input.ActivationKey != null && { ActivationKey: input.ActivationKey }),
|
|
2245
|
+
...(input.AgentName != null && { AgentName: input.AgentName }),
|
|
2246
|
+
...(input.SecurityGroupArns != null && {
|
|
2249
2247
|
SecurityGroupArns: serializeAws_json1_1PLSecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2250
2248
|
}),
|
|
2251
|
-
...(input.SubnetArns
|
|
2252
|
-
|
|
2253
|
-
...(input.
|
|
2254
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2255
|
-
...(input.VpcEndpointId !== undefined && input.VpcEndpointId !== null && { VpcEndpointId: input.VpcEndpointId }),
|
|
2249
|
+
...(input.SubnetArns != null && { SubnetArns: serializeAws_json1_1PLSubnetArnList(input.SubnetArns, context) }),
|
|
2250
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2251
|
+
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
2256
2252
|
};
|
|
2257
2253
|
};
|
|
2258
2254
|
const serializeAws_json1_1CreateLocationEfsRequest = (input, context) => {
|
|
2259
2255
|
return {
|
|
2260
|
-
...(input.AccessPointArn
|
|
2261
|
-
|
|
2262
|
-
...(input.
|
|
2263
|
-
|
|
2264
|
-
...(input.
|
|
2265
|
-
|
|
2266
|
-
...(input.
|
|
2267
|
-
input.FileSystemAccessRoleArn !== null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn }),
|
|
2268
|
-
...(input.InTransitEncryption !== undefined &&
|
|
2269
|
-
input.InTransitEncryption !== null && { InTransitEncryption: input.InTransitEncryption }),
|
|
2270
|
-
...(input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }),
|
|
2271
|
-
...(input.Tags !== undefined &&
|
|
2272
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2256
|
+
...(input.AccessPointArn != null && { AccessPointArn: input.AccessPointArn }),
|
|
2257
|
+
...(input.Ec2Config != null && { Ec2Config: serializeAws_json1_1Ec2Config(input.Ec2Config, context) }),
|
|
2258
|
+
...(input.EfsFilesystemArn != null && { EfsFilesystemArn: input.EfsFilesystemArn }),
|
|
2259
|
+
...(input.FileSystemAccessRoleArn != null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn }),
|
|
2260
|
+
...(input.InTransitEncryption != null && { InTransitEncryption: input.InTransitEncryption }),
|
|
2261
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2262
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2273
2263
|
};
|
|
2274
2264
|
};
|
|
2275
2265
|
const serializeAws_json1_1CreateLocationFsxLustreRequest = (input, context) => {
|
|
2276
2266
|
return {
|
|
2277
|
-
...(input.FsxFilesystemArn
|
|
2278
|
-
|
|
2279
|
-
...(input.SecurityGroupArns !== undefined &&
|
|
2280
|
-
input.SecurityGroupArns !== null && {
|
|
2267
|
+
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2268
|
+
...(input.SecurityGroupArns != null && {
|
|
2281
2269
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2282
2270
|
}),
|
|
2283
|
-
...(input.Subdirectory
|
|
2284
|
-
...(input.Tags
|
|
2285
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2271
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2272
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2286
2273
|
};
|
|
2287
2274
|
};
|
|
2288
2275
|
const serializeAws_json1_1CreateLocationFsxOntapRequest = (input, context) => {
|
|
2289
2276
|
return {
|
|
2290
|
-
...(input.Protocol
|
|
2291
|
-
|
|
2292
|
-
...(input.SecurityGroupArns !== undefined &&
|
|
2293
|
-
input.SecurityGroupArns !== null && {
|
|
2277
|
+
...(input.Protocol != null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) }),
|
|
2278
|
+
...(input.SecurityGroupArns != null && {
|
|
2294
2279
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2295
2280
|
}),
|
|
2296
|
-
...(input.StorageVirtualMachineArn
|
|
2297
|
-
|
|
2298
|
-
...(input.
|
|
2299
|
-
...(input.Tags !== undefined &&
|
|
2300
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2281
|
+
...(input.StorageVirtualMachineArn != null && { StorageVirtualMachineArn: input.StorageVirtualMachineArn }),
|
|
2282
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2283
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2301
2284
|
};
|
|
2302
2285
|
};
|
|
2303
2286
|
const serializeAws_json1_1CreateLocationFsxOpenZfsRequest = (input, context) => {
|
|
2304
2287
|
return {
|
|
2305
|
-
...(input.FsxFilesystemArn
|
|
2306
|
-
|
|
2307
|
-
...(input.
|
|
2308
|
-
input.Protocol !== null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) }),
|
|
2309
|
-
...(input.SecurityGroupArns !== undefined &&
|
|
2310
|
-
input.SecurityGroupArns !== null && {
|
|
2288
|
+
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2289
|
+
...(input.Protocol != null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) }),
|
|
2290
|
+
...(input.SecurityGroupArns != null && {
|
|
2311
2291
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2312
2292
|
}),
|
|
2313
|
-
...(input.Subdirectory
|
|
2314
|
-
...(input.Tags
|
|
2315
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2293
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2294
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2316
2295
|
};
|
|
2317
2296
|
};
|
|
2318
2297
|
const serializeAws_json1_1CreateLocationFsxWindowsRequest = (input, context) => {
|
|
2319
2298
|
return {
|
|
2320
|
-
...(input.Domain
|
|
2321
|
-
...(input.FsxFilesystemArn
|
|
2322
|
-
|
|
2323
|
-
...(input.
|
|
2324
|
-
...(input.SecurityGroupArns !== undefined &&
|
|
2325
|
-
input.SecurityGroupArns !== null && {
|
|
2299
|
+
...(input.Domain != null && { Domain: input.Domain }),
|
|
2300
|
+
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2301
|
+
...(input.Password != null && { Password: input.Password }),
|
|
2302
|
+
...(input.SecurityGroupArns != null && {
|
|
2326
2303
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2327
2304
|
}),
|
|
2328
|
-
...(input.Subdirectory
|
|
2329
|
-
...(input.Tags
|
|
2330
|
-
|
|
2331
|
-
...(input.User !== undefined && input.User !== null && { User: input.User }),
|
|
2305
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2306
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2307
|
+
...(input.User != null && { User: input.User }),
|
|
2332
2308
|
};
|
|
2333
2309
|
};
|
|
2334
2310
|
const serializeAws_json1_1CreateLocationHdfsRequest = (input, context) => {
|
|
2335
2311
|
return {
|
|
2336
|
-
...(input.AgentArns
|
|
2337
|
-
|
|
2338
|
-
...(input.
|
|
2339
|
-
|
|
2340
|
-
...(input.
|
|
2341
|
-
...(input.
|
|
2342
|
-
|
|
2343
|
-
...(input.
|
|
2344
|
-
|
|
2345
|
-
...(input.KerberosPrincipal !== undefined &&
|
|
2346
|
-
input.KerberosPrincipal !== null && { KerberosPrincipal: input.KerberosPrincipal }),
|
|
2347
|
-
...(input.KmsKeyProviderUri !== undefined &&
|
|
2348
|
-
input.KmsKeyProviderUri !== null && { KmsKeyProviderUri: input.KmsKeyProviderUri }),
|
|
2349
|
-
...(input.NameNodes !== undefined &&
|
|
2350
|
-
input.NameNodes !== null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) }),
|
|
2351
|
-
...(input.QopConfiguration !== undefined &&
|
|
2352
|
-
input.QopConfiguration !== null && {
|
|
2312
|
+
...(input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2313
|
+
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
2314
|
+
...(input.BlockSize != null && { BlockSize: input.BlockSize }),
|
|
2315
|
+
...(input.KerberosKeytab != null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) }),
|
|
2316
|
+
...(input.KerberosKrb5Conf != null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) }),
|
|
2317
|
+
...(input.KerberosPrincipal != null && { KerberosPrincipal: input.KerberosPrincipal }),
|
|
2318
|
+
...(input.KmsKeyProviderUri != null && { KmsKeyProviderUri: input.KmsKeyProviderUri }),
|
|
2319
|
+
...(input.NameNodes != null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) }),
|
|
2320
|
+
...(input.QopConfiguration != null && {
|
|
2353
2321
|
QopConfiguration: serializeAws_json1_1QopConfiguration(input.QopConfiguration, context),
|
|
2354
2322
|
}),
|
|
2355
|
-
...(input.ReplicationFactor
|
|
2356
|
-
|
|
2357
|
-
...(input.
|
|
2358
|
-
...(input.
|
|
2359
|
-
...(input.Tags !== undefined &&
|
|
2360
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2323
|
+
...(input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor }),
|
|
2324
|
+
...(input.SimpleUser != null && { SimpleUser: input.SimpleUser }),
|
|
2325
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2326
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2361
2327
|
};
|
|
2362
2328
|
};
|
|
2363
2329
|
const serializeAws_json1_1CreateLocationNfsRequest = (input, context) => {
|
|
2364
2330
|
return {
|
|
2365
|
-
...(input.MountOptions
|
|
2366
|
-
input.MountOptions !== null && {
|
|
2331
|
+
...(input.MountOptions != null && {
|
|
2367
2332
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
2368
2333
|
}),
|
|
2369
|
-
...(input.OnPremConfig
|
|
2370
|
-
|
|
2371
|
-
...(input.
|
|
2372
|
-
|
|
2373
|
-
...(input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }),
|
|
2374
|
-
...(input.Tags !== undefined &&
|
|
2375
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2334
|
+
...(input.OnPremConfig != null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) }),
|
|
2335
|
+
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2336
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2337
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2376
2338
|
};
|
|
2377
2339
|
};
|
|
2378
2340
|
const serializeAws_json1_1CreateLocationObjectStorageRequest = (input, context) => {
|
|
2379
2341
|
return {
|
|
2380
|
-
...(input.AccessKey
|
|
2381
|
-
...(input.AgentArns
|
|
2382
|
-
|
|
2383
|
-
...(input.
|
|
2384
|
-
...(input.
|
|
2385
|
-
...(input.
|
|
2386
|
-
|
|
2387
|
-
...(input.
|
|
2388
|
-
...(input.
|
|
2389
|
-
input.ServerProtocol !== null && { ServerProtocol: input.ServerProtocol }),
|
|
2390
|
-
...(input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }),
|
|
2391
|
-
...(input.Tags !== undefined &&
|
|
2392
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2342
|
+
...(input.AccessKey != null && { AccessKey: input.AccessKey }),
|
|
2343
|
+
...(input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2344
|
+
...(input.BucketName != null && { BucketName: input.BucketName }),
|
|
2345
|
+
...(input.SecretKey != null && { SecretKey: input.SecretKey }),
|
|
2346
|
+
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2347
|
+
...(input.ServerPort != null && { ServerPort: input.ServerPort }),
|
|
2348
|
+
...(input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol }),
|
|
2349
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2350
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2393
2351
|
};
|
|
2394
2352
|
};
|
|
2395
2353
|
const serializeAws_json1_1CreateLocationS3Request = (input, context) => {
|
|
2396
2354
|
return {
|
|
2397
|
-
...(input.AgentArns
|
|
2398
|
-
|
|
2399
|
-
...(input.
|
|
2400
|
-
...(input.
|
|
2401
|
-
|
|
2402
|
-
...(input.
|
|
2403
|
-
input.S3StorageClass !== null && { S3StorageClass: input.S3StorageClass }),
|
|
2404
|
-
...(input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }),
|
|
2405
|
-
...(input.Tags !== undefined &&
|
|
2406
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2355
|
+
...(input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2356
|
+
...(input.S3BucketArn != null && { S3BucketArn: input.S3BucketArn }),
|
|
2357
|
+
...(input.S3Config != null && { S3Config: serializeAws_json1_1S3Config(input.S3Config, context) }),
|
|
2358
|
+
...(input.S3StorageClass != null && { S3StorageClass: input.S3StorageClass }),
|
|
2359
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2360
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2407
2361
|
};
|
|
2408
2362
|
};
|
|
2409
2363
|
const serializeAws_json1_1CreateLocationSmbRequest = (input, context) => {
|
|
2410
2364
|
return {
|
|
2411
|
-
...(input.AgentArns
|
|
2412
|
-
|
|
2413
|
-
...(input.
|
|
2414
|
-
...(input.MountOptions !== undefined &&
|
|
2415
|
-
input.MountOptions !== null && {
|
|
2365
|
+
...(input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2366
|
+
...(input.Domain != null && { Domain: input.Domain }),
|
|
2367
|
+
...(input.MountOptions != null && {
|
|
2416
2368
|
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
2417
2369
|
}),
|
|
2418
|
-
...(input.Password
|
|
2419
|
-
...(input.ServerHostname
|
|
2420
|
-
|
|
2421
|
-
...(input.
|
|
2422
|
-
...(input.
|
|
2423
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2424
|
-
...(input.User !== undefined && input.User !== null && { User: input.User }),
|
|
2370
|
+
...(input.Password != null && { Password: input.Password }),
|
|
2371
|
+
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2372
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2373
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2374
|
+
...(input.User != null && { User: input.User }),
|
|
2425
2375
|
};
|
|
2426
2376
|
};
|
|
2427
2377
|
const serializeAws_json1_1CreateTaskRequest = (input, context) => {
|
|
2428
2378
|
return {
|
|
2429
|
-
...(input.CloudWatchLogGroupArn
|
|
2430
|
-
|
|
2431
|
-
...(input.
|
|
2432
|
-
|
|
2433
|
-
...(input.
|
|
2434
|
-
|
|
2435
|
-
...(input.
|
|
2436
|
-
|
|
2437
|
-
...(input.
|
|
2438
|
-
...(input.Options !== undefined &&
|
|
2439
|
-
input.Options !== null && { Options: serializeAws_json1_1Options(input.Options, context) }),
|
|
2440
|
-
...(input.Schedule !== undefined &&
|
|
2441
|
-
input.Schedule !== null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) }),
|
|
2442
|
-
...(input.SourceLocationArn !== undefined &&
|
|
2443
|
-
input.SourceLocationArn !== null && { SourceLocationArn: input.SourceLocationArn }),
|
|
2444
|
-
...(input.Tags !== undefined &&
|
|
2445
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2379
|
+
...(input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }),
|
|
2380
|
+
...(input.DestinationLocationArn != null && { DestinationLocationArn: input.DestinationLocationArn }),
|
|
2381
|
+
...(input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) }),
|
|
2382
|
+
...(input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) }),
|
|
2383
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2384
|
+
...(input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) }),
|
|
2385
|
+
...(input.Schedule != null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) }),
|
|
2386
|
+
...(input.SourceLocationArn != null && { SourceLocationArn: input.SourceLocationArn }),
|
|
2387
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2446
2388
|
};
|
|
2447
2389
|
};
|
|
2448
2390
|
const serializeAws_json1_1DeleteAgentRequest = (input, context) => {
|
|
2449
2391
|
return {
|
|
2450
|
-
...(input.AgentArn
|
|
2392
|
+
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2451
2393
|
};
|
|
2452
2394
|
};
|
|
2453
2395
|
const serializeAws_json1_1DeleteLocationRequest = (input, context) => {
|
|
2454
2396
|
return {
|
|
2455
|
-
...(input.LocationArn
|
|
2397
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2456
2398
|
};
|
|
2457
2399
|
};
|
|
2458
2400
|
const serializeAws_json1_1DeleteTaskRequest = (input, context) => {
|
|
2459
2401
|
return {
|
|
2460
|
-
...(input.TaskArn
|
|
2402
|
+
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2461
2403
|
};
|
|
2462
2404
|
};
|
|
2463
2405
|
const serializeAws_json1_1DescribeAgentRequest = (input, context) => {
|
|
2464
2406
|
return {
|
|
2465
|
-
...(input.AgentArn
|
|
2407
|
+
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2466
2408
|
};
|
|
2467
2409
|
};
|
|
2468
2410
|
const serializeAws_json1_1DescribeLocationEfsRequest = (input, context) => {
|
|
2469
2411
|
return {
|
|
2470
|
-
...(input.LocationArn
|
|
2412
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2471
2413
|
};
|
|
2472
2414
|
};
|
|
2473
2415
|
const serializeAws_json1_1DescribeLocationFsxLustreRequest = (input, context) => {
|
|
2474
2416
|
return {
|
|
2475
|
-
...(input.LocationArn
|
|
2417
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2476
2418
|
};
|
|
2477
2419
|
};
|
|
2478
2420
|
const serializeAws_json1_1DescribeLocationFsxOntapRequest = (input, context) => {
|
|
2479
2421
|
return {
|
|
2480
|
-
...(input.LocationArn
|
|
2422
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2481
2423
|
};
|
|
2482
2424
|
};
|
|
2483
2425
|
const serializeAws_json1_1DescribeLocationFsxOpenZfsRequest = (input, context) => {
|
|
2484
2426
|
return {
|
|
2485
|
-
...(input.LocationArn
|
|
2427
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2486
2428
|
};
|
|
2487
2429
|
};
|
|
2488
2430
|
const serializeAws_json1_1DescribeLocationFsxWindowsRequest = (input, context) => {
|
|
2489
2431
|
return {
|
|
2490
|
-
...(input.LocationArn
|
|
2432
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2491
2433
|
};
|
|
2492
2434
|
};
|
|
2493
2435
|
const serializeAws_json1_1DescribeLocationHdfsRequest = (input, context) => {
|
|
2494
2436
|
return {
|
|
2495
|
-
...(input.LocationArn
|
|
2437
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2496
2438
|
};
|
|
2497
2439
|
};
|
|
2498
2440
|
const serializeAws_json1_1DescribeLocationNfsRequest = (input, context) => {
|
|
2499
2441
|
return {
|
|
2500
|
-
...(input.LocationArn
|
|
2442
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2501
2443
|
};
|
|
2502
2444
|
};
|
|
2503
2445
|
const serializeAws_json1_1DescribeLocationObjectStorageRequest = (input, context) => {
|
|
2504
2446
|
return {
|
|
2505
|
-
...(input.LocationArn
|
|
2447
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2506
2448
|
};
|
|
2507
2449
|
};
|
|
2508
2450
|
const serializeAws_json1_1DescribeLocationS3Request = (input, context) => {
|
|
2509
2451
|
return {
|
|
2510
|
-
...(input.LocationArn
|
|
2452
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2511
2453
|
};
|
|
2512
2454
|
};
|
|
2513
2455
|
const serializeAws_json1_1DescribeLocationSmbRequest = (input, context) => {
|
|
2514
2456
|
return {
|
|
2515
|
-
...(input.LocationArn
|
|
2457
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2516
2458
|
};
|
|
2517
2459
|
};
|
|
2518
2460
|
const serializeAws_json1_1DescribeTaskExecutionRequest = (input, context) => {
|
|
2519
2461
|
return {
|
|
2520
|
-
...(input.TaskExecutionArn
|
|
2521
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2462
|
+
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2522
2463
|
};
|
|
2523
2464
|
};
|
|
2524
2465
|
const serializeAws_json1_1DescribeTaskRequest = (input, context) => {
|
|
2525
2466
|
return {
|
|
2526
|
-
...(input.TaskArn
|
|
2467
|
+
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2527
2468
|
};
|
|
2528
2469
|
};
|
|
2529
2470
|
const serializeAws_json1_1Ec2Config = (input, context) => {
|
|
2530
2471
|
return {
|
|
2531
|
-
...(input.SecurityGroupArns
|
|
2532
|
-
input.SecurityGroupArns !== null && {
|
|
2472
|
+
...(input.SecurityGroupArns != null && {
|
|
2533
2473
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2534
2474
|
}),
|
|
2535
|
-
...(input.SubnetArn
|
|
2475
|
+
...(input.SubnetArn != null && { SubnetArn: input.SubnetArn }),
|
|
2536
2476
|
};
|
|
2537
2477
|
};
|
|
2538
2478
|
const serializeAws_json1_1Ec2SecurityGroupArnList = (input, context) => {
|
|
@@ -2557,8 +2497,8 @@ const serializeAws_json1_1FilterList = (input, context) => {
|
|
|
2557
2497
|
};
|
|
2558
2498
|
const serializeAws_json1_1FilterRule = (input, context) => {
|
|
2559
2499
|
return {
|
|
2560
|
-
...(input.FilterType
|
|
2561
|
-
...(input.Value
|
|
2500
|
+
...(input.FilterType != null && { FilterType: input.FilterType }),
|
|
2501
|
+
...(input.Value != null && { Value: input.Value }),
|
|
2562
2502
|
};
|
|
2563
2503
|
};
|
|
2564
2504
|
const serializeAws_json1_1FilterValues = (input, context) => {
|
|
@@ -2573,35 +2513,31 @@ const serializeAws_json1_1FilterValues = (input, context) => {
|
|
|
2573
2513
|
};
|
|
2574
2514
|
const serializeAws_json1_1FsxProtocol = (input, context) => {
|
|
2575
2515
|
return {
|
|
2576
|
-
...(input.NFS
|
|
2577
|
-
|
|
2578
|
-
...(input.SMB !== undefined &&
|
|
2579
|
-
input.SMB !== null && { SMB: serializeAws_json1_1FsxProtocolSmb(input.SMB, context) }),
|
|
2516
|
+
...(input.NFS != null && { NFS: serializeAws_json1_1FsxProtocolNfs(input.NFS, context) }),
|
|
2517
|
+
...(input.SMB != null && { SMB: serializeAws_json1_1FsxProtocolSmb(input.SMB, context) }),
|
|
2580
2518
|
};
|
|
2581
2519
|
};
|
|
2582
2520
|
const serializeAws_json1_1FsxProtocolNfs = (input, context) => {
|
|
2583
2521
|
return {
|
|
2584
|
-
...(input.MountOptions
|
|
2585
|
-
input.MountOptions !== null && {
|
|
2522
|
+
...(input.MountOptions != null && {
|
|
2586
2523
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
2587
2524
|
}),
|
|
2588
2525
|
};
|
|
2589
2526
|
};
|
|
2590
2527
|
const serializeAws_json1_1FsxProtocolSmb = (input, context) => {
|
|
2591
2528
|
return {
|
|
2592
|
-
...(input.Domain
|
|
2593
|
-
...(input.MountOptions
|
|
2594
|
-
input.MountOptions !== null && {
|
|
2529
|
+
...(input.Domain != null && { Domain: input.Domain }),
|
|
2530
|
+
...(input.MountOptions != null && {
|
|
2595
2531
|
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
2596
2532
|
}),
|
|
2597
|
-
...(input.Password
|
|
2598
|
-
...(input.User
|
|
2533
|
+
...(input.Password != null && { Password: input.Password }),
|
|
2534
|
+
...(input.User != null && { User: input.User }),
|
|
2599
2535
|
};
|
|
2600
2536
|
};
|
|
2601
2537
|
const serializeAws_json1_1HdfsNameNode = (input, context) => {
|
|
2602
2538
|
return {
|
|
2603
|
-
...(input.Hostname
|
|
2604
|
-
...(input.Port
|
|
2539
|
+
...(input.Hostname != null && { Hostname: input.Hostname }),
|
|
2540
|
+
...(input.Port != null && { Port: input.Port }),
|
|
2605
2541
|
};
|
|
2606
2542
|
};
|
|
2607
2543
|
const serializeAws_json1_1HdfsNameNodeList = (input, context) => {
|
|
@@ -2626,46 +2562,43 @@ const serializeAws_json1_1InputTagList = (input, context) => {
|
|
|
2626
2562
|
};
|
|
2627
2563
|
const serializeAws_json1_1ListAgentsRequest = (input, context) => {
|
|
2628
2564
|
return {
|
|
2629
|
-
...(input.MaxResults
|
|
2630
|
-
...(input.NextToken
|
|
2565
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2566
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2631
2567
|
};
|
|
2632
2568
|
};
|
|
2633
2569
|
const serializeAws_json1_1ListLocationsRequest = (input, context) => {
|
|
2634
2570
|
return {
|
|
2635
|
-
...(input.Filters
|
|
2636
|
-
|
|
2637
|
-
...(input.
|
|
2638
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
2571
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1LocationFilters(input.Filters, context) }),
|
|
2572
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2573
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2639
2574
|
};
|
|
2640
2575
|
};
|
|
2641
2576
|
const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
|
|
2642
2577
|
return {
|
|
2643
|
-
...(input.MaxResults
|
|
2644
|
-
...(input.NextToken
|
|
2645
|
-
...(input.ResourceArn
|
|
2578
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2579
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2580
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2646
2581
|
};
|
|
2647
2582
|
};
|
|
2648
2583
|
const serializeAws_json1_1ListTaskExecutionsRequest = (input, context) => {
|
|
2649
2584
|
return {
|
|
2650
|
-
...(input.MaxResults
|
|
2651
|
-
...(input.NextToken
|
|
2652
|
-
...(input.TaskArn
|
|
2585
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2586
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2587
|
+
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2653
2588
|
};
|
|
2654
2589
|
};
|
|
2655
2590
|
const serializeAws_json1_1ListTasksRequest = (input, context) => {
|
|
2656
2591
|
return {
|
|
2657
|
-
...(input.Filters
|
|
2658
|
-
|
|
2659
|
-
...(input.
|
|
2660
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
2592
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1TaskFilters(input.Filters, context) }),
|
|
2593
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2594
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2661
2595
|
};
|
|
2662
2596
|
};
|
|
2663
2597
|
const serializeAws_json1_1LocationFilter = (input, context) => {
|
|
2664
2598
|
return {
|
|
2665
|
-
...(input.Name
|
|
2666
|
-
...(input.Operator
|
|
2667
|
-
...(input.Values
|
|
2668
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }),
|
|
2599
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2600
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
2601
|
+
...(input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }),
|
|
2669
2602
|
};
|
|
2670
2603
|
};
|
|
2671
2604
|
const serializeAws_json1_1LocationFilters = (input, context) => {
|
|
@@ -2680,37 +2613,33 @@ const serializeAws_json1_1LocationFilters = (input, context) => {
|
|
|
2680
2613
|
};
|
|
2681
2614
|
const serializeAws_json1_1NfsMountOptions = (input, context) => {
|
|
2682
2615
|
return {
|
|
2683
|
-
...(input.Version
|
|
2616
|
+
...(input.Version != null && { Version: input.Version }),
|
|
2684
2617
|
};
|
|
2685
2618
|
};
|
|
2686
2619
|
const serializeAws_json1_1OnPremConfig = (input, context) => {
|
|
2687
2620
|
return {
|
|
2688
|
-
...(input.AgentArns
|
|
2689
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2621
|
+
...(input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2690
2622
|
};
|
|
2691
2623
|
};
|
|
2692
2624
|
const serializeAws_json1_1Options = (input, context) => {
|
|
2693
2625
|
return {
|
|
2694
|
-
...(input.Atime
|
|
2695
|
-
...(input.BytesPerSecond
|
|
2696
|
-
|
|
2697
|
-
...(input.
|
|
2698
|
-
...(input.
|
|
2699
|
-
...(input.
|
|
2700
|
-
...(input.
|
|
2701
|
-
...(input.
|
|
2702
|
-
...(input.
|
|
2703
|
-
|
|
2704
|
-
...(input.
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
...(input.
|
|
2709
|
-
|
|
2710
|
-
...(input.
|
|
2711
|
-
...(input.TransferMode !== undefined && input.TransferMode !== null && { TransferMode: input.TransferMode }),
|
|
2712
|
-
...(input.Uid !== undefined && input.Uid !== null && { Uid: input.Uid }),
|
|
2713
|
-
...(input.VerifyMode !== undefined && input.VerifyMode !== null && { VerifyMode: input.VerifyMode }),
|
|
2626
|
+
...(input.Atime != null && { Atime: input.Atime }),
|
|
2627
|
+
...(input.BytesPerSecond != null && { BytesPerSecond: input.BytesPerSecond }),
|
|
2628
|
+
...(input.Gid != null && { Gid: input.Gid }),
|
|
2629
|
+
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
2630
|
+
...(input.Mtime != null && { Mtime: input.Mtime }),
|
|
2631
|
+
...(input.ObjectTags != null && { ObjectTags: input.ObjectTags }),
|
|
2632
|
+
...(input.OverwriteMode != null && { OverwriteMode: input.OverwriteMode }),
|
|
2633
|
+
...(input.PosixPermissions != null && { PosixPermissions: input.PosixPermissions }),
|
|
2634
|
+
...(input.PreserveDeletedFiles != null && { PreserveDeletedFiles: input.PreserveDeletedFiles }),
|
|
2635
|
+
...(input.PreserveDevices != null && { PreserveDevices: input.PreserveDevices }),
|
|
2636
|
+
...(input.SecurityDescriptorCopyFlags != null && {
|
|
2637
|
+
SecurityDescriptorCopyFlags: input.SecurityDescriptorCopyFlags,
|
|
2638
|
+
}),
|
|
2639
|
+
...(input.TaskQueueing != null && { TaskQueueing: input.TaskQueueing }),
|
|
2640
|
+
...(input.TransferMode != null && { TransferMode: input.TransferMode }),
|
|
2641
|
+
...(input.Uid != null && { Uid: input.Uid }),
|
|
2642
|
+
...(input.VerifyMode != null && { VerifyMode: input.VerifyMode }),
|
|
2714
2643
|
};
|
|
2715
2644
|
};
|
|
2716
2645
|
const serializeAws_json1_1PLSecurityGroupArnList = (input, context) => {
|
|
@@ -2735,33 +2664,28 @@ const serializeAws_json1_1PLSubnetArnList = (input, context) => {
|
|
|
2735
2664
|
};
|
|
2736
2665
|
const serializeAws_json1_1QopConfiguration = (input, context) => {
|
|
2737
2666
|
return {
|
|
2738
|
-
...(input.DataTransferProtection
|
|
2739
|
-
|
|
2740
|
-
...(input.RpcProtection !== undefined && input.RpcProtection !== null && { RpcProtection: input.RpcProtection }),
|
|
2667
|
+
...(input.DataTransferProtection != null && { DataTransferProtection: input.DataTransferProtection }),
|
|
2668
|
+
...(input.RpcProtection != null && { RpcProtection: input.RpcProtection }),
|
|
2741
2669
|
};
|
|
2742
2670
|
};
|
|
2743
2671
|
const serializeAws_json1_1S3Config = (input, context) => {
|
|
2744
2672
|
return {
|
|
2745
|
-
...(input.BucketAccessRoleArn
|
|
2746
|
-
input.BucketAccessRoleArn !== null && { BucketAccessRoleArn: input.BucketAccessRoleArn }),
|
|
2673
|
+
...(input.BucketAccessRoleArn != null && { BucketAccessRoleArn: input.BucketAccessRoleArn }),
|
|
2747
2674
|
};
|
|
2748
2675
|
};
|
|
2749
2676
|
const serializeAws_json1_1SmbMountOptions = (input, context) => {
|
|
2750
2677
|
return {
|
|
2751
|
-
...(input.Version
|
|
2678
|
+
...(input.Version != null && { Version: input.Version }),
|
|
2752
2679
|
};
|
|
2753
2680
|
};
|
|
2754
2681
|
const serializeAws_json1_1StartTaskExecutionRequest = (input, context) => {
|
|
2755
2682
|
return {
|
|
2756
|
-
...(input.Excludes
|
|
2757
|
-
|
|
2758
|
-
...(input.
|
|
2759
|
-
input.Includes !== null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) }),
|
|
2760
|
-
...(input.OverrideOptions !== undefined &&
|
|
2761
|
-
input.OverrideOptions !== null && {
|
|
2683
|
+
...(input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) }),
|
|
2684
|
+
...(input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) }),
|
|
2685
|
+
...(input.OverrideOptions != null && {
|
|
2762
2686
|
OverrideOptions: serializeAws_json1_1Options(input.OverrideOptions, context),
|
|
2763
2687
|
}),
|
|
2764
|
-
...(input.TaskArn
|
|
2688
|
+
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2765
2689
|
};
|
|
2766
2690
|
};
|
|
2767
2691
|
const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
@@ -2776,23 +2700,21 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
2776
2700
|
};
|
|
2777
2701
|
const serializeAws_json1_1TagListEntry = (input, context) => {
|
|
2778
2702
|
return {
|
|
2779
|
-
...(input.Key
|
|
2780
|
-
...(input.Value
|
|
2703
|
+
...(input.Key != null && { Key: input.Key }),
|
|
2704
|
+
...(input.Value != null && { Value: input.Value }),
|
|
2781
2705
|
};
|
|
2782
2706
|
};
|
|
2783
2707
|
const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
2784
2708
|
return {
|
|
2785
|
-
...(input.ResourceArn
|
|
2786
|
-
...(input.Tags
|
|
2787
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2709
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2710
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2788
2711
|
};
|
|
2789
2712
|
};
|
|
2790
2713
|
const serializeAws_json1_1TaskFilter = (input, context) => {
|
|
2791
2714
|
return {
|
|
2792
|
-
...(input.Name
|
|
2793
|
-
...(input.Operator
|
|
2794
|
-
...(input.Values
|
|
2795
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }),
|
|
2715
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2716
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
2717
|
+
...(input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }),
|
|
2796
2718
|
};
|
|
2797
2719
|
};
|
|
2798
2720
|
const serializeAws_json1_1TaskFilters = (input, context) => {
|
|
@@ -2807,113 +2729,89 @@ const serializeAws_json1_1TaskFilters = (input, context) => {
|
|
|
2807
2729
|
};
|
|
2808
2730
|
const serializeAws_json1_1TaskSchedule = (input, context) => {
|
|
2809
2731
|
return {
|
|
2810
|
-
...(input.ScheduleExpression
|
|
2811
|
-
input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }),
|
|
2732
|
+
...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
|
|
2812
2733
|
};
|
|
2813
2734
|
};
|
|
2814
2735
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
2815
2736
|
return {
|
|
2816
|
-
...(input.Keys
|
|
2817
|
-
|
|
2818
|
-
...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
|
|
2737
|
+
...(input.Keys != null && { Keys: serializeAws_json1_1TagKeyList(input.Keys, context) }),
|
|
2738
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2819
2739
|
};
|
|
2820
2740
|
};
|
|
2821
2741
|
const serializeAws_json1_1UpdateAgentRequest = (input, context) => {
|
|
2822
2742
|
return {
|
|
2823
|
-
...(input.AgentArn
|
|
2824
|
-
...(input.Name
|
|
2743
|
+
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2744
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2825
2745
|
};
|
|
2826
2746
|
};
|
|
2827
2747
|
const serializeAws_json1_1UpdateLocationHdfsRequest = (input, context) => {
|
|
2828
2748
|
return {
|
|
2829
|
-
...(input.AgentArns
|
|
2830
|
-
|
|
2831
|
-
...(input.
|
|
2832
|
-
|
|
2833
|
-
...(input.
|
|
2834
|
-
...(input.
|
|
2835
|
-
|
|
2836
|
-
...(input.
|
|
2837
|
-
|
|
2838
|
-
...(input.
|
|
2839
|
-
input.KerberosPrincipal !== null && { KerberosPrincipal: input.KerberosPrincipal }),
|
|
2840
|
-
...(input.KmsKeyProviderUri !== undefined &&
|
|
2841
|
-
input.KmsKeyProviderUri !== null && { KmsKeyProviderUri: input.KmsKeyProviderUri }),
|
|
2842
|
-
...(input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn }),
|
|
2843
|
-
...(input.NameNodes !== undefined &&
|
|
2844
|
-
input.NameNodes !== null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) }),
|
|
2845
|
-
...(input.QopConfiguration !== undefined &&
|
|
2846
|
-
input.QopConfiguration !== null && {
|
|
2749
|
+
...(input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2750
|
+
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
2751
|
+
...(input.BlockSize != null && { BlockSize: input.BlockSize }),
|
|
2752
|
+
...(input.KerberosKeytab != null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) }),
|
|
2753
|
+
...(input.KerberosKrb5Conf != null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) }),
|
|
2754
|
+
...(input.KerberosPrincipal != null && { KerberosPrincipal: input.KerberosPrincipal }),
|
|
2755
|
+
...(input.KmsKeyProviderUri != null && { KmsKeyProviderUri: input.KmsKeyProviderUri }),
|
|
2756
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2757
|
+
...(input.NameNodes != null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) }),
|
|
2758
|
+
...(input.QopConfiguration != null && {
|
|
2847
2759
|
QopConfiguration: serializeAws_json1_1QopConfiguration(input.QopConfiguration, context),
|
|
2848
2760
|
}),
|
|
2849
|
-
...(input.ReplicationFactor
|
|
2850
|
-
|
|
2851
|
-
...(input.
|
|
2852
|
-
...(input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }),
|
|
2761
|
+
...(input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor }),
|
|
2762
|
+
...(input.SimpleUser != null && { SimpleUser: input.SimpleUser }),
|
|
2763
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2853
2764
|
};
|
|
2854
2765
|
};
|
|
2855
2766
|
const serializeAws_json1_1UpdateLocationNfsRequest = (input, context) => {
|
|
2856
2767
|
return {
|
|
2857
|
-
...(input.LocationArn
|
|
2858
|
-
...(input.MountOptions
|
|
2859
|
-
input.MountOptions !== null && {
|
|
2768
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2769
|
+
...(input.MountOptions != null && {
|
|
2860
2770
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
2861
2771
|
}),
|
|
2862
|
-
...(input.OnPremConfig
|
|
2863
|
-
|
|
2864
|
-
...(input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }),
|
|
2772
|
+
...(input.OnPremConfig != null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) }),
|
|
2773
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2865
2774
|
};
|
|
2866
2775
|
};
|
|
2867
2776
|
const serializeAws_json1_1UpdateLocationObjectStorageRequest = (input, context) => {
|
|
2868
2777
|
return {
|
|
2869
|
-
...(input.AccessKey
|
|
2870
|
-
...(input.AgentArns
|
|
2871
|
-
|
|
2872
|
-
...(input.
|
|
2873
|
-
...(input.
|
|
2874
|
-
...(input.
|
|
2875
|
-
...(input.
|
|
2876
|
-
input.ServerProtocol !== null && { ServerProtocol: input.ServerProtocol }),
|
|
2877
|
-
...(input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }),
|
|
2778
|
+
...(input.AccessKey != null && { AccessKey: input.AccessKey }),
|
|
2779
|
+
...(input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2780
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2781
|
+
...(input.SecretKey != null && { SecretKey: input.SecretKey }),
|
|
2782
|
+
...(input.ServerPort != null && { ServerPort: input.ServerPort }),
|
|
2783
|
+
...(input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol }),
|
|
2784
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2878
2785
|
};
|
|
2879
2786
|
};
|
|
2880
2787
|
const serializeAws_json1_1UpdateLocationSmbRequest = (input, context) => {
|
|
2881
2788
|
return {
|
|
2882
|
-
...(input.AgentArns
|
|
2883
|
-
|
|
2884
|
-
...(input.
|
|
2885
|
-
...(input.
|
|
2886
|
-
...(input.MountOptions !== undefined &&
|
|
2887
|
-
input.MountOptions !== null && {
|
|
2789
|
+
...(input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }),
|
|
2790
|
+
...(input.Domain != null && { Domain: input.Domain }),
|
|
2791
|
+
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2792
|
+
...(input.MountOptions != null && {
|
|
2888
2793
|
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
2889
2794
|
}),
|
|
2890
|
-
...(input.Password
|
|
2891
|
-
...(input.Subdirectory
|
|
2892
|
-
...(input.User
|
|
2795
|
+
...(input.Password != null && { Password: input.Password }),
|
|
2796
|
+
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2797
|
+
...(input.User != null && { User: input.User }),
|
|
2893
2798
|
};
|
|
2894
2799
|
};
|
|
2895
2800
|
const serializeAws_json1_1UpdateTaskExecutionRequest = (input, context) => {
|
|
2896
2801
|
return {
|
|
2897
|
-
...(input.Options
|
|
2898
|
-
|
|
2899
|
-
...(input.TaskExecutionArn !== undefined &&
|
|
2900
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2802
|
+
...(input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) }),
|
|
2803
|
+
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2901
2804
|
};
|
|
2902
2805
|
};
|
|
2903
2806
|
const serializeAws_json1_1UpdateTaskRequest = (input, context) => {
|
|
2904
2807
|
return {
|
|
2905
|
-
...(input.CloudWatchLogGroupArn
|
|
2906
|
-
|
|
2907
|
-
...(input.
|
|
2908
|
-
|
|
2909
|
-
...(input.
|
|
2910
|
-
|
|
2911
|
-
...(input.
|
|
2912
|
-
...(input.Options !== undefined &&
|
|
2913
|
-
input.Options !== null && { Options: serializeAws_json1_1Options(input.Options, context) }),
|
|
2914
|
-
...(input.Schedule !== undefined &&
|
|
2915
|
-
input.Schedule !== null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) }),
|
|
2916
|
-
...(input.TaskArn !== undefined && input.TaskArn !== null && { TaskArn: input.TaskArn }),
|
|
2808
|
+
...(input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }),
|
|
2809
|
+
...(input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) }),
|
|
2810
|
+
...(input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) }),
|
|
2811
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2812
|
+
...(input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) }),
|
|
2813
|
+
...(input.Schedule != null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) }),
|
|
2814
|
+
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2917
2815
|
};
|
|
2918
2816
|
};
|
|
2919
2817
|
const deserializeAws_json1_1AgentArnList = (output, context) => {
|
|
@@ -3020,15 +2918,15 @@ const deserializeAws_json1_1DeleteTaskResponse = (output, context) => {
|
|
|
3020
2918
|
const deserializeAws_json1_1DescribeAgentResponse = (output, context) => {
|
|
3021
2919
|
return {
|
|
3022
2920
|
AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
|
|
3023
|
-
CreationTime: output.CreationTime
|
|
2921
|
+
CreationTime: output.CreationTime != null
|
|
3024
2922
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3025
2923
|
: undefined,
|
|
3026
2924
|
EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
|
|
3027
|
-
LastConnectionTime: output.LastConnectionTime
|
|
2925
|
+
LastConnectionTime: output.LastConnectionTime != null
|
|
3028
2926
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastConnectionTime)))
|
|
3029
2927
|
: undefined,
|
|
3030
2928
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3031
|
-
PrivateLinkConfig: output.PrivateLinkConfig
|
|
2929
|
+
PrivateLinkConfig: output.PrivateLinkConfig != null
|
|
3032
2930
|
? deserializeAws_json1_1PrivateLinkConfig(output.PrivateLinkConfig, context)
|
|
3033
2931
|
: undefined,
|
|
3034
2932
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -3037,12 +2935,10 @@ const deserializeAws_json1_1DescribeAgentResponse = (output, context) => {
|
|
|
3037
2935
|
const deserializeAws_json1_1DescribeLocationEfsResponse = (output, context) => {
|
|
3038
2936
|
return {
|
|
3039
2937
|
AccessPointArn: (0, smithy_client_1.expectString)(output.AccessPointArn),
|
|
3040
|
-
CreationTime: output.CreationTime
|
|
2938
|
+
CreationTime: output.CreationTime != null
|
|
3041
2939
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3042
2940
|
: undefined,
|
|
3043
|
-
Ec2Config: output.Ec2Config
|
|
3044
|
-
? deserializeAws_json1_1Ec2Config(output.Ec2Config, context)
|
|
3045
|
-
: undefined,
|
|
2941
|
+
Ec2Config: output.Ec2Config != null ? deserializeAws_json1_1Ec2Config(output.Ec2Config, context) : undefined,
|
|
3046
2942
|
FileSystemAccessRoleArn: (0, smithy_client_1.expectString)(output.FileSystemAccessRoleArn),
|
|
3047
2943
|
InTransitEncryption: (0, smithy_client_1.expectString)(output.InTransitEncryption),
|
|
3048
2944
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
@@ -3051,28 +2947,26 @@ const deserializeAws_json1_1DescribeLocationEfsResponse = (output, context) => {
|
|
|
3051
2947
|
};
|
|
3052
2948
|
const deserializeAws_json1_1DescribeLocationFsxLustreResponse = (output, context) => {
|
|
3053
2949
|
return {
|
|
3054
|
-
CreationTime: output.CreationTime
|
|
2950
|
+
CreationTime: output.CreationTime != null
|
|
3055
2951
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3056
2952
|
: undefined,
|
|
3057
2953
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
3058
2954
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3059
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
2955
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3060
2956
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3061
2957
|
: undefined,
|
|
3062
2958
|
};
|
|
3063
2959
|
};
|
|
3064
2960
|
const deserializeAws_json1_1DescribeLocationFsxOntapResponse = (output, context) => {
|
|
3065
2961
|
return {
|
|
3066
|
-
CreationTime: output.CreationTime
|
|
2962
|
+
CreationTime: output.CreationTime != null
|
|
3067
2963
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3068
2964
|
: undefined,
|
|
3069
2965
|
FsxFilesystemArn: (0, smithy_client_1.expectString)(output.FsxFilesystemArn),
|
|
3070
2966
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
3071
2967
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3072
|
-
Protocol: output.Protocol
|
|
3073
|
-
|
|
3074
|
-
: undefined,
|
|
3075
|
-
SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
|
|
2968
|
+
Protocol: output.Protocol != null ? deserializeAws_json1_1FsxProtocol(output.Protocol, context) : undefined,
|
|
2969
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3076
2970
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3077
2971
|
: undefined,
|
|
3078
2972
|
StorageVirtualMachineArn: (0, smithy_client_1.expectString)(output.StorageVirtualMachineArn),
|
|
@@ -3080,28 +2974,26 @@ const deserializeAws_json1_1DescribeLocationFsxOntapResponse = (output, context)
|
|
|
3080
2974
|
};
|
|
3081
2975
|
const deserializeAws_json1_1DescribeLocationFsxOpenZfsResponse = (output, context) => {
|
|
3082
2976
|
return {
|
|
3083
|
-
CreationTime: output.CreationTime
|
|
2977
|
+
CreationTime: output.CreationTime != null
|
|
3084
2978
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3085
2979
|
: undefined,
|
|
3086
2980
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
3087
2981
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3088
|
-
Protocol: output.Protocol
|
|
3089
|
-
|
|
3090
|
-
: undefined,
|
|
3091
|
-
SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
|
|
2982
|
+
Protocol: output.Protocol != null ? deserializeAws_json1_1FsxProtocol(output.Protocol, context) : undefined,
|
|
2983
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3092
2984
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3093
2985
|
: undefined,
|
|
3094
2986
|
};
|
|
3095
2987
|
};
|
|
3096
2988
|
const deserializeAws_json1_1DescribeLocationFsxWindowsResponse = (output, context) => {
|
|
3097
2989
|
return {
|
|
3098
|
-
CreationTime: output.CreationTime
|
|
2990
|
+
CreationTime: output.CreationTime != null
|
|
3099
2991
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3100
2992
|
: undefined,
|
|
3101
2993
|
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
3102
2994
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
3103
2995
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3104
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
2996
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3105
2997
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3106
2998
|
: undefined,
|
|
3107
2999
|
User: (0, smithy_client_1.expectString)(output.User),
|
|
@@ -3109,22 +3001,18 @@ const deserializeAws_json1_1DescribeLocationFsxWindowsResponse = (output, contex
|
|
|
3109
3001
|
};
|
|
3110
3002
|
const deserializeAws_json1_1DescribeLocationHdfsResponse = (output, context) => {
|
|
3111
3003
|
return {
|
|
3112
|
-
AgentArns: output.AgentArns
|
|
3113
|
-
? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
|
|
3114
|
-
: undefined,
|
|
3004
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3115
3005
|
AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
|
|
3116
3006
|
BlockSize: (0, smithy_client_1.expectInt32)(output.BlockSize),
|
|
3117
|
-
CreationTime: output.CreationTime
|
|
3007
|
+
CreationTime: output.CreationTime != null
|
|
3118
3008
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3119
3009
|
: undefined,
|
|
3120
3010
|
KerberosPrincipal: (0, smithy_client_1.expectString)(output.KerberosPrincipal),
|
|
3121
3011
|
KmsKeyProviderUri: (0, smithy_client_1.expectString)(output.KmsKeyProviderUri),
|
|
3122
3012
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
3123
3013
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3124
|
-
NameNodes: output.NameNodes
|
|
3125
|
-
|
|
3126
|
-
: undefined,
|
|
3127
|
-
QopConfiguration: output.QopConfiguration !== undefined && output.QopConfiguration !== null
|
|
3014
|
+
NameNodes: output.NameNodes != null ? deserializeAws_json1_1HdfsNameNodeList(output.NameNodes, context) : undefined,
|
|
3015
|
+
QopConfiguration: output.QopConfiguration != null
|
|
3128
3016
|
? deserializeAws_json1_1QopConfiguration(output.QopConfiguration, context)
|
|
3129
3017
|
: undefined,
|
|
3130
3018
|
ReplicationFactor: (0, smithy_client_1.expectInt32)(output.ReplicationFactor),
|
|
@@ -3133,26 +3021,20 @@ const deserializeAws_json1_1DescribeLocationHdfsResponse = (output, context) =>
|
|
|
3133
3021
|
};
|
|
3134
3022
|
const deserializeAws_json1_1DescribeLocationNfsResponse = (output, context) => {
|
|
3135
3023
|
return {
|
|
3136
|
-
CreationTime: output.CreationTime
|
|
3024
|
+
CreationTime: output.CreationTime != null
|
|
3137
3025
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3138
3026
|
: undefined,
|
|
3139
3027
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
3140
3028
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3141
|
-
MountOptions: output.MountOptions
|
|
3142
|
-
|
|
3143
|
-
: undefined,
|
|
3144
|
-
OnPremConfig: output.OnPremConfig !== undefined && output.OnPremConfig !== null
|
|
3145
|
-
? deserializeAws_json1_1OnPremConfig(output.OnPremConfig, context)
|
|
3146
|
-
: undefined,
|
|
3029
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context) : undefined,
|
|
3030
|
+
OnPremConfig: output.OnPremConfig != null ? deserializeAws_json1_1OnPremConfig(output.OnPremConfig, context) : undefined,
|
|
3147
3031
|
};
|
|
3148
3032
|
};
|
|
3149
3033
|
const deserializeAws_json1_1DescribeLocationObjectStorageResponse = (output, context) => {
|
|
3150
3034
|
return {
|
|
3151
3035
|
AccessKey: (0, smithy_client_1.expectString)(output.AccessKey),
|
|
3152
|
-
AgentArns: output.AgentArns
|
|
3153
|
-
|
|
3154
|
-
: undefined,
|
|
3155
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3036
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3037
|
+
CreationTime: output.CreationTime != null
|
|
3156
3038
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3157
3039
|
: undefined,
|
|
3158
3040
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
@@ -3163,34 +3045,26 @@ const deserializeAws_json1_1DescribeLocationObjectStorageResponse = (output, con
|
|
|
3163
3045
|
};
|
|
3164
3046
|
const deserializeAws_json1_1DescribeLocationS3Response = (output, context) => {
|
|
3165
3047
|
return {
|
|
3166
|
-
AgentArns: output.AgentArns
|
|
3167
|
-
|
|
3168
|
-
: undefined,
|
|
3169
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3048
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3049
|
+
CreationTime: output.CreationTime != null
|
|
3170
3050
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3171
3051
|
: undefined,
|
|
3172
3052
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
3173
3053
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3174
|
-
S3Config: output.S3Config
|
|
3175
|
-
? deserializeAws_json1_1S3Config(output.S3Config, context)
|
|
3176
|
-
: undefined,
|
|
3054
|
+
S3Config: output.S3Config != null ? deserializeAws_json1_1S3Config(output.S3Config, context) : undefined,
|
|
3177
3055
|
S3StorageClass: (0, smithy_client_1.expectString)(output.S3StorageClass),
|
|
3178
3056
|
};
|
|
3179
3057
|
};
|
|
3180
3058
|
const deserializeAws_json1_1DescribeLocationSmbResponse = (output, context) => {
|
|
3181
3059
|
return {
|
|
3182
|
-
AgentArns: output.AgentArns
|
|
3183
|
-
|
|
3184
|
-
: undefined,
|
|
3185
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3060
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3061
|
+
CreationTime: output.CreationTime != null
|
|
3186
3062
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3187
3063
|
: undefined,
|
|
3188
3064
|
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
3189
3065
|
LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
|
|
3190
3066
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3191
|
-
MountOptions: output.MountOptions
|
|
3192
|
-
? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context)
|
|
3193
|
-
: undefined,
|
|
3067
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context) : undefined,
|
|
3194
3068
|
User: (0, smithy_client_1.expectString)(output.User),
|
|
3195
3069
|
};
|
|
3196
3070
|
};
|
|
@@ -3200,22 +3074,12 @@ const deserializeAws_json1_1DescribeTaskExecutionResponse = (output, context) =>
|
|
|
3200
3074
|
BytesWritten: (0, smithy_client_1.expectLong)(output.BytesWritten),
|
|
3201
3075
|
EstimatedBytesToTransfer: (0, smithy_client_1.expectLong)(output.EstimatedBytesToTransfer),
|
|
3202
3076
|
EstimatedFilesToTransfer: (0, smithy_client_1.expectLong)(output.EstimatedFilesToTransfer),
|
|
3203
|
-
Excludes: output.Excludes
|
|
3204
|
-
? deserializeAws_json1_1FilterList(output.Excludes, context)
|
|
3205
|
-
: undefined,
|
|
3077
|
+
Excludes: output.Excludes != null ? deserializeAws_json1_1FilterList(output.Excludes, context) : undefined,
|
|
3206
3078
|
FilesTransferred: (0, smithy_client_1.expectLong)(output.FilesTransferred),
|
|
3207
|
-
Includes: output.Includes
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
? deserializeAws_json1_1Options(output.Options, context)
|
|
3212
|
-
: undefined,
|
|
3213
|
-
Result: output.Result !== undefined && output.Result !== null
|
|
3214
|
-
? deserializeAws_json1_1TaskExecutionResultDetail(output.Result, context)
|
|
3215
|
-
: undefined,
|
|
3216
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3217
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3218
|
-
: undefined,
|
|
3079
|
+
Includes: output.Includes != null ? deserializeAws_json1_1FilterList(output.Includes, context) : undefined,
|
|
3080
|
+
Options: output.Options != null ? deserializeAws_json1_1Options(output.Options, context) : undefined,
|
|
3081
|
+
Result: output.Result != null ? deserializeAws_json1_1TaskExecutionResultDetail(output.Result, context) : undefined,
|
|
3082
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3219
3083
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3220
3084
|
TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
|
|
3221
3085
|
};
|
|
@@ -3223,31 +3087,23 @@ const deserializeAws_json1_1DescribeTaskExecutionResponse = (output, context) =>
|
|
|
3223
3087
|
const deserializeAws_json1_1DescribeTaskResponse = (output, context) => {
|
|
3224
3088
|
return {
|
|
3225
3089
|
CloudWatchLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogGroupArn),
|
|
3226
|
-
CreationTime: output.CreationTime
|
|
3090
|
+
CreationTime: output.CreationTime != null
|
|
3227
3091
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3228
3092
|
: undefined,
|
|
3229
3093
|
CurrentTaskExecutionArn: (0, smithy_client_1.expectString)(output.CurrentTaskExecutionArn),
|
|
3230
3094
|
DestinationLocationArn: (0, smithy_client_1.expectString)(output.DestinationLocationArn),
|
|
3231
|
-
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns
|
|
3095
|
+
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns != null
|
|
3232
3096
|
? deserializeAws_json1_1DestinationNetworkInterfaceArns(output.DestinationNetworkInterfaceArns, context)
|
|
3233
3097
|
: undefined,
|
|
3234
3098
|
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
3235
3099
|
ErrorDetail: (0, smithy_client_1.expectString)(output.ErrorDetail),
|
|
3236
|
-
Excludes: output.Excludes
|
|
3237
|
-
|
|
3238
|
-
: undefined,
|
|
3239
|
-
Includes: output.Includes !== undefined && output.Includes !== null
|
|
3240
|
-
? deserializeAws_json1_1FilterList(output.Includes, context)
|
|
3241
|
-
: undefined,
|
|
3100
|
+
Excludes: output.Excludes != null ? deserializeAws_json1_1FilterList(output.Excludes, context) : undefined,
|
|
3101
|
+
Includes: output.Includes != null ? deserializeAws_json1_1FilterList(output.Includes, context) : undefined,
|
|
3242
3102
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3243
|
-
Options: output.Options
|
|
3244
|
-
|
|
3245
|
-
: undefined,
|
|
3246
|
-
Schedule: output.Schedule !== undefined && output.Schedule !== null
|
|
3247
|
-
? deserializeAws_json1_1TaskSchedule(output.Schedule, context)
|
|
3248
|
-
: undefined,
|
|
3103
|
+
Options: output.Options != null ? deserializeAws_json1_1Options(output.Options, context) : undefined,
|
|
3104
|
+
Schedule: output.Schedule != null ? deserializeAws_json1_1TaskSchedule(output.Schedule, context) : undefined,
|
|
3249
3105
|
SourceLocationArn: (0, smithy_client_1.expectString)(output.SourceLocationArn),
|
|
3250
|
-
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns
|
|
3106
|
+
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns != null
|
|
3251
3107
|
? deserializeAws_json1_1SourceNetworkInterfaceArns(output.SourceNetworkInterfaceArns, context)
|
|
3252
3108
|
: undefined,
|
|
3253
3109
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -3267,7 +3123,7 @@ const deserializeAws_json1_1DestinationNetworkInterfaceArns = (output, context)
|
|
|
3267
3123
|
};
|
|
3268
3124
|
const deserializeAws_json1_1Ec2Config = (output, context) => {
|
|
3269
3125
|
return {
|
|
3270
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3126
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3271
3127
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3272
3128
|
: undefined,
|
|
3273
3129
|
SubnetArn: (0, smithy_client_1.expectString)(output.SubnetArn),
|
|
@@ -3303,27 +3159,19 @@ const deserializeAws_json1_1FilterRule = (output, context) => {
|
|
|
3303
3159
|
};
|
|
3304
3160
|
const deserializeAws_json1_1FsxProtocol = (output, context) => {
|
|
3305
3161
|
return {
|
|
3306
|
-
NFS: output.NFS
|
|
3307
|
-
|
|
3308
|
-
: undefined,
|
|
3309
|
-
SMB: output.SMB !== undefined && output.SMB !== null
|
|
3310
|
-
? deserializeAws_json1_1FsxProtocolSmb(output.SMB, context)
|
|
3311
|
-
: undefined,
|
|
3162
|
+
NFS: output.NFS != null ? deserializeAws_json1_1FsxProtocolNfs(output.NFS, context) : undefined,
|
|
3163
|
+
SMB: output.SMB != null ? deserializeAws_json1_1FsxProtocolSmb(output.SMB, context) : undefined,
|
|
3312
3164
|
};
|
|
3313
3165
|
};
|
|
3314
3166
|
const deserializeAws_json1_1FsxProtocolNfs = (output, context) => {
|
|
3315
3167
|
return {
|
|
3316
|
-
MountOptions: output.MountOptions
|
|
3317
|
-
? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context)
|
|
3318
|
-
: undefined,
|
|
3168
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context) : undefined,
|
|
3319
3169
|
};
|
|
3320
3170
|
};
|
|
3321
3171
|
const deserializeAws_json1_1FsxProtocolSmb = (output, context) => {
|
|
3322
3172
|
return {
|
|
3323
3173
|
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
3324
|
-
MountOptions: output.MountOptions
|
|
3325
|
-
? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context)
|
|
3326
|
-
: undefined,
|
|
3174
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context) : undefined,
|
|
3327
3175
|
Password: (0, smithy_client_1.expectString)(output.Password),
|
|
3328
3176
|
User: (0, smithy_client_1.expectString)(output.User),
|
|
3329
3177
|
};
|
|
@@ -3360,32 +3208,26 @@ const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
|
3360
3208
|
};
|
|
3361
3209
|
const deserializeAws_json1_1ListAgentsResponse = (output, context) => {
|
|
3362
3210
|
return {
|
|
3363
|
-
Agents: output.Agents
|
|
3364
|
-
? deserializeAws_json1_1AgentList(output.Agents, context)
|
|
3365
|
-
: undefined,
|
|
3211
|
+
Agents: output.Agents != null ? deserializeAws_json1_1AgentList(output.Agents, context) : undefined,
|
|
3366
3212
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3367
3213
|
};
|
|
3368
3214
|
};
|
|
3369
3215
|
const deserializeAws_json1_1ListLocationsResponse = (output, context) => {
|
|
3370
3216
|
return {
|
|
3371
|
-
Locations: output.Locations
|
|
3372
|
-
? deserializeAws_json1_1LocationList(output.Locations, context)
|
|
3373
|
-
: undefined,
|
|
3217
|
+
Locations: output.Locations != null ? deserializeAws_json1_1LocationList(output.Locations, context) : undefined,
|
|
3374
3218
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3375
3219
|
};
|
|
3376
3220
|
};
|
|
3377
3221
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
3378
3222
|
return {
|
|
3379
3223
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3380
|
-
Tags: output.Tags
|
|
3381
|
-
? deserializeAws_json1_1OutputTagList(output.Tags, context)
|
|
3382
|
-
: undefined,
|
|
3224
|
+
Tags: output.Tags != null ? deserializeAws_json1_1OutputTagList(output.Tags, context) : undefined,
|
|
3383
3225
|
};
|
|
3384
3226
|
};
|
|
3385
3227
|
const deserializeAws_json1_1ListTaskExecutionsResponse = (output, context) => {
|
|
3386
3228
|
return {
|
|
3387
3229
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3388
|
-
TaskExecutions: output.TaskExecutions
|
|
3230
|
+
TaskExecutions: output.TaskExecutions != null
|
|
3389
3231
|
? deserializeAws_json1_1TaskExecutionList(output.TaskExecutions, context)
|
|
3390
3232
|
: undefined,
|
|
3391
3233
|
};
|
|
@@ -3393,9 +3235,7 @@ const deserializeAws_json1_1ListTaskExecutionsResponse = (output, context) => {
|
|
|
3393
3235
|
const deserializeAws_json1_1ListTasksResponse = (output, context) => {
|
|
3394
3236
|
return {
|
|
3395
3237
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3396
|
-
Tasks: output.Tasks
|
|
3397
|
-
? deserializeAws_json1_1TaskList(output.Tasks, context)
|
|
3398
|
-
: undefined,
|
|
3238
|
+
Tasks: output.Tasks != null ? deserializeAws_json1_1TaskList(output.Tasks, context) : undefined,
|
|
3399
3239
|
};
|
|
3400
3240
|
};
|
|
3401
3241
|
const deserializeAws_json1_1LocationList = (output, context) => {
|
|
@@ -3422,9 +3262,7 @@ const deserializeAws_json1_1NfsMountOptions = (output, context) => {
|
|
|
3422
3262
|
};
|
|
3423
3263
|
const deserializeAws_json1_1OnPremConfig = (output, context) => {
|
|
3424
3264
|
return {
|
|
3425
|
-
AgentArns: output.AgentArns
|
|
3426
|
-
? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
|
|
3427
|
-
: undefined,
|
|
3265
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3428
3266
|
};
|
|
3429
3267
|
};
|
|
3430
3268
|
const deserializeAws_json1_1Options = (output, context) => {
|
|
@@ -3482,12 +3320,10 @@ const deserializeAws_json1_1PLSubnetArnList = (output, context) => {
|
|
|
3482
3320
|
const deserializeAws_json1_1PrivateLinkConfig = (output, context) => {
|
|
3483
3321
|
return {
|
|
3484
3322
|
PrivateLinkEndpoint: (0, smithy_client_1.expectString)(output.PrivateLinkEndpoint),
|
|
3485
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3323
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3486
3324
|
? deserializeAws_json1_1PLSecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3487
3325
|
: undefined,
|
|
3488
|
-
SubnetArns: output.SubnetArns
|
|
3489
|
-
? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context)
|
|
3490
|
-
: undefined,
|
|
3326
|
+
SubnetArns: output.SubnetArns != null ? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context) : undefined,
|
|
3491
3327
|
VpcEndpointId: (0, smithy_client_1.expectString)(output.VpcEndpointId),
|
|
3492
3328
|
};
|
|
3493
3329
|
};
|