@aws-sdk/client-memorydb 3.121.0 → 3.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +208 -342
- package/dist-es/protocols/Aws_json1_1.js +116 -250
- package/package.json +26 -26
|
@@ -3275,15 +3275,12 @@ var deserializeAws_json1_1UserQuotaExceededFaultResponse = function (parsedOutpu
|
|
|
3275
3275
|
});
|
|
3276
3276
|
}); };
|
|
3277
3277
|
var serializeAws_json1_1AuthenticationMode = function (input, context) {
|
|
3278
|
-
return __assign(__assign({}, (input.Passwords
|
|
3279
|
-
input.Passwords !== null && { Passwords: serializeAws_json1_1PasswordListInput(input.Passwords, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
3278
|
+
return __assign(__assign({}, (input.Passwords != null && { Passwords: serializeAws_json1_1PasswordListInput(input.Passwords, context) })), (input.Type != null && { Type: input.Type }));
|
|
3280
3279
|
};
|
|
3281
3280
|
var serializeAws_json1_1BatchUpdateClusterRequest = function (input, context) {
|
|
3282
|
-
return __assign(__assign({}, (input.ClusterNames
|
|
3283
|
-
input.ClusterNames !== null && {
|
|
3281
|
+
return __assign(__assign({}, (input.ClusterNames != null && {
|
|
3284
3282
|
ClusterNames: serializeAws_json1_1ClusterNameList(input.ClusterNames, context),
|
|
3285
|
-
})), (input.ServiceUpdate
|
|
3286
|
-
input.ServiceUpdate !== null && {
|
|
3283
|
+
})), (input.ServiceUpdate != null && {
|
|
3287
3284
|
ServiceUpdate: serializeAws_json1_1ServiceUpdateRequest(input.ServiceUpdate, context),
|
|
3288
3285
|
}));
|
|
3289
3286
|
};
|
|
@@ -3298,118 +3295,87 @@ var serializeAws_json1_1ClusterNameList = function (input, context) {
|
|
|
3298
3295
|
});
|
|
3299
3296
|
};
|
|
3300
3297
|
var serializeAws_json1_1CopySnapshotRequest = function (input, context) {
|
|
3301
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.KmsKeyId
|
|
3302
|
-
input.SourceSnapshotName !== null && { SourceSnapshotName: input.SourceSnapshotName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TargetBucket !== undefined && input.TargetBucket !== null && { TargetBucket: input.TargetBucket })), (input.TargetSnapshotName !== undefined &&
|
|
3303
|
-
input.TargetSnapshotName !== null && { TargetSnapshotName: input.TargetSnapshotName }));
|
|
3298
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.SourceSnapshotName != null && { SourceSnapshotName: input.SourceSnapshotName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TargetBucket != null && { TargetBucket: input.TargetBucket })), (input.TargetSnapshotName != null && { TargetSnapshotName: input.TargetSnapshotName }));
|
|
3304
3299
|
};
|
|
3305
3300
|
var serializeAws_json1_1CreateACLRequest = function (input, context) {
|
|
3306
|
-
return __assign(__assign(__assign({}, (input.ACLName
|
|
3307
|
-
input.UserNames !== null && { UserNames: serializeAws_json1_1UserNameListInput(input.UserNames, context) }));
|
|
3301
|
+
return __assign(__assign(__assign({}, (input.ACLName != null && { ACLName: input.ACLName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.UserNames != null && { UserNames: serializeAws_json1_1UserNameListInput(input.UserNames, context) }));
|
|
3308
3302
|
};
|
|
3309
3303
|
var serializeAws_json1_1CreateClusterRequest = function (input, context) {
|
|
3310
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ACLName
|
|
3311
|
-
input.AutoMinorVersionUpgrade !== null && { AutoMinorVersionUpgrade: input.AutoMinorVersionUpgrade })), (input.ClusterName !== undefined && input.ClusterName !== null && { ClusterName: input.ClusterName })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.EngineVersion !== undefined && input.EngineVersion !== null && { EngineVersion: input.EngineVersion })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.MaintenanceWindow !== undefined &&
|
|
3312
|
-
input.MaintenanceWindow !== null && { MaintenanceWindow: input.MaintenanceWindow })), (input.NodeType !== undefined && input.NodeType !== null && { NodeType: input.NodeType })), (input.NumReplicasPerShard !== undefined &&
|
|
3313
|
-
input.NumReplicasPerShard !== null && { NumReplicasPerShard: input.NumReplicasPerShard })), (input.NumShards !== undefined && input.NumShards !== null && { NumShards: input.NumShards })), (input.ParameterGroupName !== undefined &&
|
|
3314
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.Port !== undefined && input.Port !== null && { Port: input.Port })), (input.SecurityGroupIds !== undefined &&
|
|
3315
|
-
input.SecurityGroupIds !== null && {
|
|
3304
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ACLName != null && { ACLName: input.ACLName })), (input.AutoMinorVersionUpgrade != null && { AutoMinorVersionUpgrade: input.AutoMinorVersionUpgrade })), (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.Description != null && { Description: input.Description })), (input.EngineVersion != null && { EngineVersion: input.EngineVersion })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.MaintenanceWindow != null && { MaintenanceWindow: input.MaintenanceWindow })), (input.NodeType != null && { NodeType: input.NodeType })), (input.NumReplicasPerShard != null && { NumReplicasPerShard: input.NumReplicasPerShard })), (input.NumShards != null && { NumShards: input.NumShards })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.Port != null && { Port: input.Port })), (input.SecurityGroupIds != null && {
|
|
3316
3305
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdsList(input.SecurityGroupIds, context),
|
|
3317
|
-
})), (input.SnapshotArns
|
|
3318
|
-
input.SnapshotArns !== null && {
|
|
3306
|
+
})), (input.SnapshotArns != null && {
|
|
3319
3307
|
SnapshotArns: serializeAws_json1_1SnapshotArnsList(input.SnapshotArns, context),
|
|
3320
|
-
})), (input.SnapshotName
|
|
3321
|
-
input.SnapshotRetentionLimit !== null && { SnapshotRetentionLimit: input.SnapshotRetentionLimit })), (input.SnapshotWindow !== undefined &&
|
|
3322
|
-
input.SnapshotWindow !== null && { SnapshotWindow: input.SnapshotWindow })), (input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn })), (input.SubnetGroupName !== undefined &&
|
|
3323
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName })), (input.TLSEnabled !== undefined && input.TLSEnabled !== null && { TLSEnabled: input.TLSEnabled })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3308
|
+
})), (input.SnapshotName != null && { SnapshotName: input.SnapshotName })), (input.SnapshotRetentionLimit != null && { SnapshotRetentionLimit: input.SnapshotRetentionLimit })), (input.SnapshotWindow != null && { SnapshotWindow: input.SnapshotWindow })), (input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn })), (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName })), (input.TLSEnabled != null && { TLSEnabled: input.TLSEnabled })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3324
3309
|
};
|
|
3325
3310
|
var serializeAws_json1_1CreateParameterGroupRequest = function (input, context) {
|
|
3326
|
-
return __assign(__assign(__assign(__assign({}, (input.Description
|
|
3327
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3311
|
+
return __assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Family != null && { Family: input.Family })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3328
3312
|
};
|
|
3329
3313
|
var serializeAws_json1_1CreateSnapshotRequest = function (input, context) {
|
|
3330
|
-
return __assign(__assign(__assign(__assign({}, (input.ClusterName
|
|
3314
|
+
return __assign(__assign(__assign(__assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.SnapshotName != null && { SnapshotName: input.SnapshotName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3331
3315
|
};
|
|
3332
3316
|
var serializeAws_json1_1CreateSubnetGroupRequest = function (input, context) {
|
|
3333
|
-
return __assign(__assign(__assign(__assign({}, (input.Description
|
|
3334
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName })), (input.SubnetIds !== undefined &&
|
|
3335
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3317
|
+
return __assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3336
3318
|
};
|
|
3337
3319
|
var serializeAws_json1_1CreateUserRequest = function (input, context) {
|
|
3338
|
-
return __assign(__assign(__assign(__assign({}, (input.AccessString
|
|
3339
|
-
input.AuthenticationMode !== null && {
|
|
3320
|
+
return __assign(__assign(__assign(__assign({}, (input.AccessString != null && { AccessString: input.AccessString })), (input.AuthenticationMode != null && {
|
|
3340
3321
|
AuthenticationMode: serializeAws_json1_1AuthenticationMode(input.AuthenticationMode, context),
|
|
3341
|
-
})), (input.Tags
|
|
3322
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.UserName != null && { UserName: input.UserName }));
|
|
3342
3323
|
};
|
|
3343
3324
|
var serializeAws_json1_1DeleteACLRequest = function (input, context) {
|
|
3344
|
-
return __assign({}, (input.ACLName
|
|
3325
|
+
return __assign({}, (input.ACLName != null && { ACLName: input.ACLName }));
|
|
3345
3326
|
};
|
|
3346
3327
|
var serializeAws_json1_1DeleteClusterRequest = function (input, context) {
|
|
3347
|
-
return __assign(__assign({}, (input.ClusterName
|
|
3348
|
-
input.FinalSnapshotName !== null && { FinalSnapshotName: input.FinalSnapshotName }));
|
|
3328
|
+
return __assign(__assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.FinalSnapshotName != null && { FinalSnapshotName: input.FinalSnapshotName }));
|
|
3349
3329
|
};
|
|
3350
3330
|
var serializeAws_json1_1DeleteParameterGroupRequest = function (input, context) {
|
|
3351
|
-
return __assign({}, (input.ParameterGroupName
|
|
3352
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }));
|
|
3331
|
+
return __assign({}, (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }));
|
|
3353
3332
|
};
|
|
3354
3333
|
var serializeAws_json1_1DeleteSnapshotRequest = function (input, context) {
|
|
3355
|
-
return __assign({}, (input.SnapshotName
|
|
3334
|
+
return __assign({}, (input.SnapshotName != null && { SnapshotName: input.SnapshotName }));
|
|
3356
3335
|
};
|
|
3357
3336
|
var serializeAws_json1_1DeleteSubnetGroupRequest = function (input, context) {
|
|
3358
|
-
return __assign({}, (input.SubnetGroupName
|
|
3359
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName }));
|
|
3337
|
+
return __assign({}, (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }));
|
|
3360
3338
|
};
|
|
3361
3339
|
var serializeAws_json1_1DeleteUserRequest = function (input, context) {
|
|
3362
|
-
return __assign({}, (input.UserName
|
|
3340
|
+
return __assign({}, (input.UserName != null && { UserName: input.UserName }));
|
|
3363
3341
|
};
|
|
3364
3342
|
var serializeAws_json1_1DescribeACLsRequest = function (input, context) {
|
|
3365
|
-
return __assign(__assign(__assign({}, (input.ACLName
|
|
3343
|
+
return __assign(__assign(__assign({}, (input.ACLName != null && { ACLName: input.ACLName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3366
3344
|
};
|
|
3367
3345
|
var serializeAws_json1_1DescribeClustersRequest = function (input, context) {
|
|
3368
|
-
return __assign(__assign(__assign(__assign({}, (input.ClusterName
|
|
3369
|
-
input.ShowShardDetails !== null && { ShowShardDetails: input.ShowShardDetails }));
|
|
3346
|
+
return __assign(__assign(__assign(__assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ShowShardDetails != null && { ShowShardDetails: input.ShowShardDetails }));
|
|
3370
3347
|
};
|
|
3371
3348
|
var serializeAws_json1_1DescribeEngineVersionsRequest = function (input, context) {
|
|
3372
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DefaultOnly
|
|
3373
|
-
input.ParameterGroupFamily !== null && { ParameterGroupFamily: input.ParameterGroupFamily }));
|
|
3349
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DefaultOnly != null && { DefaultOnly: input.DefaultOnly })), (input.EngineVersion != null && { EngineVersion: input.EngineVersion })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ParameterGroupFamily != null && { ParameterGroupFamily: input.ParameterGroupFamily }));
|
|
3374
3350
|
};
|
|
3375
3351
|
var serializeAws_json1_1DescribeEventsRequest = function (input, context) {
|
|
3376
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Duration
|
|
3377
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SourceName !== undefined && input.SourceName !== null && { SourceName: input.SourceName })), (input.SourceType !== undefined && input.SourceType !== null && { SourceType: input.SourceType })), (input.StartTime !== undefined &&
|
|
3378
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
3352
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Duration != null && { Duration: input.Duration })), (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SourceName != null && { SourceName: input.SourceName })), (input.SourceType != null && { SourceType: input.SourceType })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
3379
3353
|
};
|
|
3380
3354
|
var serializeAws_json1_1DescribeParameterGroupsRequest = function (input, context) {
|
|
3381
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3382
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }));
|
|
3355
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }));
|
|
3383
3356
|
};
|
|
3384
3357
|
var serializeAws_json1_1DescribeParametersRequest = function (input, context) {
|
|
3385
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3386
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }));
|
|
3358
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }));
|
|
3387
3359
|
};
|
|
3388
3360
|
var serializeAws_json1_1DescribeServiceUpdatesRequest = function (input, context) {
|
|
3389
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ClusterNames
|
|
3390
|
-
input.ClusterNames !== null && {
|
|
3361
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ClusterNames != null && {
|
|
3391
3362
|
ClusterNames: serializeAws_json1_1ClusterNameList(input.ClusterNames, context),
|
|
3392
|
-
})), (input.MaxResults
|
|
3393
|
-
input.ServiceUpdateName !== null && { ServiceUpdateName: input.ServiceUpdateName })), (input.Status !== undefined &&
|
|
3394
|
-
input.Status !== null && { Status: serializeAws_json1_1ServiceUpdateStatusList(input.Status, context) }));
|
|
3363
|
+
})), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceUpdateName != null && { ServiceUpdateName: input.ServiceUpdateName })), (input.Status != null && { Status: serializeAws_json1_1ServiceUpdateStatusList(input.Status, context) }));
|
|
3395
3364
|
};
|
|
3396
3365
|
var serializeAws_json1_1DescribeSnapshotsRequest = function (input, context) {
|
|
3397
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterName
|
|
3366
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ShowDetail != null && { ShowDetail: input.ShowDetail })), (input.SnapshotName != null && { SnapshotName: input.SnapshotName })), (input.Source != null && { Source: input.Source }));
|
|
3398
3367
|
};
|
|
3399
3368
|
var serializeAws_json1_1DescribeSubnetGroupsRequest = function (input, context) {
|
|
3400
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3401
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName }));
|
|
3369
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }));
|
|
3402
3370
|
};
|
|
3403
3371
|
var serializeAws_json1_1DescribeUsersRequest = function (input, context) {
|
|
3404
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3405
|
-
input.Filters !== null && { Filters: serializeAws_json1_1FilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
3372
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1FilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.UserName != null && { UserName: input.UserName }));
|
|
3406
3373
|
};
|
|
3407
3374
|
var serializeAws_json1_1FailoverShardRequest = function (input, context) {
|
|
3408
|
-
return __assign(__assign({}, (input.ClusterName
|
|
3375
|
+
return __assign(__assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.ShardName != null && { ShardName: input.ShardName }));
|
|
3409
3376
|
};
|
|
3410
3377
|
var serializeAws_json1_1Filter = function (input, context) {
|
|
3411
|
-
return __assign(__assign({}, (input.Name
|
|
3412
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValueList(input.Values, context) }));
|
|
3378
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1FilterValueList(input.Values, context) }));
|
|
3413
3379
|
};
|
|
3414
3380
|
var serializeAws_json1_1FilterList = function (input, context) {
|
|
3415
3381
|
return input
|
|
@@ -3442,10 +3408,10 @@ var serializeAws_json1_1KeyList = function (input, context) {
|
|
|
3442
3408
|
});
|
|
3443
3409
|
};
|
|
3444
3410
|
var serializeAws_json1_1ListAllowedNodeTypeUpdatesRequest = function (input, context) {
|
|
3445
|
-
return __assign({}, (input.ClusterName
|
|
3411
|
+
return __assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName }));
|
|
3446
3412
|
};
|
|
3447
3413
|
var serializeAws_json1_1ListTagsRequest = function (input, context) {
|
|
3448
|
-
return __assign({}, (input.ResourceArn
|
|
3414
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
3449
3415
|
};
|
|
3450
3416
|
var serializeAws_json1_1ParameterNameList = function (input, context) {
|
|
3451
3417
|
return input
|
|
@@ -3458,8 +3424,7 @@ var serializeAws_json1_1ParameterNameList = function (input, context) {
|
|
|
3458
3424
|
});
|
|
3459
3425
|
};
|
|
3460
3426
|
var serializeAws_json1_1ParameterNameValue = function (input, context) {
|
|
3461
|
-
return __assign(__assign({}, (input.ParameterName
|
|
3462
|
-
input.ParameterValue !== null && { ParameterValue: input.ParameterValue }));
|
|
3427
|
+
return __assign(__assign({}, (input.ParameterName != null && { ParameterName: input.ParameterName })), (input.ParameterValue != null && { ParameterValue: input.ParameterValue }));
|
|
3463
3428
|
};
|
|
3464
3429
|
var serializeAws_json1_1ParameterNameValueList = function (input, context) {
|
|
3465
3430
|
return input
|
|
@@ -3482,12 +3447,10 @@ var serializeAws_json1_1PasswordListInput = function (input, context) {
|
|
|
3482
3447
|
});
|
|
3483
3448
|
};
|
|
3484
3449
|
var serializeAws_json1_1ReplicaConfigurationRequest = function (input, context) {
|
|
3485
|
-
return __assign({}, (input.ReplicaCount
|
|
3450
|
+
return __assign({}, (input.ReplicaCount != null && { ReplicaCount: input.ReplicaCount }));
|
|
3486
3451
|
};
|
|
3487
3452
|
var serializeAws_json1_1ResetParameterGroupRequest = function (input, context) {
|
|
3488
|
-
return __assign(__assign(__assign({}, (input.AllParameters
|
|
3489
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.ParameterNames !== undefined &&
|
|
3490
|
-
input.ParameterNames !== null && {
|
|
3453
|
+
return __assign(__assign(__assign({}, (input.AllParameters != null && { AllParameters: input.AllParameters })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.ParameterNames != null && {
|
|
3491
3454
|
ParameterNames: serializeAws_json1_1ParameterNameList(input.ParameterNames, context),
|
|
3492
3455
|
}));
|
|
3493
3456
|
};
|
|
@@ -3502,8 +3465,7 @@ var serializeAws_json1_1SecurityGroupIdsList = function (input, context) {
|
|
|
3502
3465
|
});
|
|
3503
3466
|
};
|
|
3504
3467
|
var serializeAws_json1_1ServiceUpdateRequest = function (input, context) {
|
|
3505
|
-
return __assign({}, (input.ServiceUpdateNameToApply
|
|
3506
|
-
input.ServiceUpdateNameToApply !== null && { ServiceUpdateNameToApply: input.ServiceUpdateNameToApply }));
|
|
3468
|
+
return __assign({}, (input.ServiceUpdateNameToApply != null && { ServiceUpdateNameToApply: input.ServiceUpdateNameToApply }));
|
|
3507
3469
|
};
|
|
3508
3470
|
var serializeAws_json1_1ServiceUpdateStatusList = function (input, context) {
|
|
3509
3471
|
return input
|
|
@@ -3516,7 +3478,7 @@ var serializeAws_json1_1ServiceUpdateStatusList = function (input, context) {
|
|
|
3516
3478
|
});
|
|
3517
3479
|
};
|
|
3518
3480
|
var serializeAws_json1_1ShardConfigurationRequest = function (input, context) {
|
|
3519
|
-
return __assign({}, (input.ShardCount
|
|
3481
|
+
return __assign({}, (input.ShardCount != null && { ShardCount: input.ShardCount }));
|
|
3520
3482
|
};
|
|
3521
3483
|
var serializeAws_json1_1SnapshotArnsList = function (input, context) {
|
|
3522
3484
|
return input
|
|
@@ -3539,7 +3501,7 @@ var serializeAws_json1_1SubnetIdentifierList = function (input, context) {
|
|
|
3539
3501
|
});
|
|
3540
3502
|
};
|
|
3541
3503
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3542
|
-
return __assign(__assign({}, (input.Key
|
|
3504
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3543
3505
|
};
|
|
3544
3506
|
var serializeAws_json1_1TagList = function (input, context) {
|
|
3545
3507
|
return input
|
|
@@ -3552,55 +3514,39 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
3552
3514
|
});
|
|
3553
3515
|
};
|
|
3554
3516
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3555
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3517
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3556
3518
|
};
|
|
3557
3519
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3558
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3559
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }));
|
|
3520
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }));
|
|
3560
3521
|
};
|
|
3561
3522
|
var serializeAws_json1_1UpdateACLRequest = function (input, context) {
|
|
3562
|
-
return __assign(__assign(__assign({}, (input.ACLName
|
|
3563
|
-
input.UserNamesToAdd !== null && {
|
|
3523
|
+
return __assign(__assign(__assign({}, (input.ACLName != null && { ACLName: input.ACLName })), (input.UserNamesToAdd != null && {
|
|
3564
3524
|
UserNamesToAdd: serializeAws_json1_1UserNameListInput(input.UserNamesToAdd, context),
|
|
3565
|
-
})), (input.UserNamesToRemove
|
|
3566
|
-
input.UserNamesToRemove !== null && {
|
|
3525
|
+
})), (input.UserNamesToRemove != null && {
|
|
3567
3526
|
UserNamesToRemove: serializeAws_json1_1UserNameListInput(input.UserNamesToRemove, context),
|
|
3568
3527
|
}));
|
|
3569
3528
|
};
|
|
3570
3529
|
var serializeAws_json1_1UpdateClusterRequest = function (input, context) {
|
|
3571
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ACLName
|
|
3572
|
-
input.MaintenanceWindow !== null && { MaintenanceWindow: input.MaintenanceWindow })), (input.NodeType !== undefined && input.NodeType !== null && { NodeType: input.NodeType })), (input.ParameterGroupName !== undefined &&
|
|
3573
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.ReplicaConfiguration !== undefined &&
|
|
3574
|
-
input.ReplicaConfiguration !== null && {
|
|
3530
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ACLName != null && { ACLName: input.ACLName })), (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.Description != null && { Description: input.Description })), (input.EngineVersion != null && { EngineVersion: input.EngineVersion })), (input.MaintenanceWindow != null && { MaintenanceWindow: input.MaintenanceWindow })), (input.NodeType != null && { NodeType: input.NodeType })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.ReplicaConfiguration != null && {
|
|
3575
3531
|
ReplicaConfiguration: serializeAws_json1_1ReplicaConfigurationRequest(input.ReplicaConfiguration, context),
|
|
3576
|
-
})), (input.SecurityGroupIds
|
|
3577
|
-
input.SecurityGroupIds !== null && {
|
|
3532
|
+
})), (input.SecurityGroupIds != null && {
|
|
3578
3533
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdsList(input.SecurityGroupIds, context),
|
|
3579
|
-
})), (input.ShardConfiguration
|
|
3580
|
-
input.ShardConfiguration !== null && {
|
|
3534
|
+
})), (input.ShardConfiguration != null && {
|
|
3581
3535
|
ShardConfiguration: serializeAws_json1_1ShardConfigurationRequest(input.ShardConfiguration, context),
|
|
3582
|
-
})), (input.SnapshotRetentionLimit
|
|
3583
|
-
input.SnapshotRetentionLimit !== null && { SnapshotRetentionLimit: input.SnapshotRetentionLimit })), (input.SnapshotWindow !== undefined &&
|
|
3584
|
-
input.SnapshotWindow !== null && { SnapshotWindow: input.SnapshotWindow })), (input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn })), (input.SnsTopicStatus !== undefined &&
|
|
3585
|
-
input.SnsTopicStatus !== null && { SnsTopicStatus: input.SnsTopicStatus }));
|
|
3536
|
+
})), (input.SnapshotRetentionLimit != null && { SnapshotRetentionLimit: input.SnapshotRetentionLimit })), (input.SnapshotWindow != null && { SnapshotWindow: input.SnapshotWindow })), (input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn })), (input.SnsTopicStatus != null && { SnsTopicStatus: input.SnsTopicStatus }));
|
|
3586
3537
|
};
|
|
3587
3538
|
var serializeAws_json1_1UpdateParameterGroupRequest = function (input, context) {
|
|
3588
|
-
return __assign(__assign({}, (input.ParameterGroupName
|
|
3589
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.ParameterNameValues !== undefined &&
|
|
3590
|
-
input.ParameterNameValues !== null && {
|
|
3539
|
+
return __assign(__assign({}, (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.ParameterNameValues != null && {
|
|
3591
3540
|
ParameterNameValues: serializeAws_json1_1ParameterNameValueList(input.ParameterNameValues, context),
|
|
3592
3541
|
}));
|
|
3593
3542
|
};
|
|
3594
3543
|
var serializeAws_json1_1UpdateSubnetGroupRequest = function (input, context) {
|
|
3595
|
-
return __assign(__assign(__assign({}, (input.Description
|
|
3596
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName })), (input.SubnetIds !== undefined &&
|
|
3597
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }));
|
|
3544
|
+
return __assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }));
|
|
3598
3545
|
};
|
|
3599
3546
|
var serializeAws_json1_1UpdateUserRequest = function (input, context) {
|
|
3600
|
-
return __assign(__assign(__assign({}, (input.AccessString
|
|
3601
|
-
input.AuthenticationMode !== null && {
|
|
3547
|
+
return __assign(__assign(__assign({}, (input.AccessString != null && { AccessString: input.AccessString })), (input.AuthenticationMode != null && {
|
|
3602
3548
|
AuthenticationMode: serializeAws_json1_1AuthenticationMode(input.AuthenticationMode, context),
|
|
3603
|
-
})), (input.UserName
|
|
3549
|
+
})), (input.UserName != null && { UserName: input.UserName }));
|
|
3604
3550
|
};
|
|
3605
3551
|
var serializeAws_json1_1UserNameListInput = function (input, context) {
|
|
3606
3552
|
return input
|
|
@@ -3615,18 +3561,14 @@ var serializeAws_json1_1UserNameListInput = function (input, context) {
|
|
|
3615
3561
|
var deserializeAws_json1_1ACL = function (output, context) {
|
|
3616
3562
|
return {
|
|
3617
3563
|
ARN: __expectString(output.ARN),
|
|
3618
|
-
Clusters: output.Clusters
|
|
3619
|
-
? deserializeAws_json1_1ACLClusterNameList(output.Clusters, context)
|
|
3620
|
-
: undefined,
|
|
3564
|
+
Clusters: output.Clusters != null ? deserializeAws_json1_1ACLClusterNameList(output.Clusters, context) : undefined,
|
|
3621
3565
|
MinimumEngineVersion: __expectString(output.MinimumEngineVersion),
|
|
3622
3566
|
Name: __expectString(output.Name),
|
|
3623
|
-
PendingChanges: output.PendingChanges
|
|
3567
|
+
PendingChanges: output.PendingChanges != null
|
|
3624
3568
|
? deserializeAws_json1_1ACLPendingChanges(output.PendingChanges, context)
|
|
3625
3569
|
: undefined,
|
|
3626
3570
|
Status: __expectString(output.Status),
|
|
3627
|
-
UserNames: output.UserNames
|
|
3628
|
-
? deserializeAws_json1_1UserNameList(output.UserNames, context)
|
|
3629
|
-
: undefined,
|
|
3571
|
+
UserNames: output.UserNames != null ? deserializeAws_json1_1UserNameList(output.UserNames, context) : undefined,
|
|
3630
3572
|
};
|
|
3631
3573
|
};
|
|
3632
3574
|
var deserializeAws_json1_1ACLAlreadyExistsFault = function (output, context) {
|
|
@@ -3674,10 +3616,8 @@ var deserializeAws_json1_1ACLNotFoundFault = function (output, context) {
|
|
|
3674
3616
|
};
|
|
3675
3617
|
var deserializeAws_json1_1ACLPendingChanges = function (output, context) {
|
|
3676
3618
|
return {
|
|
3677
|
-
UserNamesToAdd: output.UserNamesToAdd
|
|
3678
|
-
|
|
3679
|
-
: undefined,
|
|
3680
|
-
UserNamesToRemove: output.UserNamesToRemove !== undefined && output.UserNamesToRemove !== null
|
|
3619
|
+
UserNamesToAdd: output.UserNamesToAdd != null ? deserializeAws_json1_1UserNameList(output.UserNamesToAdd, context) : undefined,
|
|
3620
|
+
UserNamesToRemove: output.UserNamesToRemove != null
|
|
3681
3621
|
? deserializeAws_json1_1UserNameList(output.UserNamesToRemove, context)
|
|
3682
3622
|
: undefined,
|
|
3683
3623
|
};
|
|
@@ -3710,10 +3650,10 @@ var deserializeAws_json1_1AvailabilityZone = function (output, context) {
|
|
|
3710
3650
|
};
|
|
3711
3651
|
var deserializeAws_json1_1BatchUpdateClusterResponse = function (output, context) {
|
|
3712
3652
|
return {
|
|
3713
|
-
ProcessedClusters: output.ProcessedClusters
|
|
3653
|
+
ProcessedClusters: output.ProcessedClusters != null
|
|
3714
3654
|
? deserializeAws_json1_1ClusterList(output.ProcessedClusters, context)
|
|
3715
3655
|
: undefined,
|
|
3716
|
-
UnprocessedClusters: output.UnprocessedClusters
|
|
3656
|
+
UnprocessedClusters: output.UnprocessedClusters != null
|
|
3717
3657
|
? deserializeAws_json1_1UnprocessedClusterList(output.UnprocessedClusters, context)
|
|
3718
3658
|
: undefined,
|
|
3719
3659
|
};
|
|
@@ -3724,9 +3664,7 @@ var deserializeAws_json1_1Cluster = function (output, context) {
|
|
|
3724
3664
|
ARN: __expectString(output.ARN),
|
|
3725
3665
|
AutoMinorVersionUpgrade: __expectBoolean(output.AutoMinorVersionUpgrade),
|
|
3726
3666
|
AvailabilityMode: __expectString(output.AvailabilityMode),
|
|
3727
|
-
ClusterEndpoint: output.ClusterEndpoint
|
|
3728
|
-
? deserializeAws_json1_1Endpoint(output.ClusterEndpoint, context)
|
|
3729
|
-
: undefined,
|
|
3667
|
+
ClusterEndpoint: output.ClusterEndpoint != null ? deserializeAws_json1_1Endpoint(output.ClusterEndpoint, context) : undefined,
|
|
3730
3668
|
Description: __expectString(output.Description),
|
|
3731
3669
|
EnginePatchVersion: __expectString(output.EnginePatchVersion),
|
|
3732
3670
|
EngineVersion: __expectString(output.EngineVersion),
|
|
@@ -3737,15 +3675,13 @@ var deserializeAws_json1_1Cluster = function (output, context) {
|
|
|
3737
3675
|
NumberOfShards: __expectInt32(output.NumberOfShards),
|
|
3738
3676
|
ParameterGroupName: __expectString(output.ParameterGroupName),
|
|
3739
3677
|
ParameterGroupStatus: __expectString(output.ParameterGroupStatus),
|
|
3740
|
-
PendingUpdates: output.PendingUpdates
|
|
3678
|
+
PendingUpdates: output.PendingUpdates != null
|
|
3741
3679
|
? deserializeAws_json1_1ClusterPendingUpdates(output.PendingUpdates, context)
|
|
3742
3680
|
: undefined,
|
|
3743
|
-
SecurityGroups: output.SecurityGroups
|
|
3681
|
+
SecurityGroups: output.SecurityGroups != null
|
|
3744
3682
|
? deserializeAws_json1_1SecurityGroupMembershipList(output.SecurityGroups, context)
|
|
3745
3683
|
: undefined,
|
|
3746
|
-
Shards: output.Shards
|
|
3747
|
-
? deserializeAws_json1_1ShardList(output.Shards, context)
|
|
3748
|
-
: undefined,
|
|
3684
|
+
Shards: output.Shards != null ? deserializeAws_json1_1ShardList(output.Shards, context) : undefined,
|
|
3749
3685
|
SnapshotRetentionLimit: __expectInt32(output.SnapshotRetentionLimit),
|
|
3750
3686
|
SnapshotWindow: __expectString(output.SnapshotWindow),
|
|
3751
3687
|
SnsTopicArn: __expectString(output.SnsTopicArn),
|
|
@@ -3770,9 +3706,7 @@ var deserializeAws_json1_1ClusterConfiguration = function (output, context) {
|
|
|
3770
3706
|
NumShards: __expectInt32(output.NumShards),
|
|
3771
3707
|
ParameterGroupName: __expectString(output.ParameterGroupName),
|
|
3772
3708
|
Port: __expectInt32(output.Port),
|
|
3773
|
-
Shards: output.Shards
|
|
3774
|
-
? deserializeAws_json1_1ShardDetails(output.Shards, context)
|
|
3775
|
-
: undefined,
|
|
3709
|
+
Shards: output.Shards != null ? deserializeAws_json1_1ShardDetails(output.Shards, context) : undefined,
|
|
3776
3710
|
SnapshotRetentionLimit: __expectInt32(output.SnapshotRetentionLimit),
|
|
3777
3711
|
SnapshotWindow: __expectString(output.SnapshotWindow),
|
|
3778
3712
|
SubnetGroupName: __expectString(output.SubnetGroupName),
|
|
@@ -3798,13 +3732,9 @@ var deserializeAws_json1_1ClusterNotFoundFault = function (output, context) {
|
|
|
3798
3732
|
};
|
|
3799
3733
|
var deserializeAws_json1_1ClusterPendingUpdates = function (output, context) {
|
|
3800
3734
|
return {
|
|
3801
|
-
ACLs: output.ACLs
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
Resharding: output.Resharding !== undefined && output.Resharding !== null
|
|
3805
|
-
? deserializeAws_json1_1ReshardingStatus(output.Resharding, context)
|
|
3806
|
-
: undefined,
|
|
3807
|
-
ServiceUpdates: output.ServiceUpdates !== undefined && output.ServiceUpdates !== null
|
|
3735
|
+
ACLs: output.ACLs != null ? deserializeAws_json1_1ACLsUpdateStatus(output.ACLs, context) : undefined,
|
|
3736
|
+
Resharding: output.Resharding != null ? deserializeAws_json1_1ReshardingStatus(output.Resharding, context) : undefined,
|
|
3737
|
+
ServiceUpdates: output.ServiceUpdates != null
|
|
3808
3738
|
? deserializeAws_json1_1PendingModifiedServiceUpdateList(output.ServiceUpdates, context)
|
|
3809
3739
|
: undefined,
|
|
3810
3740
|
};
|
|
@@ -3816,47 +3746,37 @@ var deserializeAws_json1_1ClusterQuotaForCustomerExceededFault = function (outpu
|
|
|
3816
3746
|
};
|
|
3817
3747
|
var deserializeAws_json1_1CopySnapshotResponse = function (output, context) {
|
|
3818
3748
|
return {
|
|
3819
|
-
Snapshot: output.Snapshot
|
|
3820
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
3821
|
-
: undefined,
|
|
3749
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
3822
3750
|
};
|
|
3823
3751
|
};
|
|
3824
3752
|
var deserializeAws_json1_1CreateACLResponse = function (output, context) {
|
|
3825
3753
|
return {
|
|
3826
|
-
ACL: output.ACL
|
|
3754
|
+
ACL: output.ACL != null ? deserializeAws_json1_1ACL(output.ACL, context) : undefined,
|
|
3827
3755
|
};
|
|
3828
3756
|
};
|
|
3829
3757
|
var deserializeAws_json1_1CreateClusterResponse = function (output, context) {
|
|
3830
3758
|
return {
|
|
3831
|
-
Cluster: output.Cluster
|
|
3832
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
3833
|
-
: undefined,
|
|
3759
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
3834
3760
|
};
|
|
3835
3761
|
};
|
|
3836
3762
|
var deserializeAws_json1_1CreateParameterGroupResponse = function (output, context) {
|
|
3837
3763
|
return {
|
|
3838
|
-
ParameterGroup: output.ParameterGroup
|
|
3839
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
3840
|
-
: undefined,
|
|
3764
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3841
3765
|
};
|
|
3842
3766
|
};
|
|
3843
3767
|
var deserializeAws_json1_1CreateSnapshotResponse = function (output, context) {
|
|
3844
3768
|
return {
|
|
3845
|
-
Snapshot: output.Snapshot
|
|
3846
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
3847
|
-
: undefined,
|
|
3769
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
3848
3770
|
};
|
|
3849
3771
|
};
|
|
3850
3772
|
var deserializeAws_json1_1CreateSubnetGroupResponse = function (output, context) {
|
|
3851
3773
|
return {
|
|
3852
|
-
SubnetGroup: output.SubnetGroup
|
|
3853
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
3854
|
-
: undefined,
|
|
3774
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
3855
3775
|
};
|
|
3856
3776
|
};
|
|
3857
3777
|
var deserializeAws_json1_1CreateUserResponse = function (output, context) {
|
|
3858
3778
|
return {
|
|
3859
|
-
User: output.User
|
|
3779
|
+
User: output.User != null ? deserializeAws_json1_1User(output.User, context) : undefined,
|
|
3860
3780
|
};
|
|
3861
3781
|
};
|
|
3862
3782
|
var deserializeAws_json1_1DefaultUserRequired = function (output, context) {
|
|
@@ -3866,61 +3786,49 @@ var deserializeAws_json1_1DefaultUserRequired = function (output, context) {
|
|
|
3866
3786
|
};
|
|
3867
3787
|
var deserializeAws_json1_1DeleteACLResponse = function (output, context) {
|
|
3868
3788
|
return {
|
|
3869
|
-
ACL: output.ACL
|
|
3789
|
+
ACL: output.ACL != null ? deserializeAws_json1_1ACL(output.ACL, context) : undefined,
|
|
3870
3790
|
};
|
|
3871
3791
|
};
|
|
3872
3792
|
var deserializeAws_json1_1DeleteClusterResponse = function (output, context) {
|
|
3873
3793
|
return {
|
|
3874
|
-
Cluster: output.Cluster
|
|
3875
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
3876
|
-
: undefined,
|
|
3794
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
3877
3795
|
};
|
|
3878
3796
|
};
|
|
3879
3797
|
var deserializeAws_json1_1DeleteParameterGroupResponse = function (output, context) {
|
|
3880
3798
|
return {
|
|
3881
|
-
ParameterGroup: output.ParameterGroup
|
|
3882
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
3883
|
-
: undefined,
|
|
3799
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
3884
3800
|
};
|
|
3885
3801
|
};
|
|
3886
3802
|
var deserializeAws_json1_1DeleteSnapshotResponse = function (output, context) {
|
|
3887
3803
|
return {
|
|
3888
|
-
Snapshot: output.Snapshot
|
|
3889
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
3890
|
-
: undefined,
|
|
3804
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
3891
3805
|
};
|
|
3892
3806
|
};
|
|
3893
3807
|
var deserializeAws_json1_1DeleteSubnetGroupResponse = function (output, context) {
|
|
3894
3808
|
return {
|
|
3895
|
-
SubnetGroup: output.SubnetGroup
|
|
3896
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
3897
|
-
: undefined,
|
|
3809
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
3898
3810
|
};
|
|
3899
3811
|
};
|
|
3900
3812
|
var deserializeAws_json1_1DeleteUserResponse = function (output, context) {
|
|
3901
3813
|
return {
|
|
3902
|
-
User: output.User
|
|
3814
|
+
User: output.User != null ? deserializeAws_json1_1User(output.User, context) : undefined,
|
|
3903
3815
|
};
|
|
3904
3816
|
};
|
|
3905
3817
|
var deserializeAws_json1_1DescribeACLsResponse = function (output, context) {
|
|
3906
3818
|
return {
|
|
3907
|
-
ACLs: output.ACLs
|
|
3908
|
-
? deserializeAws_json1_1ACLList(output.ACLs, context)
|
|
3909
|
-
: undefined,
|
|
3819
|
+
ACLs: output.ACLs != null ? deserializeAws_json1_1ACLList(output.ACLs, context) : undefined,
|
|
3910
3820
|
NextToken: __expectString(output.NextToken),
|
|
3911
3821
|
};
|
|
3912
3822
|
};
|
|
3913
3823
|
var deserializeAws_json1_1DescribeClustersResponse = function (output, context) {
|
|
3914
3824
|
return {
|
|
3915
|
-
Clusters: output.Clusters
|
|
3916
|
-
? deserializeAws_json1_1ClusterList(output.Clusters, context)
|
|
3917
|
-
: undefined,
|
|
3825
|
+
Clusters: output.Clusters != null ? deserializeAws_json1_1ClusterList(output.Clusters, context) : undefined,
|
|
3918
3826
|
NextToken: __expectString(output.NextToken),
|
|
3919
3827
|
};
|
|
3920
3828
|
};
|
|
3921
3829
|
var deserializeAws_json1_1DescribeEngineVersionsResponse = function (output, context) {
|
|
3922
3830
|
return {
|
|
3923
|
-
EngineVersions: output.EngineVersions
|
|
3831
|
+
EngineVersions: output.EngineVersions != null
|
|
3924
3832
|
? deserializeAws_json1_1EngineVersionInfoList(output.EngineVersions, context)
|
|
3925
3833
|
: undefined,
|
|
3926
3834
|
NextToken: __expectString(output.NextToken),
|
|
@@ -3928,16 +3836,14 @@ var deserializeAws_json1_1DescribeEngineVersionsResponse = function (output, con
|
|
|
3928
3836
|
};
|
|
3929
3837
|
var deserializeAws_json1_1DescribeEventsResponse = function (output, context) {
|
|
3930
3838
|
return {
|
|
3931
|
-
Events: output.Events
|
|
3932
|
-
? deserializeAws_json1_1EventList(output.Events, context)
|
|
3933
|
-
: undefined,
|
|
3839
|
+
Events: output.Events != null ? deserializeAws_json1_1EventList(output.Events, context) : undefined,
|
|
3934
3840
|
NextToken: __expectString(output.NextToken),
|
|
3935
3841
|
};
|
|
3936
3842
|
};
|
|
3937
3843
|
var deserializeAws_json1_1DescribeParameterGroupsResponse = function (output, context) {
|
|
3938
3844
|
return {
|
|
3939
3845
|
NextToken: __expectString(output.NextToken),
|
|
3940
|
-
ParameterGroups: output.ParameterGroups
|
|
3846
|
+
ParameterGroups: output.ParameterGroups != null
|
|
3941
3847
|
? deserializeAws_json1_1ParameterGroupList(output.ParameterGroups, context)
|
|
3942
3848
|
: undefined,
|
|
3943
3849
|
};
|
|
@@ -3945,15 +3851,13 @@ var deserializeAws_json1_1DescribeParameterGroupsResponse = function (output, co
|
|
|
3945
3851
|
var deserializeAws_json1_1DescribeParametersResponse = function (output, context) {
|
|
3946
3852
|
return {
|
|
3947
3853
|
NextToken: __expectString(output.NextToken),
|
|
3948
|
-
Parameters: output.Parameters
|
|
3949
|
-
? deserializeAws_json1_1ParametersList(output.Parameters, context)
|
|
3950
|
-
: undefined,
|
|
3854
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1ParametersList(output.Parameters, context) : undefined,
|
|
3951
3855
|
};
|
|
3952
3856
|
};
|
|
3953
3857
|
var deserializeAws_json1_1DescribeServiceUpdatesResponse = function (output, context) {
|
|
3954
3858
|
return {
|
|
3955
3859
|
NextToken: __expectString(output.NextToken),
|
|
3956
|
-
ServiceUpdates: output.ServiceUpdates
|
|
3860
|
+
ServiceUpdates: output.ServiceUpdates != null
|
|
3957
3861
|
? deserializeAws_json1_1ServiceUpdateList(output.ServiceUpdates, context)
|
|
3958
3862
|
: undefined,
|
|
3959
3863
|
};
|
|
@@ -3961,25 +3865,19 @@ var deserializeAws_json1_1DescribeServiceUpdatesResponse = function (output, con
|
|
|
3961
3865
|
var deserializeAws_json1_1DescribeSnapshotsResponse = function (output, context) {
|
|
3962
3866
|
return {
|
|
3963
3867
|
NextToken: __expectString(output.NextToken),
|
|
3964
|
-
Snapshots: output.Snapshots
|
|
3965
|
-
? deserializeAws_json1_1SnapshotList(output.Snapshots, context)
|
|
3966
|
-
: undefined,
|
|
3868
|
+
Snapshots: output.Snapshots != null ? deserializeAws_json1_1SnapshotList(output.Snapshots, context) : undefined,
|
|
3967
3869
|
};
|
|
3968
3870
|
};
|
|
3969
3871
|
var deserializeAws_json1_1DescribeSubnetGroupsResponse = function (output, context) {
|
|
3970
3872
|
return {
|
|
3971
3873
|
NextToken: __expectString(output.NextToken),
|
|
3972
|
-
SubnetGroups: output.SubnetGroups
|
|
3973
|
-
? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context)
|
|
3974
|
-
: undefined,
|
|
3874
|
+
SubnetGroups: output.SubnetGroups != null ? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context) : undefined,
|
|
3975
3875
|
};
|
|
3976
3876
|
};
|
|
3977
3877
|
var deserializeAws_json1_1DescribeUsersResponse = function (output, context) {
|
|
3978
3878
|
return {
|
|
3979
3879
|
NextToken: __expectString(output.NextToken),
|
|
3980
|
-
Users: output.Users
|
|
3981
|
-
? deserializeAws_json1_1UserList(output.Users, context)
|
|
3982
|
-
: undefined,
|
|
3880
|
+
Users: output.Users != null ? deserializeAws_json1_1UserList(output.Users, context) : undefined,
|
|
3983
3881
|
};
|
|
3984
3882
|
};
|
|
3985
3883
|
var deserializeAws_json1_1DuplicateUserNameFault = function (output, context) {
|
|
@@ -4013,9 +3911,7 @@ var deserializeAws_json1_1EngineVersionInfoList = function (output, context) {
|
|
|
4013
3911
|
};
|
|
4014
3912
|
var deserializeAws_json1_1Event = function (output, context) {
|
|
4015
3913
|
return {
|
|
4016
|
-
Date: output.Date
|
|
4017
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
|
|
4018
|
-
: undefined,
|
|
3914
|
+
Date: output.Date != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date))) : undefined,
|
|
4019
3915
|
Message: __expectString(output.Message),
|
|
4020
3916
|
SourceName: __expectString(output.SourceName),
|
|
4021
3917
|
SourceType: __expectString(output.SourceType),
|
|
@@ -4034,9 +3930,7 @@ var deserializeAws_json1_1EventList = function (output, context) {
|
|
|
4034
3930
|
};
|
|
4035
3931
|
var deserializeAws_json1_1FailoverShardResponse = function (output, context) {
|
|
4036
3932
|
return {
|
|
4037
|
-
Cluster: output.Cluster
|
|
4038
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
4039
|
-
: undefined,
|
|
3933
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
4040
3934
|
};
|
|
4041
3935
|
};
|
|
4042
3936
|
var deserializeAws_json1_1InsufficientClusterCapacityFault = function (output, context) {
|
|
@@ -4111,30 +4005,24 @@ var deserializeAws_json1_1InvalidVPCNetworkStateFault = function (output, contex
|
|
|
4111
4005
|
};
|
|
4112
4006
|
var deserializeAws_json1_1ListAllowedNodeTypeUpdatesResponse = function (output, context) {
|
|
4113
4007
|
return {
|
|
4114
|
-
ScaleDownNodeTypes: output.ScaleDownNodeTypes
|
|
4008
|
+
ScaleDownNodeTypes: output.ScaleDownNodeTypes != null
|
|
4115
4009
|
? deserializeAws_json1_1NodeTypeList(output.ScaleDownNodeTypes, context)
|
|
4116
4010
|
: undefined,
|
|
4117
|
-
ScaleUpNodeTypes: output.ScaleUpNodeTypes
|
|
4011
|
+
ScaleUpNodeTypes: output.ScaleUpNodeTypes != null
|
|
4118
4012
|
? deserializeAws_json1_1NodeTypeList(output.ScaleUpNodeTypes, context)
|
|
4119
4013
|
: undefined,
|
|
4120
4014
|
};
|
|
4121
4015
|
};
|
|
4122
4016
|
var deserializeAws_json1_1ListTagsResponse = function (output, context) {
|
|
4123
4017
|
return {
|
|
4124
|
-
TagList: output.TagList
|
|
4125
|
-
? deserializeAws_json1_1TagList(output.TagList, context)
|
|
4126
|
-
: undefined,
|
|
4018
|
+
TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
|
|
4127
4019
|
};
|
|
4128
4020
|
};
|
|
4129
4021
|
var deserializeAws_json1_1Node = function (output, context) {
|
|
4130
4022
|
return {
|
|
4131
4023
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
4132
|
-
CreateTime: output.CreateTime
|
|
4133
|
-
|
|
4134
|
-
: undefined,
|
|
4135
|
-
Endpoint: output.Endpoint !== undefined && output.Endpoint !== null
|
|
4136
|
-
? deserializeAws_json1_1Endpoint(output.Endpoint, context)
|
|
4137
|
-
: undefined,
|
|
4024
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
4025
|
+
Endpoint: output.Endpoint != null ? deserializeAws_json1_1Endpoint(output.Endpoint, context) : undefined,
|
|
4138
4026
|
Name: __expectString(output.Name),
|
|
4139
4027
|
Status: __expectString(output.Status),
|
|
4140
4028
|
};
|
|
@@ -4250,16 +4138,12 @@ var deserializeAws_json1_1PendingModifiedServiceUpdateList = function (output, c
|
|
|
4250
4138
|
};
|
|
4251
4139
|
var deserializeAws_json1_1ResetParameterGroupResponse = function (output, context) {
|
|
4252
4140
|
return {
|
|
4253
|
-
ParameterGroup: output.ParameterGroup
|
|
4254
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
4255
|
-
: undefined,
|
|
4141
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
4256
4142
|
};
|
|
4257
4143
|
};
|
|
4258
4144
|
var deserializeAws_json1_1ReshardingStatus = function (output, context) {
|
|
4259
4145
|
return {
|
|
4260
|
-
SlotMigration: output.SlotMigration
|
|
4261
|
-
? deserializeAws_json1_1SlotMigration(output.SlotMigration, context)
|
|
4262
|
-
: undefined,
|
|
4146
|
+
SlotMigration: output.SlotMigration != null ? deserializeAws_json1_1SlotMigration(output.SlotMigration, context) : undefined,
|
|
4263
4147
|
};
|
|
4264
4148
|
};
|
|
4265
4149
|
var deserializeAws_json1_1SecurityGroupMembership = function (output, context) {
|
|
@@ -4286,13 +4170,13 @@ var deserializeAws_json1_1ServiceLinkedRoleNotFoundFault = function (output, con
|
|
|
4286
4170
|
};
|
|
4287
4171
|
var deserializeAws_json1_1ServiceUpdate = function (output, context) {
|
|
4288
4172
|
return {
|
|
4289
|
-
AutoUpdateStartDate: output.AutoUpdateStartDate
|
|
4173
|
+
AutoUpdateStartDate: output.AutoUpdateStartDate != null
|
|
4290
4174
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AutoUpdateStartDate)))
|
|
4291
4175
|
: undefined,
|
|
4292
4176
|
ClusterName: __expectString(output.ClusterName),
|
|
4293
4177
|
Description: __expectString(output.Description),
|
|
4294
4178
|
NodesUpdated: __expectString(output.NodesUpdated),
|
|
4295
|
-
ReleaseDate: output.ReleaseDate
|
|
4179
|
+
ReleaseDate: output.ReleaseDate != null
|
|
4296
4180
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReleaseDate)))
|
|
4297
4181
|
: undefined,
|
|
4298
4182
|
ServiceUpdateName: __expectString(output.ServiceUpdateName),
|
|
@@ -4319,9 +4203,7 @@ var deserializeAws_json1_1ServiceUpdateNotFoundFault = function (output, context
|
|
|
4319
4203
|
var deserializeAws_json1_1Shard = function (output, context) {
|
|
4320
4204
|
return {
|
|
4321
4205
|
Name: __expectString(output.Name),
|
|
4322
|
-
Nodes: output.Nodes
|
|
4323
|
-
? deserializeAws_json1_1NodeList(output.Nodes, context)
|
|
4324
|
-
: undefined,
|
|
4206
|
+
Nodes: output.Nodes != null ? deserializeAws_json1_1NodeList(output.Nodes, context) : undefined,
|
|
4325
4207
|
NumberOfNodes: __expectInt32(output.NumberOfNodes),
|
|
4326
4208
|
Slots: __expectString(output.Slots),
|
|
4327
4209
|
Status: __expectString(output.Status),
|
|
@@ -4335,12 +4217,12 @@ var deserializeAws_json1_1ShardConfiguration = function (output, context) {
|
|
|
4335
4217
|
};
|
|
4336
4218
|
var deserializeAws_json1_1ShardDetail = function (output, context) {
|
|
4337
4219
|
return {
|
|
4338
|
-
Configuration: output.Configuration
|
|
4220
|
+
Configuration: output.Configuration != null
|
|
4339
4221
|
? deserializeAws_json1_1ShardConfiguration(output.Configuration, context)
|
|
4340
4222
|
: undefined,
|
|
4341
4223
|
Name: __expectString(output.Name),
|
|
4342
4224
|
Size: __expectString(output.Size),
|
|
4343
|
-
SnapshotCreationTime: output.SnapshotCreationTime
|
|
4225
|
+
SnapshotCreationTime: output.SnapshotCreationTime != null
|
|
4344
4226
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SnapshotCreationTime)))
|
|
4345
4227
|
: undefined,
|
|
4346
4228
|
};
|
|
@@ -4385,7 +4267,7 @@ var deserializeAws_json1_1SlotMigration = function (output, context) {
|
|
|
4385
4267
|
var deserializeAws_json1_1Snapshot = function (output, context) {
|
|
4386
4268
|
return {
|
|
4387
4269
|
ARN: __expectString(output.ARN),
|
|
4388
|
-
ClusterConfiguration: output.ClusterConfiguration
|
|
4270
|
+
ClusterConfiguration: output.ClusterConfiguration != null
|
|
4389
4271
|
? deserializeAws_json1_1ClusterConfiguration(output.ClusterConfiguration, context)
|
|
4390
4272
|
: undefined,
|
|
4391
4273
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
@@ -4422,7 +4304,7 @@ var deserializeAws_json1_1SnapshotQuotaExceededFault = function (output, context
|
|
|
4422
4304
|
};
|
|
4423
4305
|
var deserializeAws_json1_1Subnet = function (output, context) {
|
|
4424
4306
|
return {
|
|
4425
|
-
AvailabilityZone: output.AvailabilityZone
|
|
4307
|
+
AvailabilityZone: output.AvailabilityZone != null
|
|
4426
4308
|
? deserializeAws_json1_1AvailabilityZone(output.AvailabilityZone, context)
|
|
4427
4309
|
: undefined,
|
|
4428
4310
|
Identifier: __expectString(output.Identifier),
|
|
@@ -4433,9 +4315,7 @@ var deserializeAws_json1_1SubnetGroup = function (output, context) {
|
|
|
4433
4315
|
ARN: __expectString(output.ARN),
|
|
4434
4316
|
Description: __expectString(output.Description),
|
|
4435
4317
|
Name: __expectString(output.Name),
|
|
4436
|
-
Subnets: output.Subnets
|
|
4437
|
-
? deserializeAws_json1_1SubnetList(output.Subnets, context)
|
|
4438
|
-
: undefined,
|
|
4318
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_1SubnetList(output.Subnets, context) : undefined,
|
|
4439
4319
|
VpcId: __expectString(output.VpcId),
|
|
4440
4320
|
};
|
|
4441
4321
|
};
|
|
@@ -4525,9 +4405,7 @@ var deserializeAws_json1_1TagQuotaPerResourceExceeded = function (output, contex
|
|
|
4525
4405
|
};
|
|
4526
4406
|
var deserializeAws_json1_1TagResourceResponse = function (output, context) {
|
|
4527
4407
|
return {
|
|
4528
|
-
TagList: output.TagList
|
|
4529
|
-
? deserializeAws_json1_1TagList(output.TagList, context)
|
|
4530
|
-
: undefined,
|
|
4408
|
+
TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
|
|
4531
4409
|
};
|
|
4532
4410
|
};
|
|
4533
4411
|
var deserializeAws_json1_1TestFailoverNotAvailableFault = function (output, context) {
|
|
@@ -4555,52 +4433,40 @@ var deserializeAws_json1_1UnprocessedClusterList = function (output, context) {
|
|
|
4555
4433
|
};
|
|
4556
4434
|
var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
4557
4435
|
return {
|
|
4558
|
-
TagList: output.TagList
|
|
4559
|
-
? deserializeAws_json1_1TagList(output.TagList, context)
|
|
4560
|
-
: undefined,
|
|
4436
|
+
TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
|
|
4561
4437
|
};
|
|
4562
4438
|
};
|
|
4563
4439
|
var deserializeAws_json1_1UpdateACLResponse = function (output, context) {
|
|
4564
4440
|
return {
|
|
4565
|
-
ACL: output.ACL
|
|
4441
|
+
ACL: output.ACL != null ? deserializeAws_json1_1ACL(output.ACL, context) : undefined,
|
|
4566
4442
|
};
|
|
4567
4443
|
};
|
|
4568
4444
|
var deserializeAws_json1_1UpdateClusterResponse = function (output, context) {
|
|
4569
4445
|
return {
|
|
4570
|
-
Cluster: output.Cluster
|
|
4571
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
4572
|
-
: undefined,
|
|
4446
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
4573
4447
|
};
|
|
4574
4448
|
};
|
|
4575
4449
|
var deserializeAws_json1_1UpdateParameterGroupResponse = function (output, context) {
|
|
4576
4450
|
return {
|
|
4577
|
-
ParameterGroup: output.ParameterGroup
|
|
4578
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
4579
|
-
: undefined,
|
|
4451
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
4580
4452
|
};
|
|
4581
4453
|
};
|
|
4582
4454
|
var deserializeAws_json1_1UpdateSubnetGroupResponse = function (output, context) {
|
|
4583
4455
|
return {
|
|
4584
|
-
SubnetGroup: output.SubnetGroup
|
|
4585
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
4586
|
-
: undefined,
|
|
4456
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
4587
4457
|
};
|
|
4588
4458
|
};
|
|
4589
4459
|
var deserializeAws_json1_1UpdateUserResponse = function (output, context) {
|
|
4590
4460
|
return {
|
|
4591
|
-
User: output.User
|
|
4461
|
+
User: output.User != null ? deserializeAws_json1_1User(output.User, context) : undefined,
|
|
4592
4462
|
};
|
|
4593
4463
|
};
|
|
4594
4464
|
var deserializeAws_json1_1User = function (output, context) {
|
|
4595
4465
|
return {
|
|
4596
|
-
ACLNames: output.ACLNames
|
|
4597
|
-
? deserializeAws_json1_1ACLNameList(output.ACLNames, context)
|
|
4598
|
-
: undefined,
|
|
4466
|
+
ACLNames: output.ACLNames != null ? deserializeAws_json1_1ACLNameList(output.ACLNames, context) : undefined,
|
|
4599
4467
|
ARN: __expectString(output.ARN),
|
|
4600
4468
|
AccessString: __expectString(output.AccessString),
|
|
4601
|
-
Authentication: output.Authentication
|
|
4602
|
-
? deserializeAws_json1_1Authentication(output.Authentication, context)
|
|
4603
|
-
: undefined,
|
|
4469
|
+
Authentication: output.Authentication != null ? deserializeAws_json1_1Authentication(output.Authentication, context) : undefined,
|
|
4604
4470
|
MinimumEngineVersion: __expectString(output.MinimumEngineVersion),
|
|
4605
4471
|
Name: __expectString(output.Name),
|
|
4606
4472
|
Status: __expectString(output.Status),
|