@aws-sdk/client-elastic-load-balancing 3.31.0 → 3.32.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/ElasticLoadBalancingClient.js +13 -13
- package/dist/cjs/ElasticLoadBalancingClient.js.map +1 -1
- package/dist/cjs/commands/AddTagsCommand.js +3 -3
- package/dist/cjs/commands/AddTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/AttachLoadBalancerToSubnetsCommand.js +3 -3
- package/dist/cjs/commands/AttachLoadBalancerToSubnetsCommand.js.map +1 -1
- package/dist/cjs/commands/ConfigureHealthCheckCommand.js +3 -3
- package/dist/cjs/commands/ConfigureHealthCheckCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAppCookieStickinessPolicyCommand.js +3 -3
- package/dist/cjs/commands/CreateAppCookieStickinessPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLBCookieStickinessPolicyCommand.js +3 -3
- package/dist/cjs/commands/CreateLBCookieStickinessPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/CreateLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLoadBalancerListenersCommand.js +3 -3
- package/dist/cjs/commands/CreateLoadBalancerListenersCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLoadBalancerPolicyCommand.js +3 -3
- package/dist/cjs/commands/CreateLoadBalancerPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/DeleteLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLoadBalancerListenersCommand.js +3 -3
- package/dist/cjs/commands/DeleteLoadBalancerListenersCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLoadBalancerPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteLoadBalancerPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js +3 -3
- package/dist/cjs/commands/DescribeAccountLimitsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInstanceHealthCommand.js +3 -3
- package/dist/cjs/commands/DescribeInstanceHealthCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js +3 -3
- package/dist/cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLoadBalancerPoliciesCommand.js +3 -3
- package/dist/cjs/commands/DescribeLoadBalancerPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +3 -3
- package/dist/cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLoadBalancersCommand.js +3 -3
- package/dist/cjs/commands/DescribeLoadBalancersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist/cjs/commands/DescribeTagsCommand.js.map +1 -1
- package/dist/cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +3 -3
- package/dist/cjs/commands/DetachLoadBalancerFromSubnetsCommand.js.map +1 -1
- package/dist/cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js +3 -3
- package/dist/cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +3 -3
- package/dist/cjs/commands/RegisterInstancesWithLoadBalancerCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist/cjs/commands/RemoveTagsCommand.js.map +1 -1
- package/dist/cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +3 -3
- package/dist/cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +3 -3
- package/dist/cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +1 -1
- package/dist/cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +3 -3
- package/dist/cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +35 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_query.js +117 -117
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForAnyInstanceInService.js +3 -3
- package/dist/cjs/waiters/waitForAnyInstanceInService.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/pagination/DescribeLoadBalancersPaginator.js +4 -4
- package/dist/es/pagination/DescribeLoadBalancersPaginator.js.map +1 -1
- package/dist/es/waiters/waitForAnyInstanceInService.js +1 -1
- package/dist/es/waiters/waitForAnyInstanceInService.js.map +1 -1
- package/package.json +32 -32
- package/tsconfig.json +1 -2
|
@@ -3172,16 +3172,16 @@ const deserializeAws_queryAccessLog = (output, context) => {
|
|
|
3172
3172
|
S3BucketPrefix: undefined,
|
|
3173
3173
|
};
|
|
3174
3174
|
if (output["Enabled"] !== undefined) {
|
|
3175
|
-
contents.Enabled =
|
|
3175
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
3176
3176
|
}
|
|
3177
3177
|
if (output["S3BucketName"] !== undefined) {
|
|
3178
|
-
contents.S3BucketName =
|
|
3178
|
+
contents.S3BucketName = smithy_client_1.expectString(output["S3BucketName"]);
|
|
3179
3179
|
}
|
|
3180
3180
|
if (output["EmitInterval"] !== undefined) {
|
|
3181
|
-
contents.EmitInterval =
|
|
3181
|
+
contents.EmitInterval = smithy_client_1.strictParseInt32(output["EmitInterval"]);
|
|
3182
3182
|
}
|
|
3183
3183
|
if (output["S3BucketPrefix"] !== undefined) {
|
|
3184
|
-
contents.S3BucketPrefix =
|
|
3184
|
+
contents.S3BucketPrefix = smithy_client_1.expectString(output["S3BucketPrefix"]);
|
|
3185
3185
|
}
|
|
3186
3186
|
return contents;
|
|
3187
3187
|
};
|
|
@@ -3190,7 +3190,7 @@ const deserializeAws_queryAccessPointNotFoundException = (output, context) => {
|
|
|
3190
3190
|
Message: undefined,
|
|
3191
3191
|
};
|
|
3192
3192
|
if (output["Message"] !== undefined) {
|
|
3193
|
-
contents.Message =
|
|
3193
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3194
3194
|
}
|
|
3195
3195
|
return contents;
|
|
3196
3196
|
};
|
|
@@ -3202,7 +3202,7 @@ const deserializeAws_queryAddAvailabilityZonesOutput = (output, context) => {
|
|
|
3202
3202
|
contents.AvailabilityZones = [];
|
|
3203
3203
|
}
|
|
3204
3204
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
3205
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
3205
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
3206
3206
|
}
|
|
3207
3207
|
return contents;
|
|
3208
3208
|
};
|
|
@@ -3212,10 +3212,10 @@ const deserializeAws_queryAdditionalAttribute = (output, context) => {
|
|
|
3212
3212
|
Value: undefined,
|
|
3213
3213
|
};
|
|
3214
3214
|
if (output["Key"] !== undefined) {
|
|
3215
|
-
contents.Key =
|
|
3215
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
3216
3216
|
}
|
|
3217
3217
|
if (output["Value"] !== undefined) {
|
|
3218
|
-
contents.Value =
|
|
3218
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
3219
3219
|
}
|
|
3220
3220
|
return contents;
|
|
3221
3221
|
};
|
|
@@ -3249,10 +3249,10 @@ const deserializeAws_queryAppCookieStickinessPolicy = (output, context) => {
|
|
|
3249
3249
|
CookieName: undefined,
|
|
3250
3250
|
};
|
|
3251
3251
|
if (output["PolicyName"] !== undefined) {
|
|
3252
|
-
contents.PolicyName =
|
|
3252
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
3253
3253
|
}
|
|
3254
3254
|
if (output["CookieName"] !== undefined) {
|
|
3255
|
-
contents.CookieName =
|
|
3255
|
+
contents.CookieName = smithy_client_1.expectString(output["CookieName"]);
|
|
3256
3256
|
}
|
|
3257
3257
|
return contents;
|
|
3258
3258
|
};
|
|
@@ -3264,7 +3264,7 @@ const deserializeAws_queryApplySecurityGroupsToLoadBalancerOutput = (output, con
|
|
|
3264
3264
|
contents.SecurityGroups = [];
|
|
3265
3265
|
}
|
|
3266
3266
|
if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
3267
|
-
contents.SecurityGroups = deserializeAws_querySecurityGroups(
|
|
3267
|
+
contents.SecurityGroups = deserializeAws_querySecurityGroups(smithy_client_1.getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
|
|
3268
3268
|
}
|
|
3269
3269
|
return contents;
|
|
3270
3270
|
};
|
|
@@ -3276,7 +3276,7 @@ const deserializeAws_queryAttachLoadBalancerToSubnetsOutput = (output, context)
|
|
|
3276
3276
|
contents.Subnets = [];
|
|
3277
3277
|
}
|
|
3278
3278
|
if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
3279
|
-
contents.Subnets = deserializeAws_querySubnets(
|
|
3279
|
+
contents.Subnets = deserializeAws_querySubnets(smithy_client_1.getArrayIfSingleItem(output["Subnets"]["member"]), context);
|
|
3280
3280
|
}
|
|
3281
3281
|
return contents;
|
|
3282
3282
|
};
|
|
@@ -3287,7 +3287,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
|
3287
3287
|
if (entry === null) {
|
|
3288
3288
|
return null;
|
|
3289
3289
|
}
|
|
3290
|
-
return
|
|
3290
|
+
return smithy_client_1.expectString(entry);
|
|
3291
3291
|
});
|
|
3292
3292
|
};
|
|
3293
3293
|
const deserializeAws_queryBackendServerDescription = (output, context) => {
|
|
@@ -3296,13 +3296,13 @@ const deserializeAws_queryBackendServerDescription = (output, context) => {
|
|
|
3296
3296
|
PolicyNames: undefined,
|
|
3297
3297
|
};
|
|
3298
3298
|
if (output["InstancePort"] !== undefined) {
|
|
3299
|
-
contents.InstancePort =
|
|
3299
|
+
contents.InstancePort = smithy_client_1.strictParseInt32(output["InstancePort"]);
|
|
3300
3300
|
}
|
|
3301
3301
|
if (output.PolicyNames === "") {
|
|
3302
3302
|
contents.PolicyNames = [];
|
|
3303
3303
|
}
|
|
3304
3304
|
if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
3305
|
-
contents.PolicyNames = deserializeAws_queryPolicyNames(
|
|
3305
|
+
contents.PolicyNames = deserializeAws_queryPolicyNames(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
|
|
3306
3306
|
}
|
|
3307
3307
|
return contents;
|
|
3308
3308
|
};
|
|
@@ -3321,7 +3321,7 @@ const deserializeAws_queryCertificateNotFoundException = (output, context) => {
|
|
|
3321
3321
|
Message: undefined,
|
|
3322
3322
|
};
|
|
3323
3323
|
if (output["Message"] !== undefined) {
|
|
3324
|
-
contents.Message =
|
|
3324
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3325
3325
|
}
|
|
3326
3326
|
return contents;
|
|
3327
3327
|
};
|
|
@@ -3340,10 +3340,10 @@ const deserializeAws_queryConnectionDraining = (output, context) => {
|
|
|
3340
3340
|
Timeout: undefined,
|
|
3341
3341
|
};
|
|
3342
3342
|
if (output["Enabled"] !== undefined) {
|
|
3343
|
-
contents.Enabled =
|
|
3343
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
3344
3344
|
}
|
|
3345
3345
|
if (output["Timeout"] !== undefined) {
|
|
3346
|
-
contents.Timeout =
|
|
3346
|
+
contents.Timeout = smithy_client_1.strictParseInt32(output["Timeout"]);
|
|
3347
3347
|
}
|
|
3348
3348
|
return contents;
|
|
3349
3349
|
};
|
|
@@ -3352,7 +3352,7 @@ const deserializeAws_queryConnectionSettings = (output, context) => {
|
|
|
3352
3352
|
IdleTimeout: undefined,
|
|
3353
3353
|
};
|
|
3354
3354
|
if (output["IdleTimeout"] !== undefined) {
|
|
3355
|
-
contents.IdleTimeout =
|
|
3355
|
+
contents.IdleTimeout = smithy_client_1.strictParseInt32(output["IdleTimeout"]);
|
|
3356
3356
|
}
|
|
3357
3357
|
return contents;
|
|
3358
3358
|
};
|
|
@@ -3361,7 +3361,7 @@ const deserializeAws_queryCreateAccessPointOutput = (output, context) => {
|
|
|
3361
3361
|
DNSName: undefined,
|
|
3362
3362
|
};
|
|
3363
3363
|
if (output["DNSName"] !== undefined) {
|
|
3364
|
-
contents.DNSName =
|
|
3364
|
+
contents.DNSName = smithy_client_1.expectString(output["DNSName"]);
|
|
3365
3365
|
}
|
|
3366
3366
|
return contents;
|
|
3367
3367
|
};
|
|
@@ -3386,7 +3386,7 @@ const deserializeAws_queryCrossZoneLoadBalancing = (output, context) => {
|
|
|
3386
3386
|
Enabled: undefined,
|
|
3387
3387
|
};
|
|
3388
3388
|
if (output["Enabled"] !== undefined) {
|
|
3389
|
-
contents.Enabled =
|
|
3389
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
3390
3390
|
}
|
|
3391
3391
|
return contents;
|
|
3392
3392
|
};
|
|
@@ -3407,7 +3407,7 @@ const deserializeAws_queryDependencyThrottleException = (output, context) => {
|
|
|
3407
3407
|
Message: undefined,
|
|
3408
3408
|
};
|
|
3409
3409
|
if (output["Message"] !== undefined) {
|
|
3410
|
-
contents.Message =
|
|
3410
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3411
3411
|
}
|
|
3412
3412
|
return contents;
|
|
3413
3413
|
};
|
|
@@ -3419,7 +3419,7 @@ const deserializeAws_queryDeregisterEndPointsOutput = (output, context) => {
|
|
|
3419
3419
|
contents.Instances = [];
|
|
3420
3420
|
}
|
|
3421
3421
|
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
3422
|
-
contents.Instances = deserializeAws_queryInstances(
|
|
3422
|
+
contents.Instances = deserializeAws_queryInstances(smithy_client_1.getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
3423
3423
|
}
|
|
3424
3424
|
return contents;
|
|
3425
3425
|
};
|
|
@@ -3432,10 +3432,10 @@ const deserializeAws_queryDescribeAccessPointsOutput = (output, context) => {
|
|
|
3432
3432
|
contents.LoadBalancerDescriptions = [];
|
|
3433
3433
|
}
|
|
3434
3434
|
if (output["LoadBalancerDescriptions"] !== undefined && output["LoadBalancerDescriptions"]["member"] !== undefined) {
|
|
3435
|
-
contents.LoadBalancerDescriptions = deserializeAws_queryLoadBalancerDescriptions(
|
|
3435
|
+
contents.LoadBalancerDescriptions = deserializeAws_queryLoadBalancerDescriptions(smithy_client_1.getArrayIfSingleItem(output["LoadBalancerDescriptions"]["member"]), context);
|
|
3436
3436
|
}
|
|
3437
3437
|
if (output["NextMarker"] !== undefined) {
|
|
3438
|
-
contents.NextMarker =
|
|
3438
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
3439
3439
|
}
|
|
3440
3440
|
return contents;
|
|
3441
3441
|
};
|
|
@@ -3448,10 +3448,10 @@ const deserializeAws_queryDescribeAccountLimitsOutput = (output, context) => {
|
|
|
3448
3448
|
contents.Limits = [];
|
|
3449
3449
|
}
|
|
3450
3450
|
if (output["Limits"] !== undefined && output["Limits"]["member"] !== undefined) {
|
|
3451
|
-
contents.Limits = deserializeAws_queryLimits(
|
|
3451
|
+
contents.Limits = deserializeAws_queryLimits(smithy_client_1.getArrayIfSingleItem(output["Limits"]["member"]), context);
|
|
3452
3452
|
}
|
|
3453
3453
|
if (output["NextMarker"] !== undefined) {
|
|
3454
|
-
contents.NextMarker =
|
|
3454
|
+
contents.NextMarker = smithy_client_1.expectString(output["NextMarker"]);
|
|
3455
3455
|
}
|
|
3456
3456
|
return contents;
|
|
3457
3457
|
};
|
|
@@ -3463,7 +3463,7 @@ const deserializeAws_queryDescribeEndPointStateOutput = (output, context) => {
|
|
|
3463
3463
|
contents.InstanceStates = [];
|
|
3464
3464
|
}
|
|
3465
3465
|
if (output["InstanceStates"] !== undefined && output["InstanceStates"]["member"] !== undefined) {
|
|
3466
|
-
contents.InstanceStates = deserializeAws_queryInstanceStates(
|
|
3466
|
+
contents.InstanceStates = deserializeAws_queryInstanceStates(smithy_client_1.getArrayIfSingleItem(output["InstanceStates"]["member"]), context);
|
|
3467
3467
|
}
|
|
3468
3468
|
return contents;
|
|
3469
3469
|
};
|
|
@@ -3484,7 +3484,7 @@ const deserializeAws_queryDescribeLoadBalancerPoliciesOutput = (output, context)
|
|
|
3484
3484
|
contents.PolicyDescriptions = [];
|
|
3485
3485
|
}
|
|
3486
3486
|
if (output["PolicyDescriptions"] !== undefined && output["PolicyDescriptions"]["member"] !== undefined) {
|
|
3487
|
-
contents.PolicyDescriptions = deserializeAws_queryPolicyDescriptions(
|
|
3487
|
+
contents.PolicyDescriptions = deserializeAws_queryPolicyDescriptions(smithy_client_1.getArrayIfSingleItem(output["PolicyDescriptions"]["member"]), context);
|
|
3488
3488
|
}
|
|
3489
3489
|
return contents;
|
|
3490
3490
|
};
|
|
@@ -3496,7 +3496,7 @@ const deserializeAws_queryDescribeLoadBalancerPolicyTypesOutput = (output, conte
|
|
|
3496
3496
|
contents.PolicyTypeDescriptions = [];
|
|
3497
3497
|
}
|
|
3498
3498
|
if (output["PolicyTypeDescriptions"] !== undefined && output["PolicyTypeDescriptions"]["member"] !== undefined) {
|
|
3499
|
-
contents.PolicyTypeDescriptions = deserializeAws_queryPolicyTypeDescriptions(
|
|
3499
|
+
contents.PolicyTypeDescriptions = deserializeAws_queryPolicyTypeDescriptions(smithy_client_1.getArrayIfSingleItem(output["PolicyTypeDescriptions"]["member"]), context);
|
|
3500
3500
|
}
|
|
3501
3501
|
return contents;
|
|
3502
3502
|
};
|
|
@@ -3508,7 +3508,7 @@ const deserializeAws_queryDescribeTagsOutput = (output, context) => {
|
|
|
3508
3508
|
contents.TagDescriptions = [];
|
|
3509
3509
|
}
|
|
3510
3510
|
if (output["TagDescriptions"] !== undefined && output["TagDescriptions"]["member"] !== undefined) {
|
|
3511
|
-
contents.TagDescriptions = deserializeAws_queryTagDescriptions(
|
|
3511
|
+
contents.TagDescriptions = deserializeAws_queryTagDescriptions(smithy_client_1.getArrayIfSingleItem(output["TagDescriptions"]["member"]), context);
|
|
3512
3512
|
}
|
|
3513
3513
|
return contents;
|
|
3514
3514
|
};
|
|
@@ -3520,7 +3520,7 @@ const deserializeAws_queryDetachLoadBalancerFromSubnetsOutput = (output, context
|
|
|
3520
3520
|
contents.Subnets = [];
|
|
3521
3521
|
}
|
|
3522
3522
|
if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
3523
|
-
contents.Subnets = deserializeAws_querySubnets(
|
|
3523
|
+
contents.Subnets = deserializeAws_querySubnets(smithy_client_1.getArrayIfSingleItem(output["Subnets"]["member"]), context);
|
|
3524
3524
|
}
|
|
3525
3525
|
return contents;
|
|
3526
3526
|
};
|
|
@@ -3529,7 +3529,7 @@ const deserializeAws_queryDuplicateAccessPointNameException = (output, context)
|
|
|
3529
3529
|
Message: undefined,
|
|
3530
3530
|
};
|
|
3531
3531
|
if (output["Message"] !== undefined) {
|
|
3532
|
-
contents.Message =
|
|
3532
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3533
3533
|
}
|
|
3534
3534
|
return contents;
|
|
3535
3535
|
};
|
|
@@ -3538,7 +3538,7 @@ const deserializeAws_queryDuplicateListenerException = (output, context) => {
|
|
|
3538
3538
|
Message: undefined,
|
|
3539
3539
|
};
|
|
3540
3540
|
if (output["Message"] !== undefined) {
|
|
3541
|
-
contents.Message =
|
|
3541
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3542
3542
|
}
|
|
3543
3543
|
return contents;
|
|
3544
3544
|
};
|
|
@@ -3547,7 +3547,7 @@ const deserializeAws_queryDuplicatePolicyNameException = (output, context) => {
|
|
|
3547
3547
|
Message: undefined,
|
|
3548
3548
|
};
|
|
3549
3549
|
if (output["Message"] !== undefined) {
|
|
3550
|
-
contents.Message =
|
|
3550
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3551
3551
|
}
|
|
3552
3552
|
return contents;
|
|
3553
3553
|
};
|
|
@@ -3556,7 +3556,7 @@ const deserializeAws_queryDuplicateTagKeysException = (output, context) => {
|
|
|
3556
3556
|
Message: undefined,
|
|
3557
3557
|
};
|
|
3558
3558
|
if (output["Message"] !== undefined) {
|
|
3559
|
-
contents.Message =
|
|
3559
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3560
3560
|
}
|
|
3561
3561
|
return contents;
|
|
3562
3562
|
};
|
|
@@ -3569,19 +3569,19 @@ const deserializeAws_queryHealthCheck = (output, context) => {
|
|
|
3569
3569
|
HealthyThreshold: undefined,
|
|
3570
3570
|
};
|
|
3571
3571
|
if (output["Target"] !== undefined) {
|
|
3572
|
-
contents.Target =
|
|
3572
|
+
contents.Target = smithy_client_1.expectString(output["Target"]);
|
|
3573
3573
|
}
|
|
3574
3574
|
if (output["Interval"] !== undefined) {
|
|
3575
|
-
contents.Interval =
|
|
3575
|
+
contents.Interval = smithy_client_1.strictParseInt32(output["Interval"]);
|
|
3576
3576
|
}
|
|
3577
3577
|
if (output["Timeout"] !== undefined) {
|
|
3578
|
-
contents.Timeout =
|
|
3578
|
+
contents.Timeout = smithy_client_1.strictParseInt32(output["Timeout"]);
|
|
3579
3579
|
}
|
|
3580
3580
|
if (output["UnhealthyThreshold"] !== undefined) {
|
|
3581
|
-
contents.UnhealthyThreshold =
|
|
3581
|
+
contents.UnhealthyThreshold = smithy_client_1.strictParseInt32(output["UnhealthyThreshold"]);
|
|
3582
3582
|
}
|
|
3583
3583
|
if (output["HealthyThreshold"] !== undefined) {
|
|
3584
|
-
contents.HealthyThreshold =
|
|
3584
|
+
contents.HealthyThreshold = smithy_client_1.strictParseInt32(output["HealthyThreshold"]);
|
|
3585
3585
|
}
|
|
3586
3586
|
return contents;
|
|
3587
3587
|
};
|
|
@@ -3590,7 +3590,7 @@ const deserializeAws_queryInstance = (output, context) => {
|
|
|
3590
3590
|
InstanceId: undefined,
|
|
3591
3591
|
};
|
|
3592
3592
|
if (output["InstanceId"] !== undefined) {
|
|
3593
|
-
contents.InstanceId =
|
|
3593
|
+
contents.InstanceId = smithy_client_1.expectString(output["InstanceId"]);
|
|
3594
3594
|
}
|
|
3595
3595
|
return contents;
|
|
3596
3596
|
};
|
|
@@ -3612,16 +3612,16 @@ const deserializeAws_queryInstanceState = (output, context) => {
|
|
|
3612
3612
|
Description: undefined,
|
|
3613
3613
|
};
|
|
3614
3614
|
if (output["InstanceId"] !== undefined) {
|
|
3615
|
-
contents.InstanceId =
|
|
3615
|
+
contents.InstanceId = smithy_client_1.expectString(output["InstanceId"]);
|
|
3616
3616
|
}
|
|
3617
3617
|
if (output["State"] !== undefined) {
|
|
3618
|
-
contents.State =
|
|
3618
|
+
contents.State = smithy_client_1.expectString(output["State"]);
|
|
3619
3619
|
}
|
|
3620
3620
|
if (output["ReasonCode"] !== undefined) {
|
|
3621
|
-
contents.ReasonCode =
|
|
3621
|
+
contents.ReasonCode = smithy_client_1.expectString(output["ReasonCode"]);
|
|
3622
3622
|
}
|
|
3623
3623
|
if (output["Description"] !== undefined) {
|
|
3624
|
-
contents.Description =
|
|
3624
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
3625
3625
|
}
|
|
3626
3626
|
return contents;
|
|
3627
3627
|
};
|
|
@@ -3640,7 +3640,7 @@ const deserializeAws_queryInvalidConfigurationRequestException = (output, contex
|
|
|
3640
3640
|
Message: undefined,
|
|
3641
3641
|
};
|
|
3642
3642
|
if (output["Message"] !== undefined) {
|
|
3643
|
-
contents.Message =
|
|
3643
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3644
3644
|
}
|
|
3645
3645
|
return contents;
|
|
3646
3646
|
};
|
|
@@ -3649,7 +3649,7 @@ const deserializeAws_queryInvalidEndPointException = (output, context) => {
|
|
|
3649
3649
|
Message: undefined,
|
|
3650
3650
|
};
|
|
3651
3651
|
if (output["Message"] !== undefined) {
|
|
3652
|
-
contents.Message =
|
|
3652
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3653
3653
|
}
|
|
3654
3654
|
return contents;
|
|
3655
3655
|
};
|
|
@@ -3658,7 +3658,7 @@ const deserializeAws_queryInvalidSchemeException = (output, context) => {
|
|
|
3658
3658
|
Message: undefined,
|
|
3659
3659
|
};
|
|
3660
3660
|
if (output["Message"] !== undefined) {
|
|
3661
|
-
contents.Message =
|
|
3661
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3662
3662
|
}
|
|
3663
3663
|
return contents;
|
|
3664
3664
|
};
|
|
@@ -3667,7 +3667,7 @@ const deserializeAws_queryInvalidSecurityGroupException = (output, context) => {
|
|
|
3667
3667
|
Message: undefined,
|
|
3668
3668
|
};
|
|
3669
3669
|
if (output["Message"] !== undefined) {
|
|
3670
|
-
contents.Message =
|
|
3670
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3671
3671
|
}
|
|
3672
3672
|
return contents;
|
|
3673
3673
|
};
|
|
@@ -3676,7 +3676,7 @@ const deserializeAws_queryInvalidSubnetException = (output, context) => {
|
|
|
3676
3676
|
Message: undefined,
|
|
3677
3677
|
};
|
|
3678
3678
|
if (output["Message"] !== undefined) {
|
|
3679
|
-
contents.Message =
|
|
3679
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3680
3680
|
}
|
|
3681
3681
|
return contents;
|
|
3682
3682
|
};
|
|
@@ -3696,10 +3696,10 @@ const deserializeAws_queryLBCookieStickinessPolicy = (output, context) => {
|
|
|
3696
3696
|
CookieExpirationPeriod: undefined,
|
|
3697
3697
|
};
|
|
3698
3698
|
if (output["PolicyName"] !== undefined) {
|
|
3699
|
-
contents.PolicyName =
|
|
3699
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
3700
3700
|
}
|
|
3701
3701
|
if (output["CookieExpirationPeriod"] !== undefined) {
|
|
3702
|
-
contents.CookieExpirationPeriod =
|
|
3702
|
+
contents.CookieExpirationPeriod = smithy_client_1.strictParseLong(output["CookieExpirationPeriod"]);
|
|
3703
3703
|
}
|
|
3704
3704
|
return contents;
|
|
3705
3705
|
};
|
|
@@ -3709,10 +3709,10 @@ const deserializeAws_queryLimit = (output, context) => {
|
|
|
3709
3709
|
Max: undefined,
|
|
3710
3710
|
};
|
|
3711
3711
|
if (output["Name"] !== undefined) {
|
|
3712
|
-
contents.Name =
|
|
3712
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
3713
3713
|
}
|
|
3714
3714
|
if (output["Max"] !== undefined) {
|
|
3715
|
-
contents.Max =
|
|
3715
|
+
contents.Max = smithy_client_1.expectString(output["Max"]);
|
|
3716
3716
|
}
|
|
3717
3717
|
return contents;
|
|
3718
3718
|
};
|
|
@@ -3735,19 +3735,19 @@ const deserializeAws_queryListener = (output, context) => {
|
|
|
3735
3735
|
SSLCertificateId: undefined,
|
|
3736
3736
|
};
|
|
3737
3737
|
if (output["Protocol"] !== undefined) {
|
|
3738
|
-
contents.Protocol =
|
|
3738
|
+
contents.Protocol = smithy_client_1.expectString(output["Protocol"]);
|
|
3739
3739
|
}
|
|
3740
3740
|
if (output["LoadBalancerPort"] !== undefined) {
|
|
3741
|
-
contents.LoadBalancerPort =
|
|
3741
|
+
contents.LoadBalancerPort = smithy_client_1.strictParseInt32(output["LoadBalancerPort"]);
|
|
3742
3742
|
}
|
|
3743
3743
|
if (output["InstanceProtocol"] !== undefined) {
|
|
3744
|
-
contents.InstanceProtocol =
|
|
3744
|
+
contents.InstanceProtocol = smithy_client_1.expectString(output["InstanceProtocol"]);
|
|
3745
3745
|
}
|
|
3746
3746
|
if (output["InstancePort"] !== undefined) {
|
|
3747
|
-
contents.InstancePort =
|
|
3747
|
+
contents.InstancePort = smithy_client_1.strictParseInt32(output["InstancePort"]);
|
|
3748
3748
|
}
|
|
3749
3749
|
if (output["SSLCertificateId"] !== undefined) {
|
|
3750
|
-
contents.SSLCertificateId =
|
|
3750
|
+
contents.SSLCertificateId = smithy_client_1.expectString(output["SSLCertificateId"]);
|
|
3751
3751
|
}
|
|
3752
3752
|
return contents;
|
|
3753
3753
|
};
|
|
@@ -3763,7 +3763,7 @@ const deserializeAws_queryListenerDescription = (output, context) => {
|
|
|
3763
3763
|
contents.PolicyNames = [];
|
|
3764
3764
|
}
|
|
3765
3765
|
if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
3766
|
-
contents.PolicyNames = deserializeAws_queryPolicyNames(
|
|
3766
|
+
contents.PolicyNames = deserializeAws_queryPolicyNames(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
|
|
3767
3767
|
}
|
|
3768
3768
|
return contents;
|
|
3769
3769
|
};
|
|
@@ -3782,7 +3782,7 @@ const deserializeAws_queryListenerNotFoundException = (output, context) => {
|
|
|
3782
3782
|
Message: undefined,
|
|
3783
3783
|
};
|
|
3784
3784
|
if (output["Message"] !== undefined) {
|
|
3785
|
-
contents.Message =
|
|
3785
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3786
3786
|
}
|
|
3787
3787
|
return contents;
|
|
3788
3788
|
};
|
|
@@ -3791,7 +3791,7 @@ const deserializeAws_queryLoadBalancerAttributeNotFoundException = (output, cont
|
|
|
3791
3791
|
Message: undefined,
|
|
3792
3792
|
};
|
|
3793
3793
|
if (output["Message"] !== undefined) {
|
|
3794
|
-
contents.Message =
|
|
3794
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3795
3795
|
}
|
|
3796
3796
|
return contents;
|
|
3797
3797
|
};
|
|
@@ -3819,7 +3819,7 @@ const deserializeAws_queryLoadBalancerAttributes = (output, context) => {
|
|
|
3819
3819
|
contents.AdditionalAttributes = [];
|
|
3820
3820
|
}
|
|
3821
3821
|
if (output["AdditionalAttributes"] !== undefined && output["AdditionalAttributes"]["member"] !== undefined) {
|
|
3822
|
-
contents.AdditionalAttributes = deserializeAws_queryAdditionalAttributes(
|
|
3822
|
+
contents.AdditionalAttributes = deserializeAws_queryAdditionalAttributes(smithy_client_1.getArrayIfSingleItem(output["AdditionalAttributes"]["member"]), context);
|
|
3823
3823
|
}
|
|
3824
3824
|
return contents;
|
|
3825
3825
|
};
|
|
@@ -3843,22 +3843,22 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3843
3843
|
Scheme: undefined,
|
|
3844
3844
|
};
|
|
3845
3845
|
if (output["LoadBalancerName"] !== undefined) {
|
|
3846
|
-
contents.LoadBalancerName =
|
|
3846
|
+
contents.LoadBalancerName = smithy_client_1.expectString(output["LoadBalancerName"]);
|
|
3847
3847
|
}
|
|
3848
3848
|
if (output["DNSName"] !== undefined) {
|
|
3849
|
-
contents.DNSName =
|
|
3849
|
+
contents.DNSName = smithy_client_1.expectString(output["DNSName"]);
|
|
3850
3850
|
}
|
|
3851
3851
|
if (output["CanonicalHostedZoneName"] !== undefined) {
|
|
3852
|
-
contents.CanonicalHostedZoneName =
|
|
3852
|
+
contents.CanonicalHostedZoneName = smithy_client_1.expectString(output["CanonicalHostedZoneName"]);
|
|
3853
3853
|
}
|
|
3854
3854
|
if (output["CanonicalHostedZoneNameID"] !== undefined) {
|
|
3855
|
-
contents.CanonicalHostedZoneNameID =
|
|
3855
|
+
contents.CanonicalHostedZoneNameID = smithy_client_1.expectString(output["CanonicalHostedZoneNameID"]);
|
|
3856
3856
|
}
|
|
3857
3857
|
if (output.ListenerDescriptions === "") {
|
|
3858
3858
|
contents.ListenerDescriptions = [];
|
|
3859
3859
|
}
|
|
3860
3860
|
if (output["ListenerDescriptions"] !== undefined && output["ListenerDescriptions"]["member"] !== undefined) {
|
|
3861
|
-
contents.ListenerDescriptions = deserializeAws_queryListenerDescriptions(
|
|
3861
|
+
contents.ListenerDescriptions = deserializeAws_queryListenerDescriptions(smithy_client_1.getArrayIfSingleItem(output["ListenerDescriptions"]["member"]), context);
|
|
3862
3862
|
}
|
|
3863
3863
|
if (output["Policies"] !== undefined) {
|
|
3864
3864
|
contents.Policies = deserializeAws_queryPolicies(output["Policies"], context);
|
|
@@ -3868,28 +3868,28 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3868
3868
|
}
|
|
3869
3869
|
if (output["BackendServerDescriptions"] !== undefined &&
|
|
3870
3870
|
output["BackendServerDescriptions"]["member"] !== undefined) {
|
|
3871
|
-
contents.BackendServerDescriptions = deserializeAws_queryBackendServerDescriptions(
|
|
3871
|
+
contents.BackendServerDescriptions = deserializeAws_queryBackendServerDescriptions(smithy_client_1.getArrayIfSingleItem(output["BackendServerDescriptions"]["member"]), context);
|
|
3872
3872
|
}
|
|
3873
3873
|
if (output.AvailabilityZones === "") {
|
|
3874
3874
|
contents.AvailabilityZones = [];
|
|
3875
3875
|
}
|
|
3876
3876
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
3877
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
3877
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
3878
3878
|
}
|
|
3879
3879
|
if (output.Subnets === "") {
|
|
3880
3880
|
contents.Subnets = [];
|
|
3881
3881
|
}
|
|
3882
3882
|
if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
3883
|
-
contents.Subnets = deserializeAws_querySubnets(
|
|
3883
|
+
contents.Subnets = deserializeAws_querySubnets(smithy_client_1.getArrayIfSingleItem(output["Subnets"]["member"]), context);
|
|
3884
3884
|
}
|
|
3885
3885
|
if (output["VPCId"] !== undefined) {
|
|
3886
|
-
contents.VPCId =
|
|
3886
|
+
contents.VPCId = smithy_client_1.expectString(output["VPCId"]);
|
|
3887
3887
|
}
|
|
3888
3888
|
if (output.Instances === "") {
|
|
3889
3889
|
contents.Instances = [];
|
|
3890
3890
|
}
|
|
3891
3891
|
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
3892
|
-
contents.Instances = deserializeAws_queryInstances(
|
|
3892
|
+
contents.Instances = deserializeAws_queryInstances(smithy_client_1.getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
3893
3893
|
}
|
|
3894
3894
|
if (output["HealthCheck"] !== undefined) {
|
|
3895
3895
|
contents.HealthCheck = deserializeAws_queryHealthCheck(output["HealthCheck"], context);
|
|
@@ -3901,13 +3901,13 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3901
3901
|
contents.SecurityGroups = [];
|
|
3902
3902
|
}
|
|
3903
3903
|
if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
3904
|
-
contents.SecurityGroups = deserializeAws_querySecurityGroups(
|
|
3904
|
+
contents.SecurityGroups = deserializeAws_querySecurityGroups(smithy_client_1.getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
|
|
3905
3905
|
}
|
|
3906
3906
|
if (output["CreatedTime"] !== undefined) {
|
|
3907
|
-
contents.CreatedTime =
|
|
3907
|
+
contents.CreatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTime"]));
|
|
3908
3908
|
}
|
|
3909
3909
|
if (output["Scheme"] !== undefined) {
|
|
3910
|
-
contents.Scheme =
|
|
3910
|
+
contents.Scheme = smithy_client_1.expectString(output["Scheme"]);
|
|
3911
3911
|
}
|
|
3912
3912
|
return contents;
|
|
3913
3913
|
};
|
|
@@ -3927,7 +3927,7 @@ const deserializeAws_queryModifyLoadBalancerAttributesOutput = (output, context)
|
|
|
3927
3927
|
LoadBalancerAttributes: undefined,
|
|
3928
3928
|
};
|
|
3929
3929
|
if (output["LoadBalancerName"] !== undefined) {
|
|
3930
|
-
contents.LoadBalancerName =
|
|
3930
|
+
contents.LoadBalancerName = smithy_client_1.expectString(output["LoadBalancerName"]);
|
|
3931
3931
|
}
|
|
3932
3932
|
if (output["LoadBalancerAttributes"] !== undefined) {
|
|
3933
3933
|
contents.LoadBalancerAttributes = deserializeAws_queryLoadBalancerAttributes(output["LoadBalancerAttributes"], context);
|
|
@@ -3939,7 +3939,7 @@ const deserializeAws_queryOperationNotPermittedException = (output, context) =>
|
|
|
3939
3939
|
Message: undefined,
|
|
3940
3940
|
};
|
|
3941
3941
|
if (output["Message"] !== undefined) {
|
|
3942
|
-
contents.Message =
|
|
3942
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3943
3943
|
}
|
|
3944
3944
|
return contents;
|
|
3945
3945
|
};
|
|
@@ -3954,20 +3954,20 @@ const deserializeAws_queryPolicies = (output, context) => {
|
|
|
3954
3954
|
}
|
|
3955
3955
|
if (output["AppCookieStickinessPolicies"] !== undefined &&
|
|
3956
3956
|
output["AppCookieStickinessPolicies"]["member"] !== undefined) {
|
|
3957
|
-
contents.AppCookieStickinessPolicies = deserializeAws_queryAppCookieStickinessPolicies(
|
|
3957
|
+
contents.AppCookieStickinessPolicies = deserializeAws_queryAppCookieStickinessPolicies(smithy_client_1.getArrayIfSingleItem(output["AppCookieStickinessPolicies"]["member"]), context);
|
|
3958
3958
|
}
|
|
3959
3959
|
if (output.LBCookieStickinessPolicies === "") {
|
|
3960
3960
|
contents.LBCookieStickinessPolicies = [];
|
|
3961
3961
|
}
|
|
3962
3962
|
if (output["LBCookieStickinessPolicies"] !== undefined &&
|
|
3963
3963
|
output["LBCookieStickinessPolicies"]["member"] !== undefined) {
|
|
3964
|
-
contents.LBCookieStickinessPolicies = deserializeAws_queryLBCookieStickinessPolicies(
|
|
3964
|
+
contents.LBCookieStickinessPolicies = deserializeAws_queryLBCookieStickinessPolicies(smithy_client_1.getArrayIfSingleItem(output["LBCookieStickinessPolicies"]["member"]), context);
|
|
3965
3965
|
}
|
|
3966
3966
|
if (output.OtherPolicies === "") {
|
|
3967
3967
|
contents.OtherPolicies = [];
|
|
3968
3968
|
}
|
|
3969
3969
|
if (output["OtherPolicies"] !== undefined && output["OtherPolicies"]["member"] !== undefined) {
|
|
3970
|
-
contents.OtherPolicies = deserializeAws_queryPolicyNames(
|
|
3970
|
+
contents.OtherPolicies = deserializeAws_queryPolicyNames(smithy_client_1.getArrayIfSingleItem(output["OtherPolicies"]["member"]), context);
|
|
3971
3971
|
}
|
|
3972
3972
|
return contents;
|
|
3973
3973
|
};
|
|
@@ -3977,10 +3977,10 @@ const deserializeAws_queryPolicyAttributeDescription = (output, context) => {
|
|
|
3977
3977
|
AttributeValue: undefined,
|
|
3978
3978
|
};
|
|
3979
3979
|
if (output["AttributeName"] !== undefined) {
|
|
3980
|
-
contents.AttributeName =
|
|
3980
|
+
contents.AttributeName = smithy_client_1.expectString(output["AttributeName"]);
|
|
3981
3981
|
}
|
|
3982
3982
|
if (output["AttributeValue"] !== undefined) {
|
|
3983
|
-
contents.AttributeValue =
|
|
3983
|
+
contents.AttributeValue = smithy_client_1.expectString(output["AttributeValue"]);
|
|
3984
3984
|
}
|
|
3985
3985
|
return contents;
|
|
3986
3986
|
};
|
|
@@ -4003,19 +4003,19 @@ const deserializeAws_queryPolicyAttributeTypeDescription = (output, context) =>
|
|
|
4003
4003
|
Cardinality: undefined,
|
|
4004
4004
|
};
|
|
4005
4005
|
if (output["AttributeName"] !== undefined) {
|
|
4006
|
-
contents.AttributeName =
|
|
4006
|
+
contents.AttributeName = smithy_client_1.expectString(output["AttributeName"]);
|
|
4007
4007
|
}
|
|
4008
4008
|
if (output["AttributeType"] !== undefined) {
|
|
4009
|
-
contents.AttributeType =
|
|
4009
|
+
contents.AttributeType = smithy_client_1.expectString(output["AttributeType"]);
|
|
4010
4010
|
}
|
|
4011
4011
|
if (output["Description"] !== undefined) {
|
|
4012
|
-
contents.Description =
|
|
4012
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
4013
4013
|
}
|
|
4014
4014
|
if (output["DefaultValue"] !== undefined) {
|
|
4015
|
-
contents.DefaultValue =
|
|
4015
|
+
contents.DefaultValue = smithy_client_1.expectString(output["DefaultValue"]);
|
|
4016
4016
|
}
|
|
4017
4017
|
if (output["Cardinality"] !== undefined) {
|
|
4018
|
-
contents.Cardinality =
|
|
4018
|
+
contents.Cardinality = smithy_client_1.expectString(output["Cardinality"]);
|
|
4019
4019
|
}
|
|
4020
4020
|
return contents;
|
|
4021
4021
|
};
|
|
@@ -4036,17 +4036,17 @@ const deserializeAws_queryPolicyDescription = (output, context) => {
|
|
|
4036
4036
|
PolicyAttributeDescriptions: undefined,
|
|
4037
4037
|
};
|
|
4038
4038
|
if (output["PolicyName"] !== undefined) {
|
|
4039
|
-
contents.PolicyName =
|
|
4039
|
+
contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
|
|
4040
4040
|
}
|
|
4041
4041
|
if (output["PolicyTypeName"] !== undefined) {
|
|
4042
|
-
contents.PolicyTypeName =
|
|
4042
|
+
contents.PolicyTypeName = smithy_client_1.expectString(output["PolicyTypeName"]);
|
|
4043
4043
|
}
|
|
4044
4044
|
if (output.PolicyAttributeDescriptions === "") {
|
|
4045
4045
|
contents.PolicyAttributeDescriptions = [];
|
|
4046
4046
|
}
|
|
4047
4047
|
if (output["PolicyAttributeDescriptions"] !== undefined &&
|
|
4048
4048
|
output["PolicyAttributeDescriptions"]["member"] !== undefined) {
|
|
4049
|
-
contents.PolicyAttributeDescriptions = deserializeAws_queryPolicyAttributeDescriptions(
|
|
4049
|
+
contents.PolicyAttributeDescriptions = deserializeAws_queryPolicyAttributeDescriptions(smithy_client_1.getArrayIfSingleItem(output["PolicyAttributeDescriptions"]["member"]), context);
|
|
4050
4050
|
}
|
|
4051
4051
|
return contents;
|
|
4052
4052
|
};
|
|
@@ -4067,7 +4067,7 @@ const deserializeAws_queryPolicyNames = (output, context) => {
|
|
|
4067
4067
|
if (entry === null) {
|
|
4068
4068
|
return null;
|
|
4069
4069
|
}
|
|
4070
|
-
return
|
|
4070
|
+
return smithy_client_1.expectString(entry);
|
|
4071
4071
|
});
|
|
4072
4072
|
};
|
|
4073
4073
|
const deserializeAws_queryPolicyNotFoundException = (output, context) => {
|
|
@@ -4075,7 +4075,7 @@ const deserializeAws_queryPolicyNotFoundException = (output, context) => {
|
|
|
4075
4075
|
Message: undefined,
|
|
4076
4076
|
};
|
|
4077
4077
|
if (output["Message"] !== undefined) {
|
|
4078
|
-
contents.Message =
|
|
4078
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4079
4079
|
}
|
|
4080
4080
|
return contents;
|
|
4081
4081
|
};
|
|
@@ -4086,17 +4086,17 @@ const deserializeAws_queryPolicyTypeDescription = (output, context) => {
|
|
|
4086
4086
|
PolicyAttributeTypeDescriptions: undefined,
|
|
4087
4087
|
};
|
|
4088
4088
|
if (output["PolicyTypeName"] !== undefined) {
|
|
4089
|
-
contents.PolicyTypeName =
|
|
4089
|
+
contents.PolicyTypeName = smithy_client_1.expectString(output["PolicyTypeName"]);
|
|
4090
4090
|
}
|
|
4091
4091
|
if (output["Description"] !== undefined) {
|
|
4092
|
-
contents.Description =
|
|
4092
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
4093
4093
|
}
|
|
4094
4094
|
if (output.PolicyAttributeTypeDescriptions === "") {
|
|
4095
4095
|
contents.PolicyAttributeTypeDescriptions = [];
|
|
4096
4096
|
}
|
|
4097
4097
|
if (output["PolicyAttributeTypeDescriptions"] !== undefined &&
|
|
4098
4098
|
output["PolicyAttributeTypeDescriptions"]["member"] !== undefined) {
|
|
4099
|
-
contents.PolicyAttributeTypeDescriptions = deserializeAws_queryPolicyAttributeTypeDescriptions(
|
|
4099
|
+
contents.PolicyAttributeTypeDescriptions = deserializeAws_queryPolicyAttributeTypeDescriptions(smithy_client_1.getArrayIfSingleItem(output["PolicyAttributeTypeDescriptions"]["member"]), context);
|
|
4100
4100
|
}
|
|
4101
4101
|
return contents;
|
|
4102
4102
|
};
|
|
@@ -4115,7 +4115,7 @@ const deserializeAws_queryPolicyTypeNotFoundException = (output, context) => {
|
|
|
4115
4115
|
Message: undefined,
|
|
4116
4116
|
};
|
|
4117
4117
|
if (output["Message"] !== undefined) {
|
|
4118
|
-
contents.Message =
|
|
4118
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4119
4119
|
}
|
|
4120
4120
|
return contents;
|
|
4121
4121
|
};
|
|
@@ -4127,7 +4127,7 @@ const deserializeAws_queryRegisterEndPointsOutput = (output, context) => {
|
|
|
4127
4127
|
contents.Instances = [];
|
|
4128
4128
|
}
|
|
4129
4129
|
if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
4130
|
-
contents.Instances = deserializeAws_queryInstances(
|
|
4130
|
+
contents.Instances = deserializeAws_queryInstances(smithy_client_1.getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
4131
4131
|
}
|
|
4132
4132
|
return contents;
|
|
4133
4133
|
};
|
|
@@ -4139,7 +4139,7 @@ const deserializeAws_queryRemoveAvailabilityZonesOutput = (output, context) => {
|
|
|
4139
4139
|
contents.AvailabilityZones = [];
|
|
4140
4140
|
}
|
|
4141
4141
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
4142
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
4142
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
4143
4143
|
}
|
|
4144
4144
|
return contents;
|
|
4145
4145
|
};
|
|
@@ -4154,7 +4154,7 @@ const deserializeAws_querySecurityGroups = (output, context) => {
|
|
|
4154
4154
|
if (entry === null) {
|
|
4155
4155
|
return null;
|
|
4156
4156
|
}
|
|
4157
|
-
return
|
|
4157
|
+
return smithy_client_1.expectString(entry);
|
|
4158
4158
|
});
|
|
4159
4159
|
};
|
|
4160
4160
|
const deserializeAws_querySetLoadBalancerListenerSSLCertificateOutput = (output, context) => {
|
|
@@ -4175,10 +4175,10 @@ const deserializeAws_querySourceSecurityGroup = (output, context) => {
|
|
|
4175
4175
|
GroupName: undefined,
|
|
4176
4176
|
};
|
|
4177
4177
|
if (output["OwnerAlias"] !== undefined) {
|
|
4178
|
-
contents.OwnerAlias =
|
|
4178
|
+
contents.OwnerAlias = smithy_client_1.expectString(output["OwnerAlias"]);
|
|
4179
4179
|
}
|
|
4180
4180
|
if (output["GroupName"] !== undefined) {
|
|
4181
|
-
contents.GroupName =
|
|
4181
|
+
contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
|
|
4182
4182
|
}
|
|
4183
4183
|
return contents;
|
|
4184
4184
|
};
|
|
@@ -4187,7 +4187,7 @@ const deserializeAws_querySubnetNotFoundException = (output, context) => {
|
|
|
4187
4187
|
Message: undefined,
|
|
4188
4188
|
};
|
|
4189
4189
|
if (output["Message"] !== undefined) {
|
|
4190
|
-
contents.Message =
|
|
4190
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4191
4191
|
}
|
|
4192
4192
|
return contents;
|
|
4193
4193
|
};
|
|
@@ -4198,7 +4198,7 @@ const deserializeAws_querySubnets = (output, context) => {
|
|
|
4198
4198
|
if (entry === null) {
|
|
4199
4199
|
return null;
|
|
4200
4200
|
}
|
|
4201
|
-
return
|
|
4201
|
+
return smithy_client_1.expectString(entry);
|
|
4202
4202
|
});
|
|
4203
4203
|
};
|
|
4204
4204
|
const deserializeAws_queryTag = (output, context) => {
|
|
@@ -4207,10 +4207,10 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
4207
4207
|
Value: undefined,
|
|
4208
4208
|
};
|
|
4209
4209
|
if (output["Key"] !== undefined) {
|
|
4210
|
-
contents.Key =
|
|
4210
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
4211
4211
|
}
|
|
4212
4212
|
if (output["Value"] !== undefined) {
|
|
4213
|
-
contents.Value =
|
|
4213
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
4214
4214
|
}
|
|
4215
4215
|
return contents;
|
|
4216
4216
|
};
|
|
@@ -4220,13 +4220,13 @@ const deserializeAws_queryTagDescription = (output, context) => {
|
|
|
4220
4220
|
Tags: undefined,
|
|
4221
4221
|
};
|
|
4222
4222
|
if (output["LoadBalancerName"] !== undefined) {
|
|
4223
|
-
contents.LoadBalancerName =
|
|
4223
|
+
contents.LoadBalancerName = smithy_client_1.expectString(output["LoadBalancerName"]);
|
|
4224
4224
|
}
|
|
4225
4225
|
if (output.Tags === "") {
|
|
4226
4226
|
contents.Tags = [];
|
|
4227
4227
|
}
|
|
4228
4228
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
4229
|
-
contents.Tags = deserializeAws_queryTagList(
|
|
4229
|
+
contents.Tags = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
4230
4230
|
}
|
|
4231
4231
|
return contents;
|
|
4232
4232
|
};
|
|
@@ -4255,7 +4255,7 @@ const deserializeAws_queryTooManyAccessPointsException = (output, context) => {
|
|
|
4255
4255
|
Message: undefined,
|
|
4256
4256
|
};
|
|
4257
4257
|
if (output["Message"] !== undefined) {
|
|
4258
|
-
contents.Message =
|
|
4258
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4259
4259
|
}
|
|
4260
4260
|
return contents;
|
|
4261
4261
|
};
|
|
@@ -4264,7 +4264,7 @@ const deserializeAws_queryTooManyPoliciesException = (output, context) => {
|
|
|
4264
4264
|
Message: undefined,
|
|
4265
4265
|
};
|
|
4266
4266
|
if (output["Message"] !== undefined) {
|
|
4267
|
-
contents.Message =
|
|
4267
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4268
4268
|
}
|
|
4269
4269
|
return contents;
|
|
4270
4270
|
};
|
|
@@ -4273,7 +4273,7 @@ const deserializeAws_queryTooManyTagsException = (output, context) => {
|
|
|
4273
4273
|
Message: undefined,
|
|
4274
4274
|
};
|
|
4275
4275
|
if (output["Message"] !== undefined) {
|
|
4276
|
-
contents.Message =
|
|
4276
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4277
4277
|
}
|
|
4278
4278
|
return contents;
|
|
4279
4279
|
};
|
|
@@ -4282,7 +4282,7 @@ const deserializeAws_queryUnsupportedProtocolException = (output, context) => {
|
|
|
4282
4282
|
Message: undefined,
|
|
4283
4283
|
};
|
|
4284
4284
|
if (output["Message"] !== undefined) {
|
|
4285
|
-
contents.Message =
|
|
4285
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4286
4286
|
}
|
|
4287
4287
|
return contents;
|
|
4288
4288
|
};
|
|
@@ -4324,12 +4324,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
4324
4324
|
};
|
|
4325
4325
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4326
4326
|
if (encoded.length) {
|
|
4327
|
-
const parsedObj =
|
|
4327
|
+
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
4328
4328
|
attributeNamePrefix: "",
|
|
4329
4329
|
ignoreAttributes: false,
|
|
4330
4330
|
parseNodeValue: false,
|
|
4331
4331
|
trimValues: false,
|
|
4332
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
4332
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
4333
4333
|
});
|
|
4334
4334
|
const textNodeName = "#text";
|
|
4335
4335
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -4338,12 +4338,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
4338
4338
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
4339
4339
|
delete parsedObjToReturn[textNodeName];
|
|
4340
4340
|
}
|
|
4341
|
-
return
|
|
4341
|
+
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
4342
4342
|
}
|
|
4343
4343
|
return {};
|
|
4344
4344
|
});
|
|
4345
4345
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
4346
|
-
.map(([key, value]) =>
|
|
4346
|
+
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
4347
4347
|
.join("&");
|
|
4348
4348
|
const loadQueryErrorCode = (output, data) => {
|
|
4349
4349
|
if (data.Error.Code !== undefined) {
|