aws-sdk-cloudformation 1.97.0 → 1.99.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -96,6 +96,20 @@ module Aws::CloudFormation
96
96
  end
97
97
  end
98
98
 
99
+ class CreateGeneratedTemplate
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::CloudFormation::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
99
113
  class CreateStack
100
114
  def self.build(context)
101
115
  unless context.config.regional_endpoint
@@ -180,6 +194,20 @@ module Aws::CloudFormation
180
194
  end
181
195
  end
182
196
 
197
+ class DeleteGeneratedTemplate
198
+ def self.build(context)
199
+ unless context.config.regional_endpoint
200
+ endpoint = context.config.endpoint.to_s
201
+ end
202
+ Aws::CloudFormation::EndpointParameters.new(
203
+ region: context.config.region,
204
+ use_dual_stack: context.config.use_dualstack_endpoint,
205
+ use_fips: context.config.use_fips_endpoint,
206
+ endpoint: endpoint,
207
+ )
208
+ end
209
+ end
210
+
183
211
  class DeleteStack
184
212
  def self.build(context)
185
213
  unless context.config.regional_endpoint
@@ -278,6 +306,20 @@ module Aws::CloudFormation
278
306
  end
279
307
  end
280
308
 
309
+ class DescribeGeneratedTemplate
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::CloudFormation::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
281
323
  class DescribeOrganizationsAccess
282
324
  def self.build(context)
283
325
  unless context.config.regional_endpoint
@@ -306,6 +348,20 @@ module Aws::CloudFormation
306
348
  end
307
349
  end
308
350
 
351
+ class DescribeResourceScan
352
+ def self.build(context)
353
+ unless context.config.regional_endpoint
354
+ endpoint = context.config.endpoint.to_s
355
+ end
356
+ Aws::CloudFormation::EndpointParameters.new(
357
+ region: context.config.region,
358
+ use_dual_stack: context.config.use_dualstack_endpoint,
359
+ use_fips: context.config.use_fips_endpoint,
360
+ endpoint: endpoint,
361
+ )
362
+ end
363
+ end
364
+
309
365
  class DescribeStackDriftDetectionStatus
310
366
  def self.build(context)
311
367
  unless context.config.regional_endpoint
@@ -530,6 +586,20 @@ module Aws::CloudFormation
530
586
  end
531
587
  end
532
588
 
589
+ class GetGeneratedTemplate
590
+ def self.build(context)
591
+ unless context.config.regional_endpoint
592
+ endpoint = context.config.endpoint.to_s
593
+ end
594
+ Aws::CloudFormation::EndpointParameters.new(
595
+ region: context.config.region,
596
+ use_dual_stack: context.config.use_dualstack_endpoint,
597
+ use_fips: context.config.use_fips_endpoint,
598
+ endpoint: endpoint,
599
+ )
600
+ end
601
+ end
602
+
533
603
  class GetStackPolicy
534
604
  def self.build(context)
535
605
  unless context.config.regional_endpoint
@@ -614,6 +684,20 @@ module Aws::CloudFormation
614
684
  end
615
685
  end
616
686
 
687
+ class ListGeneratedTemplates
688
+ def self.build(context)
689
+ unless context.config.regional_endpoint
690
+ endpoint = context.config.endpoint.to_s
691
+ end
692
+ Aws::CloudFormation::EndpointParameters.new(
693
+ region: context.config.region,
694
+ use_dual_stack: context.config.use_dualstack_endpoint,
695
+ use_fips: context.config.use_fips_endpoint,
696
+ endpoint: endpoint,
697
+ )
698
+ end
699
+ end
700
+
617
701
  class ListImports
618
702
  def self.build(context)
619
703
  unless context.config.regional_endpoint
@@ -628,6 +712,48 @@ module Aws::CloudFormation
628
712
  end
629
713
  end
630
714
 
