aws-sdk-cloudformation 1.125.0 → 1.126.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +386 -124
- data/lib/aws-sdk-cloudformation/client_api.rb +180 -0
- data/lib/aws-sdk-cloudformation/endpoint_provider.rb +14 -18
- data/lib/aws-sdk-cloudformation/errors.rb +11 -0
- data/lib/aws-sdk-cloudformation/event.rb +1 -1
- data/lib/aws-sdk-cloudformation/resource.rb +24 -21
- data/lib/aws-sdk-cloudformation/stack.rb +46 -40
- data/lib/aws-sdk-cloudformation/types.rb +570 -144
- data/lib/aws-sdk-cloudformation/waiters.rb +118 -10
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/sig/client.rbs +86 -0
- data/sig/errors.rbs +2 -0
- data/sig/event.rbs +1 -1
- data/sig/stack_resource.rbs +1 -1
- data/sig/stack_resource_summary.rbs +1 -1
- data/sig/types.rbs +110 -4
- data/sig/waiters.rbs +20 -0
- metadata +2 -2
@@ -89,6 +89,8 @@ module Aws::CloudFormation
|
|
89
89
|
CreateStackInstancesInput = Shapes::StructureShape.new(name: 'CreateStackInstancesInput')
|
90
90
|
CreateStackInstancesOutput = Shapes::StructureShape.new(name: 'CreateStackInstancesOutput')
|
91
91
|
CreateStackOutput = Shapes::StructureShape.new(name: 'CreateStackOutput')
|
92
|
+
CreateStackRefactorInput = Shapes::StructureShape.new(name: 'CreateStackRefactorInput')
|
93
|
+
CreateStackRefactorOutput = Shapes::StructureShape.new(name: 'CreateStackRefactorOutput')
|
92
94
|
CreateStackSetInput = Shapes::StructureShape.new(name: 'CreateStackSetInput')
|
93
95
|
CreateStackSetOutput = Shapes::StructureShape.new(name: 'CreateStackSetOutput')
|
94
96
|
CreatedButModifiedException = Shapes::StructureShape.new(name: 'CreatedButModifiedException', error: {"code"=>"CreatedButModifiedException", "httpStatusCode"=>409, "senderFault"=>true})
|
@@ -131,6 +133,8 @@ module Aws::CloudFormation
|
|
131
133
|
DescribeStackEventsOutput = Shapes::StructureShape.new(name: 'DescribeStackEventsOutput')
|
132
134
|
DescribeStackInstanceInput = Shapes::StructureShape.new(name: 'DescribeStackInstanceInput')
|
133
135
|
DescribeStackInstanceOutput = Shapes::StructureShape.new(name: 'DescribeStackInstanceOutput')
|
136
|
+
DescribeStackRefactorInput = Shapes::StructureShape.new(name: 'DescribeStackRefactorInput')
|
137
|
+
DescribeStackRefactorOutput = Shapes::StructureShape.new(name: 'DescribeStackRefactorOutput')
|
134
138
|
DescribeStackResourceDriftsInput = Shapes::StructureShape.new(name: 'DescribeStackResourceDriftsInput')
|
135
139
|
DescribeStackResourceDriftsOutput = Shapes::StructureShape.new(name: 'DescribeStackResourceDriftsOutput')
|
136
140
|
DescribeStackResourceInput = Shapes::StructureShape.new(name: 'DescribeStackResourceInput')
|
@@ -155,9 +159,11 @@ module Aws::CloudFormation
|
|
155
159
|
DetectStackResourceDriftOutput = Shapes::StructureShape.new(name: 'DetectStackResourceDriftOutput')
|
156
160
|
DetectStackSetDriftInput = Shapes::StructureShape.new(name: 'DetectStackSetDriftInput')
|
157
161
|
DetectStackSetDriftOutput = Shapes::StructureShape.new(name: 'DetectStackSetDriftOutput')
|
162
|
+
DetectionReason = Shapes::StringShape.new(name: 'DetectionReason')
|
158
163
|
DifferenceType = Shapes::StringShape.new(name: 'DifferenceType')
|
159
164
|
DisableRollback = Shapes::BooleanShape.new(name: 'DisableRollback')
|
160
165
|
DriftedStackInstancesCount = Shapes::IntegerShape.new(name: 'DriftedStackInstancesCount')
|
166
|
+
EnableStackCreation = Shapes::BooleanShape.new(name: 'EnableStackCreation')
|
161
167
|
EnableTerminationProtection = Shapes::BooleanShape.new(name: 'EnableTerminationProtection')
|
162
168
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
163
169
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
@@ -167,8 +173,10 @@ module Aws::CloudFormation
|
|
167
173
|
EventId = Shapes::StringShape.new(name: 'EventId')
|
168
174
|
ExecuteChangeSetInput = Shapes::StructureShape.new(name: 'ExecuteChangeSetInput')
|
169
175
|
ExecuteChangeSetOutput = Shapes::StructureShape.new(name: 'ExecuteChangeSetOutput')
|
176
|
+
ExecuteStackRefactorInput = Shapes::StructureShape.new(name: 'ExecuteStackRefactorInput')
|
170
177
|
ExecutionRoleName = Shapes::StringShape.new(name: 'ExecutionRoleName')
|
171
178
|
ExecutionStatus = Shapes::StringShape.new(name: 'ExecutionStatus')
|
179
|
+
ExecutionStatusReason = Shapes::StringShape.new(name: 'ExecutionStatusReason')
|
172
180
|
Export = Shapes::StructureShape.new(name: 'Export')
|
173
181
|
ExportName = Shapes::StringShape.new(name: 'ExportName')
|
174
182
|
ExportValue = Shapes::StringShape.new(name: 'ExportValue')
|
@@ -253,6 +261,10 @@ module Aws::CloudFormation
|
|
253
261
|
ListStackInstanceResourceDriftsOutput = Shapes::StructureShape.new(name: 'ListStackInstanceResourceDriftsOutput')
|
254
262
|
ListStackInstancesInput = Shapes::StructureShape.new(name: 'ListStackInstancesInput')
|
255
263
|
ListStackInstancesOutput = Shapes::StructureShape.new(name: 'ListStackInstancesOutput')
|
264
|
+
ListStackRefactorActionsInput = Shapes::StructureShape.new(name: 'ListStackRefactorActionsInput')
|
265
|
+
ListStackRefactorActionsOutput = Shapes::StructureShape.new(name: 'ListStackRefactorActionsOutput')
|
266
|
+
ListStackRefactorsInput = Shapes::StructureShape.new(name: 'ListStackRefactorsInput')
|
267
|
+
ListStackRefactorsOutput = Shapes::StructureShape.new(name: 'ListStackRefactorsOutput')
|
256
268
|
ListStackResourcesInput = Shapes::StructureShape.new(name: 'ListStackResourcesInput')
|
257
269
|
ListStackResourcesOutput = Shapes::StructureShape.new(name: 'ListStackResourcesOutput')
|
258
270
|
ListStackSetAutoDeploymentTargetsInput = Shapes::StructureShape.new(name: 'ListStackSetAutoDeploymentTargetsInput')
|
@@ -378,6 +390,9 @@ module Aws::CloudFormation
|
|
378
390
|
ResourceIdentifierSummaries = Shapes::ListShape.new(name: 'ResourceIdentifierSummaries')
|
379
391
|
ResourceIdentifierSummary = Shapes::StructureShape.new(name: 'ResourceIdentifierSummary')
|
380
392
|
ResourceIdentifiers = Shapes::ListShape.new(name: 'ResourceIdentifiers')
|
393
|
+
ResourceLocation = Shapes::StructureShape.new(name: 'ResourceLocation')
|
394
|
+
ResourceMapping = Shapes::StructureShape.new(name: 'ResourceMapping')
|
395
|
+
ResourceMappings = Shapes::ListShape.new(name: 'ResourceMappings')
|
381
396
|
ResourceModel = Shapes::StringShape.new(name: 'ResourceModel')
|
382
397
|
ResourceProperties = Shapes::StringShape.new(name: 'ResourceProperties')
|
383
398
|
ResourcePropertyPath = Shapes::StringShape.new(name: 'ResourcePropertyPath')
|
@@ -434,6 +449,8 @@ module Aws::CloudFormation
|
|
434
449
|
SetTypeDefaultVersionOutput = Shapes::StructureShape.new(name: 'SetTypeDefaultVersionOutput')
|
435
450
|
SignalResourceInput = Shapes::StructureShape.new(name: 'SignalResourceInput')
|
436
451
|
Stack = Shapes::StructureShape.new(name: 'Stack')
|
452
|
+
StackDefinition = Shapes::StructureShape.new(name: 'StackDefinition')
|
453
|
+
StackDefinitions = Shapes::ListShape.new(name: 'StackDefinitions')
|
437
454
|
StackDriftDetectionId = Shapes::StringShape.new(name: 'StackDriftDetectionId')
|
438
455
|
StackDriftDetectionStatus = Shapes::StringShape.new(name: 'StackDriftDetectionStatus')
|
439
456
|
StackDriftDetectionStatusReason = Shapes::StringShape.new(name: 'StackDriftDetectionStatusReason')
|
@@ -444,6 +461,7 @@ module Aws::CloudFormation
|
|
444
461
|
StackEvents = Shapes::ListShape.new(name: 'StackEvents')
|
445
462
|
StackId = Shapes::StringShape.new(name: 'StackId')
|
446
463
|
StackIdList = Shapes::ListShape.new(name: 'StackIdList')
|
464
|
+
StackIds = Shapes::ListShape.new(name: 'StackIds')
|
447
465
|
StackIdsUrl = Shapes::StringShape.new(name: 'StackIdsUrl')
|
448
466
|
StackInstance = Shapes::StructureShape.new(name: 'StackInstance')
|
449
467
|
StackInstanceComprehensiveStatus = Shapes::StructureShape.new(name: 'StackInstanceComprehensiveStatus')
|
@@ -465,6 +483,22 @@ module Aws::CloudFormation
|
|
465
483
|
StackPolicyDuringUpdateBody = Shapes::StringShape.new(name: 'StackPolicyDuringUpdateBody')
|
466
484
|
StackPolicyDuringUpdateURL = Shapes::StringShape.new(name: 'StackPolicyDuringUpdateURL')
|
467
485
|
StackPolicyURL = Shapes::StringShape.new(name: 'StackPolicyURL')
|
486
|
+
StackRefactorAction = Shapes::StructureShape.new(name: 'StackRefactorAction')
|
487
|
+
StackRefactorActionEntity = Shapes::StringShape.new(name: 'StackRefactorActionEntity')
|
488
|
+
StackRefactorActionType = Shapes::StringShape.new(name: 'StackRefactorActionType')
|
489
|
+
StackRefactorActions = Shapes::ListShape.new(name: 'StackRefactorActions')
|
490
|
+
StackRefactorDetection = Shapes::StringShape.new(name: 'StackRefactorDetection')
|
491
|
+
StackRefactorExecutionStatus = Shapes::StringShape.new(name: 'StackRefactorExecutionStatus')
|
492
|
+
StackRefactorExecutionStatusFilter = Shapes::ListShape.new(name: 'StackRefactorExecutionStatusFilter')
|
493
|
+
StackRefactorId = Shapes::StringShape.new(name: 'StackRefactorId')
|
494
|
+
StackRefactorNotFoundException = Shapes::StructureShape.new(name: 'StackRefactorNotFoundException', error: {"code"=>"StackRefactorNotFoundException", "httpStatusCode"=>404, "senderFault"=>true})
|
495
|
+
StackRefactorResourceIdentifier = Shapes::StringShape.new(name: 'StackRefactorResourceIdentifier')
|
496
|
+
StackRefactorStatus = Shapes::StringShape.new(name: 'StackRefactorStatus')
|
497
|
+
StackRefactorStatusReason = Shapes::StringShape.new(name: 'StackRefactorStatusReason')
|
498
|
+
StackRefactorSummaries = Shapes::ListShape.new(name: 'StackRefactorSummaries')
|
499
|
+
StackRefactorSummary = Shapes::StructureShape.new(name: 'StackRefactorSummary')
|
500
|
+
StackRefactorTagResources = Shapes::ListShape.new(name: 'StackRefactorTagResources')
|
501
|
+
StackRefactorUntagResources = Shapes::ListShape.new(name: 'StackRefactorUntagResources')
|
468
502
|
StackResource = Shapes::StructureShape.new(name: 'StackResource')
|
469
503
|
StackResourceDetail = Shapes::StructureShape.new(name: 'StackResourceDetail')
|
470
504
|
StackResourceDrift = Shapes::StructureShape.new(name: 'StackResourceDrift')
|
@@ -784,6 +818,15 @@ module Aws::CloudFormation
|
|
784
818
|
CreateStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
|
785
819
|
CreateStackOutput.struct_class = Types::CreateStackOutput
|
786
820
|
|
821
|
+
CreateStackRefactorInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
822
|
+
CreateStackRefactorInput.add_member(:enable_stack_creation, Shapes::ShapeRef.new(shape: EnableStackCreation, location_name: "EnableStackCreation"))
|
823
|
+
CreateStackRefactorInput.add_member(:resource_mappings, Shapes::ShapeRef.new(shape: ResourceMappings, location_name: "ResourceMappings"))
|
824
|
+
CreateStackRefactorInput.add_member(:stack_definitions, Shapes::ShapeRef.new(shape: StackDefinitions, required: true, location_name: "StackDefinitions"))
|
825
|
+
CreateStackRefactorInput.struct_class = Types::CreateStackRefactorInput
|
826
|
+
|
827
|
+
CreateStackRefactorOutput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, required: true, location_name: "StackRefactorId"))
|
828
|
+
CreateStackRefactorOutput.struct_class = Types::CreateStackRefactorOutput
|
829
|
+
|
787
830
|
CreateStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName"))
|
788
831
|
CreateStackSetInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
789
832
|
CreateStackSetInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody"))
|
@@ -991,6 +1034,18 @@ module Aws::CloudFormation
|
|
991
1034
|
DescribeStackInstanceOutput.add_member(:stack_instance, Shapes::ShapeRef.new(shape: StackInstance, location_name: "StackInstance"))
|
992
1035
|
DescribeStackInstanceOutput.struct_class = Types::DescribeStackInstanceOutput
|
993
1036
|
|
1037
|
+
DescribeStackRefactorInput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, required: true, location_name: "StackRefactorId"))
|
1038
|
+
DescribeStackRefactorInput.struct_class = Types::DescribeStackRefactorInput
|
1039
|
+
|
1040
|
+
DescribeStackRefactorOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1041
|
+
DescribeStackRefactorOutput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, location_name: "StackRefactorId"))
|
1042
|
+
DescribeStackRefactorOutput.add_member(:stack_ids, Shapes::ShapeRef.new(shape: StackIds, location_name: "StackIds"))
|
1043
|
+
DescribeStackRefactorOutput.add_member(:execution_status, Shapes::ShapeRef.new(shape: StackRefactorExecutionStatus, location_name: "ExecutionStatus"))
|
1044
|
+
DescribeStackRefactorOutput.add_member(:execution_status_reason, Shapes::ShapeRef.new(shape: ExecutionStatusReason, location_name: "ExecutionStatusReason"))
|
1045
|
+
DescribeStackRefactorOutput.add_member(:status, Shapes::ShapeRef.new(shape: StackRefactorStatus, location_name: "Status"))
|
1046
|
+
DescribeStackRefactorOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: StackRefactorStatusReason, location_name: "StatusReason"))
|
1047
|
+
DescribeStackRefactorOutput.struct_class = Types::DescribeStackRefactorOutput
|
1048
|
+
|
994
1049
|
DescribeStackResourceDriftsInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName"))
|
995
1050
|
DescribeStackResourceDriftsInput.add_member(:stack_resource_drift_status_filters, Shapes::ShapeRef.new(shape: StackResourceDriftStatusFilters, location_name: "StackResourceDriftStatusFilters"))
|
996
1051
|
DescribeStackResourceDriftsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -1125,6 +1180,9 @@ module Aws::CloudFormation
|
|
1125
1180
|
|
1126
1181
|
ExecuteChangeSetOutput.struct_class = Types::ExecuteChangeSetOutput
|
1127
1182
|
|
1183
|
+
ExecuteStackRefactorInput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, required: true, location_name: "StackRefactorId"))
|
1184
|
+
ExecuteStackRefactorInput.struct_class = Types::ExecuteStackRefactorInput
|
1185
|
+
|
1128
1186
|
Export.add_member(:exporting_stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "ExportingStackId"))
|
1129
1187
|
Export.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, location_name: "Name"))
|
1130
1188
|
Export.add_member(:value, Shapes::ShapeRef.new(shape: ExportValue, location_name: "Value"))
|
@@ -1319,6 +1377,24 @@ module Aws::CloudFormation
|
|
1319
1377
|
ListStackInstancesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1320
1378
|
ListStackInstancesOutput.struct_class = Types::ListStackInstancesOutput
|
1321
1379
|
|
1380
|
+
ListStackRefactorActionsInput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, required: true, location_name: "StackRefactorId"))
|
1381
|
+
ListStackRefactorActionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1382
|
+
ListStackRefactorActionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
1383
|
+
ListStackRefactorActionsInput.struct_class = Types::ListStackRefactorActionsInput
|
1384
|
+
|
1385
|
+
ListStackRefactorActionsOutput.add_member(:stack_refactor_actions, Shapes::ShapeRef.new(shape: StackRefactorActions, required: true, location_name: "StackRefactorActions"))
|
1386
|
+
ListStackRefactorActionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1387
|
+
ListStackRefactorActionsOutput.struct_class = Types::ListStackRefactorActionsOutput
|
1388
|
+
|
1389
|
+
ListStackRefactorsInput.add_member(:execution_status_filter, Shapes::ShapeRef.new(shape: StackRefactorExecutionStatusFilter, location_name: "ExecutionStatusFilter"))
|
1390
|
+
ListStackRefactorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1391
|
+
ListStackRefactorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
1392
|
+
ListStackRefactorsInput.struct_class = Types::ListStackRefactorsInput
|
1393
|
+
|
1394
|
+
ListStackRefactorsOutput.add_member(:stack_refactor_summaries, Shapes::ShapeRef.new(shape: StackRefactorSummaries, required: true, location_name: "StackRefactorSummaries"))
|
1395
|
+
ListStackRefactorsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1396
|
+
ListStackRefactorsOutput.struct_class = Types::ListStackRefactorsOutput
|
1397
|
+
|
1322
1398
|
ListStackResourcesInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName"))
|
1323
1399
|
ListStackResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1324
1400
|
ListStackResourcesInput.struct_class = Types::ListStackResourcesInput
|
@@ -1594,6 +1670,16 @@ module Aws::CloudFormation
|
|
1594
1670
|
|
1595
1671
|
ResourceIdentifiers.member = Shapes::ShapeRef.new(shape: ResourceIdentifierPropertyKey)
|
1596
1672
|
|
1673
|
+
ResourceLocation.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName"))
|
1674
|
+
ResourceLocation.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId"))
|
1675
|
+
ResourceLocation.struct_class = Types::ResourceLocation
|
1676
|
+
|
1677
|
+
ResourceMapping.add_member(:source, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "Source"))
|
1678
|
+
ResourceMapping.add_member(:destination, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "Destination"))
|
1679
|
+
ResourceMapping.struct_class = Types::ResourceMapping
|
1680
|
+
|
1681
|
+
ResourceMappings.member = Shapes::ShapeRef.new(shape: ResourceMapping)
|
1682
|
+
|
1597
1683
|
ResourceScanInProgressException.struct_class = Types::ResourceScanInProgressException
|
1598
1684
|
|
1599
1685
|
ResourceScanLimitExceededException.struct_class = Types::ResourceScanLimitExceededException
|
@@ -1722,6 +1808,13 @@ module Aws::CloudFormation
|
|
1722
1808
|
Stack.add_member(:detailed_status, Shapes::ShapeRef.new(shape: DetailedStatus, location_name: "DetailedStatus"))
|
1723
1809
|
Stack.struct_class = Types::Stack
|
1724
1810
|
|
1811
|
+
StackDefinition.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName"))
|
1812
|
+
StackDefinition.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody"))
|
1813
|
+
StackDefinition.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL"))
|
1814
|
+
StackDefinition.struct_class = Types::StackDefinition
|
1815
|
+
|
1816
|
+
StackDefinitions.member = Shapes::ShapeRef.new(shape: StackDefinition)
|
1817
|
+
|
1725
1818
|
StackDriftInformation.add_member(:stack_drift_status, Shapes::ShapeRef.new(shape: StackDriftStatus, required: true, location_name: "StackDriftStatus"))
|
1726
1819
|
StackDriftInformation.add_member(:last_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastCheckTimestamp"))
|
1727
1820
|
StackDriftInformation.struct_class = Types::StackDriftInformation
|
@@ -1753,6 +1846,8 @@ module Aws::CloudFormation
|
|
1753
1846
|
|
1754
1847
|
StackIdList.member = Shapes::ShapeRef.new(shape: StackId)
|
1755
1848
|
|
1849
|
+
StackIds.member = Shapes::ShapeRef.new(shape: StackId)
|
1850
|
+
|
1756
1851
|
StackInstance.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId"))
|
1757
1852
|
StackInstance.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
|
1758
1853
|
StackInstance.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account"))
|
@@ -1807,6 +1902,38 @@ module Aws::CloudFormation
|
|
1807
1902
|
|
1808
1903
|
StackNotFoundException.struct_class = Types::StackNotFoundException
|
1809
1904
|
|
1905
|
+
StackRefactorAction.add_member(:action, Shapes::ShapeRef.new(shape: StackRefactorActionType, location_name: "Action"))
|
1906
|
+
StackRefactorAction.add_member(:entity, Shapes::ShapeRef.new(shape: StackRefactorActionEntity, location_name: "Entity"))
|
1907
|
+
StackRefactorAction.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId"))
|
1908
|
+
StackRefactorAction.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: StackRefactorResourceIdentifier, location_name: "ResourceIdentifier"))
|
1909
|
+
StackRefactorAction.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1910
|
+
StackRefactorAction.add_member(:detection, Shapes::ShapeRef.new(shape: StackRefactorDetection, location_name: "Detection"))
|
1911
|
+
StackRefactorAction.add_member(:detection_reason, Shapes::ShapeRef.new(shape: DetectionReason, location_name: "DetectionReason"))
|
1912
|
+
StackRefactorAction.add_member(:tag_resources, Shapes::ShapeRef.new(shape: StackRefactorTagResources, location_name: "TagResources"))
|
1913
|
+
StackRefactorAction.add_member(:untag_resources, Shapes::ShapeRef.new(shape: StackRefactorUntagResources, location_name: "UntagResources"))
|
1914
|
+
StackRefactorAction.add_member(:resource_mapping, Shapes::ShapeRef.new(shape: ResourceMapping, location_name: "ResourceMapping"))
|
1915
|
+
StackRefactorAction.struct_class = Types::StackRefactorAction
|
1916
|
+
|
1917
|
+
StackRefactorActions.member = Shapes::ShapeRef.new(shape: StackRefactorAction)
|
1918
|
+
|
1919
|
+
StackRefactorExecutionStatusFilter.member = Shapes::ShapeRef.new(shape: StackRefactorExecutionStatus)
|
1920
|
+
|
1921
|
+
StackRefactorNotFoundException.struct_class = Types::StackRefactorNotFoundException
|
1922
|
+
|
1923
|
+
StackRefactorSummaries.member = Shapes::ShapeRef.new(shape: StackRefactorSummary)
|
1924
|
+
|
1925
|
+
StackRefactorSummary.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, location_name: "StackRefactorId"))
|
1926
|
+
StackRefactorSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1927
|
+
StackRefactorSummary.add_member(:execution_status, Shapes::ShapeRef.new(shape: StackRefactorExecutionStatus, location_name: "ExecutionStatus"))
|
1928
|
+
StackRefactorSummary.add_member(:execution_status_reason, Shapes::ShapeRef.new(shape: ExecutionStatusReason, location_name: "ExecutionStatusReason"))
|
1929
|
+
StackRefactorSummary.add_member(:status, Shapes::ShapeRef.new(shape: StackRefactorStatus, location_name: "Status"))
|
1930
|
+
StackRefactorSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: StackRefactorStatusReason, location_name: "StatusReason"))
|
1931
|
+
StackRefactorSummary.struct_class = Types::StackRefactorSummary
|
1932
|
+
|
1933
|
+
StackRefactorTagResources.member = Shapes::ShapeRef.new(shape: Tag)
|
1934
|
+
|
1935
|
+
StackRefactorUntagResources.member = Shapes::ShapeRef.new(shape: TagKey)
|
1936
|
+
|
1810
1937
|
StackResource.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName"))
|
1811
1938
|
StackResource.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
|
1812
1939
|
StackResource.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId"))
|
@@ -2345,6 +2472,14 @@ module Aws::CloudFormation
|
|
2345
2472
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2346
2473
|
end)
|
2347
2474
|
|
2475
|
+
api.add_operation(:create_stack_refactor, Seahorse::Model::Operation.new.tap do |o|
|
2476
|
+
o.name = "CreateStackRefactor"
|
2477
|
+
o.http_method = "POST"
|
2478
|
+
o.http_request_uri = "/"
|
2479
|
+
o.input = Shapes::ShapeRef.new(shape: CreateStackRefactorInput)
|
2480
|
+
o.output = Shapes::ShapeRef.new(shape: CreateStackRefactorOutput)
|
2481
|
+
end)
|
2482
|
+
|
2348
2483
|
api.add_operation(:create_stack_set, Seahorse::Model::Operation.new.tap do |o|
|
2349
2484
|
o.name = "CreateStackSet"
|
2350
2485
|
o.http_method = "POST"
|
@@ -2536,6 +2671,15 @@ module Aws::CloudFormation
|
|
2536
2671
|
o.errors << Shapes::ShapeRef.new(shape: StackInstanceNotFoundException)
|
2537
2672
|
end)
|
2538
2673
|
|
2674
|
+
api.add_operation(:describe_stack_refactor, Seahorse::Model::Operation.new.tap do |o|
|
2675
|
+
o.name = "DescribeStackRefactor"
|
2676
|
+
o.http_method = "POST"
|
2677
|
+
o.http_request_uri = "/"
|
2678
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeStackRefactorInput)
|
2679
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeStackRefactorOutput)
|
2680
|
+
o.errors << Shapes::ShapeRef.new(shape: StackRefactorNotFoundException)
|
2681
|
+
end)
|
2682
|
+
|
2539
2683
|
api.add_operation(:describe_stack_resource, Seahorse::Model::Operation.new.tap do |o|
|
2540
2684
|
o.name = "DescribeStackResource"
|
2541
2685
|
o.http_method = "POST"
|
@@ -2664,6 +2808,14 @@ module Aws::CloudFormation
|
|
2664
2808
|
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
2665
2809
|
end)
|
2666
2810
|
|
2811
|
+
api.add_operation(:execute_stack_refactor, Seahorse::Model::Operation.new.tap do |o|
|
2812
|
+
o.name = "ExecuteStackRefactor"
|
2813
|
+
o.http_method = "POST"
|
2814
|
+
o.http_request_uri = "/"
|
2815
|
+
o.input = Shapes::ShapeRef.new(shape: ExecuteStackRefactorInput)
|
2816
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2817
|
+
end)
|
2818
|
+
|
2667
2819
|
api.add_operation(:get_generated_template, Seahorse::Model::Operation.new.tap do |o|
|
2668
2820
|
o.name = "GetGeneratedTemplate"
|
2669
2821
|
o.http_method = "POST"
|
@@ -2848,6 +3000,34 @@ module Aws::CloudFormation
|
|
2848
3000
|
)
|
2849
3001
|
end)
|
2850
3002
|
|
3003
|
+
api.add_operation(:list_stack_refactor_actions, Seahorse::Model::Operation.new.tap do |o|
|
3004
|
+
o.name = "ListStackRefactorActions"
|
3005
|
+
o.http_method = "POST"
|
3006
|
+
o.http_request_uri = "/"
|
3007
|
+
o.input = Shapes::ShapeRef.new(shape: ListStackRefactorActionsInput)
|
3008
|
+
o.output = Shapes::ShapeRef.new(shape: ListStackRefactorActionsOutput)
|
3009
|
+
o[:pager] = Aws::Pager.new(
|
3010
|
+
limit_key: "max_results",
|
3011
|
+
tokens: {
|
3012
|
+
"next_token" => "next_token"
|
3013
|
+
}
|
3014
|
+
)
|
3015
|
+
end)
|
3016
|
+
|
3017
|
+
api.add_operation(:list_stack_refactors, Seahorse::Model::Operation.new.tap do |o|
|
3018
|
+
o.name = "ListStackRefactors"
|
3019
|
+
o.http_method = "POST"
|
3020
|
+
o.http_request_uri = "/"
|
3021
|
+
o.input = Shapes::ShapeRef.new(shape: ListStackRefactorsInput)
|
3022
|
+
o.output = Shapes::ShapeRef.new(shape: ListStackRefactorsOutput)
|
3023
|
+
o[:pager] = Aws::Pager.new(
|
3024
|
+
limit_key: "max_results",
|
3025
|
+
tokens: {
|
3026
|
+
"next_token" => "next_token"
|
3027
|
+
}
|
3028
|
+
)
|
3029
|
+
end)
|
3030
|
+
|
2851
3031
|
api.add_operation(:list_stack_resources, Seahorse::Model::Operation.new.tap do |o|
|
2852
3032
|
o.name = "ListStackResources"
|
2853
3033
|
o.http_method = "POST"
|
@@ -10,43 +10,39 @@
|
|
10
10
|
module Aws::CloudFormation
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
25
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
27
|
end
|
32
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
29
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
30
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
35
31
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
32
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{region}.amazonaws.com", headers: {}, properties: {})
|
33
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
38
34
|
end
|
39
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
36
|
end
|
41
37
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
38
|
end
|
43
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
44
40
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
42
|
end
|
47
43
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
48
44
|
end
|
49
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
50
46
|
end
|
51
47
|
end
|
52
48
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
@@ -49,6 +49,7 @@ module Aws::CloudFormation
|
|
49
49
|
# * {ResourceScanNotFoundException}
|
50
50
|
# * {StackInstanceNotFoundException}
|
51
51
|
# * {StackNotFoundException}
|
52
|
+
# * {StackRefactorNotFoundException}
|
52
53
|
# * {StackSetNotEmptyException}
|
53
54
|
# * {StackSetNotFoundException}
|
54
55
|
# * {StaleRequestException}
|
@@ -287,6 +288,16 @@ module Aws::CloudFormation
|
|
287
288
|
end
|
288
289
|
end
|
289
290
|
|
291
|
+
class StackRefactorNotFoundException < ServiceError
|
292
|
+
|
293
|
+
# @param [Seahorse::Client::RequestContext] context
|
294
|
+
# @param [String] message
|
295
|
+
# @param [Aws::CloudFormation::Types::StackRefactorNotFoundException] data
|
296
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
297
|
+
super(context, message, data)
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
290
301
|
class StackSetNotEmptyException < ServiceError
|
291
302
|
|
292
303
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -134,7 +134,7 @@ module Aws::CloudFormation
|
|
134
134
|
data[:hook_status_reason]
|
135
135
|
end
|
136
136
|
|
137
|
-
# Invocation points are points in provisioning logic where
|
137
|
+
# Invocation points are points in provisioning logic where Hooks are
|
138
138
|
# initiated.
|
139
139
|
# @return [String]
|
140
140
|
def hook_invocation_point
|
@@ -94,10 +94,10 @@ module Aws::CloudFormation
|
|
94
94
|
# Conditional: You must specify either the `TemplateBody` or the
|
95
95
|
# `TemplateURL` parameter, but not both.
|
96
96
|
# @option options [String] :template_url
|
97
|
-
#
|
98
|
-
# template (max size:
|
99
|
-
#
|
100
|
-
#
|
97
|
+
# The URL of a file containing the template body. The URL must point to
|
98
|
+
# a template (max size: 1 MB) that's located in an Amazon S3 bucket or
|
99
|
+
# a Systems Manager document. The location for an Amazon S3 bucket must
|
100
|
+
# start with `https://`.
|
101
101
|
#
|
102
102
|
# Conditional: You must specify either the `TemplateBody` or the
|
103
103
|
# `TemplateURL` parameter, but not both.
|
@@ -158,15 +158,17 @@ module Aws::CloudFormation
|
|
158
158
|
#
|
159
159
|
# * [AWS::IAM::InstanceProfile][3]
|
160
160
|
#
|
161
|
-
# * [AWS::IAM::
|
161
|
+
# * [ AWS::IAM::ManagedPolicy][4]
|
162
162
|
#
|
163
|
-
# * [AWS::IAM::
|
163
|
+
# * [AWS::IAM::Policy][5]
|
164
164
|
#
|
165
|
-
# * [AWS::IAM::
|
165
|
+
# * [AWS::IAM::Role][6]
|
166
166
|
#
|
167
|
-
# * [AWS::IAM::
|
167
|
+
# * [AWS::IAM::User][7]
|
168
|
+
#
|
169
|
+
# * [AWS::IAM::UserToGroupAddition][8]
|
168
170
|
# For more information, see [Acknowledging IAM resources in
|
169
|
-
# CloudFormation templates][
|
171
|
+
# CloudFormation templates][9].
|
170
172
|
#
|
171
173
|
# * `CAPABILITY_AUTO_EXPAND`
|
172
174
|
#
|
@@ -179,8 +181,8 @@ module Aws::CloudFormation
|
|
179
181
|
# your stack template contains one or more macros, and you choose to
|
180
182
|
# create a stack directly from the processed template, without first
|
181
183
|
# reviewing the resulting changes in a change set, you must
|
182
|
-
# acknowledge this capability. This includes the [AWS::Include][
|
183
|
-
# [AWS::Serverless][
|
184
|
+
# acknowledge this capability. This includes the [AWS::Include][10]
|
185
|
+
# and [AWS::Serverless][11] transforms, which are macros hosted by
|
184
186
|
# CloudFormation.
|
185
187
|
#
|
186
188
|
# If you want to create a stack from a stack template that contains
|
@@ -196,7 +198,7 @@ module Aws::CloudFormation
|
|
196
198
|
# notified.
|
197
199
|
#
|
198
200
|
# For more information, see [Perform custom processing on
|
199
|
-
# CloudFormation templates with template macros][
|
201
|
+
# CloudFormation templates with template macros][12].
|
200
202
|
#
|
201
203
|
# <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
|
202
204
|
# specified.
|
@@ -208,14 +210,15 @@ module Aws::CloudFormation
|
|
208
210
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html
|
209
211
|
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html
|
210
212
|
# [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
|
211
|
-
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
212
|
-
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
213
|
-
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
214
|
-
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-
|
215
|
-
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
216
|
-
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
217
|
-
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-
|
218
|
-
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
213
|
+
# [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html
|
214
|
+
# [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html
|
215
|
+
# [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
|
216
|
+
# [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html
|
217
|
+
# [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html
|
218
|
+
# [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities
|
219
|
+
# [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html
|
220
|
+
# [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
|
221
|
+
# [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
|
219
222
|
# @option options [Array<String>] :resource_types
|
220
223
|
# The template resource types that you have permissions to work with for
|
221
224
|
# this create stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`,
|
@@ -241,7 +244,7 @@ module Aws::CloudFormation
|
|
241
244
|
#
|
242
245
|
#
|
243
246
|
#
|
244
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/
|
247
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html
|
245
248
|
# @option options [String] :role_arn
|
246
249
|
# The Amazon Resource Name (ARN) of an IAM role that CloudFormation
|
247
250
|
# assumes to create the stack. CloudFormation uses the role's
|