@aws-sdk/client-fsx 3.121.0 → 3.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +423 -707
- package/dist-es/protocols/Aws_json1_1.js +261 -545
- package/package.json +26 -26
|
@@ -3235,16 +3235,13 @@ var serializeAws_json1_1AlternateDNSNames = function (input, context) {
|
|
|
3235
3235
|
};
|
|
3236
3236
|
var serializeAws_json1_1AssociateFileSystemAliasesRequest = function (input, context) {
|
|
3237
3237
|
var _a;
|
|
3238
|
-
return __assign(__assign(__assign({}, (input.Aliases !==
|
|
3239
|
-
input.Aliases !== null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }));
|
|
3238
|
+
return __assign(__assign(__assign({}, (input.Aliases != null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId != null && { FileSystemId: input.FileSystemId }));
|
|
3240
3239
|
};
|
|
3241
3240
|
var serializeAws_json1_1AutoExportPolicy = function (input, context) {
|
|
3242
|
-
return __assign({}, (input.Events
|
|
3243
|
-
input.Events !== null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }));
|
|
3241
|
+
return __assign({}, (input.Events != null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }));
|
|
3244
3242
|
};
|
|
3245
3243
|
var serializeAws_json1_1AutoImportPolicy = function (input, context) {
|
|
3246
|
-
return __assign({}, (input.Events
|
|
3247
|
-
input.Events !== null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }));
|
|
3244
|
+
return __assign({}, (input.Events != null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }));
|
|
3248
3245
|
};
|
|
3249
3246
|
var serializeAws_json1_1BackupIds = function (input, context) {
|
|
3250
3247
|
return input
|
|
@@ -3257,226 +3254,144 @@ var serializeAws_json1_1BackupIds = function (input, context) {
|
|
|
3257
3254
|
});
|
|
3258
3255
|
};
|
|
3259
3256
|
var serializeAws_json1_1CancelDataRepositoryTaskRequest = function (input, context) {
|
|
3260
|
-
return __assign({}, (input.TaskId
|
|
3257
|
+
return __assign({}, (input.TaskId != null && { TaskId: input.TaskId }));
|
|
3261
3258
|
};
|
|
3262
3259
|
var serializeAws_json1_1CompletionReport = function (input, context) {
|
|
3263
|
-
return __assign(__assign(__assign(__assign({}, (input.Enabled
|
|
3260
|
+
return __assign(__assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.Format != null && { Format: input.Format })), (input.Path != null && { Path: input.Path })), (input.Scope != null && { Scope: input.Scope }));
|
|
3264
3261
|
};
|
|
3265
3262
|
var serializeAws_json1_1CopyBackupRequest = function (input, context) {
|
|
3266
3263
|
var _a;
|
|
3267
|
-
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.CopyTags
|
|
3268
|
-
input.SourceBackupId !== null && { SourceBackupId: input.SourceBackupId })), (input.SourceRegion !== undefined && input.SourceRegion !== null && { SourceRegion: input.SourceRegion })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3264
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.CopyTags != null && { CopyTags: input.CopyTags })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.SourceBackupId != null && { SourceBackupId: input.SourceBackupId })), (input.SourceRegion != null && { SourceRegion: input.SourceRegion })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3269
3265
|
};
|
|
3270
3266
|
var serializeAws_json1_1CreateBackupRequest = function (input, context) {
|
|
3271
3267
|
var _a;
|
|
3272
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3268
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
3273
3269
|
};
|
|
3274
3270
|
var serializeAws_json1_1CreateDataRepositoryAssociationRequest = function (input, context) {
|
|
3275
3271
|
var _a;
|
|
3276
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BatchImportMetaDataOnCreate
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
input.FileSystemPath !== null && { FileSystemPath: input.FileSystemPath })), (input.ImportedFileChunkSize !== undefined &&
|
|
3280
|
-
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.S3 !== undefined &&
|
|
3281
|
-
input.S3 !== null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3272
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BatchImportMetaDataOnCreate != null && {
|
|
3273
|
+
BatchImportMetaDataOnCreate: input.BatchImportMetaDataOnCreate,
|
|
3274
|
+
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.DataRepositoryPath != null && { DataRepositoryPath: input.DataRepositoryPath })), (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.FileSystemPath != null && { FileSystemPath: input.FileSystemPath })), (input.ImportedFileChunkSize != null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.S3 != null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3282
3275
|
};
|
|
3283
3276
|
var serializeAws_json1_1CreateDataRepositoryTaskRequest = function (input, context) {
|
|
3284
3277
|
var _a;
|
|
3285
|
-
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3286
|
-
input.Paths !== null && { Paths: serializeAws_json1_1DataRepositoryTaskPaths(input.Paths, context) })), (input.Report !== undefined &&
|
|
3287
|
-
input.Report !== null && { Report: serializeAws_json1_1CompletionReport(input.Report, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
3278
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.Paths != null && { Paths: serializeAws_json1_1DataRepositoryTaskPaths(input.Paths, context) })), (input.Report != null && { Report: serializeAws_json1_1CompletionReport(input.Report, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.Type != null && { Type: input.Type }));
|
|
3288
3279
|
};
|
|
3289
3280
|
var serializeAws_json1_1CreateFileSystemFromBackupRequest = function (input, context) {
|
|
3290
3281
|
var _a;
|
|
3291
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupId
|
|
3292
|
-
input.FileSystemTypeVersion !== null && { FileSystemTypeVersion: input.FileSystemTypeVersion })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.LustreConfiguration !== undefined &&
|
|
3293
|
-
input.LustreConfiguration !== null && {
|
|
3282
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupId != null && { BackupId: input.BackupId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemTypeVersion != null && { FileSystemTypeVersion: input.FileSystemTypeVersion })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.LustreConfiguration != null && {
|
|
3294
3283
|
LustreConfiguration: serializeAws_json1_1CreateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
3295
|
-
})), (input.OpenZFSConfiguration
|
|
3296
|
-
input.OpenZFSConfiguration !== null && {
|
|
3284
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3297
3285
|
OpenZFSConfiguration: serializeAws_json1_1CreateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3298
|
-
})), (input.SecurityGroupIds
|
|
3299
|
-
input.SecurityGroupIds !== null && {
|
|
3286
|
+
})), (input.SecurityGroupIds != null && {
|
|
3300
3287
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
3301
|
-
})), (input.StorageType
|
|
3302
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WindowsConfiguration !== undefined &&
|
|
3303
|
-
input.WindowsConfiguration !== null && {
|
|
3288
|
+
})), (input.StorageType != null && { StorageType: input.StorageType })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WindowsConfiguration != null && {
|
|
3304
3289
|
WindowsConfiguration: serializeAws_json1_1CreateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
3305
3290
|
}));
|
|
3306
3291
|
};
|
|
3307
3292
|
var serializeAws_json1_1CreateFileSystemLustreConfiguration = function (input, context) {
|
|
3308
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoImportPolicy
|
|
3309
|
-
input.AutoImportPolicy !== null && { AutoImportPolicy: input.AutoImportPolicy })), (input.AutomaticBackupRetentionDays !== undefined &&
|
|
3310
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3293
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoImportPolicy != null && { AutoImportPolicy: input.AutoImportPolicy })), (input.AutomaticBackupRetentionDays != null && {
|
|
3311
3294
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3312
|
-
})), (input.CopyTagsToBackups
|
|
3313
|
-
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.DailyAutomaticBackupStartTime !== undefined &&
|
|
3314
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3295
|
+
})), (input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.DailyAutomaticBackupStartTime != null && {
|
|
3315
3296
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3316
|
-
})), (input.DataCompressionType
|
|
3317
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.DeploymentType !== undefined &&
|
|
3318
|
-
input.DeploymentType !== null && { DeploymentType: input.DeploymentType })), (input.DriveCacheType !== undefined &&
|
|
3319
|
-
input.DriveCacheType !== null && { DriveCacheType: input.DriveCacheType })), (input.ExportPath !== undefined && input.ExportPath !== null && { ExportPath: input.ExportPath })), (input.ImportPath !== undefined && input.ImportPath !== null && { ImportPath: input.ImportPath })), (input.ImportedFileChunkSize !== undefined &&
|
|
3320
|
-
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.LogConfiguration !== undefined &&
|
|
3321
|
-
input.LogConfiguration !== null && {
|
|
3297
|
+
})), (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.DeploymentType != null && { DeploymentType: input.DeploymentType })), (input.DriveCacheType != null && { DriveCacheType: input.DriveCacheType })), (input.ExportPath != null && { ExportPath: input.ExportPath })), (input.ImportPath != null && { ImportPath: input.ImportPath })), (input.ImportedFileChunkSize != null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.LogConfiguration != null && {
|
|
3322
3298
|
LogConfiguration: serializeAws_json1_1LustreLogCreateConfiguration(input.LogConfiguration, context),
|
|
3323
|
-
})), (input.PerUnitStorageThroughput
|
|
3324
|
-
input.PerUnitStorageThroughput !== null && { PerUnitStorageThroughput: input.PerUnitStorageThroughput })), (input.RootSquashConfiguration !== undefined &&
|
|
3325
|
-
input.RootSquashConfiguration !== null && {
|
|
3299
|
+
})), (input.PerUnitStorageThroughput != null && { PerUnitStorageThroughput: input.PerUnitStorageThroughput })), (input.RootSquashConfiguration != null && {
|
|
3326
3300
|
RootSquashConfiguration: serializeAws_json1_1LustreRootSquashConfiguration(input.RootSquashConfiguration, context),
|
|
3327
|
-
})), (input.WeeklyMaintenanceStartTime
|
|
3328
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3301
|
+
})), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3329
3302
|
};
|
|
3330
3303
|
var serializeAws_json1_1CreateFileSystemOntapConfiguration = function (input, context) {
|
|
3331
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays
|
|
3332
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3304
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays != null && {
|
|
3333
3305
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3334
|
-
})), (input.DailyAutomaticBackupStartTime
|
|
3335
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3306
|
+
})), (input.DailyAutomaticBackupStartTime != null && {
|
|
3336
3307
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3337
|
-
})), (input.DeploymentType
|
|
3338
|
-
input.DeploymentType !== null && { DeploymentType: input.DeploymentType })), (input.DiskIopsConfiguration !== undefined &&
|
|
3339
|
-
input.DiskIopsConfiguration !== null && {
|
|
3308
|
+
})), (input.DeploymentType != null && { DeploymentType: input.DeploymentType })), (input.DiskIopsConfiguration != null && {
|
|
3340
3309
|
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
3341
|
-
})), (input.EndpointIpAddressRange
|
|
3342
|
-
input.EndpointIpAddressRange !== null && { EndpointIpAddressRange: input.EndpointIpAddressRange })), (input.FsxAdminPassword !== undefined &&
|
|
3343
|
-
input.FsxAdminPassword !== null && { FsxAdminPassword: input.FsxAdminPassword })), (input.PreferredSubnetId !== undefined &&
|
|
3344
|
-
input.PreferredSubnetId !== null && { PreferredSubnetId: input.PreferredSubnetId })), (input.RouteTableIds !== undefined &&
|
|
3345
|
-
input.RouteTableIds !== null && {
|
|
3310
|
+
})), (input.EndpointIpAddressRange != null && { EndpointIpAddressRange: input.EndpointIpAddressRange })), (input.FsxAdminPassword != null && { FsxAdminPassword: input.FsxAdminPassword })), (input.PreferredSubnetId != null && { PreferredSubnetId: input.PreferredSubnetId })), (input.RouteTableIds != null && {
|
|
3346
3311
|
RouteTableIds: serializeAws_json1_1RouteTableIds(input.RouteTableIds, context),
|
|
3347
|
-
})), (input.ThroughputCapacity
|
|
3348
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3349
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3312
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3350
3313
|
};
|
|
3351
3314
|
var serializeAws_json1_1CreateFileSystemOpenZFSConfiguration = function (input, context) {
|
|
3352
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays
|
|
3353
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3315
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays != null && {
|
|
3354
3316
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3355
|
-
})), (input.CopyTagsToBackups
|
|
3356
|
-
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.CopyTagsToVolumes !== undefined &&
|
|
3357
|
-
input.CopyTagsToVolumes !== null && { CopyTagsToVolumes: input.CopyTagsToVolumes })), (input.DailyAutomaticBackupStartTime !== undefined &&
|
|
3358
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3317
|
+
})), (input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.CopyTagsToVolumes != null && { CopyTagsToVolumes: input.CopyTagsToVolumes })), (input.DailyAutomaticBackupStartTime != null && {
|
|
3359
3318
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3360
|
-
})), (input.DeploymentType
|
|
3361
|
-
input.DeploymentType !== null && { DeploymentType: input.DeploymentType })), (input.DiskIopsConfiguration !== undefined &&
|
|
3362
|
-
input.DiskIopsConfiguration !== null && {
|
|
3319
|
+
})), (input.DeploymentType != null && { DeploymentType: input.DeploymentType })), (input.DiskIopsConfiguration != null && {
|
|
3363
3320
|
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
3364
|
-
})), (input.RootVolumeConfiguration
|
|
3365
|
-
input.RootVolumeConfiguration !== null && {
|
|
3321
|
+
})), (input.RootVolumeConfiguration != null && {
|
|
3366
3322
|
RootVolumeConfiguration: serializeAws_json1_1OpenZFSCreateRootVolumeConfiguration(input.RootVolumeConfiguration, context),
|
|
3367
|
-
})), (input.ThroughputCapacity
|
|
3368
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3369
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3323
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3370
3324
|
};
|
|
3371
3325
|
var serializeAws_json1_1CreateFileSystemRequest = function (input, context) {
|
|
3372
3326
|
var _a;
|
|
3373
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemType
|
|
3374
|
-
input.FileSystemType !== null && { FileSystemType: input.FileSystemType })), (input.FileSystemTypeVersion !== undefined &&
|
|
3375
|
-
input.FileSystemTypeVersion !== null && { FileSystemTypeVersion: input.FileSystemTypeVersion })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.LustreConfiguration !== undefined &&
|
|
3376
|
-
input.LustreConfiguration !== null && {
|
|
3327
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemType != null && { FileSystemType: input.FileSystemType })), (input.FileSystemTypeVersion != null && { FileSystemTypeVersion: input.FileSystemTypeVersion })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.LustreConfiguration != null && {
|
|
3377
3328
|
LustreConfiguration: serializeAws_json1_1CreateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
3378
|
-
})), (input.OntapConfiguration
|
|
3379
|
-
input.OntapConfiguration !== null && {
|
|
3329
|
+
})), (input.OntapConfiguration != null && {
|
|
3380
3330
|
OntapConfiguration: serializeAws_json1_1CreateFileSystemOntapConfiguration(input.OntapConfiguration, context),
|
|
3381
|
-
})), (input.OpenZFSConfiguration
|
|
3382
|
-
input.OpenZFSConfiguration !== null && {
|
|
3331
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3383
3332
|
OpenZFSConfiguration: serializeAws_json1_1CreateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3384
|
-
})), (input.SecurityGroupIds
|
|
3385
|
-
input.SecurityGroupIds !== null && {
|
|
3333
|
+
})), (input.SecurityGroupIds != null && {
|
|
3386
3334
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
3387
|
-
})), (input.StorageCapacity
|
|
3388
|
-
input.StorageCapacity !== null && { StorageCapacity: input.StorageCapacity })), (input.StorageType !== undefined && input.StorageType !== null && { StorageType: input.StorageType })), (input.SubnetIds !== undefined &&
|
|
3389
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WindowsConfiguration !== undefined &&
|
|
3390
|
-
input.WindowsConfiguration !== null && {
|
|
3335
|
+
})), (input.StorageCapacity != null && { StorageCapacity: input.StorageCapacity })), (input.StorageType != null && { StorageType: input.StorageType })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WindowsConfiguration != null && {
|
|
3391
3336
|
WindowsConfiguration: serializeAws_json1_1CreateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
3392
3337
|
}));
|
|
3393
3338
|
};
|
|
3394
3339
|
var serializeAws_json1_1CreateFileSystemWindowsConfiguration = function (input, context) {
|
|
3395
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveDirectoryId
|
|
3396
|
-
input.ActiveDirectoryId !== null && { ActiveDirectoryId: input.ActiveDirectoryId })), (input.Aliases !== undefined &&
|
|
3397
|
-
input.Aliases !== null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), (input.AuditLogConfiguration !== undefined &&
|
|
3398
|
-
input.AuditLogConfiguration !== null && {
|
|
3340
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveDirectoryId != null && { ActiveDirectoryId: input.ActiveDirectoryId })), (input.Aliases != null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), (input.AuditLogConfiguration != null && {
|
|
3399
3341
|
AuditLogConfiguration: serializeAws_json1_1WindowsAuditLogCreateConfiguration(input.AuditLogConfiguration, context),
|
|
3400
|
-
})), (input.AutomaticBackupRetentionDays
|
|
3401
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3342
|
+
})), (input.AutomaticBackupRetentionDays != null && {
|
|
3402
3343
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3403
|
-
})), (input.CopyTagsToBackups
|
|
3404
|
-
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.DailyAutomaticBackupStartTime !== undefined &&
|
|
3405
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3344
|
+
})), (input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.DailyAutomaticBackupStartTime != null && {
|
|
3406
3345
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3407
|
-
})), (input.DeploymentType
|
|
3408
|
-
input.DeploymentType !== null && { DeploymentType: input.DeploymentType })), (input.PreferredSubnetId !== undefined &&
|
|
3409
|
-
input.PreferredSubnetId !== null && { PreferredSubnetId: input.PreferredSubnetId })), (input.SelfManagedActiveDirectoryConfiguration !== undefined &&
|
|
3410
|
-
input.SelfManagedActiveDirectoryConfiguration !== null && {
|
|
3346
|
+
})), (input.DeploymentType != null && { DeploymentType: input.DeploymentType })), (input.PreferredSubnetId != null && { PreferredSubnetId: input.PreferredSubnetId })), (input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
3411
3347
|
SelfManagedActiveDirectoryConfiguration: serializeAws_json1_1SelfManagedActiveDirectoryConfiguration(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
3412
|
-
})), (input.ThroughputCapacity
|
|
3413
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3414
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3348
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3415
3349
|
};
|
|
3416
3350
|
var serializeAws_json1_1CreateOntapVolumeConfiguration = function (input, context) {
|
|
3417
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.JunctionPath
|
|
3418
|
-
input.SizeInMegabytes !== null && { SizeInMegabytes: input.SizeInMegabytes })), (input.StorageEfficiencyEnabled !== undefined &&
|
|
3419
|
-
input.StorageEfficiencyEnabled !== null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled })), (input.StorageVirtualMachineId !== undefined &&
|
|
3420
|
-
input.StorageVirtualMachineId !== null && { StorageVirtualMachineId: input.StorageVirtualMachineId })), (input.TieringPolicy !== undefined &&
|
|
3421
|
-
input.TieringPolicy !== null && {
|
|
3351
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.JunctionPath != null && { JunctionPath: input.JunctionPath })), (input.SecurityStyle != null && { SecurityStyle: input.SecurityStyle })), (input.SizeInMegabytes != null && { SizeInMegabytes: input.SizeInMegabytes })), (input.StorageEfficiencyEnabled != null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled })), (input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId })), (input.TieringPolicy != null && {
|
|
3422
3352
|
TieringPolicy: serializeAws_json1_1TieringPolicy(input.TieringPolicy, context),
|
|
3423
3353
|
}));
|
|
3424
3354
|
};
|
|
3425
3355
|
var serializeAws_json1_1CreateOpenZFSOriginSnapshotConfiguration = function (input, context) {
|
|
3426
|
-
return __assign(__assign({}, (input.CopyStrategy
|
|
3356
|
+
return __assign(__assign({}, (input.CopyStrategy != null && { CopyStrategy: input.CopyStrategy })), (input.SnapshotARN != null && { SnapshotARN: input.SnapshotARN }));
|
|
3427
3357
|
};
|
|
3428
3358
|
var serializeAws_json1_1CreateOpenZFSVolumeConfiguration = function (input, context) {
|
|
3429
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots
|
|
3430
|
-
input.CopyTagsToSnapshots !== null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType !== undefined &&
|
|
3431
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
3432
|
-
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.OriginSnapshot !== undefined &&
|
|
3433
|
-
input.OriginSnapshot !== null && {
|
|
3359
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots != null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports != null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.OriginSnapshot != null && {
|
|
3434
3360
|
OriginSnapshot: serializeAws_json1_1CreateOpenZFSOriginSnapshotConfiguration(input.OriginSnapshot, context),
|
|
3435
|
-
})), (input.ParentVolumeId
|
|
3436
|
-
input.ParentVolumeId !== null && { ParentVolumeId: input.ParentVolumeId })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB !== undefined &&
|
|
3437
|
-
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB !== undefined &&
|
|
3438
|
-
input.StorageCapacityReservationGiB !== null && {
|
|
3361
|
+
})), (input.ParentVolumeId != null && { ParentVolumeId: input.ParentVolumeId })), (input.ReadOnly != null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB != null && {
|
|
3439
3362
|
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
3440
|
-
})), (input.UserAndGroupQuotas
|
|
3441
|
-
input.UserAndGroupQuotas !== null && {
|
|
3363
|
+
})), (input.UserAndGroupQuotas != null && {
|
|
3442
3364
|
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
3443
3365
|
}));
|
|
3444
3366
|
};
|
|
3445
3367
|
var serializeAws_json1_1CreateSnapshotRequest = function (input, context) {
|
|
3446
3368
|
var _a;
|
|
3447
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
3369
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
3448
3370
|
};
|
|
3449
3371
|
var serializeAws_json1_1CreateStorageVirtualMachineRequest = function (input, context) {
|
|
3450
3372
|
var _a;
|
|
3451
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveDirectoryConfiguration
|
|
3452
|
-
input.ActiveDirectoryConfiguration !== null && {
|
|
3373
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveDirectoryConfiguration != null && {
|
|
3453
3374
|
ActiveDirectoryConfiguration: serializeAws_json1_1CreateSvmActiveDirectoryConfiguration(input.ActiveDirectoryConfiguration, context),
|
|
3454
|
-
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId
|
|
3455
|
-
input.RootVolumeSecurityStyle !== null && { RootVolumeSecurityStyle: input.RootVolumeSecurityStyle })), (input.SvmAdminPassword !== undefined &&
|
|
3456
|
-
input.SvmAdminPassword !== null && { SvmAdminPassword: input.SvmAdminPassword })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3375
|
+
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.Name != null && { Name: input.Name })), (input.RootVolumeSecurityStyle != null && { RootVolumeSecurityStyle: input.RootVolumeSecurityStyle })), (input.SvmAdminPassword != null && { SvmAdminPassword: input.SvmAdminPassword })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3457
3376
|
};
|
|
3458
3377
|
var serializeAws_json1_1CreateSvmActiveDirectoryConfiguration = function (input, context) {
|
|
3459
|
-
return __assign(__assign({}, (input.NetBiosName
|
|
3460
|
-
input.SelfManagedActiveDirectoryConfiguration !== null && {
|
|
3378
|
+
return __assign(__assign({}, (input.NetBiosName != null && { NetBiosName: input.NetBiosName })), (input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
3461
3379
|
SelfManagedActiveDirectoryConfiguration: serializeAws_json1_1SelfManagedActiveDirectoryConfiguration(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
3462
3380
|
}));
|
|
3463
3381
|
};
|
|
3464
3382
|
var serializeAws_json1_1CreateVolumeFromBackupRequest = function (input, context) {
|
|
3465
3383
|
var _a;
|
|
3466
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BackupId
|
|
3467
|
-
input.OntapConfiguration !== null && {
|
|
3384
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BackupId != null && { BackupId: input.BackupId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.Name != null && { Name: input.Name })), (input.OntapConfiguration != null && {
|
|
3468
3385
|
OntapConfiguration: serializeAws_json1_1CreateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
3469
|
-
})), (input.Tags
|
|
3386
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3470
3387
|
};
|
|
3471
3388
|
var serializeAws_json1_1CreateVolumeRequest = function (input, context) {
|
|
3472
3389
|
var _a;
|
|
3473
|
-
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
3474
|
-
input.OntapConfiguration !== null && {
|
|
3390
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.OntapConfiguration != null && {
|
|
3475
3391
|
OntapConfiguration: serializeAws_json1_1CreateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
3476
|
-
})), (input.OpenZFSConfiguration
|
|
3477
|
-
input.OpenZFSConfiguration !== null && {
|
|
3392
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3478
3393
|
OpenZFSConfiguration: serializeAws_json1_1CreateOpenZFSVolumeConfiguration(input.OpenZFSConfiguration, context),
|
|
3479
|
-
})), (input.Tags
|
|
3394
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.VolumeType != null && { VolumeType: input.VolumeType }));
|
|
3480
3395
|
};
|
|
3481
3396
|
var serializeAws_json1_1DataRepositoryAssociationIds = function (input, context) {
|
|
3482
3397
|
return input
|
|
@@ -3489,8 +3404,7 @@ var serializeAws_json1_1DataRepositoryAssociationIds = function (input, context)
|
|
|
3489
3404
|
});
|
|
3490
3405
|
};
|
|
3491
3406
|
var serializeAws_json1_1DataRepositoryTaskFilter = function (input, context) {
|
|
3492
|
-
return __assign(__assign({}, (input.Name
|
|
3493
|
-
input.Values !== null && { Values: serializeAws_json1_1DataRepositoryTaskFilterValues(input.Values, context) }));
|
|
3407
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1DataRepositoryTaskFilterValues(input.Values, context) }));
|
|
3494
3408
|
};
|
|
3495
3409
|
var serializeAws_json1_1DataRepositoryTaskFilters = function (input, context) {
|
|
3496
3410
|
return input
|
|
@@ -3524,25 +3438,19 @@ var serializeAws_json1_1DataRepositoryTaskPaths = function (input, context) {
|
|
|
3524
3438
|
};
|
|
3525
3439
|
var serializeAws_json1_1DeleteBackupRequest = function (input, context) {
|
|
3526
3440
|
var _a;
|
|
3527
|
-
return __assign(__assign({}, (input.BackupId
|
|
3441
|
+
return __assign(__assign({}, (input.BackupId != null && { BackupId: input.BackupId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() });
|
|
3528
3442
|
};
|
|
3529
3443
|
var serializeAws_json1_1DeleteDataRepositoryAssociationRequest = function (input, context) {
|
|
3530
3444
|
var _a;
|
|
3531
|
-
return __assign(__assign(__assign({}, (input.AssociationId
|
|
3532
|
-
input.DeleteDataInFileSystem !== null && { DeleteDataInFileSystem: input.DeleteDataInFileSystem }));
|
|
3445
|
+
return __assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.DeleteDataInFileSystem != null && { DeleteDataInFileSystem: input.DeleteDataInFileSystem }));
|
|
3533
3446
|
};
|
|
3534
3447
|
var serializeAws_json1_1DeleteFileSystemLustreConfiguration = function (input, context) {
|
|
3535
|
-
return __assign(__assign({}, (input.FinalBackupTags
|
|
3536
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup !== undefined &&
|
|
3537
|
-
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3448
|
+
return __assign(__assign({}, (input.FinalBackupTags != null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup != null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3538
3449
|
};
|
|
3539
3450
|
var serializeAws_json1_1DeleteFileSystemOpenZFSConfiguration = function (input, context) {
|
|
3540
|
-
return __assign(__assign(__assign({}, (input.FinalBackupTags
|
|
3541
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.Options !== undefined &&
|
|
3542
|
-
input.Options !== null && {
|
|
3451
|
+
return __assign(__assign(__assign({}, (input.FinalBackupTags != null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.Options != null && {
|
|
3543
3452
|
Options: serializeAws_json1_1DeleteFileSystemOpenZFSOptions(input.Options, context),
|
|
3544
|
-
})), (input.SkipFinalBackup
|
|
3545
|
-
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3453
|
+
})), (input.SkipFinalBackup != null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3546
3454
|
};
|
|
3547
3455
|
var serializeAws_json1_1DeleteFileSystemOpenZFSOptions = function (input, context) {
|
|
3548
3456
|
return input
|
|
@@ -3556,21 +3464,16 @@ var serializeAws_json1_1DeleteFileSystemOpenZFSOptions = function (input, contex
|
|
|
3556
3464
|
};
|
|
3557
3465
|
var serializeAws_json1_1DeleteFileSystemRequest = function (input, context) {
|
|
3558
3466
|
var _a;
|
|
3559
|
-
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3560
|
-
input.LustreConfiguration !== null && {
|
|
3467
|
+
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.LustreConfiguration != null && {
|
|
3561
3468
|
LustreConfiguration: serializeAws_json1_1DeleteFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
3562
|
-
})), (input.OpenZFSConfiguration
|
|
3563
|
-
input.OpenZFSConfiguration !== null && {
|
|
3469
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3564
3470
|
OpenZFSConfiguration: serializeAws_json1_1DeleteFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3565
|
-
})), (input.WindowsConfiguration
|
|
3566
|
-
input.WindowsConfiguration !== null && {
|
|
3471
|
+
})), (input.WindowsConfiguration != null && {
|
|
3567
3472
|
WindowsConfiguration: serializeAws_json1_1DeleteFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
3568
3473
|
}));
|
|
3569
3474
|
};
|
|
3570
3475
|
var serializeAws_json1_1DeleteFileSystemWindowsConfiguration = function (input, context) {
|
|
3571
|
-
return __assign(__assign({}, (input.FinalBackupTags
|
|
3572
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup !== undefined &&
|
|
3573
|
-
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3476
|
+
return __assign(__assign({}, (input.FinalBackupTags != null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup != null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3574
3477
|
};
|
|
3575
3478
|
var serializeAws_json1_1DeleteOpenZFSVolumeOptions = function (input, context) {
|
|
3576
3479
|
return input
|
|
@@ -3584,83 +3487,63 @@ var serializeAws_json1_1DeleteOpenZFSVolumeOptions = function (input, context) {
|
|
|
3584
3487
|
};
|
|
3585
3488
|
var serializeAws_json1_1DeleteSnapshotRequest = function (input, context) {
|
|
3586
3489
|
var _a;
|
|
3587
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.SnapshotId
|
|
3490
|
+
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.SnapshotId != null && { SnapshotId: input.SnapshotId }));
|
|
3588
3491
|
};
|
|
3589
3492
|
var serializeAws_json1_1DeleteStorageVirtualMachineRequest = function (input, context) {
|
|
3590
3493
|
var _a;
|
|
3591
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.StorageVirtualMachineId
|
|
3592
|
-
input.StorageVirtualMachineId !== null && { StorageVirtualMachineId: input.StorageVirtualMachineId }));
|
|
3494
|
+
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId }));
|
|
3593
3495
|
};
|
|
3594
3496
|
var serializeAws_json1_1DeleteVolumeOntapConfiguration = function (input, context) {
|
|
3595
|
-
return __assign(__assign({}, (input.FinalBackupTags
|
|
3596
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup !== undefined &&
|
|
3597
|
-
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3497
|
+
return __assign(__assign({}, (input.FinalBackupTags != null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup != null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3598
3498
|
};
|
|
3599
3499
|
var serializeAws_json1_1DeleteVolumeOpenZFSConfiguration = function (input, context) {
|
|
3600
|
-
return __assign({}, (input.Options
|
|
3601
|
-
input.Options !== null && { Options: serializeAws_json1_1DeleteOpenZFSVolumeOptions(input.Options, context) }));
|
|
3500
|
+
return __assign({}, (input.Options != null && { Options: serializeAws_json1_1DeleteOpenZFSVolumeOptions(input.Options, context) }));
|
|
3602
3501
|
};
|
|
3603
3502
|
var serializeAws_json1_1DeleteVolumeRequest = function (input, context) {
|
|
3604
3503
|
var _a;
|
|
3605
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.OntapConfiguration
|
|
3606
|
-
input.OntapConfiguration !== null && {
|
|
3504
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.OntapConfiguration != null && {
|
|
3607
3505
|
OntapConfiguration: serializeAws_json1_1DeleteVolumeOntapConfiguration(input.OntapConfiguration, context),
|
|
3608
|
-
})), (input.OpenZFSConfiguration
|
|
3609
|
-
input.OpenZFSConfiguration !== null && {
|
|
3506
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3610
3507
|
OpenZFSConfiguration: serializeAws_json1_1DeleteVolumeOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3611
|
-
})), (input.VolumeId
|
|
3508
|
+
})), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
3612
3509
|
};
|
|
3613
3510
|
var serializeAws_json1_1DescribeBackupsRequest = function (input, context) {
|
|
3614
|
-
return __assign(__assign(__assign(__assign({}, (input.BackupIds
|
|
3615
|
-
input.BackupIds !== null && { BackupIds: serializeAws_json1_1BackupIds(input.BackupIds, context) })), (input.Filters !== undefined &&
|
|
3616
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3511
|
+
return __assign(__assign(__assign(__assign({}, (input.BackupIds != null && { BackupIds: serializeAws_json1_1BackupIds(input.BackupIds, context) })), (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3617
3512
|
};
|
|
3618
3513
|
var serializeAws_json1_1DescribeDataRepositoryAssociationsRequest = function (input, context) {
|
|
3619
|
-
return __assign(__assign(__assign(__assign({}, (input.AssociationIds
|
|
3620
|
-
input.AssociationIds !== null && {
|
|
3514
|
+
return __assign(__assign(__assign(__assign({}, (input.AssociationIds != null && {
|
|
3621
3515
|
AssociationIds: serializeAws_json1_1DataRepositoryAssociationIds(input.AssociationIds, context),
|
|
3622
|
-
})), (input.Filters
|
|
3623
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3516
|
+
})), (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3624
3517
|
};
|
|
3625
3518
|
var serializeAws_json1_1DescribeDataRepositoryTasksRequest = function (input, context) {
|
|
3626
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3627
|
-
input.Filters !== null && { Filters: serializeAws_json1_1DataRepositoryTaskFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.TaskIds !== undefined &&
|
|
3628
|
-
input.TaskIds !== null && { TaskIds: serializeAws_json1_1TaskIds(input.TaskIds, context) }));
|
|
3519
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1DataRepositoryTaskFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TaskIds != null && { TaskIds: serializeAws_json1_1TaskIds(input.TaskIds, context) }));
|
|
3629
3520
|
};
|
|
3630
3521
|
var serializeAws_json1_1DescribeFileSystemAliasesRequest = function (input, context) {
|
|
3631
3522
|
var _a;
|
|
3632
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3523
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3633
3524
|
};
|
|
3634
3525
|
var serializeAws_json1_1DescribeFileSystemsRequest = function (input, context) {
|
|
3635
|
-
return __assign(__assign(__assign({}, (input.FileSystemIds
|
|
3636
|
-
input.FileSystemIds !== null && {
|
|
3526
|
+
return __assign(__assign(__assign({}, (input.FileSystemIds != null && {
|
|
3637
3527
|
FileSystemIds: serializeAws_json1_1FileSystemIds(input.FileSystemIds, context),
|
|
3638
|
-
})), (input.MaxResults
|
|
3528
|
+
})), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3639
3529
|
};
|
|
3640
3530
|
var serializeAws_json1_1DescribeSnapshotsRequest = function (input, context) {
|
|
3641
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3642
|
-
input.Filters !== null && { Filters: serializeAws_json1_1SnapshotFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SnapshotIds !== undefined &&
|
|
3643
|
-
input.SnapshotIds !== null && { SnapshotIds: serializeAws_json1_1SnapshotIds(input.SnapshotIds, context) }));
|
|
3531
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1SnapshotFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SnapshotIds != null && { SnapshotIds: serializeAws_json1_1SnapshotIds(input.SnapshotIds, context) }));
|
|
3644
3532
|
};
|
|
3645
3533
|
var serializeAws_json1_1DescribeStorageVirtualMachinesRequest = function (input, context) {
|
|
3646
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3647
|
-
input.Filters !== null && { Filters: serializeAws_json1_1StorageVirtualMachineFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StorageVirtualMachineIds !== undefined &&
|
|
3648
|
-
input.StorageVirtualMachineIds !== null && {
|
|
3534
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1StorageVirtualMachineFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StorageVirtualMachineIds != null && {
|
|
3649
3535
|
StorageVirtualMachineIds: serializeAws_json1_1StorageVirtualMachineIds(input.StorageVirtualMachineIds, context),
|
|
3650
3536
|
}));
|
|
3651
3537
|
};
|
|
3652
3538
|
var serializeAws_json1_1DescribeVolumesRequest = function (input, context) {
|
|
3653
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3654
|
-
input.Filters !== null && { Filters: serializeAws_json1_1VolumeFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.VolumeIds !== undefined &&
|
|
3655
|
-
input.VolumeIds !== null && { VolumeIds: serializeAws_json1_1VolumeIds(input.VolumeIds, context) }));
|
|
3539
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1VolumeFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.VolumeIds != null && { VolumeIds: serializeAws_json1_1VolumeIds(input.VolumeIds, context) }));
|
|
3656
3540
|
};
|
|
3657
3541
|
var serializeAws_json1_1DisassociateFileSystemAliasesRequest = function (input, context) {
|
|
3658
3542
|
var _a;
|
|
3659
|
-
return __assign(__assign(__assign({}, (input.Aliases !==
|
|
3660
|
-
input.Aliases !== null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }));
|
|
3543
|
+
return __assign(__assign(__assign({}, (input.Aliases != null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId != null && { FileSystemId: input.FileSystemId }));
|
|
3661
3544
|
};
|
|
3662
3545
|
var serializeAws_json1_1DiskIopsConfiguration = function (input, context) {
|
|
3663
|
-
return __assign(__assign({}, (input.Iops
|
|
3546
|
+
return __assign(__assign({}, (input.Iops != null && { Iops: input.Iops })), (input.Mode != null && { Mode: input.Mode }));
|
|
3664
3547
|
};
|
|
3665
3548
|
var serializeAws_json1_1DnsIps = function (input, context) {
|
|
3666
3549
|
return input
|
|
@@ -3693,8 +3576,7 @@ var serializeAws_json1_1FileSystemIds = function (input, context) {
|
|
|
3693
3576
|
});
|
|
3694
3577
|
};
|
|
3695
3578
|
var serializeAws_json1_1Filter = function (input, context) {
|
|
3696
|
-
return __assign(__assign({}, (input.Name
|
|
3697
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3579
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3698
3580
|
};
|
|
3699
3581
|
var serializeAws_json1_1Filters = function (input, context) {
|
|
3700
3582
|
return input
|
|
@@ -3717,10 +3599,10 @@ var serializeAws_json1_1FilterValues = function (input, context) {
|
|
|
3717
3599
|
});
|
|
3718
3600
|
};
|
|
3719
3601
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
3720
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3602
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
3721
3603
|
};
|
|
3722
3604
|
var serializeAws_json1_1LustreLogCreateConfiguration = function (input, context) {
|
|
3723
|
-
return __assign(__assign({}, (input.Destination
|
|
3605
|
+
return __assign(__assign({}, (input.Destination != null && { Destination: input.Destination })), (input.Level != null && { Level: input.Level }));
|
|
3724
3606
|
};
|
|
3725
3607
|
var serializeAws_json1_1LustreNoSquashNids = function (input, context) {
|
|
3726
3608
|
return input
|
|
@@ -3733,14 +3615,12 @@ var serializeAws_json1_1LustreNoSquashNids = function (input, context) {
|
|
|
3733
3615
|
});
|
|
3734
3616
|
};
|
|
3735
3617
|
var serializeAws_json1_1LustreRootSquashConfiguration = function (input, context) {
|
|
3736
|
-
return __assign(__assign({}, (input.NoSquashNids
|
|
3737
|
-
input.NoSquashNids !== null && {
|
|
3618
|
+
return __assign(__assign({}, (input.NoSquashNids != null && {
|
|
3738
3619
|
NoSquashNids: serializeAws_json1_1LustreNoSquashNids(input.NoSquashNids, context),
|
|
3739
|
-
})), (input.RootSquash
|
|
3620
|
+
})), (input.RootSquash != null && { RootSquash: input.RootSquash }));
|
|
3740
3621
|
};
|
|
3741
3622
|
var serializeAws_json1_1OpenZFSClientConfiguration = function (input, context) {
|
|
3742
|
-
return __assign(__assign({}, (input.Clients
|
|
3743
|
-
input.Options !== null && { Options: serializeAws_json1_1OpenZFSNfsExportOptions(input.Options, context) }));
|
|
3623
|
+
return __assign(__assign({}, (input.Clients != null && { Clients: input.Clients })), (input.Options != null && { Options: serializeAws_json1_1OpenZFSNfsExportOptions(input.Options, context) }));
|
|
3744
3624
|
};
|
|
3745
3625
|
var serializeAws_json1_1OpenZFSClientConfigurations = function (input, context) {
|
|
3746
3626
|
return input
|
|
@@ -3753,17 +3633,12 @@ var serializeAws_json1_1OpenZFSClientConfigurations = function (input, context)
|
|
|
3753
3633
|
});
|
|
3754
3634
|
};
|
|
3755
3635
|
var serializeAws_json1_1OpenZFSCreateRootVolumeConfiguration = function (input, context) {
|
|
3756
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots
|
|
3757
|
-
input.CopyTagsToSnapshots !== null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType !== undefined &&
|
|
3758
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
3759
|
-
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.UserAndGroupQuotas !== undefined &&
|
|
3760
|
-
input.UserAndGroupQuotas !== null && {
|
|
3636
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots != null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports != null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly != null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB })), (input.UserAndGroupQuotas != null && {
|
|
3761
3637
|
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
3762
3638
|
}));
|
|
3763
3639
|
};
|
|
3764
3640
|
var serializeAws_json1_1OpenZFSNfsExport = function (input, context) {
|
|
3765
|
-
return __assign({}, (input.ClientConfigurations
|
|
3766
|
-
input.ClientConfigurations !== null && {
|
|
3641
|
+
return __assign({}, (input.ClientConfigurations != null && {
|
|
3767
3642
|
ClientConfigurations: serializeAws_json1_1OpenZFSClientConfigurations(input.ClientConfigurations, context),
|
|
3768
3643
|
}));
|
|
3769
3644
|
};
|
|
@@ -3798,12 +3673,11 @@ var serializeAws_json1_1OpenZFSUserAndGroupQuotas = function (input, context) {
|
|
|
3798
3673
|
});
|
|
3799
3674
|
};
|
|
3800
3675
|
var serializeAws_json1_1OpenZFSUserOrGroupQuota = function (input, context) {
|
|
3801
|
-
return __assign(__assign(__assign({}, (input.Id
|
|
3802
|
-
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
3676
|
+
return __assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.Type != null && { Type: input.Type }));
|
|
3803
3677
|
};
|
|
3804
3678
|
var serializeAws_json1_1ReleaseFileSystemNfsV3LocksRequest = function (input, context) {
|
|
3805
3679
|
var _a;
|
|
3806
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3680
|
+
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId }));
|
|
3807
3681
|
};
|
|
3808
3682
|
var serializeAws_json1_1RestoreOpenZFSVolumeOptions = function (input, context) {
|
|
3809
3683
|
return input
|
|
@@ -3817,8 +3691,7 @@ var serializeAws_json1_1RestoreOpenZFSVolumeOptions = function (input, context)
|
|
|
3817
3691
|
};
|
|
3818
3692
|
var serializeAws_json1_1RestoreVolumeFromSnapshotRequest = function (input, context) {
|
|
3819
3693
|
var _a;
|
|
3820
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Options
|
|
3821
|
-
input.Options !== null && { Options: serializeAws_json1_1RestoreOpenZFSVolumeOptions(input.Options, context) })), (input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId })), (input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId }));
|
|
3694
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Options != null && { Options: serializeAws_json1_1RestoreOpenZFSVolumeOptions(input.Options, context) })), (input.SnapshotId != null && { SnapshotId: input.SnapshotId })), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
3822
3695
|
};
|
|
3823
3696
|
var serializeAws_json1_1RouteTableIds = function (input, context) {
|
|
3824
3697
|
return input
|
|
@@ -3831,11 +3704,9 @@ var serializeAws_json1_1RouteTableIds = function (input, context) {
|
|
|
3831
3704
|
});
|
|
3832
3705
|
};
|
|
3833
3706
|
var serializeAws_json1_1S3DataRepositoryConfiguration = function (input, context) {
|
|
3834
|
-
return __assign(__assign({}, (input.AutoExportPolicy
|
|
3835
|
-
input.AutoExportPolicy !== null && {
|
|
3707
|
+
return __assign(__assign({}, (input.AutoExportPolicy != null && {
|
|
3836
3708
|
AutoExportPolicy: serializeAws_json1_1AutoExportPolicy(input.AutoExportPolicy, context),
|
|
3837
|
-
})), (input.AutoImportPolicy
|
|
3838
|
-
input.AutoImportPolicy !== null && {
|
|
3709
|
+
})), (input.AutoImportPolicy != null && {
|
|
3839
3710
|
AutoImportPolicy: serializeAws_json1_1AutoImportPolicy(input.AutoImportPolicy, context),
|
|
3840
3711
|
}));
|
|
3841
3712
|
};
|
|
@@ -3850,22 +3721,17 @@ var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
|
3850
3721
|
});
|
|
3851
3722
|
};
|
|
3852
3723
|
var serializeAws_json1_1SelfManagedActiveDirectoryConfiguration = function (input, context) {
|
|
3853
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DnsIps
|
|
3854
|
-
input.DnsIps !== null && { DnsIps: serializeAws_json1_1DnsIps(input.DnsIps, context) })), (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.FileSystemAdministratorsGroup !== undefined &&
|
|
3855
|
-
input.FileSystemAdministratorsGroup !== null && {
|
|
3724
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DnsIps != null && { DnsIps: serializeAws_json1_1DnsIps(input.DnsIps, context) })), (input.DomainName != null && { DomainName: input.DomainName })), (input.FileSystemAdministratorsGroup != null && {
|
|
3856
3725
|
FileSystemAdministratorsGroup: input.FileSystemAdministratorsGroup,
|
|
3857
|
-
})), (input.OrganizationalUnitDistinguishedName
|
|
3858
|
-
input.OrganizationalUnitDistinguishedName !== null && {
|
|
3726
|
+
})), (input.OrganizationalUnitDistinguishedName != null && {
|
|
3859
3727
|
OrganizationalUnitDistinguishedName: input.OrganizationalUnitDistinguishedName,
|
|
3860
|
-
})), (input.Password
|
|
3728
|
+
})), (input.Password != null && { Password: input.Password })), (input.UserName != null && { UserName: input.UserName }));
|
|
3861
3729
|
};
|
|
3862
3730
|
var serializeAws_json1_1SelfManagedActiveDirectoryConfigurationUpdates = function (input, context) {
|
|
3863
|
-
return __assign(__assign(__assign({}, (input.DnsIps
|
|
3864
|
-
input.DnsIps !== null && { DnsIps: serializeAws_json1_1DnsIps(input.DnsIps, context) })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
3731
|
+
return __assign(__assign(__assign({}, (input.DnsIps != null && { DnsIps: serializeAws_json1_1DnsIps(input.DnsIps, context) })), (input.Password != null && { Password: input.Password })), (input.UserName != null && { UserName: input.UserName }));
|
|
3865
3732
|
};
|
|
3866
3733
|
var serializeAws_json1_1SnapshotFilter = function (input, context) {
|
|
3867
|
-
return __assign(__assign({}, (input.Name
|
|
3868
|
-
input.Values !== null && { Values: serializeAws_json1_1SnapshotFilterValues(input.Values, context) }));
|
|
3734
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1SnapshotFilterValues(input.Values, context) }));
|
|
3869
3735
|
};
|
|
3870
3736
|
var serializeAws_json1_1SnapshotFilters = function (input, context) {
|
|
3871
3737
|
return input
|
|
@@ -3898,8 +3764,7 @@ var serializeAws_json1_1SnapshotIds = function (input, context) {
|
|
|
3898
3764
|
});
|
|
3899
3765
|
};
|
|
3900
3766
|
var serializeAws_json1_1StorageVirtualMachineFilter = function (input, context) {
|
|
3901
|
-
return __assign(__assign({}, (input.Name
|
|
3902
|
-
input.Values !== null && {
|
|
3767
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && {
|
|
3903
3768
|
Values: serializeAws_json1_1StorageVirtualMachineFilterValues(input.Values, context),
|
|
3904
3769
|
}));
|
|
3905
3770
|
};
|
|
@@ -3944,7 +3809,7 @@ var serializeAws_json1_1SubnetIds = function (input, context) {
|
|
|
3944
3809
|
});
|
|
3945
3810
|
};
|
|
3946
3811
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3947
|
-
return __assign(__assign({}, (input.Key
|
|
3812
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3948
3813
|
};
|
|
3949
3814
|
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
3950
3815
|
return input
|
|
@@ -3957,7 +3822,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
|
|
|
3957
3822
|
});
|
|
3958
3823
|
};
|
|
3959
3824
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3960
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
3825
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3961
3826
|
};
|
|
3962
3827
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
3963
3828
|
return input
|
|
@@ -3980,153 +3845,104 @@ var serializeAws_json1_1TaskIds = function (input, context) {
|
|
|
3980
3845
|
});
|
|
3981
3846
|
};
|
|
3982
3847
|
var serializeAws_json1_1TieringPolicy = function (input, context) {
|
|
3983
|
-
return __assign(__assign({}, (input.CoolingPeriod
|
|
3848
|
+
return __assign(__assign({}, (input.CoolingPeriod != null && { CoolingPeriod: input.CoolingPeriod })), (input.Name != null && { Name: input.Name }));
|
|
3984
3849
|
};
|
|
3985
3850
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3986
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
3987
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
3851
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
3988
3852
|
};
|
|
3989
3853
|
var serializeAws_json1_1UpdateDataRepositoryAssociationRequest = function (input, context) {
|
|
3990
3854
|
var _a;
|
|
3991
|
-
return __assign(__assign(__assign(__assign({}, (input.AssociationId
|
|
3992
|
-
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.S3 !== undefined &&
|
|
3993
|
-
input.S3 !== null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) }));
|
|
3855
|
+
return __assign(__assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.ImportedFileChunkSize != null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.S3 != null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) }));
|
|
3994
3856
|
};
|
|
3995
3857
|
var serializeAws_json1_1UpdateFileSystemLustreConfiguration = function (input, context) {
|
|
3996
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoImportPolicy
|
|
3997
|
-
input.AutoImportPolicy !== null && { AutoImportPolicy: input.AutoImportPolicy })), (input.AutomaticBackupRetentionDays !== undefined &&
|
|
3998
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3858
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoImportPolicy != null && { AutoImportPolicy: input.AutoImportPolicy })), (input.AutomaticBackupRetentionDays != null && {
|
|
3999
3859
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
4000
|
-
})), (input.DailyAutomaticBackupStartTime
|
|
4001
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3860
|
+
})), (input.DailyAutomaticBackupStartTime != null && {
|
|
4002
3861
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
4003
|
-
})), (input.DataCompressionType
|
|
4004
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.LogConfiguration !== undefined &&
|
|
4005
|
-
input.LogConfiguration !== null && {
|
|
3862
|
+
})), (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.LogConfiguration != null && {
|
|
4006
3863
|
LogConfiguration: serializeAws_json1_1LustreLogCreateConfiguration(input.LogConfiguration, context),
|
|
4007
|
-
})), (input.RootSquashConfiguration
|
|
4008
|
-
input.RootSquashConfiguration !== null && {
|
|
3864
|
+
})), (input.RootSquashConfiguration != null && {
|
|
4009
3865
|
RootSquashConfiguration: serializeAws_json1_1LustreRootSquashConfiguration(input.RootSquashConfiguration, context),
|
|
4010
|
-
})), (input.WeeklyMaintenanceStartTime
|
|
4011
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3866
|
+
})), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
4012
3867
|
};
|
|
4013
3868
|
var serializeAws_json1_1UpdateFileSystemOntapConfiguration = function (input, context) {
|
|
4014
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays
|
|
4015
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3869
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays != null && {
|
|
4016
3870
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
4017
|
-
})), (input.DailyAutomaticBackupStartTime
|
|
4018
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3871
|
+
})), (input.DailyAutomaticBackupStartTime != null && {
|
|
4019
3872
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
4020
|
-
})), (input.DiskIopsConfiguration
|
|
4021
|
-
input.DiskIopsConfiguration !== null && {
|
|
3873
|
+
})), (input.DiskIopsConfiguration != null && {
|
|
4022
3874
|
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
4023
|
-
})), (input.FsxAdminPassword
|
|
4024
|
-
input.FsxAdminPassword !== null && { FsxAdminPassword: input.FsxAdminPassword })), (input.ThroughputCapacity !== undefined &&
|
|
4025
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
4026
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3875
|
+
})), (input.FsxAdminPassword != null && { FsxAdminPassword: input.FsxAdminPassword })), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
4027
3876
|
};
|
|
4028
3877
|
var serializeAws_json1_1UpdateFileSystemOpenZFSConfiguration = function (input, context) {
|
|
4029
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays
|
|
4030
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3878
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays != null && {
|
|
4031
3879
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
4032
|
-
})), (input.CopyTagsToBackups
|
|
4033
|
-
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.CopyTagsToVolumes !== undefined &&
|
|
4034
|
-
input.CopyTagsToVolumes !== null && { CopyTagsToVolumes: input.CopyTagsToVolumes })), (input.DailyAutomaticBackupStartTime !== undefined &&
|
|
4035
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3880
|
+
})), (input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.CopyTagsToVolumes != null && { CopyTagsToVolumes: input.CopyTagsToVolumes })), (input.DailyAutomaticBackupStartTime != null && {
|
|
4036
3881
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
4037
|
-
})), (input.DiskIopsConfiguration
|
|
4038
|
-
input.DiskIopsConfiguration !== null && {
|
|
3882
|
+
})), (input.DiskIopsConfiguration != null && {
|
|
4039
3883
|
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
4040
|
-
})), (input.ThroughputCapacity
|
|
4041
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
4042
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3884
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
4043
3885
|
};
|
|
4044
3886
|
var serializeAws_json1_1UpdateFileSystemRequest = function (input, context) {
|
|
4045
3887
|
var _a;
|
|
4046
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
4047
|
-
input.LustreConfiguration !== null && {
|
|
3888
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.LustreConfiguration != null && {
|
|
4048
3889
|
LustreConfiguration: serializeAws_json1_1UpdateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
4049
|
-
})), (input.OntapConfiguration
|
|
4050
|
-
input.OntapConfiguration !== null && {
|
|
3890
|
+
})), (input.OntapConfiguration != null && {
|
|
4051
3891
|
OntapConfiguration: serializeAws_json1_1UpdateFileSystemOntapConfiguration(input.OntapConfiguration, context),
|
|
4052
|
-
})), (input.OpenZFSConfiguration
|
|
4053
|
-
input.OpenZFSConfiguration !== null && {
|
|
3892
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
4054
3893
|
OpenZFSConfiguration: serializeAws_json1_1UpdateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
4055
|
-
})), (input.StorageCapacity
|
|
4056
|
-
input.StorageCapacity !== null && { StorageCapacity: input.StorageCapacity })), (input.WindowsConfiguration !== undefined &&
|
|
4057
|
-
input.WindowsConfiguration !== null && {
|
|
3894
|
+
})), (input.StorageCapacity != null && { StorageCapacity: input.StorageCapacity })), (input.WindowsConfiguration != null && {
|
|
4058
3895
|
WindowsConfiguration: serializeAws_json1_1UpdateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
4059
3896
|
}));
|
|
4060
3897
|
};
|
|
4061
3898
|
var serializeAws_json1_1UpdateFileSystemWindowsConfiguration = function (input, context) {
|
|
4062
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuditLogConfiguration
|
|
4063
|
-
input.AuditLogConfiguration !== null && {
|
|
3899
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuditLogConfiguration != null && {
|
|
4064
3900
|
AuditLogConfiguration: serializeAws_json1_1WindowsAuditLogCreateConfiguration(input.AuditLogConfiguration, context),
|
|
4065
|
-
})), (input.AutomaticBackupRetentionDays
|
|
4066
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3901
|
+
})), (input.AutomaticBackupRetentionDays != null && {
|
|
4067
3902
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
4068
|
-
})), (input.DailyAutomaticBackupStartTime
|
|
4069
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3903
|
+
})), (input.DailyAutomaticBackupStartTime != null && {
|
|
4070
3904
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
4071
|
-
})), (input.SelfManagedActiveDirectoryConfiguration
|
|
4072
|
-
input.SelfManagedActiveDirectoryConfiguration !== null && {
|
|
3905
|
+
})), (input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
4073
3906
|
SelfManagedActiveDirectoryConfiguration: serializeAws_json1_1SelfManagedActiveDirectoryConfigurationUpdates(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
4074
|
-
})), (input.ThroughputCapacity
|
|
4075
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
4076
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3907
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
4077
3908
|
};
|
|
4078
3909
|
var serializeAws_json1_1UpdateOntapVolumeConfiguration = function (input, context) {
|
|
4079
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.JunctionPath
|
|
4080
|
-
input.SizeInMegabytes !== null && { SizeInMegabytes: input.SizeInMegabytes })), (input.StorageEfficiencyEnabled !== undefined &&
|
|
4081
|
-
input.StorageEfficiencyEnabled !== null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled })), (input.TieringPolicy !== undefined &&
|
|
4082
|
-
input.TieringPolicy !== null && {
|
|
3910
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.JunctionPath != null && { JunctionPath: input.JunctionPath })), (input.SecurityStyle != null && { SecurityStyle: input.SecurityStyle })), (input.SizeInMegabytes != null && { SizeInMegabytes: input.SizeInMegabytes })), (input.StorageEfficiencyEnabled != null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled })), (input.TieringPolicy != null && {
|
|
4083
3911
|
TieringPolicy: serializeAws_json1_1TieringPolicy(input.TieringPolicy, context),
|
|
4084
3912
|
}));
|
|
4085
3913
|
};
|
|
4086
3914
|
var serializeAws_json1_1UpdateOpenZFSVolumeConfiguration = function (input, context) {
|
|
4087
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCompressionType
|
|
4088
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
4089
|
-
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB !== undefined &&
|
|
4090
|
-
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB !== undefined &&
|
|
4091
|
-
input.StorageCapacityReservationGiB !== null && {
|
|
3915
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports != null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly != null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB != null && {
|
|
4092
3916
|
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
4093
|
-
})), (input.UserAndGroupQuotas
|
|
4094
|
-
input.UserAndGroupQuotas !== null && {
|
|
3917
|
+
})), (input.UserAndGroupQuotas != null && {
|
|
4095
3918
|
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
4096
3919
|
}));
|
|
4097
3920
|
};
|
|
4098
3921
|
var serializeAws_json1_1UpdateSnapshotRequest = function (input, context) {
|
|
4099
3922
|
var _a;
|
|
4100
|
-
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
3923
|
+
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.SnapshotId != null && { SnapshotId: input.SnapshotId }));
|
|
4101
3924
|
};
|
|
4102
3925
|
var serializeAws_json1_1UpdateStorageVirtualMachineRequest = function (input, context) {
|
|
4103
3926
|
var _a;
|
|
4104
|
-
return __assign(__assign(__assign(__assign({}, (input.ActiveDirectoryConfiguration
|
|
4105
|
-
input.ActiveDirectoryConfiguration !== null && {
|
|
3927
|
+
return __assign(__assign(__assign(__assign({}, (input.ActiveDirectoryConfiguration != null && {
|
|
4106
3928
|
ActiveDirectoryConfiguration: serializeAws_json1_1UpdateSvmActiveDirectoryConfiguration(input.ActiveDirectoryConfiguration, context),
|
|
4107
|
-
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.StorageVirtualMachineId
|
|
4108
|
-
input.StorageVirtualMachineId !== null && { StorageVirtualMachineId: input.StorageVirtualMachineId })), (input.SvmAdminPassword !== undefined &&
|
|
4109
|
-
input.SvmAdminPassword !== null && { SvmAdminPassword: input.SvmAdminPassword }));
|
|
3929
|
+
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId })), (input.SvmAdminPassword != null && { SvmAdminPassword: input.SvmAdminPassword }));
|
|
4110
3930
|
};
|
|
4111
3931
|
var serializeAws_json1_1UpdateSvmActiveDirectoryConfiguration = function (input, context) {
|
|
4112
|
-
return __assign({}, (input.SelfManagedActiveDirectoryConfiguration
|
|
4113
|
-
input.SelfManagedActiveDirectoryConfiguration !== null && {
|
|
3932
|
+
return __assign({}, (input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
4114
3933
|
SelfManagedActiveDirectoryConfiguration: serializeAws_json1_1SelfManagedActiveDirectoryConfigurationUpdates(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
4115
3934
|
}));
|
|
4116
3935
|
};
|
|
4117
3936
|
var serializeAws_json1_1UpdateVolumeRequest = function (input, context) {
|
|
4118
3937
|
var _a;
|
|
4119
|
-
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
4120
|
-
input.OntapConfiguration !== null && {
|
|
3938
|
+
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.OntapConfiguration != null && {
|
|
4121
3939
|
OntapConfiguration: serializeAws_json1_1UpdateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
4122
|
-
})), (input.OpenZFSConfiguration
|
|
4123
|
-
input.OpenZFSConfiguration !== null && {
|
|
3940
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
4124
3941
|
OpenZFSConfiguration: serializeAws_json1_1UpdateOpenZFSVolumeConfiguration(input.OpenZFSConfiguration, context),
|
|
4125
|
-
})), (input.VolumeId
|
|
3942
|
+
})), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
4126
3943
|
};
|
|
4127
3944
|
var serializeAws_json1_1VolumeFilter = function (input, context) {
|
|
4128
|
-
return __assign(__assign({}, (input.Name
|
|
4129
|
-
input.Values !== null && { Values: serializeAws_json1_1VolumeFilterValues(input.Values, context) }));
|
|
3945
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1VolumeFilterValues(input.Values, context) }));
|
|
4130
3946
|
};
|
|
4131
3947
|
var serializeAws_json1_1VolumeFilters = function (input, context) {
|
|
4132
3948
|
return input
|
|
@@ -4159,10 +3975,7 @@ var serializeAws_json1_1VolumeIds = function (input, context) {
|
|
|
4159
3975
|
});
|
|
4160
3976
|
};
|
|
4161
3977
|
var serializeAws_json1_1WindowsAuditLogCreateConfiguration = function (input, context) {
|
|
4162
|
-
return __assign(__assign(__assign({}, (input.AuditLogDestination
|
|
4163
|
-
input.AuditLogDestination !== null && { AuditLogDestination: input.AuditLogDestination })), (input.FileAccessAuditLogLevel !== undefined &&
|
|
4164
|
-
input.FileAccessAuditLogLevel !== null && { FileAccessAuditLogLevel: input.FileAccessAuditLogLevel })), (input.FileShareAccessAuditLogLevel !== undefined &&
|
|
4165
|
-
input.FileShareAccessAuditLogLevel !== null && {
|
|
3978
|
+
return __assign(__assign(__assign({}, (input.AuditLogDestination != null && { AuditLogDestination: input.AuditLogDestination })), (input.FileAccessAuditLogLevel != null && { FileAccessAuditLogLevel: input.FileAccessAuditLogLevel })), (input.FileShareAccessAuditLogLevel != null && {
|
|
4166
3979
|
FileShareAccessAuditLogLevel: input.FileShareAccessAuditLogLevel,
|
|
4167
3980
|
}));
|
|
4168
3981
|
};
|
|
@@ -4183,23 +3996,21 @@ var deserializeAws_json1_1ActiveDirectoryError = function (output, context) {
|
|
|
4183
3996
|
var deserializeAws_json1_1AdministrativeAction = function (output, context) {
|
|
4184
3997
|
return {
|
|
4185
3998
|
AdministrativeActionType: __expectString(output.AdministrativeActionType),
|
|
4186
|
-
FailureDetails: output.FailureDetails
|
|
3999
|
+
FailureDetails: output.FailureDetails != null
|
|
4187
4000
|
? deserializeAws_json1_1AdministrativeActionFailureDetails(output.FailureDetails, context)
|
|
4188
4001
|
: undefined,
|
|
4189
4002
|
ProgressPercent: __expectInt32(output.ProgressPercent),
|
|
4190
|
-
RequestTime: output.RequestTime
|
|
4003
|
+
RequestTime: output.RequestTime != null
|
|
4191
4004
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RequestTime)))
|
|
4192
4005
|
: undefined,
|
|
4193
4006
|
Status: __expectString(output.Status),
|
|
4194
|
-
TargetFileSystemValues: output.TargetFileSystemValues
|
|
4007
|
+
TargetFileSystemValues: output.TargetFileSystemValues != null
|
|
4195
4008
|
? deserializeAws_json1_1FileSystem(output.TargetFileSystemValues, context)
|
|
4196
4009
|
: undefined,
|
|
4197
|
-
TargetSnapshotValues: output.TargetSnapshotValues
|
|
4010
|
+
TargetSnapshotValues: output.TargetSnapshotValues != null
|
|
4198
4011
|
? deserializeAws_json1_1Snapshot(output.TargetSnapshotValues, context)
|
|
4199
4012
|
: undefined,
|
|
4200
|
-
TargetVolumeValues: output.TargetVolumeValues
|
|
4201
|
-
? deserializeAws_json1_1Volume(output.TargetVolumeValues, context)
|
|
4202
|
-
: undefined,
|
|
4013
|
+
TargetVolumeValues: output.TargetVolumeValues != null ? deserializeAws_json1_1Volume(output.TargetVolumeValues, context) : undefined,
|
|
4203
4014
|
};
|
|
4204
4015
|
};
|
|
4205
4016
|
var deserializeAws_json1_1AdministrativeActionFailureDetails = function (output, context) {
|
|
@@ -4237,40 +4048,32 @@ var deserializeAws_json1_1Aliases = function (output, context) {
|
|
|
4237
4048
|
};
|
|
4238
4049
|
var deserializeAws_json1_1AssociateFileSystemAliasesResponse = function (output, context) {
|
|
4239
4050
|
return {
|
|
4240
|
-
Aliases: output.Aliases
|
|
4241
|
-
? deserializeAws_json1_1Aliases(output.Aliases, context)
|
|
4242
|
-
: undefined,
|
|
4051
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
4243
4052
|
};
|
|
4244
4053
|
};
|
|
4245
4054
|
var deserializeAws_json1_1AutoExportPolicy = function (output, context) {
|
|
4246
4055
|
return {
|
|
4247
|
-
Events: output.Events
|
|
4248
|
-
? deserializeAws_json1_1EventTypes(output.Events, context)
|
|
4249
|
-
: undefined,
|
|
4056
|
+
Events: output.Events != null ? deserializeAws_json1_1EventTypes(output.Events, context) : undefined,
|
|
4250
4057
|
};
|
|
4251
4058
|
};
|
|
4252
4059
|
var deserializeAws_json1_1AutoImportPolicy = function (output, context) {
|
|
4253
4060
|
return {
|
|
4254
|
-
Events: output.Events
|
|
4255
|
-
? deserializeAws_json1_1EventTypes(output.Events, context)
|
|
4256
|
-
: undefined,
|
|
4061
|
+
Events: output.Events != null ? deserializeAws_json1_1EventTypes(output.Events, context) : undefined,
|
|
4257
4062
|
};
|
|
4258
4063
|
};
|
|
4259
4064
|
var deserializeAws_json1_1Backup = function (output, context) {
|
|
4260
4065
|
return {
|
|
4261
4066
|
BackupId: __expectString(output.BackupId),
|
|
4262
|
-
CreationTime: output.CreationTime
|
|
4067
|
+
CreationTime: output.CreationTime != null
|
|
4263
4068
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4264
4069
|
: undefined,
|
|
4265
|
-
DirectoryInformation: output.DirectoryInformation
|
|
4070
|
+
DirectoryInformation: output.DirectoryInformation != null
|
|
4266
4071
|
? deserializeAws_json1_1ActiveDirectoryBackupAttributes(output.DirectoryInformation, context)
|
|
4267
4072
|
: undefined,
|
|
4268
|
-
FailureDetails: output.FailureDetails
|
|
4073
|
+
FailureDetails: output.FailureDetails != null
|
|
4269
4074
|
? deserializeAws_json1_1BackupFailureDetails(output.FailureDetails, context)
|
|
4270
4075
|
: undefined,
|
|
4271
|
-
FileSystem: output.FileSystem
|
|
4272
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
4273
|
-
: undefined,
|
|
4076
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
4274
4077
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
4275
4078
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4276
4079
|
OwnerId: __expectString(output.OwnerId),
|
|
@@ -4279,11 +4082,9 @@ var deserializeAws_json1_1Backup = function (output, context) {
|
|
|
4279
4082
|
ResourceType: __expectString(output.ResourceType),
|
|
4280
4083
|
SourceBackupId: __expectString(output.SourceBackupId),
|
|
4281
4084
|
SourceBackupRegion: __expectString(output.SourceBackupRegion),
|
|
4282
|
-
Tags: output.Tags
|
|
4085
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4283
4086
|
Type: __expectString(output.Type),
|
|
4284
|
-
Volume: output.Volume
|
|
4285
|
-
? deserializeAws_json1_1Volume(output.Volume, context)
|
|
4286
|
-
: undefined,
|
|
4087
|
+
Volume: output.Volume != null ? deserializeAws_json1_1Volume(output.Volume, context) : undefined,
|
|
4287
4088
|
};
|
|
4288
4089
|
};
|
|
4289
4090
|
var deserializeAws_json1_1BackupBeingCopied = function (output, context) {
|
|
@@ -4345,83 +4146,69 @@ var deserializeAws_json1_1CompletionReport = function (output, context) {
|
|
|
4345
4146
|
};
|
|
4346
4147
|
var deserializeAws_json1_1CopyBackupResponse = function (output, context) {
|
|
4347
4148
|
return {
|
|
4348
|
-
Backup: output.Backup
|
|
4349
|
-
? deserializeAws_json1_1Backup(output.Backup, context)
|
|
4350
|
-
: undefined,
|
|
4149
|
+
Backup: output.Backup != null ? deserializeAws_json1_1Backup(output.Backup, context) : undefined,
|
|
4351
4150
|
};
|
|
4352
4151
|
};
|
|
4353
4152
|
var deserializeAws_json1_1CreateBackupResponse = function (output, context) {
|
|
4354
4153
|
return {
|
|
4355
|
-
Backup: output.Backup
|
|
4356
|
-
? deserializeAws_json1_1Backup(output.Backup, context)
|
|
4357
|
-
: undefined,
|
|
4154
|
+
Backup: output.Backup != null ? deserializeAws_json1_1Backup(output.Backup, context) : undefined,
|
|
4358
4155
|
};
|
|
4359
4156
|
};
|
|
4360
4157
|
var deserializeAws_json1_1CreateDataRepositoryAssociationResponse = function (output, context) {
|
|
4361
4158
|
return {
|
|
4362
|
-
Association: output.Association
|
|
4159
|
+
Association: output.Association != null
|
|
4363
4160
|
? deserializeAws_json1_1DataRepositoryAssociation(output.Association, context)
|
|
4364
4161
|
: undefined,
|
|
4365
4162
|
};
|
|
4366
4163
|
};
|
|
4367
4164
|
var deserializeAws_json1_1CreateDataRepositoryTaskResponse = function (output, context) {
|
|
4368
4165
|
return {
|
|
4369
|
-
DataRepositoryTask: output.DataRepositoryTask
|
|
4166
|
+
DataRepositoryTask: output.DataRepositoryTask != null
|
|
4370
4167
|
? deserializeAws_json1_1DataRepositoryTask(output.DataRepositoryTask, context)
|
|
4371
4168
|
: undefined,
|
|
4372
4169
|
};
|
|
4373
4170
|
};
|
|
4374
4171
|
var deserializeAws_json1_1CreateFileSystemFromBackupResponse = function (output, context) {
|
|
4375
4172
|
return {
|
|
4376
|
-
FileSystem: output.FileSystem
|
|
4377
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
4378
|
-
: undefined,
|
|
4173
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
4379
4174
|
};
|
|
4380
4175
|
};
|
|
4381
4176
|
var deserializeAws_json1_1CreateFileSystemResponse = function (output, context) {
|
|
4382
4177
|
return {
|
|
4383
|
-
FileSystem: output.FileSystem
|
|
4384
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
4385
|
-
: undefined,
|
|
4178
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
4386
4179
|
};
|
|
4387
4180
|
};
|
|
4388
4181
|
var deserializeAws_json1_1CreateSnapshotResponse = function (output, context) {
|
|
4389
4182
|
return {
|
|
4390
|
-
Snapshot: output.Snapshot
|
|
4391
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
4392
|
-
: undefined,
|
|
4183
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
4393
4184
|
};
|
|
4394
4185
|
};
|
|
4395
4186
|
var deserializeAws_json1_1CreateStorageVirtualMachineResponse = function (output, context) {
|
|
4396
4187
|
return {
|
|
4397
|
-
StorageVirtualMachine: output.StorageVirtualMachine
|
|
4188
|
+
StorageVirtualMachine: output.StorageVirtualMachine != null
|
|
4398
4189
|
? deserializeAws_json1_1StorageVirtualMachine(output.StorageVirtualMachine, context)
|
|
4399
4190
|
: undefined,
|
|
4400
4191
|
};
|
|
4401
4192
|
};
|
|
4402
4193
|
var deserializeAws_json1_1CreateVolumeFromBackupResponse = function (output, context) {
|
|
4403
4194
|
return {
|
|
4404
|
-
Volume: output.Volume
|
|
4405
|
-
? deserializeAws_json1_1Volume(output.Volume, context)
|
|
4406
|
-
: undefined,
|
|
4195
|
+
Volume: output.Volume != null ? deserializeAws_json1_1Volume(output.Volume, context) : undefined,
|
|
4407
4196
|
};
|
|
4408
4197
|
};
|
|
4409
4198
|
var deserializeAws_json1_1CreateVolumeResponse = function (output, context) {
|
|
4410
4199
|
return {
|
|
4411
|
-
Volume: output.Volume
|
|
4412
|
-
? deserializeAws_json1_1Volume(output.Volume, context)
|
|
4413
|
-
: undefined,
|
|
4200
|
+
Volume: output.Volume != null ? deserializeAws_json1_1Volume(output.Volume, context) : undefined,
|
|
4414
4201
|
};
|
|
4415
4202
|
};
|
|
4416
4203
|
var deserializeAws_json1_1DataRepositoryAssociation = function (output, context) {
|
|
4417
4204
|
return {
|
|
4418
4205
|
AssociationId: __expectString(output.AssociationId),
|
|
4419
4206
|
BatchImportMetaDataOnCreate: __expectBoolean(output.BatchImportMetaDataOnCreate),
|
|
4420
|
-
CreationTime: output.CreationTime
|
|
4207
|
+
CreationTime: output.CreationTime != null
|
|
4421
4208
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4422
4209
|
: undefined,
|
|
4423
4210
|
DataRepositoryPath: __expectString(output.DataRepositoryPath),
|
|
4424
|
-
FailureDetails: output.FailureDetails
|
|
4211
|
+
FailureDetails: output.FailureDetails != null
|
|
4425
4212
|
? deserializeAws_json1_1DataRepositoryFailureDetails(output.FailureDetails, context)
|
|
4426
4213
|
: undefined,
|
|
4427
4214
|
FileSystemId: __expectString(output.FileSystemId),
|
|
@@ -4429,10 +4216,8 @@ var deserializeAws_json1_1DataRepositoryAssociation = function (output, context)
|
|
|
4429
4216
|
ImportedFileChunkSize: __expectInt32(output.ImportedFileChunkSize),
|
|
4430
4217
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4431
4218
|
ResourceARN: __expectString(output.ResourceARN),
|
|
4432
|
-
S3: output.S3
|
|
4433
|
-
|
|
4434
|
-
: undefined,
|
|
4435
|
-
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4219
|
+
S3: output.S3 != null ? deserializeAws_json1_1S3DataRepositoryConfiguration(output.S3, context) : undefined,
|
|
4220
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4436
4221
|
};
|
|
4437
4222
|
};
|
|
4438
4223
|
var deserializeAws_json1_1DataRepositoryAssociationNotFound = function (output, context) {
|
|
@@ -4455,7 +4240,7 @@ var deserializeAws_json1_1DataRepositoryConfiguration = function (output, contex
|
|
|
4455
4240
|
return {
|
|
4456
4241
|
AutoImportPolicy: __expectString(output.AutoImportPolicy),
|
|
4457
4242
|
ExportPath: __expectString(output.ExportPath),
|
|
4458
|
-
FailureDetails: output.FailureDetails
|
|
4243
|
+
FailureDetails: output.FailureDetails != null
|
|
4459
4244
|
? deserializeAws_json1_1DataRepositoryFailureDetails(output.FailureDetails, context)
|
|
4460
4245
|
: undefined,
|
|
4461
4246
|
ImportPath: __expectString(output.ImportPath),
|
|
@@ -4470,31 +4255,21 @@ var deserializeAws_json1_1DataRepositoryFailureDetails = function (output, conte
|
|
|
4470
4255
|
};
|
|
4471
4256
|
var deserializeAws_json1_1DataRepositoryTask = function (output, context) {
|
|
4472
4257
|
return {
|
|
4473
|
-
CreationTime: output.CreationTime
|
|
4258
|
+
CreationTime: output.CreationTime != null
|
|
4474
4259
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4475
4260
|
: undefined,
|
|
4476
|
-
EndTime: output.EndTime
|
|
4477
|
-
|
|
4478
|
-
: undefined,
|
|
4479
|
-
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
4261
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
4262
|
+
FailureDetails: output.FailureDetails != null
|
|
4480
4263
|
? deserializeAws_json1_1DataRepositoryTaskFailureDetails(output.FailureDetails, context)
|
|
4481
4264
|
: undefined,
|
|
4482
4265
|
FileSystemId: __expectString(output.FileSystemId),
|
|
4483
4266
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4484
|
-
Paths: output.Paths
|
|
4485
|
-
|
|
4486
|
-
: undefined,
|
|
4487
|
-
Report: output.Report !== undefined && output.Report !== null
|
|
4488
|
-
? deserializeAws_json1_1CompletionReport(output.Report, context)
|
|
4489
|
-
: undefined,
|
|
4267
|
+
Paths: output.Paths != null ? deserializeAws_json1_1DataRepositoryTaskPaths(output.Paths, context) : undefined,
|
|
4268
|
+
Report: output.Report != null ? deserializeAws_json1_1CompletionReport(output.Report, context) : undefined,
|
|
4490
4269
|
ResourceARN: __expectString(output.ResourceARN),
|
|
4491
|
-
StartTime: output.StartTime
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4495
|
-
? deserializeAws_json1_1DataRepositoryTaskStatus(output.Status, context)
|
|
4496
|
-
: undefined,
|
|
4497
|
-
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4270
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
4271
|
+
Status: output.Status != null ? deserializeAws_json1_1DataRepositoryTaskStatus(output.Status, context) : undefined,
|
|
4272
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4498
4273
|
TaskId: __expectString(output.TaskId),
|
|
4499
4274
|
Type: __expectString(output.Type),
|
|
4500
4275
|
};
|
|
@@ -4544,7 +4319,7 @@ var deserializeAws_json1_1DataRepositoryTasks = function (output, context) {
|
|
|
4544
4319
|
var deserializeAws_json1_1DataRepositoryTaskStatus = function (output, context) {
|
|
4545
4320
|
return {
|
|
4546
4321
|
FailedCount: __expectLong(output.FailedCount),
|
|
4547
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
4322
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
4548
4323
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
4549
4324
|
: undefined,
|
|
4550
4325
|
SucceededCount: __expectLong(output.SucceededCount),
|
|
@@ -4567,30 +4342,26 @@ var deserializeAws_json1_1DeleteDataRepositoryAssociationResponse = function (ou
|
|
|
4567
4342
|
var deserializeAws_json1_1DeleteFileSystemLustreResponse = function (output, context) {
|
|
4568
4343
|
return {
|
|
4569
4344
|
FinalBackupId: __expectString(output.FinalBackupId),
|
|
4570
|
-
FinalBackupTags: output.FinalBackupTags
|
|
4571
|
-
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
4572
|
-
: undefined,
|
|
4345
|
+
FinalBackupTags: output.FinalBackupTags != null ? deserializeAws_json1_1Tags(output.FinalBackupTags, context) : undefined,
|
|
4573
4346
|
};
|
|
4574
4347
|
};
|
|
4575
4348
|
var deserializeAws_json1_1DeleteFileSystemOpenZFSResponse = function (output, context) {
|
|
4576
4349
|
return {
|
|
4577
4350
|
FinalBackupId: __expectString(output.FinalBackupId),
|
|
4578
|
-
FinalBackupTags: output.FinalBackupTags
|
|
4579
|
-
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
4580
|
-
: undefined,
|
|
4351
|
+
FinalBackupTags: output.FinalBackupTags != null ? deserializeAws_json1_1Tags(output.FinalBackupTags, context) : undefined,
|
|
4581
4352
|
};
|
|
4582
4353
|
};
|
|
4583
4354
|
var deserializeAws_json1_1DeleteFileSystemResponse = function (output, context) {
|
|
4584
4355
|
return {
|
|
4585
4356
|
FileSystemId: __expectString(output.FileSystemId),
|
|
4586
4357
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4587
|
-
LustreResponse: output.LustreResponse
|
|
4358
|
+
LustreResponse: output.LustreResponse != null
|
|
4588
4359
|
? deserializeAws_json1_1DeleteFileSystemLustreResponse(output.LustreResponse, context)
|
|
4589
4360
|
: undefined,
|
|
4590
|
-
OpenZFSResponse: output.OpenZFSResponse
|
|
4361
|
+
OpenZFSResponse: output.OpenZFSResponse != null
|
|
4591
4362
|
? deserializeAws_json1_1DeleteFileSystemOpenZFSResponse(output.OpenZFSResponse, context)
|
|
4592
4363
|
: undefined,
|
|
4593
|
-
WindowsResponse: output.WindowsResponse
|
|
4364
|
+
WindowsResponse: output.WindowsResponse != null
|
|
4594
4365
|
? deserializeAws_json1_1DeleteFileSystemWindowsResponse(output.WindowsResponse, context)
|
|
4595
4366
|
: undefined,
|
|
4596
4367
|
};
|
|
@@ -4598,9 +4369,7 @@ var deserializeAws_json1_1DeleteFileSystemResponse = function (output, context)
|
|
|
4598
4369
|
var deserializeAws_json1_1DeleteFileSystemWindowsResponse = function (output, context) {
|
|
4599
4370
|
return {
|
|
4600
4371
|
FinalBackupId: __expectString(output.FinalBackupId),
|
|
4601
|
-
FinalBackupTags: output.FinalBackupTags
|
|
4602
|
-
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
4603
|
-
: undefined,
|
|
4372
|
+
FinalBackupTags: output.FinalBackupTags != null ? deserializeAws_json1_1Tags(output.FinalBackupTags, context) : undefined,
|
|
4604
4373
|
};
|
|
4605
4374
|
};
|
|
4606
4375
|
var deserializeAws_json1_1DeleteSnapshotResponse = function (output, context) {
|
|
@@ -4618,15 +4387,13 @@ var deserializeAws_json1_1DeleteStorageVirtualMachineResponse = function (output
|
|
|
4618
4387
|
var deserializeAws_json1_1DeleteVolumeOntapResponse = function (output, context) {
|
|
4619
4388
|
return {
|
|
4620
4389
|
FinalBackupId: __expectString(output.FinalBackupId),
|
|
4621
|
-
FinalBackupTags: output.FinalBackupTags
|
|
4622
|
-
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
4623
|
-
: undefined,
|
|
4390
|
+
FinalBackupTags: output.FinalBackupTags != null ? deserializeAws_json1_1Tags(output.FinalBackupTags, context) : undefined,
|
|
4624
4391
|
};
|
|
4625
4392
|
};
|
|
4626
4393
|
var deserializeAws_json1_1DeleteVolumeResponse = function (output, context) {
|
|
4627
4394
|
return {
|
|
4628
4395
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4629
|
-
OntapResponse: output.OntapResponse
|
|
4396
|
+
OntapResponse: output.OntapResponse != null
|
|
4630
4397
|
? deserializeAws_json1_1DeleteVolumeOntapResponse(output.OntapResponse, context)
|
|
4631
4398
|
: undefined,
|
|
4632
4399
|
VolumeId: __expectString(output.VolumeId),
|
|
@@ -4634,15 +4401,13 @@ var deserializeAws_json1_1DeleteVolumeResponse = function (output, context) {
|
|
|
4634
4401
|
};
|
|
4635
4402
|
var deserializeAws_json1_1DescribeBackupsResponse = function (output, context) {
|
|
4636
4403
|
return {
|
|
4637
|
-
Backups: output.Backups
|
|
4638
|
-
? deserializeAws_json1_1Backups(output.Backups, context)
|
|
4639
|
-
: undefined,
|
|
4404
|
+
Backups: output.Backups != null ? deserializeAws_json1_1Backups(output.Backups, context) : undefined,
|
|
4640
4405
|
NextToken: __expectString(output.NextToken),
|
|
4641
4406
|
};
|
|
4642
4407
|
};
|
|
4643
4408
|
var deserializeAws_json1_1DescribeDataRepositoryAssociationsResponse = function (output, context) {
|
|
4644
4409
|
return {
|
|
4645
|
-
Associations: output.Associations
|
|
4410
|
+
Associations: output.Associations != null
|
|
4646
4411
|
? deserializeAws_json1_1DataRepositoryAssociations(output.Associations, context)
|
|
4647
4412
|
: undefined,
|
|
4648
4413
|
NextToken: __expectString(output.NextToken),
|
|
@@ -4650,7 +4415,7 @@ var deserializeAws_json1_1DescribeDataRepositoryAssociationsResponse = function
|
|
|
4650
4415
|
};
|
|
4651
4416
|
var deserializeAws_json1_1DescribeDataRepositoryTasksResponse = function (output, context) {
|
|
4652
4417
|
return {
|
|
4653
|
-
DataRepositoryTasks: output.DataRepositoryTasks
|
|
4418
|
+
DataRepositoryTasks: output.DataRepositoryTasks != null
|
|
4654
4419
|
? deserializeAws_json1_1DataRepositoryTasks(output.DataRepositoryTasks, context)
|
|
4655
4420
|
: undefined,
|
|
4656
4421
|
NextToken: __expectString(output.NextToken),
|
|
@@ -4658,32 +4423,26 @@ var deserializeAws_json1_1DescribeDataRepositoryTasksResponse = function (output
|
|
|
4658
4423
|
};
|
|
4659
4424
|
var deserializeAws_json1_1DescribeFileSystemAliasesResponse = function (output, context) {
|
|
4660
4425
|
return {
|
|
4661
|
-
Aliases: output.Aliases
|
|
4662
|
-
? deserializeAws_json1_1Aliases(output.Aliases, context)
|
|
4663
|
-
: undefined,
|
|
4426
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
4664
4427
|
NextToken: __expectString(output.NextToken),
|
|
4665
4428
|
};
|
|
4666
4429
|
};
|
|
4667
4430
|
var deserializeAws_json1_1DescribeFileSystemsResponse = function (output, context) {
|
|
4668
4431
|
return {
|
|
4669
|
-
FileSystems: output.FileSystems
|
|
4670
|
-
? deserializeAws_json1_1FileSystems(output.FileSystems, context)
|
|
4671
|
-
: undefined,
|
|
4432
|
+
FileSystems: output.FileSystems != null ? deserializeAws_json1_1FileSystems(output.FileSystems, context) : undefined,
|
|
4672
4433
|
NextToken: __expectString(output.NextToken),
|
|
4673
4434
|
};
|
|
4674
4435
|
};
|
|
4675
4436
|
var deserializeAws_json1_1DescribeSnapshotsResponse = function (output, context) {
|
|
4676
4437
|
return {
|
|
4677
4438
|
NextToken: __expectString(output.NextToken),
|
|
4678
|
-
Snapshots: output.Snapshots
|
|
4679
|
-
? deserializeAws_json1_1Snapshots(output.Snapshots, context)
|
|
4680
|
-
: undefined,
|
|
4439
|
+
Snapshots: output.Snapshots != null ? deserializeAws_json1_1Snapshots(output.Snapshots, context) : undefined,
|
|
4681
4440
|
};
|
|
4682
4441
|
};
|
|
4683
4442
|
var deserializeAws_json1_1DescribeStorageVirtualMachinesResponse = function (output, context) {
|
|
4684
4443
|
return {
|
|
4685
4444
|
NextToken: __expectString(output.NextToken),
|
|
4686
|
-
StorageVirtualMachines: output.StorageVirtualMachines
|
|
4445
|
+
StorageVirtualMachines: output.StorageVirtualMachines != null
|
|
4687
4446
|
? deserializeAws_json1_1StorageVirtualMachines(output.StorageVirtualMachines, context)
|
|
4688
4447
|
: undefined,
|
|
4689
4448
|
};
|
|
@@ -4691,16 +4450,12 @@ var deserializeAws_json1_1DescribeStorageVirtualMachinesResponse = function (out
|
|
|
4691
4450
|
var deserializeAws_json1_1DescribeVolumesResponse = function (output, context) {
|
|
4692
4451
|
return {
|
|
4693
4452
|
NextToken: __expectString(output.NextToken),
|
|
4694
|
-
Volumes: output.Volumes
|
|
4695
|
-
? deserializeAws_json1_1Volumes(output.Volumes, context)
|
|
4696
|
-
: undefined,
|
|
4453
|
+
Volumes: output.Volumes != null ? deserializeAws_json1_1Volumes(output.Volumes, context) : undefined,
|
|
4697
4454
|
};
|
|
4698
4455
|
};
|
|
4699
4456
|
var deserializeAws_json1_1DisassociateFileSystemAliasesResponse = function (output, context) {
|
|
4700
4457
|
return {
|
|
4701
|
-
Aliases: output.Aliases
|
|
4702
|
-
? deserializeAws_json1_1Aliases(output.Aliases, context)
|
|
4703
|
-
: undefined,
|
|
4458
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
4704
4459
|
};
|
|
4705
4460
|
};
|
|
4706
4461
|
var deserializeAws_json1_1DiskIopsConfiguration = function (output, context) {
|
|
@@ -4733,14 +4488,14 @@ var deserializeAws_json1_1EventTypes = function (output, context) {
|
|
|
4733
4488
|
};
|
|
4734
4489
|
var deserializeAws_json1_1FileSystem = function (output, context) {
|
|
4735
4490
|
return {
|
|
4736
|
-
AdministrativeActions: output.AdministrativeActions
|
|
4491
|
+
AdministrativeActions: output.AdministrativeActions != null
|
|
4737
4492
|
? deserializeAws_json1_1AdministrativeActions(output.AdministrativeActions, context)
|
|
4738
4493
|
: undefined,
|
|
4739
|
-
CreationTime: output.CreationTime
|
|
4494
|
+
CreationTime: output.CreationTime != null
|
|
4740
4495
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4741
4496
|
: undefined,
|
|
4742
4497
|
DNSName: __expectString(output.DNSName),
|
|
4743
|
-
FailureDetails: output.FailureDetails
|
|
4498
|
+
FailureDetails: output.FailureDetails != null
|
|
4744
4499
|
? deserializeAws_json1_1FileSystemFailureDetails(output.FailureDetails, context)
|
|
4745
4500
|
: undefined,
|
|
4746
4501
|
FileSystemId: __expectString(output.FileSystemId),
|
|
@@ -4748,28 +4503,26 @@ var deserializeAws_json1_1FileSystem = function (output, context) {
|
|
|
4748
4503
|
FileSystemTypeVersion: __expectString(output.FileSystemTypeVersion),
|
|
4749
4504
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
4750
4505
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4751
|
-
LustreConfiguration: output.LustreConfiguration
|
|
4506
|
+
LustreConfiguration: output.LustreConfiguration != null
|
|
4752
4507
|
? deserializeAws_json1_1LustreFileSystemConfiguration(output.LustreConfiguration, context)
|
|
4753
4508
|
: undefined,
|
|
4754
|
-
NetworkInterfaceIds: output.NetworkInterfaceIds
|
|
4509
|
+
NetworkInterfaceIds: output.NetworkInterfaceIds != null
|
|
4755
4510
|
? deserializeAws_json1_1NetworkInterfaceIds(output.NetworkInterfaceIds, context)
|
|
4756
4511
|
: undefined,
|
|
4757
|
-
OntapConfiguration: output.OntapConfiguration
|
|
4512
|
+
OntapConfiguration: output.OntapConfiguration != null
|
|
4758
4513
|
? deserializeAws_json1_1OntapFileSystemConfiguration(output.OntapConfiguration, context)
|
|
4759
4514
|
: undefined,
|
|
4760
|
-
OpenZFSConfiguration: output.OpenZFSConfiguration
|
|
4515
|
+
OpenZFSConfiguration: output.OpenZFSConfiguration != null
|
|
4761
4516
|
? deserializeAws_json1_1OpenZFSFileSystemConfiguration(output.OpenZFSConfiguration, context)
|
|
4762
4517
|
: undefined,
|
|
4763
4518
|
OwnerId: __expectString(output.OwnerId),
|
|
4764
4519
|
ResourceARN: __expectString(output.ResourceARN),
|
|
4765
4520
|
StorageCapacity: __expectInt32(output.StorageCapacity),
|
|
4766
4521
|
StorageType: __expectString(output.StorageType),
|
|
4767
|
-
SubnetIds: output.SubnetIds
|
|
4768
|
-
|
|
4769
|
-
: undefined,
|
|
4770
|
-
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4522
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIds(output.SubnetIds, context) : undefined,
|
|
4523
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4771
4524
|
VpcId: __expectString(output.VpcId),
|
|
4772
|
-
WindowsConfiguration: output.WindowsConfiguration
|
|
4525
|
+
WindowsConfiguration: output.WindowsConfiguration != null
|
|
4773
4526
|
? deserializeAws_json1_1WindowsFileSystemConfiguration(output.WindowsConfiguration, context)
|
|
4774
4527
|
: undefined,
|
|
4775
4528
|
};
|
|
@@ -4777,19 +4530,15 @@ var deserializeAws_json1_1FileSystem = function (output, context) {
|
|
|
4777
4530
|
var deserializeAws_json1_1FileSystemEndpoint = function (output, context) {
|
|
4778
4531
|
return {
|
|
4779
4532
|
DNSName: __expectString(output.DNSName),
|
|
4780
|
-
IpAddresses: output.IpAddresses
|
|
4533
|
+
IpAddresses: output.IpAddresses != null
|
|
4781
4534
|
? deserializeAws_json1_1OntapEndpointIpAddresses(output.IpAddresses, context)
|
|
4782
4535
|
: undefined,
|
|
4783
4536
|
};
|
|
4784
4537
|
};
|
|
4785
4538
|
var deserializeAws_json1_1FileSystemEndpoints = function (output, context) {
|
|
4786
4539
|
return {
|
|
4787
|
-
Intercluster: output.Intercluster
|
|
4788
|
-
|
|
4789
|
-
: undefined,
|
|
4790
|
-
Management: output.Management !== undefined && output.Management !== null
|
|
4791
|
-
? deserializeAws_json1_1FileSystemEndpoint(output.Management, context)
|
|
4792
|
-
: undefined,
|
|
4540
|
+
Intercluster: output.Intercluster != null ? deserializeAws_json1_1FileSystemEndpoint(output.Intercluster, context) : undefined,
|
|
4541
|
+
Management: output.Management != null ? deserializeAws_json1_1FileSystemEndpoint(output.Management, context) : undefined,
|
|
4793
4542
|
};
|
|
4794
4543
|
};
|
|
4795
4544
|
var deserializeAws_json1_1FileSystemFailureDetails = function (output, context) {
|
|
@@ -4891,7 +4640,7 @@ var deserializeAws_json1_1LifecycleTransitionReason = function (output, context)
|
|
|
4891
4640
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
4892
4641
|
return {
|
|
4893
4642
|
NextToken: __expectString(output.NextToken),
|
|
4894
|
-
Tags: output.Tags
|
|
4643
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4895
4644
|
};
|
|
4896
4645
|
};
|
|
4897
4646
|
var deserializeAws_json1_1LustreFileSystemConfiguration = function (output, context) {
|
|
@@ -4900,17 +4649,17 @@ var deserializeAws_json1_1LustreFileSystemConfiguration = function (output, cont
|
|
|
4900
4649
|
CopyTagsToBackups: __expectBoolean(output.CopyTagsToBackups),
|
|
4901
4650
|
DailyAutomaticBackupStartTime: __expectString(output.DailyAutomaticBackupStartTime),
|
|
4902
4651
|
DataCompressionType: __expectString(output.DataCompressionType),
|
|
4903
|
-
DataRepositoryConfiguration: output.DataRepositoryConfiguration
|
|
4652
|
+
DataRepositoryConfiguration: output.DataRepositoryConfiguration != null
|
|
4904
4653
|
? deserializeAws_json1_1DataRepositoryConfiguration(output.DataRepositoryConfiguration, context)
|
|
4905
4654
|
: undefined,
|
|
4906
4655
|
DeploymentType: __expectString(output.DeploymentType),
|
|
4907
4656
|
DriveCacheType: __expectString(output.DriveCacheType),
|
|
4908
|
-
LogConfiguration: output.LogConfiguration
|
|
4657
|
+
LogConfiguration: output.LogConfiguration != null
|
|
4909
4658
|
? deserializeAws_json1_1LustreLogConfiguration(output.LogConfiguration, context)
|
|
4910
4659
|
: undefined,
|
|
4911
4660
|
MountName: __expectString(output.MountName),
|
|
4912
4661
|
PerUnitStorageThroughput: __expectInt32(output.PerUnitStorageThroughput),
|
|
4913
|
-
RootSquashConfiguration: output.RootSquashConfiguration
|
|
4662
|
+
RootSquashConfiguration: output.RootSquashConfiguration != null
|
|
4914
4663
|
? deserializeAws_json1_1LustreRootSquashConfiguration(output.RootSquashConfiguration, context)
|
|
4915
4664
|
: undefined,
|
|
4916
4665
|
WeeklyMaintenanceStartTime: __expectString(output.WeeklyMaintenanceStartTime),
|
|
@@ -4935,9 +4684,7 @@ var deserializeAws_json1_1LustreNoSquashNids = function (output, context) {
|
|
|
4935
4684
|
};
|
|
4936
4685
|
var deserializeAws_json1_1LustreRootSquashConfiguration = function (output, context) {
|
|
4937
4686
|
return {
|
|
4938
|
-
NoSquashNids: output.NoSquashNids
|
|
4939
|
-
? deserializeAws_json1_1LustreNoSquashNids(output.NoSquashNids, context)
|
|
4940
|
-
: undefined,
|
|
4687
|
+
NoSquashNids: output.NoSquashNids != null ? deserializeAws_json1_1LustreNoSquashNids(output.NoSquashNids, context) : undefined,
|
|
4941
4688
|
RootSquash: __expectString(output.RootSquash),
|
|
4942
4689
|
};
|
|
4943
4690
|
};
|
|
@@ -4984,17 +4731,13 @@ var deserializeAws_json1_1OntapFileSystemConfiguration = function (output, conte
|
|
|
4984
4731
|
AutomaticBackupRetentionDays: __expectInt32(output.AutomaticBackupRetentionDays),
|
|
4985
4732
|
DailyAutomaticBackupStartTime: __expectString(output.DailyAutomaticBackupStartTime),
|
|
4986
4733
|
DeploymentType: __expectString(output.DeploymentType),
|
|
4987
|
-
DiskIopsConfiguration: output.DiskIopsConfiguration
|
|
4734
|
+
DiskIopsConfiguration: output.DiskIopsConfiguration != null
|
|
4988
4735
|
? deserializeAws_json1_1DiskIopsConfiguration(output.DiskIopsConfiguration, context)
|
|
4989
4736
|
: undefined,
|
|
4990
4737
|
EndpointIpAddressRange: __expectString(output.EndpointIpAddressRange),
|
|
4991
|
-
Endpoints: output.Endpoints
|
|
4992
|
-
? deserializeAws_json1_1FileSystemEndpoints(output.Endpoints, context)
|
|
4993
|
-
: undefined,
|
|
4738
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1FileSystemEndpoints(output.Endpoints, context) : undefined,
|
|
4994
4739
|
PreferredSubnetId: __expectString(output.PreferredSubnetId),
|
|
4995
|
-
RouteTableIds: output.RouteTableIds
|
|
4996
|
-
? deserializeAws_json1_1RouteTableIds(output.RouteTableIds, context)
|
|
4997
|
-
: undefined,
|
|
4740
|
+
RouteTableIds: output.RouteTableIds != null ? deserializeAws_json1_1RouteTableIds(output.RouteTableIds, context) : undefined,
|
|
4998
4741
|
ThroughputCapacity: __expectInt32(output.ThroughputCapacity),
|
|
4999
4742
|
WeeklyMaintenanceStartTime: __expectString(output.WeeklyMaintenanceStartTime),
|
|
5000
4743
|
};
|
|
@@ -5009,18 +4752,14 @@ var deserializeAws_json1_1OntapVolumeConfiguration = function (output, context)
|
|
|
5009
4752
|
StorageEfficiencyEnabled: __expectBoolean(output.StorageEfficiencyEnabled),
|
|
5010
4753
|
StorageVirtualMachineId: __expectString(output.StorageVirtualMachineId),
|
|
5011
4754
|
StorageVirtualMachineRoot: __expectBoolean(output.StorageVirtualMachineRoot),
|
|
5012
|
-
TieringPolicy: output.TieringPolicy
|
|
5013
|
-
? deserializeAws_json1_1TieringPolicy(output.TieringPolicy, context)
|
|
5014
|
-
: undefined,
|
|
4755
|
+
TieringPolicy: output.TieringPolicy != null ? deserializeAws_json1_1TieringPolicy(output.TieringPolicy, context) : undefined,
|
|
5015
4756
|
UUID: __expectString(output.UUID),
|
|
5016
4757
|
};
|
|
5017
4758
|
};
|
|
5018
4759
|
var deserializeAws_json1_1OpenZFSClientConfiguration = function (output, context) {
|
|
5019
4760
|
return {
|
|
5020
4761
|
Clients: __expectString(output.Clients),
|
|
5021
|
-
Options: output.Options
|
|
5022
|
-
? deserializeAws_json1_1OpenZFSNfsExportOptions(output.Options, context)
|
|
5023
|
-
: undefined,
|
|
4762
|
+
Options: output.Options != null ? deserializeAws_json1_1OpenZFSNfsExportOptions(output.Options, context) : undefined,
|
|
5024
4763
|
};
|
|
5025
4764
|
};
|
|
5026
4765
|
var deserializeAws_json1_1OpenZFSClientConfigurations = function (output, context) {
|
|
@@ -5041,7 +4780,7 @@ var deserializeAws_json1_1OpenZFSFileSystemConfiguration = function (output, con
|
|
|
5041
4780
|
CopyTagsToVolumes: __expectBoolean(output.CopyTagsToVolumes),
|
|
5042
4781
|
DailyAutomaticBackupStartTime: __expectString(output.DailyAutomaticBackupStartTime),
|
|
5043
4782
|
DeploymentType: __expectString(output.DeploymentType),
|
|
5044
|
-
DiskIopsConfiguration: output.DiskIopsConfiguration
|
|
4783
|
+
DiskIopsConfiguration: output.DiskIopsConfiguration != null
|
|
5045
4784
|
? deserializeAws_json1_1DiskIopsConfiguration(output.DiskIopsConfiguration, context)
|
|
5046
4785
|
: undefined,
|
|
5047
4786
|
RootVolumeId: __expectString(output.RootVolumeId),
|
|
@@ -5051,7 +4790,7 @@ var deserializeAws_json1_1OpenZFSFileSystemConfiguration = function (output, con
|
|
|
5051
4790
|
};
|
|
5052
4791
|
var deserializeAws_json1_1OpenZFSNfsExport = function (output, context) {
|
|
5053
4792
|
return {
|
|
5054
|
-
ClientConfigurations: output.ClientConfigurations
|
|
4793
|
+
ClientConfigurations: output.ClientConfigurations != null
|
|
5055
4794
|
? deserializeAws_json1_1OpenZFSClientConfigurations(output.ClientConfigurations, context)
|
|
5056
4795
|
: undefined,
|
|
5057
4796
|
};
|
|
@@ -5106,10 +4845,8 @@ var deserializeAws_json1_1OpenZFSVolumeConfiguration = function (output, context
|
|
|
5106
4845
|
return {
|
|
5107
4846
|
CopyTagsToSnapshots: __expectBoolean(output.CopyTagsToSnapshots),
|
|
5108
4847
|
DataCompressionType: __expectString(output.DataCompressionType),
|
|
5109
|
-
NfsExports: output.NfsExports
|
|
5110
|
-
|
|
5111
|
-
: undefined,
|
|
5112
|
-
OriginSnapshot: output.OriginSnapshot !== undefined && output.OriginSnapshot !== null
|
|
4848
|
+
NfsExports: output.NfsExports != null ? deserializeAws_json1_1OpenZFSNfsExports(output.NfsExports, context) : undefined,
|
|
4849
|
+
OriginSnapshot: output.OriginSnapshot != null
|
|
5113
4850
|
? deserializeAws_json1_1OpenZFSOriginSnapshotConfiguration(output.OriginSnapshot, context)
|
|
5114
4851
|
: undefined,
|
|
5115
4852
|
ParentVolumeId: __expectString(output.ParentVolumeId),
|
|
@@ -5117,7 +4854,7 @@ var deserializeAws_json1_1OpenZFSVolumeConfiguration = function (output, context
|
|
|
5117
4854
|
RecordSizeKiB: __expectInt32(output.RecordSizeKiB),
|
|
5118
4855
|
StorageCapacityQuotaGiB: __expectInt32(output.StorageCapacityQuotaGiB),
|
|
5119
4856
|
StorageCapacityReservationGiB: __expectInt32(output.StorageCapacityReservationGiB),
|
|
5120
|
-
UserAndGroupQuotas: output.UserAndGroupQuotas
|
|
4857
|
+
UserAndGroupQuotas: output.UserAndGroupQuotas != null
|
|
5121
4858
|
? deserializeAws_json1_1OpenZFSUserAndGroupQuotas(output.UserAndGroupQuotas, context)
|
|
5122
4859
|
: undefined,
|
|
5123
4860
|
VolumePath: __expectString(output.VolumePath),
|
|
@@ -5125,9 +4862,7 @@ var deserializeAws_json1_1OpenZFSVolumeConfiguration = function (output, context
|
|
|
5125
4862
|
};
|
|
5126
4863
|
var deserializeAws_json1_1ReleaseFileSystemNfsV3LocksResponse = function (output, context) {
|
|
5127
4864
|
return {
|
|
5128
|
-
FileSystem: output.FileSystem
|
|
5129
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
5130
|
-
: undefined,
|
|
4865
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
5131
4866
|
};
|
|
5132
4867
|
};
|
|
5133
4868
|
var deserializeAws_json1_1ResourceDoesNotSupportTagging = function (output, context) {
|
|
@@ -5161,19 +4896,17 @@ var deserializeAws_json1_1RouteTableIds = function (output, context) {
|
|
|
5161
4896
|
};
|
|
5162
4897
|
var deserializeAws_json1_1S3DataRepositoryConfiguration = function (output, context) {
|
|
5163
4898
|
return {
|
|
5164
|
-
AutoExportPolicy: output.AutoExportPolicy
|
|
4899
|
+
AutoExportPolicy: output.AutoExportPolicy != null
|
|
5165
4900
|
? deserializeAws_json1_1AutoExportPolicy(output.AutoExportPolicy, context)
|
|
5166
4901
|
: undefined,
|
|
5167
|
-
AutoImportPolicy: output.AutoImportPolicy
|
|
4902
|
+
AutoImportPolicy: output.AutoImportPolicy != null
|
|
5168
4903
|
? deserializeAws_json1_1AutoImportPolicy(output.AutoImportPolicy, context)
|
|
5169
4904
|
: undefined,
|
|
5170
4905
|
};
|
|
5171
4906
|
};
|
|
5172
4907
|
var deserializeAws_json1_1SelfManagedActiveDirectoryAttributes = function (output, context) {
|
|
5173
4908
|
return {
|
|
5174
|
-
DnsIps: output.DnsIps
|
|
5175
|
-
? deserializeAws_json1_1DnsIps(output.DnsIps, context)
|
|
5176
|
-
: undefined,
|
|
4909
|
+
DnsIps: output.DnsIps != null ? deserializeAws_json1_1DnsIps(output.DnsIps, context) : undefined,
|
|
5177
4910
|
DomainName: __expectString(output.DomainName),
|
|
5178
4911
|
FileSystemAdministratorsGroup: __expectString(output.FileSystemAdministratorsGroup),
|
|
5179
4912
|
OrganizationalUnitDistinguishedName: __expectString(output.OrganizationalUnitDistinguishedName),
|
|
@@ -5188,20 +4921,20 @@ var deserializeAws_json1_1ServiceLimitExceeded = function (output, context) {
|
|
|
5188
4921
|
};
|
|
5189
4922
|
var deserializeAws_json1_1Snapshot = function (output, context) {
|
|
5190
4923
|
return {
|
|
5191
|
-
AdministrativeActions: output.AdministrativeActions
|
|
4924
|
+
AdministrativeActions: output.AdministrativeActions != null
|
|
5192
4925
|
? deserializeAws_json1_1AdministrativeActions(output.AdministrativeActions, context)
|
|
5193
4926
|
: undefined,
|
|
5194
|
-
CreationTime: output.CreationTime
|
|
4927
|
+
CreationTime: output.CreationTime != null
|
|
5195
4928
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5196
4929
|
: undefined,
|
|
5197
4930
|
Lifecycle: __expectString(output.Lifecycle),
|
|
5198
|
-
LifecycleTransitionReason: output.LifecycleTransitionReason
|
|
4931
|
+
LifecycleTransitionReason: output.LifecycleTransitionReason != null
|
|
5199
4932
|
? deserializeAws_json1_1LifecycleTransitionReason(output.LifecycleTransitionReason, context)
|
|
5200
4933
|
: undefined,
|
|
5201
4934
|
Name: __expectString(output.Name),
|
|
5202
4935
|
ResourceARN: __expectString(output.ResourceARN),
|
|
5203
4936
|
SnapshotId: __expectString(output.SnapshotId),
|
|
5204
|
-
Tags: output.Tags
|
|
4937
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
5205
4938
|
VolumeId: __expectString(output.VolumeId),
|
|
5206
4939
|
};
|
|
5207
4940
|
};
|
|
@@ -5229,18 +4962,16 @@ var deserializeAws_json1_1SourceBackupUnavailable = function (output, context) {
|
|
|
5229
4962
|
};
|
|
5230
4963
|
var deserializeAws_json1_1StorageVirtualMachine = function (output, context) {
|
|
5231
4964
|
return {
|
|
5232
|
-
ActiveDirectoryConfiguration: output.ActiveDirectoryConfiguration
|
|
4965
|
+
ActiveDirectoryConfiguration: output.ActiveDirectoryConfiguration != null
|
|
5233
4966
|
? deserializeAws_json1_1SvmActiveDirectoryConfiguration(output.ActiveDirectoryConfiguration, context)
|
|
5234
4967
|
: undefined,
|
|
5235
|
-
CreationTime: output.CreationTime
|
|
4968
|
+
CreationTime: output.CreationTime != null
|
|
5236
4969
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5237
4970
|
: undefined,
|
|
5238
|
-
Endpoints: output.Endpoints
|
|
5239
|
-
? deserializeAws_json1_1SvmEndpoints(output.Endpoints, context)
|
|
5240
|
-
: undefined,
|
|
4971
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1SvmEndpoints(output.Endpoints, context) : undefined,
|
|
5241
4972
|
FileSystemId: __expectString(output.FileSystemId),
|
|
5242
4973
|
Lifecycle: __expectString(output.Lifecycle),
|
|
5243
|
-
LifecycleTransitionReason: output.LifecycleTransitionReason
|
|
4974
|
+
LifecycleTransitionReason: output.LifecycleTransitionReason != null
|
|
5244
4975
|
? deserializeAws_json1_1LifecycleTransitionReason(output.LifecycleTransitionReason, context)
|
|
5245
4976
|
: undefined,
|
|
5246
4977
|
Name: __expectString(output.Name),
|
|
@@ -5248,7 +4979,7 @@ var deserializeAws_json1_1StorageVirtualMachine = function (output, context) {
|
|
|
5248
4979
|
RootVolumeSecurityStyle: __expectString(output.RootVolumeSecurityStyle),
|
|
5249
4980
|
StorageVirtualMachineId: __expectString(output.StorageVirtualMachineId),
|
|
5250
4981
|
Subtype: __expectString(output.Subtype),
|
|
5251
|
-
Tags: output.Tags
|
|
4982
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
5252
4983
|
UUID: __expectString(output.UUID),
|
|
5253
4984
|
};
|
|
5254
4985
|
};
|
|
@@ -5282,8 +5013,7 @@ var deserializeAws_json1_1SubnetIds = function (output, context) {
|
|
|
5282
5013
|
var deserializeAws_json1_1SvmActiveDirectoryConfiguration = function (output, context) {
|
|
5283
5014
|
return {
|
|
5284
5015
|
NetBiosName: __expectString(output.NetBiosName),
|
|
5285
|
-
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration
|
|
5286
|
-
output.SelfManagedActiveDirectoryConfiguration !== null
|
|
5016
|
+
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration != null
|
|
5287
5017
|
? deserializeAws_json1_1SelfManagedActiveDirectoryAttributes(output.SelfManagedActiveDirectoryConfiguration, context)
|
|
5288
5018
|
: undefined,
|
|
5289
5019
|
};
|
|
@@ -5291,25 +5021,17 @@ var deserializeAws_json1_1SvmActiveDirectoryConfiguration = function (output, co
|
|
|
5291
5021
|
var deserializeAws_json1_1SvmEndpoint = function (output, context) {
|
|
5292
5022
|
return {
|
|
5293
5023
|
DNSName: __expectString(output.DNSName),
|
|
5294
|
-
IpAddresses: output.IpAddresses
|
|
5024
|
+
IpAddresses: output.IpAddresses != null
|
|
5295
5025
|
? deserializeAws_json1_1OntapEndpointIpAddresses(output.IpAddresses, context)
|
|
5296
5026
|
: undefined,
|
|
5297
5027
|
};
|
|
5298
5028
|
};
|
|
5299
5029
|
var deserializeAws_json1_1SvmEndpoints = function (output, context) {
|
|
5300
5030
|
return {
|
|
5301
|
-
Iscsi: output.Iscsi
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
? deserializeAws_json1_1SvmEndpoint(output.Management, context)
|
|
5306
|
-
: undefined,
|
|
5307
|
-
Nfs: output.Nfs !== undefined && output.Nfs !== null
|
|
5308
|
-
? deserializeAws_json1_1SvmEndpoint(output.Nfs, context)
|
|
5309
|
-
: undefined,
|
|
5310
|
-
Smb: output.Smb !== undefined && output.Smb !== null
|
|
5311
|
-
? deserializeAws_json1_1SvmEndpoint(output.Smb, context)
|
|
5312
|
-
: undefined,
|
|
5031
|
+
Iscsi: output.Iscsi != null ? deserializeAws_json1_1SvmEndpoint(output.Iscsi, context) : undefined,
|
|
5032
|
+
Management: output.Management != null ? deserializeAws_json1_1SvmEndpoint(output.Management, context) : undefined,
|
|
5033
|
+
Nfs: output.Nfs != null ? deserializeAws_json1_1SvmEndpoint(output.Nfs, context) : undefined,
|
|
5034
|
+
Smb: output.Smb != null ? deserializeAws_json1_1SvmEndpoint(output.Smb, context) : undefined,
|
|
5313
5035
|
};
|
|
5314
5036
|
};
|
|
5315
5037
|
var deserializeAws_json1_1Tag = function (output, context) {
|
|
@@ -5348,61 +5070,55 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
5348
5070
|
};
|
|
5349
5071
|
var deserializeAws_json1_1UpdateDataRepositoryAssociationResponse = function (output, context) {
|
|
5350
5072
|
return {
|
|
5351
|
-
Association: output.Association
|
|
5073
|
+
Association: output.Association != null
|
|
5352
5074
|
? deserializeAws_json1_1DataRepositoryAssociation(output.Association, context)
|
|
5353
5075
|
: undefined,
|
|
5354
5076
|
};
|
|
5355
5077
|
};
|
|
5356
5078
|
var deserializeAws_json1_1UpdateFileSystemResponse = function (output, context) {
|
|
5357
5079
|
return {
|
|
5358
|
-
FileSystem: output.FileSystem
|
|
5359
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
5360
|
-
: undefined,
|
|
5080
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
5361
5081
|
};
|
|
5362
5082
|
};
|
|
5363
5083
|
var deserializeAws_json1_1UpdateSnapshotResponse = function (output, context) {
|
|
5364
5084
|
return {
|
|
5365
|
-
Snapshot: output.Snapshot
|
|
5366
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
5367
|
-
: undefined,
|
|
5085
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
5368
5086
|
};
|
|
5369
5087
|
};
|
|
5370
5088
|
var deserializeAws_json1_1UpdateStorageVirtualMachineResponse = function (output, context) {
|
|
5371
5089
|
return {
|
|
5372
|
-
StorageVirtualMachine: output.StorageVirtualMachine
|
|
5090
|
+
StorageVirtualMachine: output.StorageVirtualMachine != null
|
|
5373
5091
|
? deserializeAws_json1_1StorageVirtualMachine(output.StorageVirtualMachine, context)
|
|
5374
5092
|
: undefined,
|
|
5375
5093
|
};
|
|
5376
5094
|
};
|
|
5377
5095
|
var deserializeAws_json1_1UpdateVolumeResponse = function (output, context) {
|
|
5378
5096
|
return {
|
|
5379
|
-
Volume: output.Volume
|
|
5380
|
-
? deserializeAws_json1_1Volume(output.Volume, context)
|
|
5381
|
-
: undefined,
|
|
5097
|
+
Volume: output.Volume != null ? deserializeAws_json1_1Volume(output.Volume, context) : undefined,
|
|
5382
5098
|
};
|
|
5383
5099
|
};
|
|
5384
5100
|
var deserializeAws_json1_1Volume = function (output, context) {
|
|
5385
5101
|
return {
|
|
5386
|
-
AdministrativeActions: output.AdministrativeActions
|
|
5102
|
+
AdministrativeActions: output.AdministrativeActions != null
|
|
5387
5103
|
? deserializeAws_json1_1AdministrativeActions(output.AdministrativeActions, context)
|
|
5388
5104
|
: undefined,
|
|
5389
|
-
CreationTime: output.CreationTime
|
|
5105
|
+
CreationTime: output.CreationTime != null
|
|
5390
5106
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5391
5107
|
: undefined,
|
|
5392
5108
|
FileSystemId: __expectString(output.FileSystemId),
|
|
5393
5109
|
Lifecycle: __expectString(output.Lifecycle),
|
|
5394
|
-
LifecycleTransitionReason: output.LifecycleTransitionReason
|
|
5110
|
+
LifecycleTransitionReason: output.LifecycleTransitionReason != null
|
|
5395
5111
|
? deserializeAws_json1_1LifecycleTransitionReason(output.LifecycleTransitionReason, context)
|
|
5396
5112
|
: undefined,
|
|
5397
5113
|
Name: __expectString(output.Name),
|
|
5398
|
-
OntapConfiguration: output.OntapConfiguration
|
|
5114
|
+
OntapConfiguration: output.OntapConfiguration != null
|
|
5399
5115
|
? deserializeAws_json1_1OntapVolumeConfiguration(output.OntapConfiguration, context)
|
|
5400
5116
|
: undefined,
|
|
5401
|
-
OpenZFSConfiguration: output.OpenZFSConfiguration
|
|
5117
|
+
OpenZFSConfiguration: output.OpenZFSConfiguration != null
|
|
5402
5118
|
? deserializeAws_json1_1OpenZFSVolumeConfiguration(output.OpenZFSConfiguration, context)
|
|
5403
5119
|
: undefined,
|
|
5404
5120
|
ResourceARN: __expectString(output.ResourceARN),
|
|
5405
|
-
Tags: output.Tags
|
|
5121
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
5406
5122
|
VolumeId: __expectString(output.VolumeId),
|
|
5407
5123
|
VolumeType: __expectString(output.VolumeType),
|
|
5408
5124
|
};
|
|
@@ -5433,24 +5149,21 @@ var deserializeAws_json1_1WindowsAuditLogConfiguration = function (output, conte
|
|
|
5433
5149
|
var deserializeAws_json1_1WindowsFileSystemConfiguration = function (output, context) {
|
|
5434
5150
|
return {
|
|
5435
5151
|
ActiveDirectoryId: __expectString(output.ActiveDirectoryId),
|
|
5436
|
-
Aliases: output.Aliases
|
|
5437
|
-
|
|
5438
|
-
: undefined,
|
|
5439
|
-
AuditLogConfiguration: output.AuditLogConfiguration !== undefined && output.AuditLogConfiguration !== null
|
|
5152
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
5153
|
+
AuditLogConfiguration: output.AuditLogConfiguration != null
|
|
5440
5154
|
? deserializeAws_json1_1WindowsAuditLogConfiguration(output.AuditLogConfiguration, context)
|
|
5441
5155
|
: undefined,
|
|
5442
5156
|
AutomaticBackupRetentionDays: __expectInt32(output.AutomaticBackupRetentionDays),
|
|
5443
5157
|
CopyTagsToBackups: __expectBoolean(output.CopyTagsToBackups),
|
|
5444
5158
|
DailyAutomaticBackupStartTime: __expectString(output.DailyAutomaticBackupStartTime),
|
|
5445
5159
|
DeploymentType: __expectString(output.DeploymentType),
|
|
5446
|
-
MaintenanceOperationsInProgress: output.MaintenanceOperationsInProgress
|
|
5160
|
+
MaintenanceOperationsInProgress: output.MaintenanceOperationsInProgress != null
|
|
5447
5161
|
? deserializeAws_json1_1FileSystemMaintenanceOperations(output.MaintenanceOperationsInProgress, context)
|
|
5448
5162
|
: undefined,
|
|
5449
5163
|
PreferredFileServerIp: __expectString(output.PreferredFileServerIp),
|
|
5450
5164
|
PreferredSubnetId: __expectString(output.PreferredSubnetId),
|
|
5451
5165
|
RemoteAdministrationEndpoint: __expectString(output.RemoteAdministrationEndpoint),
|
|
5452
|
-
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration
|
|
5453
|
-
output.SelfManagedActiveDirectoryConfiguration !== null
|
|
5166
|
+
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration != null
|
|
5454
5167
|
? deserializeAws_json1_1SelfManagedActiveDirectoryAttributes(output.SelfManagedActiveDirectoryConfiguration, context)
|
|
5455
5168
|
: undefined,
|
|
5456
5169
|
ThroughputCapacity: __expectInt32(output.ThroughputCapacity),
|
|
@@ -5513,6 +5226,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
5513
5226
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
5514
5227
|
var sanitizeErrorCode = function (rawValue) {
|
|
5515
5228
|
var cleanValue = rawValue;
|
|
5229
|
+
if (typeof cleanValue === "number") {
|
|
5230
|
+
cleanValue = cleanValue.toString();
|
|
5231
|
+
}
|
|
5516
5232
|
if (cleanValue.indexOf(":") >= 0) {
|
|
5517
5233
|
cleanValue = cleanValue.split(":")[0];
|
|
5518
5234
|
}
|