715
+ class ListResourceScanRelatedResources
716
+ def self.build(context)
717
+ unless context.config.regional_endpoint
718
+ endpoint = context.config.endpoint.to_s
719
+ end
720
+ Aws::CloudFormation::EndpointParameters.new(
721
+ region: context.config.region,
722
+ use_dual_stack: context.config.use_dualstack_endpoint,
723
+ use_fips: context.config.use_fips_endpoint,
724
+ endpoint: endpoint,
725
+ )
726
+ end
727
+ end
728
+
729
+ class ListResourceScanResources
730
+ def self.build(context)
731
+ unless context.config.regional_endpoint
732
+ endpoint = context.config.endpoint.to_s
733
+ end
734
+ Aws::CloudFormation::EndpointParameters.new(
735
+ region: context.config.region,
736
+ use_dual_stack: context.config.use_dualstack_endpoint,
737
+ use_fips: context.config.use_fips_endpoint,
738
+ endpoint: endpoint,
739
+ )
740
+ end
741
+ end
742
+
743
+ class ListResourceScans
744
+ def self.build(context)
745
+ unless context.config.regional_endpoint
746
+ endpoint = context.config.endpoint.to_s
747
+ end
748
+ Aws::CloudFormation::EndpointParameters.new(
749
+ region: context.config.region,
750
+ use_dual_stack: context.config.use_dualstack_endpoint,
751
+ use_fips: context.config.use_fips_endpoint,
752
+ endpoint: endpoint,
753
+ )
754
+ end
755
+ end
756
+
631
757
  class ListStackInstanceResourceDrifts
632
758
  def self.build(context)
633
759
  unless context.config.regional_endpoint
@@ -894,6 +1020,20 @@ module Aws::CloudFormation
894
1020
  end
895
1021
  end
896
1022
 
1023
+ class StartResourceScan
1024
+ def self.build(context)
1025
+ unless context.config.regional_endpoint
1026
+ endpoint = context.config.endpoint.to_s
1027
+ end
1028
+ Aws::CloudFormation::EndpointParameters.new(
1029
+ region: context.config.region,
1030
+ use_dual_stack: context.config.use_dualstack_endpoint,
1031
+ use_fips: context.config.use_fips_endpoint,
1032
+ endpoint: endpoint,
1033
+ )
1034
+ end
1035
+ end
1036
+
897
1037
  class StopStackSetOperation
898
1038
  def self.build(context)
899
1039
  unless context.config.regional_endpoint
@@ -922,6 +1062,20 @@ module Aws::CloudFormation
922
1062
  end
923
1063
  end
924
1064
 
1065
+ class UpdateGeneratedTemplate
1066
+ def self.build(context)
1067
+ unless context.config.regional_endpoint
1068
+ endpoint = context.config.endpoint.to_s
1069
+ end
1070
+ Aws::CloudFormation::EndpointParameters.new(
1071
+ region: context.config.region,
1072
+ use_dual_stack: context.config.use_dualstack_endpoint,
1073
+ use_fips: context.config.use_fips_endpoint,
1074
+ endpoint: endpoint,
1075
+ )
1076
+ end
1077
+ end
1078
+
925
1079
  class UpdateStack
926
1080
  def self.build(context)
927
1081
  unless context.config.regional_endpoint
@@ -30,7 +30,9 @@ module Aws::CloudFormation
30
30
  # * {AlreadyExistsException}
31
31
  # * {CFNRegistryException}
32
32
  # * {ChangeSetNotFoundException}
33
+ # * {ConcurrentResourcesLimitExceededException}
33
34
  # * {CreatedButModifiedException}
35
+ # * {GeneratedTemplateNotFoundException}
34
36
  # * {InsufficientCapabilitiesException}
35
37
  # * {InvalidChangeSetStatusException}
36
38
  # * {InvalidOperationException}
@@ -41,6 +43,9 @@ module Aws::CloudFormation
41
43
  # * {OperationInProgressException}
42
44
  # * {OperationNotFoundException}
43
45
  # * {OperationStatusCheckFailedException}
46
+ # * {ResourceScanInProgressException}
47
+ # * {ResourceScanLimitExceededException}
48
+ # * {ResourceScanNotFoundException}
44
49
  # * {StackInstanceNotFoundException}
45
50
  # * {StackNotFoundException}
46
51
  # * {StackSetNotEmptyException}
@@ -91,6 +96,16 @@ module Aws::CloudFormation
91
96
  end
92
97
  end
93
98
 
99
+ class ConcurrentResourcesLimitExceededException < ServiceError
100
+
101
+ # @param [Seahorse::Client::RequestContext] context
102
+ # @param [String] message
103
+ # @param [Aws::CloudFormation::Types::ConcurrentResourcesLimitExceededException] data
104
+ def initialize(context, message, data = Aws::EmptyStructure.new)
105
+ super(context, message, data)
106
+ end
107
+ end
108
+
94
109
  class CreatedButModifiedException < ServiceError
