@aws-sdk/client-cloudformation 3.200.0 → 3.202.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 +22 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_query.js +148 -11
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/dist-es/protocols/Aws_query.js +141 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** aws-query protocol, distinguish explicit empty list ([#4003](https://github.com/aws/aws-sdk-js-v3/issues/4003)) ([8e10769](https://github.com/aws/aws-sdk-js-v3/commit/8e10769b6146f93c0674686fa547290292714917))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @aws-sdk/client-cloudformation
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "cloudformation",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -3397,6 +3397,9 @@ const serializeAws_queryBatchDescribeTypeConfigurationsInput = (input, context)
|
|
|
3397
3397
|
const entries = {};
|
|
3398
3398
|
if (input.TypeConfigurationIdentifiers != null) {
|
|
3399
3399
|
const memberEntries = serializeAws_queryTypeConfigurationIdentifiers(input.TypeConfigurationIdentifiers, context);
|
|
3400
|
+
if (input.TypeConfigurationIdentifiers?.length === 0) {
|
|
3401
|
+
entries.TypeConfigurationIdentifiers = [];
|
|
3402
|
+
}
|
|
3400
3403
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3401
3404
|
const loc = `TypeConfigurationIdentifiers.${key}`;
|
|
3402
3405
|
entries[loc] = value;
|
|
@@ -3436,6 +3439,9 @@ const serializeAws_queryContinueUpdateRollbackInput = (input, context) => {
|
|
|
3436
3439
|
}
|
|
3437
3440
|
if (input.ResourcesToSkip != null) {
|
|
3438
3441
|
const memberEntries = serializeAws_queryResourcesToSkip(input.ResourcesToSkip, context);
|
|
3442
|
+
if (input.ResourcesToSkip?.length === 0) {
|
|
3443
|
+
entries.ResourcesToSkip = [];
|
|
3444
|
+
}
|
|
3439
3445
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3440
3446
|
const loc = `ResourcesToSkip.${key}`;
|
|
3441
3447
|
entries[loc] = value;
|
|
@@ -3462,6 +3468,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3462
3468
|
}
|
|
3463
3469
|
if (input.Parameters != null) {
|
|
3464
3470
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3471
|
+
if (input.Parameters?.length === 0) {
|
|
3472
|
+
entries.Parameters = [];
|
|
3473
|
+
}
|
|
3465
3474
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3466
3475
|
const loc = `Parameters.${key}`;
|
|
3467
3476
|
entries[loc] = value;
|
|
@@ -3469,6 +3478,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3469
3478
|
}
|
|
3470
3479
|
if (input.Capabilities != null) {
|
|
3471
3480
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3481
|
+
if (input.Capabilities?.length === 0) {
|
|
3482
|
+
entries.Capabilities = [];
|
|
3483
|
+
}
|
|
3472
3484
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3473
3485
|
const loc = `Capabilities.${key}`;
|
|
3474
3486
|
entries[loc] = value;
|
|
@@ -3476,6 +3488,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3476
3488
|
}
|
|
3477
3489
|
if (input.ResourceTypes != null) {
|
|
3478
3490
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
3491
|
+
if (input.ResourceTypes?.length === 0) {
|
|
3492
|
+
entries.ResourceTypes = [];
|
|
3493
|
+
}
|
|
3479
3494
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3480
3495
|
const loc = `ResourceTypes.${key}`;
|
|
3481
3496
|
entries[loc] = value;
|
|
@@ -3493,6 +3508,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3493
3508
|
}
|
|
3494
3509
|
if (input.NotificationARNs != null) {
|
|
3495
3510
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
3511
|
+
if (input.NotificationARNs?.length === 0) {
|
|
3512
|
+
entries.NotificationARNs = [];
|
|
3513
|
+
}
|
|
3496
3514
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3497
3515
|
const loc = `NotificationARNs.${key}`;
|
|
3498
3516
|
entries[loc] = value;
|
|
@@ -3500,6 +3518,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3500
3518
|
}
|
|
3501
3519
|
if (input.Tags != null) {
|
|
3502
3520
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3521
|
+
if (input.Tags?.length === 0) {
|
|
3522
|
+
entries.Tags = [];
|
|
3523
|
+
}
|
|
3503
3524
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3504
3525
|
const loc = `Tags.${key}`;
|
|
3505
3526
|
entries[loc] = value;
|
|
@@ -3519,6 +3540,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3519
3540
|
}
|
|
3520
3541
|
if (input.ResourcesToImport != null) {
|
|
3521
3542
|
const memberEntries = serializeAws_queryResourcesToImport(input.ResourcesToImport, context);
|
|
3543
|
+
if (input.ResourcesToImport?.length === 0) {
|
|
3544
|
+
entries.ResourcesToImport = [];
|
|
3545
|
+
}
|
|
3522
3546
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3523
3547
|
const loc = `ResourcesToImport.${key}`;
|
|
3524
3548
|
entries[loc] = value;
|
|
@@ -3542,6 +3566,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3542
3566
|
}
|
|
3543
3567
|
if (input.Parameters != null) {
|
|
3544
3568
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3569
|
+
if (input.Parameters?.length === 0) {
|
|
3570
|
+
entries.Parameters = [];
|
|
3571
|
+
}
|
|
3545
3572
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3546
3573
|
const loc = `Parameters.${key}`;
|
|
3547
3574
|
entries[loc] = value;
|
|
@@ -3562,6 +3589,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3562
3589
|
}
|
|
3563
3590
|
if (input.NotificationARNs != null) {
|
|
3564
3591
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
3592
|
+
if (input.NotificationARNs?.length === 0) {
|
|
3593
|
+
entries.NotificationARNs = [];
|
|
3594
|
+
}
|
|
3565
3595
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3566
3596
|
const loc = `NotificationARNs.${key}`;
|
|
3567
3597
|
entries[loc] = value;
|
|
@@ -3569,6 +3599,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3569
3599
|
}
|
|
3570
3600
|
if (input.Capabilities != null) {
|
|
3571
3601
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3602
|
+
if (input.Capabilities?.length === 0) {
|
|
3603
|
+
entries.Capabilities = [];
|
|
3604
|
+
}
|
|
3572
3605
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3573
3606
|
const loc = `Capabilities.${key}`;
|
|
3574
3607
|
entries[loc] = value;
|
|
@@ -3576,6 +3609,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3576
3609
|
}
|
|
3577
3610
|
if (input.ResourceTypes != null) {
|
|
3578
3611
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
3612
|
+
if (input.ResourceTypes?.length === 0) {
|
|
3613
|
+
entries.ResourceTypes = [];
|
|
3614
|
+
}
|
|
3579
3615
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3580
3616
|
const loc = `ResourceTypes.${key}`;
|
|
3581
3617
|
entries[loc] = value;
|
|
@@ -3595,6 +3631,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3595
3631
|
}
|
|
3596
3632
|
if (input.Tags != null) {
|
|
3597
3633
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3634
|
+
if (input.Tags?.length === 0) {
|
|
3635
|
+
entries.Tags = [];
|
|
3636
|
+
}
|
|
3598
3637
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3599
3638
|
const loc = `Tags.${key}`;
|
|
3600
3639
|
entries[loc] = value;
|
|
@@ -3615,6 +3654,9 @@ const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
|
3615
3654
|
}
|
|
3616
3655
|
if (input.Accounts != null) {
|
|
3617
3656
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
3657
|
+
if (input.Accounts?.length === 0) {
|
|
3658
|
+
entries.Accounts = [];
|
|
3659
|
+
}
|
|
3618
3660
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3619
3661
|
const loc = `Accounts.${key}`;
|
|
3620
3662
|
entries[loc] = value;
|
|
@@ -3629,6 +3671,9 @@ const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
|
3629
3671
|
}
|
|
3630
3672
|
if (input.Regions != null) {
|
|
3631
3673
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
3674
|
+
if (input.Regions?.length === 0) {
|
|
3675
|
+
entries.Regions = [];
|
|
3676
|
+
}
|
|
3632
3677
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3633
3678
|
const loc = `Regions.${key}`;
|
|
3634
3679
|
entries[loc] = value;
|
|
@@ -3636,6 +3681,9 @@ const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
|
3636
3681
|
}
|
|
3637
3682
|
if (input.ParameterOverrides != null) {
|
|
3638
3683
|
const memberEntries = serializeAws_queryParameters(input.ParameterOverrides, context);
|
|
3684
|
+
if (input.ParameterOverrides?.length === 0) {
|
|
3685
|
+
entries.ParameterOverrides = [];
|
|
3686
|
+
}
|
|
3639
3687
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3640
3688
|
const loc = `ParameterOverrides.${key}`;
|
|
3641
3689
|
entries[loc] = value;
|
|
@@ -3678,6 +3726,9 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
|
3678
3726
|
}
|
|
3679
3727
|
if (input.Parameters != null) {
|
|
3680
3728
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3729
|
+
if (input.Parameters?.length === 0) {
|
|
3730
|
+
entries.Parameters = [];
|
|
3731
|
+
}
|
|
3681
3732
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3682
3733
|
const loc = `Parameters.${key}`;
|
|
3683
3734
|
entries[loc] = value;
|
|
@@ -3685,6 +3736,9 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
|
3685
3736
|
}
|
|
3686
3737
|
if (input.Capabilities != null) {
|
|
3687
3738
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3739
|
+
if (input.Capabilities?.length === 0) {
|
|
3740
|
+
entries.Capabilities = [];
|
|
3741
|
+
}
|
|
3688
3742
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3689
3743
|
const loc = `Capabilities.${key}`;
|
|
3690
3744
|
entries[loc] = value;
|
|
@@ -3692,6 +3746,9 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
|
3692
3746
|
}
|
|
3693
3747
|
if (input.Tags != null) {
|
|
3694
3748
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3749
|
+
if (input.Tags?.length === 0) {
|
|
3750
|
+
entries.Tags = [];
|
|
3751
|
+
}
|
|
3695
3752
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3696
3753
|
const loc = `Tags.${key}`;
|
|
3697
3754
|
entries[loc] = value;
|
|
@@ -3761,6 +3818,9 @@ const serializeAws_queryDeleteStackInput = (input, context) => {
|
|
|
3761
3818
|
}
|
|
3762
3819
|
if (input.RetainResources != null) {
|
|
3763
3820
|
const memberEntries = serializeAws_queryRetainResources(input.RetainResources, context);
|
|
3821
|
+
if (input.RetainResources?.length === 0) {
|
|
3822
|
+
entries.RetainResources = [];
|
|
3823
|
+
}
|
|
3764
3824
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3765
3825
|
const loc = `RetainResources.${key}`;
|
|
3766
3826
|
entries[loc] = value;
|
|
@@ -3781,6 +3841,9 @@ const serializeAws_queryDeleteStackInstancesInput = (input, context) => {
|
|
|
3781
3841
|
}
|
|
3782
3842
|
if (input.Accounts != null) {
|
|
3783
3843
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
3844
|
+
if (input.Accounts?.length === 0) {
|
|
3845
|
+
entries.Accounts = [];
|
|
3846
|
+
}
|
|
3784
3847
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3785
3848
|
const loc = `Accounts.${key}`;
|
|
3786
3849
|
entries[loc] = value;
|
|
@@ -3795,6 +3858,9 @@ const serializeAws_queryDeleteStackInstancesInput = (input, context) => {
|
|
|
3795
3858
|
}
|
|
3796
3859
|
if (input.Regions != null) {
|
|
3797
3860
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
3861
|
+
if (input.Regions?.length === 0) {
|
|
3862
|
+
entries.Regions = [];
|
|
3863
|
+
}
|
|
3798
3864
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3799
3865
|
const loc = `Regions.${key}`;
|
|
3800
3866
|
entries[loc] = value;
|
|
@@ -3835,6 +3901,9 @@ const serializeAws_queryDeploymentTargets = (input, context) => {
|
|
|
3835
3901
|
const entries = {};
|
|
3836
3902
|
if (input.Accounts != null) {
|
|
3837
3903
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
3904
|
+
if (input.Accounts?.length === 0) {
|
|
3905
|
+
entries.Accounts = [];
|
|
3906
|
+
}
|
|
3838
3907
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3839
3908
|
const loc = `Accounts.${key}`;
|
|
3840
3909
|
entries[loc] = value;
|
|
@@ -3845,6 +3914,9 @@ const serializeAws_queryDeploymentTargets = (input, context) => {
|
|
|
3845
3914
|
}
|
|
3846
3915
|
if (input.OrganizationalUnitIds != null) {
|
|
3847
3916
|
const memberEntries = serializeAws_queryOrganizationalUnitIdList(input.OrganizationalUnitIds, context);
|
|
3917
|
+
if (input.OrganizationalUnitIds?.length === 0) {
|
|
3918
|
+
entries.OrganizationalUnitIds = [];
|
|
3919
|
+
}
|
|
3848
3920
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3849
3921
|
const loc = `OrganizationalUnitIds.${key}`;
|
|
3850
3922
|
entries[loc] = value;
|
|
@@ -3954,6 +4026,9 @@ const serializeAws_queryDescribeStackResourceDriftsInput = (input, context) => {
|
|
|
3954
4026
|
}
|
|
3955
4027
|
if (input.StackResourceDriftStatusFilters != null) {
|
|
3956
4028
|
const memberEntries = serializeAws_queryStackResourceDriftStatusFilters(input.StackResourceDriftStatusFilters, context);
|
|
4029
|
+
if (input.StackResourceDriftStatusFilters?.length === 0) {
|
|
4030
|
+
entries.StackResourceDriftStatusFilters = [];
|
|
4031
|
+
}
|
|
3957
4032
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3958
4033
|
const loc = `StackResourceDriftStatusFilters.${key}`;
|
|
3959
4034
|
entries[loc] = value;
|
|
@@ -4059,6 +4134,9 @@ const serializeAws_queryDetectStackDriftInput = (input, context) => {
|
|
|
4059
4134
|
}
|
|
4060
4135
|
if (input.LogicalResourceIds != null) {
|
|
4061
4136
|
const memberEntries = serializeAws_queryLogicalResourceIds(input.LogicalResourceIds, context);
|
|
4137
|
+
if (input.LogicalResourceIds?.length === 0) {
|
|
4138
|
+
entries.LogicalResourceIds = [];
|
|
4139
|
+
}
|
|
4062
4140
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4063
4141
|
const loc = `LogicalResourceIds.${key}`;
|
|
4064
4142
|
entries[loc] = value;
|
|
@@ -4109,6 +4187,9 @@ const serializeAws_queryEstimateTemplateCostInput = (input, context) => {
|
|
|
4109
4187
|
}
|
|
4110
4188
|
if (input.Parameters != null) {
|
|
4111
4189
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
4190
|
+
if (input.Parameters?.length === 0) {
|
|
4191
|
+
entries.Parameters = [];
|
|
4192
|
+
}
|
|
4112
4193
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4113
4194
|
const loc = `Parameters.${key}`;
|
|
4114
4195
|
entries[loc] = value;
|
|
@@ -4178,6 +4259,9 @@ const serializeAws_queryImportStacksToStackSetInput = (input, context) => {
|
|
|
4178
4259
|
}
|
|
4179
4260
|
if (input.StackIds != null) {
|
|
4180
4261
|
const memberEntries = serializeAws_queryStackIdList(input.StackIds, context);
|
|
4262
|
+
if (input.StackIds?.length === 0) {
|
|
4263
|
+
entries.StackIds = [];
|
|
4264
|
+
}
|
|
4181
4265
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4182
4266
|
const loc = `StackIds.${key}`;
|
|
4183
4267
|
entries[loc] = value;
|
|
@@ -4188,6 +4272,9 @@ const serializeAws_queryImportStacksToStackSetInput = (input, context) => {
|
|
|
4188
4272
|
}
|
|
4189
4273
|
if (input.OrganizationalUnitIds != null) {
|
|
4190
4274
|
const memberEntries = serializeAws_queryOrganizationalUnitIdList(input.OrganizationalUnitIds, context);
|
|
4275
|
+
if (input.OrganizationalUnitIds?.length === 0) {
|
|
4276
|
+
entries.OrganizationalUnitIds = [];
|
|
4277
|
+
}
|
|
4191
4278
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4192
4279
|
const loc = `OrganizationalUnitIds.${key}`;
|
|
4193
4280
|
entries[loc] = value;
|
|
@@ -4251,6 +4338,9 @@ const serializeAws_queryListStackInstancesInput = (input, context) => {
|
|
|
4251
4338
|
}
|
|
4252
4339
|
if (input.Filters != null) {
|
|
4253
4340
|
const memberEntries = serializeAws_queryStackInstanceFilters(input.Filters, context);
|
|
4341
|
+
if (input.Filters?.length === 0) {
|
|
4342
|
+
entries.Filters = [];
|
|
4343
|
+
}
|
|
4254
4344
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4255
4345
|
const loc = `Filters.${key}`;
|
|
4256
4346
|
entries[loc] = value;
|
|
@@ -4296,6 +4386,9 @@ const serializeAws_queryListStackSetOperationResultsInput = (input, context) =>
|
|
|
4296
4386
|
}
|
|
4297
4387
|
if (input.Filters != null) {
|
|
4298
4388
|
const memberEntries = serializeAws_queryOperationResultFilters(input.Filters, context);
|
|
4389
|
+
if (input.Filters?.length === 0) {
|
|
4390
|
+
entries.Filters = [];
|
|
4391
|
+
}
|
|
4299
4392
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4300
4393
|
const loc = `Filters.${key}`;
|
|
4301
4394
|
entries[loc] = value;
|
|
@@ -4342,6 +4435,9 @@ const serializeAws_queryListStacksInput = (input, context) => {
|
|
|
4342
4435
|
}
|
|
4343
4436
|
if (input.StackStatusFilter != null) {
|
|
4344
4437
|
const memberEntries = serializeAws_queryStackStatusFilter(input.StackStatusFilter, context);
|
|
4438
|
+
if (input.StackStatusFilter?.length === 0) {
|
|
4439
|
+
entries.StackStatusFilter = [];
|
|
4440
|
+
}
|
|
4345
4441
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4346
4442
|
const loc = `StackStatusFilter.${key}`;
|
|
4347
4443
|
entries[loc] = value;
|
|
@@ -4707,6 +4803,9 @@ const serializeAws_queryRollbackConfiguration = (input, context) => {
|
|
|
4707
4803
|
const entries = {};
|
|
4708
4804
|
if (input.RollbackTriggers != null) {
|
|
4709
4805
|
const memberEntries = serializeAws_queryRollbackTriggers(input.RollbackTriggers, context);
|
|
4806
|
+
if (input.RollbackTriggers?.length === 0) {
|
|
4807
|
+
entries.RollbackTriggers = [];
|
|
4808
|
+
}
|
|
4710
4809
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4711
4810
|
const loc = `RollbackTriggers.${key}`;
|
|
4712
4811
|
entries[loc] = value;
|
|
@@ -4875,6 +4974,9 @@ const serializeAws_queryStackSetOperationPreferences = (input, context) => {
|
|
|
4875
4974
|
}
|
|
4876
4975
|
if (input.RegionOrder != null) {
|
|
4877
4976
|
const memberEntries = serializeAws_queryRegionList(input.RegionOrder, context);
|
|
4977
|
+
if (input.RegionOrder?.length === 0) {
|
|
4978
|
+
entries.RegionOrder = [];
|
|
4979
|
+
}
|
|
4878
4980
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4879
4981
|
const loc = `RegionOrder.${key}`;
|
|
4880
4982
|
entries[loc] = value;
|
|
@@ -5032,6 +5134,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
5032
5134
|
}
|
|
5033
5135
|
if (input.Parameters != null) {
|
|
5034
5136
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
5137
|
+
if (input.Parameters?.length === 0) {
|
|
5138
|
+
entries.Parameters = [];
|
|
5139
|
+
}
|
|
5035
5140
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5036
5141
|
const loc = `Parameters.${key}`;
|
|
5037
5142
|
entries[loc] = value;
|
|
@@ -5039,6 +5144,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
5039
5144
|
}
|
|
5040
5145
|
if (input.Capabilities != null) {
|
|
5041
5146
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
5147
|
+
if (input.Capabilities?.length === 0) {
|
|
5148
|
+
entries.Capabilities = [];
|
|
5149
|
+
}
|
|
5042
5150
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5043
5151
|
const loc = `Capabilities.${key}`;
|
|
5044
5152
|
entries[loc] = value;
|
|
@@ -5046,6 +5154,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
5046
5154
|
}
|
|
5047
5155
|
if (input.ResourceTypes != null) {
|
|
5048
5156
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
5157
|
+
if (input.ResourceTypes?.length === 0) {
|
|
5158
|
+
entries.ResourceTypes = [];
|
|
5159
|
+
}
|
|
5049
5160
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5050
5161
|
const loc = `ResourceTypes.${key}`;
|
|
5051
5162
|
entries[loc] = value;
|
|
@@ -5069,6 +5180,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
5069
5180
|
}
|
|
5070
5181
|
if (input.NotificationARNs != null) {
|
|
5071
5182
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
5183
|
+
if (input.NotificationARNs?.length === 0) {
|
|
5184
|
+
entries.NotificationARNs = [];
|
|
5185
|
+
}
|
|
5072
5186
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5073
5187
|
const loc = `NotificationARNs.${key}`;
|
|
5074
5188
|
entries[loc] = value;
|
|
@@ -5076,6 +5190,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
5076
5190
|
}
|
|
5077
5191
|
if (input.Tags != null) {
|
|
5078
5192
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
5193
|
+
if (input.Tags?.length === 0) {
|
|
5194
|
+
entries.Tags = [];
|
|
5195
|
+
}
|
|
5079
5196
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5080
5197
|
const loc = `Tags.${key}`;
|
|
5081
5198
|
entries[loc] = value;
|
|
@@ -5096,6 +5213,9 @@ const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
|
5096
5213
|
}
|
|
5097
5214
|
if (input.Accounts != null) {
|
|
5098
5215
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
5216
|
+
if (input.Accounts?.length === 0) {
|
|
5217
|
+
entries.Accounts = [];
|
|
5218
|
+
}
|
|
5099
5219
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5100
5220
|
const loc = `Accounts.${key}`;
|
|
5101
5221
|
entries[loc] = value;
|
|
@@ -5110,6 +5230,9 @@ const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
|
5110
5230
|
}
|
|
5111
5231
|
if (input.Regions != null) {
|
|
5112
5232
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
5233
|
+
if (input.Regions?.length === 0) {
|
|
5234
|
+
entries.Regions = [];
|
|
5235
|
+
}
|
|
5113
5236
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5114
5237
|
const loc = `Regions.${key}`;
|
|
5115
5238
|
entries[loc] = value;
|
|
@@ -5117,6 +5240,9 @@ const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
|
5117
5240
|
}
|
|
5118
5241
|
if (input.ParameterOverrides != null) {
|
|
5119
5242
|
const memberEntries = serializeAws_queryParameters(input.ParameterOverrides, context);
|
|
5243
|
+
if (input.ParameterOverrides?.length === 0) {
|
|
5244
|
+
entries.ParameterOverrides = [];
|
|
5245
|
+
}
|
|
5120
5246
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5121
5247
|
const loc = `ParameterOverrides.${key}`;
|
|
5122
5248
|
entries[loc] = value;
|
|
@@ -5159,6 +5285,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5159
5285
|
}
|
|
5160
5286
|
if (input.Parameters != null) {
|
|
5161
5287
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
5288
|
+
if (input.Parameters?.length === 0) {
|
|
5289
|
+
entries.Parameters = [];
|
|
5290
|
+
}
|
|
5162
5291
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5163
5292
|
const loc = `Parameters.${key}`;
|
|
5164
5293
|
entries[loc] = value;
|
|
@@ -5166,6 +5295,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5166
5295
|
}
|
|
5167
5296
|
if (input.Capabilities != null) {
|
|
5168
5297
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
5298
|
+
if (input.Capabilities?.length === 0) {
|
|
5299
|
+
entries.Capabilities = [];
|
|
5300
|
+
}
|
|
5169
5301
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5170
5302
|
const loc = `Capabilities.${key}`;
|
|
5171
5303
|
entries[loc] = value;
|
|
@@ -5173,6 +5305,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5173
5305
|
}
|
|
5174
5306
|
if (input.Tags != null) {
|
|
5175
5307
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
5308
|
+
if (input.Tags?.length === 0) {
|
|
5309
|
+
entries.Tags = [];
|
|
5310
|
+
}
|
|
5176
5311
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5177
5312
|
const loc = `Tags.${key}`;
|
|
5178
5313
|
entries[loc] = value;
|
|
@@ -5216,6 +5351,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5216
5351
|
}
|
|
5217
5352
|
if (input.Accounts != null) {
|
|
5218
5353
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
5354
|
+
if (input.Accounts?.length === 0) {
|
|
5355
|
+
entries.Accounts = [];
|
|
5356
|
+
}
|
|
5219
5357
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5220
5358
|
const loc = `Accounts.${key}`;
|
|
5221
5359
|
entries[loc] = value;
|
|
@@ -5223,6 +5361,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5223
5361
|
}
|
|
5224
5362
|
if (input.Regions != null) {
|
|
5225
5363
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
5364
|
+
if (input.Regions?.length === 0) {
|
|
5365
|
+
entries.Regions = [];
|
|
5366
|
+
}
|
|
5226
5367
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5227
5368
|
const loc = `Regions.${key}`;
|
|
5228
5369
|
entries[loc] = value;
|
|
@@ -8424,15 +8565,12 @@ const deserializeAws_queryValidateTemplateOutput = (output, context) => {
|
|
|
8424
8565
|
}
|
|
8425
8566
|
return contents;
|
|
8426
8567
|
};
|
|
8427
|
-
const deserializeMetadata = (output) => {
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
8434
|
-
});
|
|
8435
|
-
};
|
|
8568
|
+
const deserializeMetadata = (output) => ({
|
|
8569
|
+
httpStatusCode: output.statusCode,
|
|
8570
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
8571
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
8572
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
8573
|
+
});
|
|
8436
8574
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
8437
8575
|
if (streamBody instanceof Uint8Array) {
|
|
8438
8576
|
return Promise.resolve(streamBody);
|
|
@@ -8484,10 +8622,9 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
8484
8622
|
return {};
|
|
8485
8623
|
});
|
|
8486
8624
|
const parseErrorBody = async (errorBody, context) => {
|
|
8487
|
-
var _a;
|
|
8488
8625
|
const value = await parseBody(errorBody, context);
|
|
8489
8626
|
if (value.Error) {
|
|
8490
|
-
value.Error.message =
|
|
8627
|
+
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
8491
8628
|
}
|
|
8492
8629
|
return value;
|
|
8493
8630
|
};
|
|
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
16
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
19
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
20
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
|
|
|
25
24
|
...config,
|
|
26
25
|
runtime: "browser",
|
|
27
26
|
defaultsMode,
|
|
28
|
-
base64Decoder:
|
|
29
|
-
base64Encoder:
|
|
30
|
-
bodyLengthChecker:
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
defaultUserAgentProvider:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
22
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
|
|
|
29
28
|
...config,
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
|
-
base64Decoder:
|
|
33
|
-
base64Encoder:
|
|
34
|
-
bodyLengthChecker:
|
|
35
|
-
credentialDefaultProvider:
|
|
36
|
-
defaultUserAgentProvider:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: config?.retryMode ??
|
|
41
|
+
(0, node_config_provider_1.loadConfig)({
|
|
42
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
44
|
+
}),
|
|
45
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
46
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
-
});
|
|
16
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2010-05-15",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "CloudFormation",
|
|
12
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
13
|
+
});
|
|
17
14
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3260,6 +3260,9 @@ const serializeAws_queryBatchDescribeTypeConfigurationsInput = (input, context)
|
|
|
3260
3260
|
const entries = {};
|
|
3261
3261
|
if (input.TypeConfigurationIdentifiers != null) {
|
|
3262
3262
|
const memberEntries = serializeAws_queryTypeConfigurationIdentifiers(input.TypeConfigurationIdentifiers, context);
|
|
3263
|
+
if (input.TypeConfigurationIdentifiers?.length === 0) {
|
|
3264
|
+
entries.TypeConfigurationIdentifiers = [];
|
|
3265
|
+
}
|
|
3263
3266
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3264
3267
|
const loc = `TypeConfigurationIdentifiers.${key}`;
|
|
3265
3268
|
entries[loc] = value;
|
|
@@ -3299,6 +3302,9 @@ const serializeAws_queryContinueUpdateRollbackInput = (input, context) => {
|
|
|
3299
3302
|
}
|
|
3300
3303
|
if (input.ResourcesToSkip != null) {
|
|
3301
3304
|
const memberEntries = serializeAws_queryResourcesToSkip(input.ResourcesToSkip, context);
|
|
3305
|
+
if (input.ResourcesToSkip?.length === 0) {
|
|
3306
|
+
entries.ResourcesToSkip = [];
|
|
3307
|
+
}
|
|
3302
3308
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3303
3309
|
const loc = `ResourcesToSkip.${key}`;
|
|
3304
3310
|
entries[loc] = value;
|
|
@@ -3325,6 +3331,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3325
3331
|
}
|
|
3326
3332
|
if (input.Parameters != null) {
|
|
3327
3333
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3334
|
+
if (input.Parameters?.length === 0) {
|
|
3335
|
+
entries.Parameters = [];
|
|
3336
|
+
}
|
|
3328
3337
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3329
3338
|
const loc = `Parameters.${key}`;
|
|
3330
3339
|
entries[loc] = value;
|
|
@@ -3332,6 +3341,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3332
3341
|
}
|
|
3333
3342
|
if (input.Capabilities != null) {
|
|
3334
3343
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3344
|
+
if (input.Capabilities?.length === 0) {
|
|
3345
|
+
entries.Capabilities = [];
|
|
3346
|
+
}
|
|
3335
3347
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3336
3348
|
const loc = `Capabilities.${key}`;
|
|
3337
3349
|
entries[loc] = value;
|
|
@@ -3339,6 +3351,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3339
3351
|
}
|
|
3340
3352
|
if (input.ResourceTypes != null) {
|
|
3341
3353
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
3354
|
+
if (input.ResourceTypes?.length === 0) {
|
|
3355
|
+
entries.ResourceTypes = [];
|
|
3356
|
+
}
|
|
3342
3357
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3343
3358
|
const loc = `ResourceTypes.${key}`;
|
|
3344
3359
|
entries[loc] = value;
|
|
@@ -3356,6 +3371,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3356
3371
|
}
|
|
3357
3372
|
if (input.NotificationARNs != null) {
|
|
3358
3373
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
3374
|
+
if (input.NotificationARNs?.length === 0) {
|
|
3375
|
+
entries.NotificationARNs = [];
|
|
3376
|
+
}
|
|
3359
3377
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3360
3378
|
const loc = `NotificationARNs.${key}`;
|
|
3361
3379
|
entries[loc] = value;
|
|
@@ -3363,6 +3381,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3363
3381
|
}
|
|
3364
3382
|
if (input.Tags != null) {
|
|
3365
3383
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3384
|
+
if (input.Tags?.length === 0) {
|
|
3385
|
+
entries.Tags = [];
|
|
3386
|
+
}
|
|
3366
3387
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3367
3388
|
const loc = `Tags.${key}`;
|
|
3368
3389
|
entries[loc] = value;
|
|
@@ -3382,6 +3403,9 @@ const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
|
3382
3403
|
}
|
|
3383
3404
|
if (input.ResourcesToImport != null) {
|
|
3384
3405
|
const memberEntries = serializeAws_queryResourcesToImport(input.ResourcesToImport, context);
|
|
3406
|
+
if (input.ResourcesToImport?.length === 0) {
|
|
3407
|
+
entries.ResourcesToImport = [];
|
|
3408
|
+
}
|
|
3385
3409
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3386
3410
|
const loc = `ResourcesToImport.${key}`;
|
|
3387
3411
|
entries[loc] = value;
|
|
@@ -3405,6 +3429,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3405
3429
|
}
|
|
3406
3430
|
if (input.Parameters != null) {
|
|
3407
3431
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3432
|
+
if (input.Parameters?.length === 0) {
|
|
3433
|
+
entries.Parameters = [];
|
|
3434
|
+
}
|
|
3408
3435
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3409
3436
|
const loc = `Parameters.${key}`;
|
|
3410
3437
|
entries[loc] = value;
|
|
@@ -3425,6 +3452,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3425
3452
|
}
|
|
3426
3453
|
if (input.NotificationARNs != null) {
|
|
3427
3454
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
3455
|
+
if (input.NotificationARNs?.length === 0) {
|
|
3456
|
+
entries.NotificationARNs = [];
|
|
3457
|
+
}
|
|
3428
3458
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3429
3459
|
const loc = `NotificationARNs.${key}`;
|
|
3430
3460
|
entries[loc] = value;
|
|
@@ -3432,6 +3462,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3432
3462
|
}
|
|
3433
3463
|
if (input.Capabilities != null) {
|
|
3434
3464
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3465
|
+
if (input.Capabilities?.length === 0) {
|
|
3466
|
+
entries.Capabilities = [];
|
|
3467
|
+
}
|
|
3435
3468
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3436
3469
|
const loc = `Capabilities.${key}`;
|
|
3437
3470
|
entries[loc] = value;
|
|
@@ -3439,6 +3472,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3439
3472
|
}
|
|
3440
3473
|
if (input.ResourceTypes != null) {
|
|
3441
3474
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
3475
|
+
if (input.ResourceTypes?.length === 0) {
|
|
3476
|
+
entries.ResourceTypes = [];
|
|
3477
|
+
}
|
|
3442
3478
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3443
3479
|
const loc = `ResourceTypes.${key}`;
|
|
3444
3480
|
entries[loc] = value;
|
|
@@ -3458,6 +3494,9 @@ const serializeAws_queryCreateStackInput = (input, context) => {
|
|
|
3458
3494
|
}
|
|
3459
3495
|
if (input.Tags != null) {
|
|
3460
3496
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3497
|
+
if (input.Tags?.length === 0) {
|
|
3498
|
+
entries.Tags = [];
|
|
3499
|
+
}
|
|
3461
3500
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3462
3501
|
const loc = `Tags.${key}`;
|
|
3463
3502
|
entries[loc] = value;
|
|
@@ -3478,6 +3517,9 @@ const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
|
3478
3517
|
}
|
|
3479
3518
|
if (input.Accounts != null) {
|
|
3480
3519
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
3520
|
+
if (input.Accounts?.length === 0) {
|
|
3521
|
+
entries.Accounts = [];
|
|
3522
|
+
}
|
|
3481
3523
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3482
3524
|
const loc = `Accounts.${key}`;
|
|
3483
3525
|
entries[loc] = value;
|
|
@@ -3492,6 +3534,9 @@ const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
|
3492
3534
|
}
|
|
3493
3535
|
if (input.Regions != null) {
|
|
3494
3536
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
3537
|
+
if (input.Regions?.length === 0) {
|
|
3538
|
+
entries.Regions = [];
|
|
3539
|
+
}
|
|
3495
3540
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3496
3541
|
const loc = `Regions.${key}`;
|
|
3497
3542
|
entries[loc] = value;
|
|
@@ -3499,6 +3544,9 @@ const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
|
3499
3544
|
}
|
|
3500
3545
|
if (input.ParameterOverrides != null) {
|
|
3501
3546
|
const memberEntries = serializeAws_queryParameters(input.ParameterOverrides, context);
|
|
3547
|
+
if (input.ParameterOverrides?.length === 0) {
|
|
3548
|
+
entries.ParameterOverrides = [];
|
|
3549
|
+
}
|
|
3502
3550
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3503
3551
|
const loc = `ParameterOverrides.${key}`;
|
|
3504
3552
|
entries[loc] = value;
|
|
@@ -3541,6 +3589,9 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
|
3541
3589
|
}
|
|
3542
3590
|
if (input.Parameters != null) {
|
|
3543
3591
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3592
|
+
if (input.Parameters?.length === 0) {
|
|
3593
|
+
entries.Parameters = [];
|
|
3594
|
+
}
|
|
3544
3595
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3545
3596
|
const loc = `Parameters.${key}`;
|
|
3546
3597
|
entries[loc] = value;
|
|
@@ -3548,6 +3599,9 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
|
3548
3599
|
}
|
|
3549
3600
|
if (input.Capabilities != null) {
|
|
3550
3601
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3602
|
+
if (input.Capabilities?.length === 0) {
|
|
3603
|
+
entries.Capabilities = [];
|
|
3604
|
+
}
|
|
3551
3605
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3552
3606
|
const loc = `Capabilities.${key}`;
|
|
3553
3607
|
entries[loc] = value;
|
|
@@ -3555,6 +3609,9 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
|
3555
3609
|
}
|
|
3556
3610
|
if (input.Tags != null) {
|
|
3557
3611
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3612
|
+
if (input.Tags?.length === 0) {
|
|
3613
|
+
entries.Tags = [];
|
|
3614
|
+
}
|
|
3558
3615
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3559
3616
|
const loc = `Tags.${key}`;
|
|
3560
3617
|
entries[loc] = value;
|
|
@@ -3624,6 +3681,9 @@ const serializeAws_queryDeleteStackInput = (input, context) => {
|
|
|
3624
3681
|
}
|
|
3625
3682
|
if (input.RetainResources != null) {
|
|
3626
3683
|
const memberEntries = serializeAws_queryRetainResources(input.RetainResources, context);
|
|
3684
|
+
if (input.RetainResources?.length === 0) {
|
|
3685
|
+
entries.RetainResources = [];
|
|
3686
|
+
}
|
|
3627
3687
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3628
3688
|
const loc = `RetainResources.${key}`;
|
|
3629
3689
|
entries[loc] = value;
|
|
@@ -3644,6 +3704,9 @@ const serializeAws_queryDeleteStackInstancesInput = (input, context) => {
|
|
|
3644
3704
|
}
|
|
3645
3705
|
if (input.Accounts != null) {
|
|
3646
3706
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
3707
|
+
if (input.Accounts?.length === 0) {
|
|
3708
|
+
entries.Accounts = [];
|
|
3709
|
+
}
|
|
3647
3710
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3648
3711
|
const loc = `Accounts.${key}`;
|
|
3649
3712
|
entries[loc] = value;
|
|
@@ -3658,6 +3721,9 @@ const serializeAws_queryDeleteStackInstancesInput = (input, context) => {
|
|
|
3658
3721
|
}
|
|
3659
3722
|
if (input.Regions != null) {
|
|
3660
3723
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
3724
|
+
if (input.Regions?.length === 0) {
|
|
3725
|
+
entries.Regions = [];
|
|
3726
|
+
}
|
|
3661
3727
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3662
3728
|
const loc = `Regions.${key}`;
|
|
3663
3729
|
entries[loc] = value;
|
|
@@ -3698,6 +3764,9 @@ const serializeAws_queryDeploymentTargets = (input, context) => {
|
|
|
3698
3764
|
const entries = {};
|
|
3699
3765
|
if (input.Accounts != null) {
|
|
3700
3766
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
3767
|
+
if (input.Accounts?.length === 0) {
|
|
3768
|
+
entries.Accounts = [];
|
|
3769
|
+
}
|
|
3701
3770
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3702
3771
|
const loc = `Accounts.${key}`;
|
|
3703
3772
|
entries[loc] = value;
|
|
@@ -3708,6 +3777,9 @@ const serializeAws_queryDeploymentTargets = (input, context) => {
|
|
|
3708
3777
|
}
|
|
3709
3778
|
if (input.OrganizationalUnitIds != null) {
|
|
3710
3779
|
const memberEntries = serializeAws_queryOrganizationalUnitIdList(input.OrganizationalUnitIds, context);
|
|
3780
|
+
if (input.OrganizationalUnitIds?.length === 0) {
|
|
3781
|
+
entries.OrganizationalUnitIds = [];
|
|
3782
|
+
}
|
|
3711
3783
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3712
3784
|
const loc = `OrganizationalUnitIds.${key}`;
|
|
3713
3785
|
entries[loc] = value;
|
|
@@ -3817,6 +3889,9 @@ const serializeAws_queryDescribeStackResourceDriftsInput = (input, context) => {
|
|
|
3817
3889
|
}
|
|
3818
3890
|
if (input.StackResourceDriftStatusFilters != null) {
|
|
3819
3891
|
const memberEntries = serializeAws_queryStackResourceDriftStatusFilters(input.StackResourceDriftStatusFilters, context);
|
|
3892
|
+
if (input.StackResourceDriftStatusFilters?.length === 0) {
|
|
3893
|
+
entries.StackResourceDriftStatusFilters = [];
|
|
3894
|
+
}
|
|
3820
3895
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3821
3896
|
const loc = `StackResourceDriftStatusFilters.${key}`;
|
|
3822
3897
|
entries[loc] = value;
|
|
@@ -3922,6 +3997,9 @@ const serializeAws_queryDetectStackDriftInput = (input, context) => {
|
|
|
3922
3997
|
}
|
|
3923
3998
|
if (input.LogicalResourceIds != null) {
|
|
3924
3999
|
const memberEntries = serializeAws_queryLogicalResourceIds(input.LogicalResourceIds, context);
|
|
4000
|
+
if (input.LogicalResourceIds?.length === 0) {
|
|
4001
|
+
entries.LogicalResourceIds = [];
|
|
4002
|
+
}
|
|
3925
4003
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3926
4004
|
const loc = `LogicalResourceIds.${key}`;
|
|
3927
4005
|
entries[loc] = value;
|
|
@@ -3972,6 +4050,9 @@ const serializeAws_queryEstimateTemplateCostInput = (input, context) => {
|
|
|
3972
4050
|
}
|
|
3973
4051
|
if (input.Parameters != null) {
|
|
3974
4052
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
4053
|
+
if (input.Parameters?.length === 0) {
|
|
4054
|
+
entries.Parameters = [];
|
|
4055
|
+
}
|
|
3975
4056
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3976
4057
|
const loc = `Parameters.${key}`;
|
|
3977
4058
|
entries[loc] = value;
|
|
@@ -4041,6 +4122,9 @@ const serializeAws_queryImportStacksToStackSetInput = (input, context) => {
|
|
|
4041
4122
|
}
|
|
4042
4123
|
if (input.StackIds != null) {
|
|
4043
4124
|
const memberEntries = serializeAws_queryStackIdList(input.StackIds, context);
|
|
4125
|
+
if (input.StackIds?.length === 0) {
|
|
4126
|
+
entries.StackIds = [];
|
|
4127
|
+
}
|
|
4044
4128
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4045
4129
|
const loc = `StackIds.${key}`;
|
|
4046
4130
|
entries[loc] = value;
|
|
@@ -4051,6 +4135,9 @@ const serializeAws_queryImportStacksToStackSetInput = (input, context) => {
|
|
|
4051
4135
|
}
|
|
4052
4136
|
if (input.OrganizationalUnitIds != null) {
|
|
4053
4137
|
const memberEntries = serializeAws_queryOrganizationalUnitIdList(input.OrganizationalUnitIds, context);
|
|
4138
|
+
if (input.OrganizationalUnitIds?.length === 0) {
|
|
4139
|
+
entries.OrganizationalUnitIds = [];
|
|
4140
|
+
}
|
|
4054
4141
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4055
4142
|
const loc = `OrganizationalUnitIds.${key}`;
|
|
4056
4143
|
entries[loc] = value;
|
|
@@ -4114,6 +4201,9 @@ const serializeAws_queryListStackInstancesInput = (input, context) => {
|
|
|
4114
4201
|
}
|
|
4115
4202
|
if (input.Filters != null) {
|
|
4116
4203
|
const memberEntries = serializeAws_queryStackInstanceFilters(input.Filters, context);
|
|
4204
|
+
if (input.Filters?.length === 0) {
|
|
4205
|
+
entries.Filters = [];
|
|
4206
|
+
}
|
|
4117
4207
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4118
4208
|
const loc = `Filters.${key}`;
|
|
4119
4209
|
entries[loc] = value;
|
|
@@ -4159,6 +4249,9 @@ const serializeAws_queryListStackSetOperationResultsInput = (input, context) =>
|
|
|
4159
4249
|
}
|
|
4160
4250
|
if (input.Filters != null) {
|
|
4161
4251
|
const memberEntries = serializeAws_queryOperationResultFilters(input.Filters, context);
|
|
4252
|
+
if (input.Filters?.length === 0) {
|
|
4253
|
+
entries.Filters = [];
|
|
4254
|
+
}
|
|
4162
4255
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4163
4256
|
const loc = `Filters.${key}`;
|
|
4164
4257
|
entries[loc] = value;
|
|
@@ -4205,6 +4298,9 @@ const serializeAws_queryListStacksInput = (input, context) => {
|
|
|
4205
4298
|
}
|
|
4206
4299
|
if (input.StackStatusFilter != null) {
|
|
4207
4300
|
const memberEntries = serializeAws_queryStackStatusFilter(input.StackStatusFilter, context);
|
|
4301
|
+
if (input.StackStatusFilter?.length === 0) {
|
|
4302
|
+
entries.StackStatusFilter = [];
|
|
4303
|
+
}
|
|
4208
4304
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4209
4305
|
const loc = `StackStatusFilter.${key}`;
|
|
4210
4306
|
entries[loc] = value;
|
|
@@ -4570,6 +4666,9 @@ const serializeAws_queryRollbackConfiguration = (input, context) => {
|
|
|
4570
4666
|
const entries = {};
|
|
4571
4667
|
if (input.RollbackTriggers != null) {
|
|
4572
4668
|
const memberEntries = serializeAws_queryRollbackTriggers(input.RollbackTriggers, context);
|
|
4669
|
+
if (input.RollbackTriggers?.length === 0) {
|
|
4670
|
+
entries.RollbackTriggers = [];
|
|
4671
|
+
}
|
|
4573
4672
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4574
4673
|
const loc = `RollbackTriggers.${key}`;
|
|
4575
4674
|
entries[loc] = value;
|
|
@@ -4738,6 +4837,9 @@ const serializeAws_queryStackSetOperationPreferences = (input, context) => {
|
|
|
4738
4837
|
}
|
|
4739
4838
|
if (input.RegionOrder != null) {
|
|
4740
4839
|
const memberEntries = serializeAws_queryRegionList(input.RegionOrder, context);
|
|
4840
|
+
if (input.RegionOrder?.length === 0) {
|
|
4841
|
+
entries.RegionOrder = [];
|
|
4842
|
+
}
|
|
4741
4843
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4742
4844
|
const loc = `RegionOrder.${key}`;
|
|
4743
4845
|
entries[loc] = value;
|
|
@@ -4895,6 +4997,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
4895
4997
|
}
|
|
4896
4998
|
if (input.Parameters != null) {
|
|
4897
4999
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
5000
|
+
if (input.Parameters?.length === 0) {
|
|
5001
|
+
entries.Parameters = [];
|
|
5002
|
+
}
|
|
4898
5003
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4899
5004
|
const loc = `Parameters.${key}`;
|
|
4900
5005
|
entries[loc] = value;
|
|
@@ -4902,6 +5007,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
4902
5007
|
}
|
|
4903
5008
|
if (input.Capabilities != null) {
|
|
4904
5009
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
5010
|
+
if (input.Capabilities?.length === 0) {
|
|
5011
|
+
entries.Capabilities = [];
|
|
5012
|
+
}
|
|
4905
5013
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4906
5014
|
const loc = `Capabilities.${key}`;
|
|
4907
5015
|
entries[loc] = value;
|
|
@@ -4909,6 +5017,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
4909
5017
|
}
|
|
4910
5018
|
if (input.ResourceTypes != null) {
|
|
4911
5019
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
5020
|
+
if (input.ResourceTypes?.length === 0) {
|
|
5021
|
+
entries.ResourceTypes = [];
|
|
5022
|
+
}
|
|
4912
5023
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4913
5024
|
const loc = `ResourceTypes.${key}`;
|
|
4914
5025
|
entries[loc] = value;
|
|
@@ -4932,6 +5043,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
4932
5043
|
}
|
|
4933
5044
|
if (input.NotificationARNs != null) {
|
|
4934
5045
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
5046
|
+
if (input.NotificationARNs?.length === 0) {
|
|
5047
|
+
entries.NotificationARNs = [];
|
|
5048
|
+
}
|
|
4935
5049
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4936
5050
|
const loc = `NotificationARNs.${key}`;
|
|
4937
5051
|
entries[loc] = value;
|
|
@@ -4939,6 +5053,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
|
4939
5053
|
}
|
|
4940
5054
|
if (input.Tags != null) {
|
|
4941
5055
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
5056
|
+
if (input.Tags?.length === 0) {
|
|
5057
|
+
entries.Tags = [];
|
|
5058
|
+
}
|
|
4942
5059
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4943
5060
|
const loc = `Tags.${key}`;
|
|
4944
5061
|
entries[loc] = value;
|
|
@@ -4959,6 +5076,9 @@ const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
|
4959
5076
|
}
|
|
4960
5077
|
if (input.Accounts != null) {
|
|
4961
5078
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
5079
|
+
if (input.Accounts?.length === 0) {
|
|
5080
|
+
entries.Accounts = [];
|
|
5081
|
+
}
|
|
4962
5082
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4963
5083
|
const loc = `Accounts.${key}`;
|
|
4964
5084
|
entries[loc] = value;
|
|
@@ -4973,6 +5093,9 @@ const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
|
4973
5093
|
}
|
|
4974
5094
|
if (input.Regions != null) {
|
|
4975
5095
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
5096
|
+
if (input.Regions?.length === 0) {
|
|
5097
|
+
entries.Regions = [];
|
|
5098
|
+
}
|
|
4976
5099
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4977
5100
|
const loc = `Regions.${key}`;
|
|
4978
5101
|
entries[loc] = value;
|
|
@@ -4980,6 +5103,9 @@ const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
|
4980
5103
|
}
|
|
4981
5104
|
if (input.ParameterOverrides != null) {
|
|
4982
5105
|
const memberEntries = serializeAws_queryParameters(input.ParameterOverrides, context);
|
|
5106
|
+
if (input.ParameterOverrides?.length === 0) {
|
|
5107
|
+
entries.ParameterOverrides = [];
|
|
5108
|
+
}
|
|
4983
5109
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4984
5110
|
const loc = `ParameterOverrides.${key}`;
|
|
4985
5111
|
entries[loc] = value;
|
|
@@ -5022,6 +5148,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5022
5148
|
}
|
|
5023
5149
|
if (input.Parameters != null) {
|
|
5024
5150
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
5151
|
+
if (input.Parameters?.length === 0) {
|
|
5152
|
+
entries.Parameters = [];
|
|
5153
|
+
}
|
|
5025
5154
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5026
5155
|
const loc = `Parameters.${key}`;
|
|
5027
5156
|
entries[loc] = value;
|
|
@@ -5029,6 +5158,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5029
5158
|
}
|
|
5030
5159
|
if (input.Capabilities != null) {
|
|
5031
5160
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
5161
|
+
if (input.Capabilities?.length === 0) {
|
|
5162
|
+
entries.Capabilities = [];
|
|
5163
|
+
}
|
|
5032
5164
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5033
5165
|
const loc = `Capabilities.${key}`;
|
|
5034
5166
|
entries[loc] = value;
|
|
@@ -5036,6 +5168,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5036
5168
|
}
|
|
5037
5169
|
if (input.Tags != null) {
|
|
5038
5170
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
5171
|
+
if (input.Tags?.length === 0) {
|
|
5172
|
+
entries.Tags = [];
|
|
5173
|
+
}
|
|
5039
5174
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5040
5175
|
const loc = `Tags.${key}`;
|
|
5041
5176
|
entries[loc] = value;
|
|
@@ -5079,6 +5214,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5079
5214
|
}
|
|
5080
5215
|
if (input.Accounts != null) {
|
|
5081
5216
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
5217
|
+
if (input.Accounts?.length === 0) {
|
|
5218
|
+
entries.Accounts = [];
|
|
5219
|
+
}
|
|
5082
5220
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5083
5221
|
const loc = `Accounts.${key}`;
|
|
5084
5222
|
entries[loc] = value;
|
|
@@ -5086,6 +5224,9 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5086
5224
|
}
|
|
5087
5225
|
if (input.Regions != null) {
|
|
5088
5226
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
5227
|
+
if (input.Regions?.length === 0) {
|
|
5228
|
+
entries.Regions = [];
|
|
5229
|
+
}
|
|
5089
5230
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5090
5231
|
const loc = `Regions.${key}`;
|
|
5091
5232
|
entries[loc] = value;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.202.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,47 +19,47 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
42
|
+
"@aws-sdk/types": "3.201.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
55
|
+
"@aws-sdk/util-waiter": "3.201.0",
|
|
56
56
|
"fast-xml-parser": "4.0.11",
|
|
57
57
|
"tslib": "^2.3.1",
|
|
58
58
|
"uuid": "^8.3.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
62
|
-
"@tsconfig/
|
|
62
|
+
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"@types/uuid": "^8.3.0",
|
|
65
65
|
"concurrently": "7.0.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"engines": {
|
|
77
|
-
"node": ">=
|
|
77
|
+
"node": ">=14.0.0"
|
|
78
78
|
},
|
|
79
79
|
"typesVersions": {
|
|
80
80
|
"<4.0": {
|