@aws-sdk/client-cloudformation 3.42.0 → 3.47.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 +51 -0
- package/README.md +11 -11
- package/dist-cjs/endpoints.js +1 -16
- package/dist-cjs/models/models_0.js +9 -135
- package/dist-cjs/protocols/Aws_query.js +48 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -16
- package/dist-es/models/models_0.js +4 -88
- package/dist-es/protocols/Aws_query.js +51 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/CloudFormation.d.ts +114 -117
- package/dist-types/CloudFormationClient.d.ts +16 -12
- package/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -2
- package/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +5 -6
- package/dist-types/commands/CreateChangeSetCommand.d.ts +8 -7
- package/dist-types/commands/CreateStackCommand.d.ts +2 -2
- package/dist-types/commands/CreateStackInstancesCommand.d.ts +3 -1
- package/dist-types/commands/DeleteChangeSetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteStackCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeStackEventsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStackInstanceCommand.d.ts +1 -2
- package/dist-types/commands/DescribeStackResourceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeStackResourcesCommand.d.ts +8 -9
- package/dist-types/commands/DescribeStacksCommand.d.ts +3 -4
- package/dist-types/commands/DetectStackDriftCommand.d.ts +6 -6
- package/dist-types/commands/DetectStackResourceDriftCommand.d.ts +2 -2
- package/dist-types/commands/EstimateTemplateCostCommand.d.ts +2 -3
- package/dist-types/commands/ExecuteChangeSetCommand.d.ts +2 -2
- package/dist-types/commands/GetStackPolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetTemplateCommand.d.ts +4 -4
- package/dist-types/commands/GetTemplateSummaryCommand.d.ts +2 -2
- package/dist-types/commands/ImportStacksToStackSetCommand.d.ts +6 -8
- package/dist-types/commands/ListChangeSetsCommand.d.ts +1 -2
- package/dist-types/commands/ListStackInstancesCommand.d.ts +2 -3
- package/dist-types/commands/ListStackSetsCommand.d.ts +1 -2
- package/dist-types/commands/RollbackStackCommand.d.ts +8 -3
- package/dist-types/commands/SignalResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateStackCommand.d.ts +4 -4
- package/dist-types/commands/UpdateStackInstancesCommand.d.ts +6 -6
- package/dist-types/commands/UpdateStackSetCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +2 -2
- package/dist-types/commands/ValidateTemplateCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +653 -763
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/CloudFormationClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +20 -87
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -29,18 +29,6 @@ export var ActivateTypeOutput;
|
|
|
29
29
|
(function (ActivateTypeOutput) {
|
|
30
30
|
ActivateTypeOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
31
|
})(ActivateTypeOutput || (ActivateTypeOutput = {}));
|
|
32
|
-
export var CFNRegistryException;
|
|
33
|
-
(function (CFNRegistryException) {
|
|
34
|
-
CFNRegistryException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
-
})(CFNRegistryException || (CFNRegistryException = {}));
|
|
36
|
-
export var TypeNotFoundException;
|
|
37
|
-
(function (TypeNotFoundException) {
|
|
38
|
-
TypeNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
-
})(TypeNotFoundException || (TypeNotFoundException = {}));
|
|
40
|
-
export var AlreadyExistsException;
|
|
41
|
-
(function (AlreadyExistsException) {
|
|
42
|
-
AlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
|
-
})(AlreadyExistsException || (AlreadyExistsException = {}));
|
|
44
32
|
export var AutoDeployment;
|
|
45
33
|
(function (AutoDeployment) {
|
|
46
34
|
AutoDeployment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -65,10 +53,6 @@ export var BatchDescribeTypeConfigurationsOutput;
|
|
|
65
53
|
(function (BatchDescribeTypeConfigurationsOutput) {
|
|
66
54
|
BatchDescribeTypeConfigurationsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
67
55
|
})(BatchDescribeTypeConfigurationsOutput || (BatchDescribeTypeConfigurationsOutput = {}));
|
|
68
|
-
export var TypeConfigurationNotFoundException;
|
|
69
|
-
(function (TypeConfigurationNotFoundException) {
|
|
70
|
-
TypeConfigurationNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
71
|
-
})(TypeConfigurationNotFoundException || (TypeConfigurationNotFoundException = {}));
|
|
72
56
|
export var CallAs;
|
|
73
57
|
(function (CallAs) {
|
|
74
58
|
CallAs["DELEGATED_ADMIN"] = "DELEGATED_ADMIN";
|
|
@@ -78,10 +62,6 @@ export var CancelUpdateStackInput;
|
|
|
78
62
|
(function (CancelUpdateStackInput) {
|
|
79
63
|
CancelUpdateStackInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
64
|
})(CancelUpdateStackInput || (CancelUpdateStackInput = {}));
|
|
81
|
-
export var TokenAlreadyExistsException;
|
|
82
|
-
(function (TokenAlreadyExistsException) {
|
|
83
|
-
TokenAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
-
})(TokenAlreadyExistsException || (TokenAlreadyExistsException = {}));
|
|
85
65
|
export var Capability;
|
|
86
66
|
(function (Capability) {
|
|
87
67
|
Capability["CAPABILITY_AUTO_EXPAND"] = "CAPABILITY_AUTO_EXPAND";
|
|
@@ -161,10 +141,6 @@ export var Change;
|
|
|
161
141
|
(function (Change) {
|
|
162
142
|
Change.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
143
|
})(Change || (Change = {}));
|
|
164
|
-
export var ChangeSetNotFoundException;
|
|
165
|
-
(function (ChangeSetNotFoundException) {
|
|
166
|
-
ChangeSetNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
-
})(ChangeSetNotFoundException || (ChangeSetNotFoundException = {}));
|
|
168
144
|
export var ChangeSetStatus;
|
|
169
145
|
(function (ChangeSetStatus) {
|
|
170
146
|
ChangeSetStatus["CREATE_COMPLETE"] = "CREATE_COMPLETE";
|
|
@@ -231,14 +207,6 @@ export var CreateChangeSetOutput;
|
|
|
231
207
|
(function (CreateChangeSetOutput) {
|
|
232
208
|
CreateChangeSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
209
|
})(CreateChangeSetOutput || (CreateChangeSetOutput = {}));
|
|
234
|
-
export var InsufficientCapabilitiesException;
|
|
235
|
-
(function (InsufficientCapabilitiesException) {
|
|
236
|
-
InsufficientCapabilitiesException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
-
})(InsufficientCapabilitiesException || (InsufficientCapabilitiesException = {}));
|
|
238
|
-
export var LimitExceededException;
|
|
239
|
-
(function (LimitExceededException) {
|
|
240
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
241
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
242
210
|
export var OnFailure;
|
|
243
211
|
(function (OnFailure) {
|
|
244
212
|
OnFailure["DELETE"] = "DELETE";
|
|
@@ -274,30 +242,10 @@ export var CreateStackInstancesOutput;
|
|
|
274
242
|
(function (CreateStackInstancesOutput) {
|
|
275
243
|
CreateStackInstancesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
276
244
|
})(CreateStackInstancesOutput || (CreateStackInstancesOutput = {}));
|
|
277
|
-
export var
|
|
278
|
-
(function (
|
|
279
|
-
|
|
280
|
-
})(
|
|
281
|
-
export var OperationIdAlreadyExistsException;
|
|
282
|
-
(function (OperationIdAlreadyExistsException) {
|
|
283
|
-
OperationIdAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
|
-
})(OperationIdAlreadyExistsException || (OperationIdAlreadyExistsException = {}));
|
|
285
|
-
export var OperationInProgressException;
|
|
286
|
-
(function (OperationInProgressException) {
|
|
287
|
-
OperationInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
288
|
-
})(OperationInProgressException || (OperationInProgressException = {}));
|
|
289
|
-
export var StackSetNotFoundException;
|
|
290
|
-
(function (StackSetNotFoundException) {
|
|
291
|
-
StackSetNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
|
-
})(StackSetNotFoundException || (StackSetNotFoundException = {}));
|
|
293
|
-
export var StaleRequestException;
|
|
294
|
-
(function (StaleRequestException) {
|
|
295
|
-
StaleRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
-
})(StaleRequestException || (StaleRequestException = {}));
|
|
297
|
-
export var CreatedButModifiedException;
|
|
298
|
-
(function (CreatedButModifiedException) {
|
|
299
|
-
CreatedButModifiedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
300
|
-
})(CreatedButModifiedException || (CreatedButModifiedException = {}));
|
|
245
|
+
export var ManagedExecution;
|
|
246
|
+
(function (ManagedExecution) {
|
|
247
|
+
ManagedExecution.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
248
|
+
})(ManagedExecution || (ManagedExecution = {}));
|
|
301
249
|
export var CreateStackSetInput;
|
|
302
250
|
(function (CreateStackSetInput) {
|
|
303
251
|
CreateStackSetInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -306,10 +254,6 @@ export var CreateStackSetOutput;
|
|
|
306
254
|
(function (CreateStackSetOutput) {
|
|
307
255
|
CreateStackSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
308
256
|
})(CreateStackSetOutput || (CreateStackSetOutput = {}));
|
|
309
|
-
export var NameAlreadyExistsException;
|
|
310
|
-
(function (NameAlreadyExistsException) {
|
|
311
|
-
NameAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
312
|
-
})(NameAlreadyExistsException || (NameAlreadyExistsException = {}));
|
|
313
257
|
export var DeactivateTypeInput;
|
|
314
258
|
(function (DeactivateTypeInput) {
|
|
315
259
|
DeactivateTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -326,10 +270,6 @@ export var DeleteChangeSetOutput;
|
|
|
326
270
|
(function (DeleteChangeSetOutput) {
|
|
327
271
|
DeleteChangeSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
328
272
|
})(DeleteChangeSetOutput || (DeleteChangeSetOutput = {}));
|
|
329
|
-
export var InvalidChangeSetStatusException;
|
|
330
|
-
(function (InvalidChangeSetStatusException) {
|
|
331
|
-
InvalidChangeSetStatusException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
332
|
-
})(InvalidChangeSetStatusException || (InvalidChangeSetStatusException = {}));
|
|
333
273
|
export var DeleteStackInput;
|
|
334
274
|
(function (DeleteStackInput) {
|
|
335
275
|
DeleteStackInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -350,10 +290,6 @@ export var DeleteStackSetOutput;
|
|
|
350
290
|
(function (DeleteStackSetOutput) {
|
|
351
291
|
DeleteStackSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
352
292
|
})(DeleteStackSetOutput || (DeleteStackSetOutput = {}));
|
|
353
|
-
export var StackSetNotEmptyException;
|
|
354
|
-
(function (StackSetNotEmptyException) {
|
|
355
|
-
StackSetNotEmptyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
356
|
-
})(StackSetNotEmptyException || (StackSetNotEmptyException = {}));
|
|
357
293
|
export var DeregisterTypeInput;
|
|
358
294
|
(function (DeregisterTypeInput) {
|
|
359
295
|
DeregisterTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -471,10 +407,6 @@ export var DescribeStackInstanceOutput;
|
|
|
471
407
|
(function (DescribeStackInstanceOutput) {
|
|
472
408
|
DescribeStackInstanceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
473
409
|
})(DescribeStackInstanceOutput || (DescribeStackInstanceOutput = {}));
|
|
474
|
-
export var StackInstanceNotFoundException;
|
|
475
|
-
(function (StackInstanceNotFoundException) {
|
|
476
|
-
StackInstanceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
477
|
-
})(StackInstanceNotFoundException || (StackInstanceNotFoundException = {}));
|
|
478
410
|
export var DescribeStackResourceInput;
|
|
479
411
|
(function (DescribeStackResourceInput) {
|
|
480
412
|
DescribeStackResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -624,10 +556,6 @@ export var DescribeStackSetOperationOutput;
|
|
|
624
556
|
(function (DescribeStackSetOperationOutput) {
|
|
625
557
|
DescribeStackSetOperationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
626
558
|
})(DescribeStackSetOperationOutput || (DescribeStackSetOperationOutput = {}));
|
|
627
|
-
export var OperationNotFoundException;
|
|
628
|
-
(function (OperationNotFoundException) {
|
|
629
|
-
OperationNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
630
|
-
})(OperationNotFoundException || (OperationNotFoundException = {}));
|
|
631
559
|
export var DescribeTypeInput;
|
|
632
560
|
(function (DescribeTypeInput) {
|
|
633
561
|
DescribeTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -744,10 +672,6 @@ export var ImportStacksToStackSetOutput;
|
|
|
744
672
|
(function (ImportStacksToStackSetOutput) {
|
|
745
673
|
ImportStacksToStackSetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
746
674
|
})(ImportStacksToStackSetOutput || (ImportStacksToStackSetOutput = {}));
|
|
747
|
-
export var StackNotFoundException;
|
|
748
|
-
(function (StackNotFoundException) {
|
|
749
|
-
StackNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
750
|
-
})(StackNotFoundException || (StackNotFoundException = {}));
|
|
751
675
|
export var ListChangeSetsInput;
|
|
752
676
|
(function (ListChangeSetsInput) {
|
|
753
677
|
ListChangeSetsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -904,14 +828,6 @@ export var PublishTypeOutput;
|
|
|
904
828
|
(function (PublishTypeOutput) {
|
|
905
829
|
PublishTypeOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
906
830
|
})(PublishTypeOutput || (PublishTypeOutput = {}));
|
|
907
|
-
export var InvalidStateTransitionException;
|
|
908
|
-
(function (InvalidStateTransitionException) {
|
|
909
|
-
InvalidStateTransitionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
910
|
-
})(InvalidStateTransitionException || (InvalidStateTransitionException = {}));
|
|
911
|
-
export var OperationStatusCheckFailedException;
|
|
912
|
-
(function (OperationStatusCheckFailedException) {
|
|
913
|
-
OperationStatusCheckFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
914
|
-
})(OperationStatusCheckFailedException || (OperationStatusCheckFailedException = {}));
|
|
915
831
|
export var OperationStatus;
|
|
916
832
|
(function (OperationStatus) {
|
|
917
833
|
OperationStatus["FAILED"] = "FAILED";
|
|
@@ -5108,6 +5108,14 @@ var serializeAws_queryCreateStackSetInput = function (input, context) {
|
|
|
5108
5108
|
if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
|
|
5109
5109
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
5110
5110
|
}
|
|
5111
|
+
if (input.ManagedExecution !== undefined && input.ManagedExecution !== null) {
|
|
5112
|
+
var memberEntries = serializeAws_queryManagedExecution(input.ManagedExecution, context);
|
|
5113
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
5114
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
5115
|
+
var loc = "ManagedExecution." + key;
|
|
5116
|
+
entries[loc] = value;
|
|
5117
|
+
});
|
|
5118
|
+
}
|
|
5111
5119
|
return entries;
|
|
5112
5120
|
};
|
|
5113
5121
|
var serializeAws_queryDeactivateTypeInput = function (input, context) {
|
|
@@ -5555,6 +5563,17 @@ var serializeAws_queryImportStacksToStackSetInput = function (input, context) {
|
|
|
5555
5563
|
entries[loc] = value;
|
|
5556
5564
|
});
|
|
5557
5565
|
}
|
|
5566
|
+
if (input.StackIdsUrl !== undefined && input.StackIdsUrl !== null) {
|
|
5567
|
+
entries["StackIdsUrl"] = input.StackIdsUrl;
|
|
5568
|
+
}
|
|
5569
|
+
if (input.OrganizationalUnitIds !== undefined && input.OrganizationalUnitIds !== null) {
|
|
5570
|
+
var memberEntries = serializeAws_queryOrganizationalUnitIdList(input.OrganizationalUnitIds, context);
|
|
5571
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
5572
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
5573
|
+
var loc = "OrganizationalUnitIds." + key;
|
|
5574
|
+
entries[loc] = value;
|
|
5575
|
+
});
|
|
5576
|
+
}
|
|
5558
5577
|
if (input.OperationPreferences !== undefined && input.OperationPreferences !== null) {
|
|
5559
5578
|
var memberEntries = serializeAws_queryStackSetOperationPreferences(input.OperationPreferences, context);
|
|
5560
5579
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
@@ -5817,6 +5836,13 @@ var serializeAws_queryLogicalResourceIds = function (input, context) {
|
|
|
5817
5836
|
}
|
|
5818
5837
|
return entries;
|
|
5819
5838
|
};
|
|
5839
|
+
var serializeAws_queryManagedExecution = function (input, context) {
|
|
5840
|
+
var entries = {};
|
|
5841
|
+
if (input.Active !== undefined && input.Active !== null) {
|
|
5842
|
+
entries["Active"] = input.Active;
|
|
5843
|
+
}
|
|
5844
|
+
return entries;
|
|
5845
|
+
};
|
|
5820
5846
|
var serializeAws_queryNotificationARNs = function (input, context) {
|
|
5821
5847
|
var e_4, _a;
|
|
5822
5848
|
var entries = {};
|
|
@@ -6763,6 +6789,14 @@ var serializeAws_queryUpdateStackSetInput = function (input, context) {
|
|
|
6763
6789
|
if (input.CallAs !== undefined && input.CallAs !== null) {
|
|
6764
6790
|
entries["CallAs"] = input.CallAs;
|
|
6765
6791
|
}
|
|
6792
|
+
if (input.ManagedExecution !== undefined && input.ManagedExecution !== null) {
|
|
6793
|
+
var memberEntries = serializeAws_queryManagedExecution(input.ManagedExecution, context);
|
|
6794
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6795
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6796
|
+
var loc = "ManagedExecution." + key;
|
|
6797
|
+
entries[loc] = value;
|
|
6798
|
+
});
|
|
6799
|
+
}
|
|
6766
6800
|
return entries;
|
|
6767
6801
|
};
|
|
6768
6802
|
var serializeAws_queryUpdateTerminationProtectionInput = function (input, context) {
|
|
@@ -7968,6 +8002,15 @@ var deserializeAws_queryLogicalResourceIds = function (output, context) {
|
|
|
7968
8002
|
return __expectString(entry);
|
|
7969
8003
|
});
|
|
7970
8004
|
};
|
|
8005
|
+
var deserializeAws_queryManagedExecution = function (output, context) {
|
|
8006
|
+
var contents = {
|
|
8007
|
+
Active: undefined,
|
|
8008
|
+
};
|
|
8009
|
+
if (output["Active"] !== undefined) {
|
|
8010
|
+
contents.Active = __parseBoolean(output["Active"]);
|
|
8011
|
+
}
|
|
8012
|
+
return contents;
|
|
8013
|
+
};
|
|
7971
8014
|
var deserializeAws_queryModuleInfo = function (output, context) {
|
|
7972
8015
|
var contents = {
|
|
7973
8016
|
TypeHierarchy: undefined,
|
|
@@ -9122,6 +9165,7 @@ var deserializeAws_queryStackSet = function (output, context) {
|
|
|
9122
9165
|
AutoDeployment: undefined,
|
|
9123
9166
|
PermissionModel: undefined,
|
|
9124
9167
|
OrganizationalUnitIds: undefined,
|
|
9168
|
+
ManagedExecution: undefined,
|
|
9125
9169
|
};
|
|
9126
9170
|
if (output["StackSetName"] !== undefined) {
|
|
9127
9171
|
contents.StackSetName = __expectString(output["StackSetName"]);
|
|
@@ -9180,6 +9224,9 @@ var deserializeAws_queryStackSet = function (output, context) {
|
|
|
9180
9224
|
if (output["OrganizationalUnitIds"] !== undefined && output["OrganizationalUnitIds"]["member"] !== undefined) {
|
|
9181
9225
|
contents.OrganizationalUnitIds = deserializeAws_queryOrganizationalUnitIdList(__getArrayIfSingleItem(output["OrganizationalUnitIds"]["member"]), context);
|
|
9182
9226
|
}
|
|
9227
|
+
if (output["ManagedExecution"] !== undefined) {
|
|
9228
|
+
contents.ManagedExecution = deserializeAws_queryManagedExecution(output["ManagedExecution"], context);
|
|
9229
|
+
}
|
|
9183
9230
|
return contents;
|
|
9184
9231
|
};
|
|
9185
9232
|
var deserializeAws_queryStackSetDriftDetectionDetails = function (output, context) {
|
|
@@ -9416,6 +9463,7 @@ var deserializeAws_queryStackSetSummary = function (output, context) {
|
|
|
9416
9463
|
PermissionModel: undefined,
|
|
9417
9464
|
DriftStatus: undefined,
|
|
9418
9465
|
LastDriftCheckTimestamp: undefined,
|
|
9466
|
+
ManagedExecution: undefined,
|
|
9419
9467
|
};
|
|
9420
9468
|
if (output["StackSetName"] !== undefined) {
|
|
9421
9469
|
contents.StackSetName = __expectString(output["StackSetName"]);
|
|
@@ -9441,6 +9489,9 @@ var deserializeAws_queryStackSetSummary = function (output, context) {
|
|
|
9441
9489
|
if (output["LastDriftCheckTimestamp"] !== undefined) {
|
|
9442
9490
|
contents.LastDriftCheckTimestamp = __expectNonNull(__parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
|
|
9443
9491
|
}
|
|
9492
|
+
if (output["ManagedExecution"] !== undefined) {
|
|
9493
|
+
contents.ManagedExecution = deserializeAws_queryManagedExecution(output["ManagedExecution"], context);
|
|
9494
|
+
}
|
|
9444
9495
|
return contents;
|
|
9445
9496
|
};
|
|
9446
9497
|
var deserializeAws_queryStackSummaries = function (output, context) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|