95
110
 
96
111
  # @param [Seahorse::Client::RequestContext] context
@@ -101,6 +116,16 @@ module Aws::CloudFormation
101
116
  end
102
117
  end
103
118
 
119
+ class GeneratedTemplateNotFoundException < ServiceError
120
+
121
+ # @param [Seahorse::Client::RequestContext] context
122
+ # @param [String] message
123
+ # @param [Aws::CloudFormation::Types::GeneratedTemplateNotFoundException] data
124
+ def initialize(context, message, data = Aws::EmptyStructure.new)
125
+ super(context, message, data)
126
+ end
127
+ end
128
+
104
129
  class InsufficientCapabilitiesException < ServiceError
105
130
 
106
131
  # @param [Seahorse::Client::RequestContext] context
@@ -201,6 +226,36 @@ module Aws::CloudFormation
201
226
  end
202
227
  end
203
228
 
229
+ class ResourceScanInProgressException < ServiceError
230
+
231
+ # @param [Seahorse::Client::RequestContext] context
232
+ # @param [String] message
233
+ # @param [Aws::CloudFormation::Types::ResourceScanInProgressException] data
234
+ def initialize(context, message, data = Aws::EmptyStructure.new)
235
+ super(context, message, data)
236
+ end
237
+ end
238
+
239
+ class ResourceScanLimitExceededException < ServiceError
240
+
241
+ # @param [Seahorse::Client::RequestContext] context
242
+ # @param [String] message
243
+ # @param [Aws::CloudFormation::Types::ResourceScanLimitExceededException] data
244
+ def initialize(context, message, data = Aws::EmptyStructure.new)
245
+ super(context, message, data)
246
+ end
247
+ end
248
+
249
+ class ResourceScanNotFoundException < ServiceError
250
+
251
+ # @param [Seahorse::Client::RequestContext] context
252
+ # @param [String] message
253
+ # @param [Aws::CloudFormation::Types::ResourceScanNotFoundException] data
254
+ def initialize(context, message, data = Aws::EmptyStructure.new)
255
+ super(context, message, data)
256
+ end
257
+ end
258
+
204
259
  class StackInstanceNotFoundException < ServiceError
205
260
 
206
261
  # @param [Seahorse::Client::RequestContext] context
@@ -14,6 +14,7 @@ module Aws::CloudFormation
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CloudFormation::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -69,6 +70,8 @@ module Aws::CloudFormation
69
70
  Aws::CloudFormation::Endpoints::ContinueUpdateRollback.build(context)
70
71
  when :create_change_set
71
72
  Aws::CloudFormation::Endpoints::CreateChangeSet.build(context)
73
+ when :create_generated_template
74
+ Aws::CloudFormation::Endpoints::CreateGeneratedTemplate.build(context)
72
75
  when :create_stack
73
76
  Aws::CloudFormation::Endpoints::CreateStack.build(context)
74
77
  when :create_stack_instances
@@ -81,6 +84,8 @@ module Aws::CloudFormation
81
84
  Aws::CloudFormation::Endpoints::DeactivateType.build(context)
82
85
  when :delete_change_set
83
86
  Aws::CloudFormation::Endpoints::DeleteChangeSet.build(context)
87
+ when :delete_generated_template
88
+ Aws::CloudFormation::Endpoints::DeleteGeneratedTemplate.build(context)
84
89
  when :delete_stack
85
90
  Aws::CloudFormation::Endpoints::DeleteStack.build(context)
86
91
  when :delete_stack_instances
@@ -95,10 +100,14 @@ module Aws::CloudFormation
95
100
  Aws::CloudFormation::Endpoints::DescribeChangeSet.build(context)
96
101
  when :describe_change_set_hooks
97
102
  Aws::CloudFormation::Endpoints::DescribeChangeSetHooks.build(context)
103
+ when :describe_generated_template
104
+ Aws::CloudFormation::Endpoints::DescribeGeneratedTemplate.build(context)
98
105
  when :describe_organizations_access
99
106
  Aws::CloudFormation::Endpoints::DescribeOrganizationsAccess.build(context)
100
107
  when :describe_publisher
101
108
  Aws::CloudFormation::Endpoints::DescribePublisher.build(context)
109
+ when :describe_resource_scan
110
+ Aws::CloudFormation::Endpoints::DescribeResourceScan.build(context)
102
111
  when :describe_stack_drift_detection_status
103
112
  Aws::CloudFormation::Endpoints::DescribeStackDriftDetectionStatus.build(context)
104
113
  when :describe_stack_events
@@ -131,6 +140,8 @@ module Aws::CloudFormation
131
140
  Aws::CloudFormation::Endpoints::EstimateTemplateCost.build(context)
132
141
  when :execute_change_set
133
142
  Aws::CloudFormation::Endpoints::ExecuteChangeSet.build(context)
143
+ when :get_generated_template
144
+ Aws::CloudFormation::Endpoints::GetGeneratedTemplate.build(context)
134
145
  when :get_stack_policy
135
146
  Aws::CloudFormation::Endpoints::GetStackPolicy.build(context)
136
147
  when :get_template
@@ -143,8 +154,16 @@ module Aws::CloudFormation
143
154
  Aws::CloudFormation::Endpoints::ListChangeSets.build(context)
144
155
  when :list_exports
145
156
  Aws::CloudFormation::Endpoints::ListExports.build(context)
157
+ when :list_generated_templates
158
+ Aws::CloudFormation::Endpoints::ListGeneratedTemplates.build(context)
146
159
  when :list_imports
147
160
  Aws::CloudFormation::Endpoints::ListImports.build(context)
161
+ when :list_resource_scan_related_resources
162
+ Aws::CloudFormation::Endpoints::ListResourceScanRelatedResources.build(context)
163
+ when :list_resource_scan_resources
164
+ Aws::CloudFormation::Endpoints::ListResourceScanResources.build(context)
165
+ when :list_resource_scans
166
+ Aws::CloudFormation::Endpoints::ListResourceScans.build(context)
148
167
  when :list_stack_instance_resource_drifts
149
168
  Aws::CloudFormation::Endpoints::ListStackInstanceResourceDrifts.build(context)
150
169
  when :list_stack_instances
@@ -183,10 +202,14 @@ module Aws::CloudFormation
183
202
  Aws::CloudFormation::Endpoints::SetTypeDefaultVersion.build(context)
184
203
  when :signal_resource
185
204
  Aws::CloudFormation::Endpoints::SignalResource.build(context)
205
+ when :start_resource_scan
206
+ Aws::CloudFormation::Endpoints::StartResourceScan.build(context)
186
207
  when :stop_stack_set_operation
187
208
  Aws::CloudFormation::Endpoints::StopStackSetOperation.build(context)
188
209
  when :test_type
189
210
  Aws::CloudFormation::Endpoints::TestType.build(context)
211
+ when :update_generated_template
212
+ Aws::CloudFormation::Endpoints::UpdateGeneratedTemplate.build(context)
190
213
  when :update_stack
191
214
  Aws::CloudFormation::Endpoints::UpdateStack.build(context)
192
215
  when :update_stack_instances
@@ -129,7 +129,7 @@ module Aws::CloudFormation
129
129
  # period afterwards.
130
130
  # @option options [Integer] :timeout_in_minutes
131
131
  # The amount of time that can pass before the stack status becomes
132
- # CREATE\_FAILED; if `DisableRollback` is not set or is set to `false`,
132
+ # `CREATE_FAILED`; if `DisableRollback` is not set or is set to `false`,
133
133
  # the stack will be rolled back.
134
134
  # @option options [Array<String>] :notification_arns
135
135
  # The Amazon Simple Notification Service (Amazon SNS) topic ARNs to
@@ -494,7 +494,7 @@ module Aws::CloudFormation
494
494
  # period afterwards.
495
495
  # @option options [Integer] :timeout_in_minutes
496
496
  # The amount of time that can pass before the stack status becomes
497
- # CREATE\_FAILED; if `DisableRollback` is not set or is set to `false`,
497
+ # `CREATE_FAILED`; if `DisableRollback` is not set or is set to `false`,
498
498
  # the stack will be rolled back.
499
499
  # @option options [Array<String>] :notification_arns
500
500
  # The Amazon Simple Notification Service (Amazon SNS) topic ARNs to