aws-sdk-cloudformation 1.98.0 → 1.100.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,6 +57,6 @@ require_relative 'aws-sdk-cloudformation/customizations'
57
57
  # @!group service
58
58
  module Aws::CloudFormation
59
59
 
60
- GEM_VERSION = '1.98.0'
60
+ GEM_VERSION = '1.100.0'
61
61
 
62
62
  end
data/sig/client.rbs CHANGED
@@ -196,6 +196,28 @@ module Aws
196
196
  ) -> _CreateChangeSetResponseSuccess
197
197
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChangeSetResponseSuccess
198
198
 
199
+ interface _CreateGeneratedTemplateResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGeneratedTemplateOutput]
201
+ def generated_template_id: () -> ::String
202
+ end
203
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#create_generated_template-instance_method
204
+ def create_generated_template: (
205
+ ?resources: Array[
206
+ {
207
+ resource_type: ::String,
208
+ logical_resource_id: ::String?,
209
+ resource_identifier: Hash[::String, ::String]
210
+ },
211
+ ],
212
+ generated_template_name: ::String,
213
+ ?stack_name: ::String,
214
+ ?template_configuration: {
215
+ deletion_policy: ("DELETE" | "RETAIN")?,
216
+ update_replace_policy: ("DELETE" | "RETAIN")?
217
+ }
218
+ ) -> _CreateGeneratedTemplateResponseSuccess
219
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGeneratedTemplateResponseSuccess
220
+
199
221
  interface _CreateStackResponseSuccess
200
222
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateStackOutput]
201
223
  def stack_id: () -> ::String
@@ -350,6 +372,12 @@ module Aws
350
372
  ) -> _DeleteChangeSetResponseSuccess
351
373
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChangeSetResponseSuccess
352
374
 
375
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#delete_generated_template-instance_method
376
+ def delete_generated_template: (
377
+ generated_template_name: ::String
378
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
379
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
380
+
353
381
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#delete_stack-instance_method
354
382
  def delete_stack: (
355
383
  stack_name: ::String,
@@ -473,6 +501,26 @@ module Aws
473
501
  ) -> _DescribeChangeSetHooksResponseSuccess
474
502
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeChangeSetHooksResponseSuccess
475
503
 
504
+ interface _DescribeGeneratedTemplateResponseSuccess
505
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGeneratedTemplateOutput]
506
+ def generated_template_id: () -> ::String
507
+ def generated_template_name: () -> ::String
508
+ def resources: () -> ::Array[Types::ResourceDetail]
509
+ def status: () -> ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE")
510
+ def status_reason: () -> ::String
511
+ def creation_time: () -> ::Time
512
+ def last_updated_time: () -> ::Time
513
+ def progress: () -> Types::TemplateProgress
514
+ def stack_id: () -> ::String
515
+ def template_configuration: () -> Types::TemplateConfiguration
516
+ def total_warnings: () -> ::Integer
517
+ end
518
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_generated_template-instance_method
519
+ def describe_generated_template: (
520
+ generated_template_name: ::String
521
+ ) -> _DescribeGeneratedTemplateResponseSuccess
522
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGeneratedTemplateResponseSuccess
523
+
476
524
  interface _DescribeOrganizationsAccessResponseSuccess
477
525
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationsAccessOutput]
478
526
  def status: () -> ("ENABLED" | "DISABLED" | "DISABLED_PERMANENTLY")
@@ -496,6 +544,24 @@ module Aws
496
544
  ) -> _DescribePublisherResponseSuccess
497
545
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePublisherResponseSuccess
498
546
 
547
+ interface _DescribeResourceScanResponseSuccess
548
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourceScanOutput]
549
+ def resource_scan_id: () -> ::String
550
+ def status: () -> ("IN_PROGRESS" | "FAILED" | "COMPLETE" | "EXPIRED")
551
+ def status_reason: () -> ::String
552
+ def start_time: () -> ::Time
553
+ def end_time: () -> ::Time
554
+ def percentage_completed: () -> ::Float
555
+ def resource_types: () -> ::Array[::String]
556
+ def resources_scanned: () -> ::Integer
557
+ def resources_read: () -> ::Integer
558
+ end
559
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_resource_scan-instance_method
560
+ def describe_resource_scan: (
561
+ resource_scan_id: ::String
562
+ ) -> _DescribeResourceScanResponseSuccess
563
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourceScanResponseSuccess
564
+
499
565
  interface _DescribeStackDriftDetectionStatusResponseSuccess
500
566
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackDriftDetectionStatusOutput]
501
567
  def stack_id: () -> ::String
@@ -738,6 +804,18 @@ module Aws
738
804
  ) -> _ExecuteChangeSetResponseSuccess
739
805
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteChangeSetResponseSuccess
740
806
 
807
+ interface _GetGeneratedTemplateResponseSuccess
808
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetGeneratedTemplateOutput]
809
+ def status: () -> ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE")
810
+ def template_body: () -> ::String
811
+ end
812
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#get_generated_template-instance_method
813
+ def get_generated_template: (
814
+ ?format: ("JSON" | "YAML"),
815
+ generated_template_name: ::String
816
+ ) -> _GetGeneratedTemplateResponseSuccess
817
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGeneratedTemplateResponseSuccess
818
+
741
819
  interface _GetStackPolicyResponseSuccess
742
820
  include ::Seahorse::Client::_ResponseSuccess[Types::GetStackPolicyOutput]
743
821
  def stack_policy_body: () -> ::String
@@ -834,6 +912,18 @@ module Aws
834
912
  ) -> _ListExportsResponseSuccess
835
913
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExportsResponseSuccess
836
914
 
915
+ interface _ListGeneratedTemplatesResponseSuccess
916
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGeneratedTemplatesOutput]
917
+ def summaries: () -> ::Array[Types::TemplateSummary]
918
+ def next_token: () -> ::String
919
+ end
920
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_generated_templates-instance_method
921
+ def list_generated_templates: (
922
+ ?next_token: ::String,
923
+ ?max_results: ::Integer
924
+ ) -> _ListGeneratedTemplatesResponseSuccess
925
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGeneratedTemplatesResponseSuccess
926
+
837
927
  interface _ListImportsResponseSuccess
838
928
  include ::Seahorse::Client::_ResponseSuccess[Types::ListImportsOutput]
839
929
  def imports: () -> ::Array[::String]
@@ -846,6 +936,54 @@ module Aws
846
936
  ) -> _ListImportsResponseSuccess
847
937
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportsResponseSuccess
848
938
 
939
+ interface _ListResourceScanRelatedResourcesResponseSuccess
940
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceScanRelatedResourcesOutput]
941
+ def related_resources: () -> ::Array[Types::ScannedResource]
942
+ def next_token: () -> ::String
943
+ end
944
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_resource_scan_related_resources-instance_method
945
+ def list_resource_scan_related_resources: (
946
+ resource_scan_id: ::String,
947
+ resources: Array[
948
+ {
949
+ resource_type: ::String,
950
+ resource_identifier: Hash[::String, ::String]
951
+ },
952
+ ],
953
+ ?next_token: ::String,
954
+ ?max_results: ::Integer
955
+ ) -> _ListResourceScanRelatedResourcesResponseSuccess
956
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceScanRelatedResourcesResponseSuccess
957
+
958
+ interface _ListResourceScanResourcesResponseSuccess
959
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceScanResourcesOutput]
960
+ def resources: () -> ::Array[Types::ScannedResource]
961
+ def next_token: () -> ::String
962
+ end
963
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_resource_scan_resources-instance_method
964
+ def list_resource_scan_resources: (
965
+ resource_scan_id: ::String,
966
+ ?resource_identifier: ::String,
967
+ ?resource_type_prefix: ::String,
968
+ ?tag_key: ::String,
969
+ ?tag_value: ::String,
970
+ ?next_token: ::String,
971
+ ?max_results: ::Integer
972
+ ) -> _ListResourceScanResourcesResponseSuccess
973
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceScanResourcesResponseSuccess
974
+
975
+ interface _ListResourceScansResponseSuccess
976
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceScansOutput]
977
+ def resource_scan_summaries: () -> ::Array[Types::ResourceScanSummary]
978
+ def next_token: () -> ::String
979
+ end
980
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_resource_scans-instance_method
981
+ def list_resource_scans: (
982
+ ?next_token: ::String,
983
+ ?max_results: ::Integer
984
+ ) -> _ListResourceScansResponseSuccess
985
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceScansResponseSuccess
986
+
849
987
  interface _ListStackInstanceResourceDriftsResponseSuccess
850
988
  include ::Seahorse::Client::_ResponseSuccess[Types::ListStackInstanceResourceDriftsOutput]
851
989
  def summaries: () -> ::Array[Types::StackInstanceResourceDriftsSummary]
@@ -1126,6 +1264,16 @@ module Aws
1126
1264
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1127
1265
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1128
1266
 
1267
+ interface _StartResourceScanResponseSuccess
1268
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartResourceScanOutput]
1269
+ def resource_scan_id: () -> ::String
1270
+ end
1271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#start_resource_scan-instance_method
1272
+ def start_resource_scan: (
1273
+ ?client_request_token: ::String
1274
+ ) -> _StartResourceScanResponseSuccess
1275
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartResourceScanResponseSuccess
1276
+
1129
1277
  interface _StopStackSetOperationResponseSuccess
1130
1278
  include ::Seahorse::Client::_ResponseSuccess[Types::StopStackSetOperationOutput]
1131
1279
  end
@@ -1151,6 +1299,30 @@ module Aws
1151
1299
  ) -> _TestTypeResponseSuccess
1152
1300
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestTypeResponseSuccess
1153
1301
 
1302
+ interface _UpdateGeneratedTemplateResponseSuccess
1303
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGeneratedTemplateOutput]
1304
+ def generated_template_id: () -> ::String
1305
+ end
1306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#update_generated_template-instance_method
1307
+ def update_generated_template: (
1308
+ generated_template_name: ::String,
1309
+ ?new_generated_template_name: ::String,
1310
+ ?add_resources: Array[
1311
+ {
1312
+ resource_type: ::String,
1313
+ logical_resource_id: ::String?,
1314
+ resource_identifier: Hash[::String, ::String]
1315
+ },
1316
+ ],
1317
+ ?remove_resources: Array[::String],
1318
+ ?refresh_all_resources: bool,
1319
+ ?template_configuration: {
1320
+ deletion_policy: ("DELETE" | "RETAIN")?,
1321
+ update_replace_policy: ("DELETE" | "RETAIN")?
1322
+ }
1323
+ ) -> _UpdateGeneratedTemplateResponseSuccess
1324
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGeneratedTemplateResponseSuccess
1325
+
1154
1326
  interface _UpdateStackResponseSuccess
1155
1327
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStackOutput]
1156
1328
  def stack_id: () -> ::String
data/sig/errors.rbs CHANGED
@@ -18,8 +18,12 @@ module Aws
18
18
  end
19
19
  class ChangeSetNotFoundException < ::Aws::Errors::ServiceError
20
20
  end
21
+ class ConcurrentResourcesLimitExceededException < ::Aws::Errors::ServiceError
22
+ end
21
23
  class CreatedButModifiedException < ::Aws::Errors::ServiceError
22
24
  end
25
+ class GeneratedTemplateNotFoundException < ::Aws::Errors::ServiceError
26
+ end
23
27
  class InsufficientCapabilitiesException < ::Aws::Errors::ServiceError
24
28
  end
25
29
  class InvalidChangeSetStatusException < ::Aws::Errors::ServiceError
@@ -40,6 +44,12 @@ module Aws
40
44
  end
41
45
  class OperationStatusCheckFailedException < ::Aws::Errors::ServiceError
42
46
  end
47
+ class ResourceScanInProgressException < ::Aws::Errors::ServiceError
48
+ end
49
+ class ResourceScanLimitExceededException < ::Aws::Errors::ServiceError
50
+ end
51
+ class ResourceScanNotFoundException < ::Aws::Errors::ServiceError
52
+ end
43
53
  class StackInstanceNotFoundException < ::Aws::Errors::ServiceError
44
54
  end
45
55
  class StackNotFoundException < ::Aws::Errors::ServiceError
data/sig/event.rbs CHANGED
@@ -63,6 +63,9 @@ module Aws
63
63
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_failure_mode-instance_method
64
64
  def hook_failure_mode: () -> ("FAIL" | "WARN")
65
65
 
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#detailed_status-instance_method
67
+ def detailed_status: () -> ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED")
68
+
66
69
  def client: () -> Client
67
70
 
68
71
 
data/sig/stack.rbs CHANGED
@@ -84,6 +84,9 @@ module Aws
84
84
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#retain_except_on_create-instance_method
85
85
  def retain_except_on_create: () -> bool
86
86
 
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#detailed_status-instance_method
88
+ def detailed_status: () -> ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED")
89
+
87
90
  def client: () -> Client
88
91
 
89
92
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#load-instance_method
data/sig/types.rbs CHANGED
@@ -134,6 +134,9 @@ module Aws::CloudFormation
134
134
  SENSITIVE: []
135
135
  end
136
136
 
137
+ class ConcurrentResourcesLimitExceededException < Aws::EmptyStructure
138
+ end
139
+
137
140
  class ContinueUpdateRollbackInput
138
141
  attr_accessor stack_name: ::String
139
142
  attr_accessor role_arn: ::String
@@ -174,6 +177,19 @@ module Aws::CloudFormation
174
177
  SENSITIVE: []
175
178
  end
176
179
 
180
+ class CreateGeneratedTemplateInput
181
+ attr_accessor resources: ::Array[Types::ResourceDefinition]
182
+ attr_accessor generated_template_name: ::String
183
+ attr_accessor stack_name: ::String
184
+ attr_accessor template_configuration: Types::TemplateConfiguration
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class CreateGeneratedTemplateOutput
189
+ attr_accessor generated_template_id: ::String
190
+ SENSITIVE: []
191
+ end
192
+
177
193
  class CreateStackInput
178
194
  attr_accessor stack_name: ::String
179
195
  attr_accessor template_body: ::String
@@ -270,6 +286,11 @@ module Aws::CloudFormation
270
286
  class DeleteChangeSetOutput < Aws::EmptyStructure
271
287
  end
272
288
 
289
+ class DeleteGeneratedTemplateInput
290
+ attr_accessor generated_template_name: ::String
291
+ SENSITIVE: []
292
+ end
293
+
273
294
  class DeleteStackInput
274
295
  attr_accessor stack_name: ::String
275
296
  attr_accessor retain_resources: ::Array[::String]
@@ -385,6 +406,26 @@ module Aws::CloudFormation
385
406
  SENSITIVE: []
386
407
  end
387
408
 
409
+ class DescribeGeneratedTemplateInput
410
+ attr_accessor generated_template_name: ::String
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class DescribeGeneratedTemplateOutput
415
+ attr_accessor generated_template_id: ::String
416
+ attr_accessor generated_template_name: ::String
417
+ attr_accessor resources: ::Array[Types::ResourceDetail]
418
+ attr_accessor status: ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE")
419
+ attr_accessor status_reason: ::String
420
+ attr_accessor creation_time: ::Time
421
+ attr_accessor last_updated_time: ::Time
422
+ attr_accessor progress: Types::TemplateProgress
423
+ attr_accessor stack_id: ::String
424
+ attr_accessor template_configuration: Types::TemplateConfiguration
425
+ attr_accessor total_warnings: ::Integer
426
+ SENSITIVE: []
427
+ end
428
+
388
429
  class DescribeOrganizationsAccessInput
389
430
  attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN")
390
431
  SENSITIVE: []
@@ -408,6 +449,24 @@ module Aws::CloudFormation
408
449
  SENSITIVE: []
409
450
  end
410
451
 
452
+ class DescribeResourceScanInput
453
+ attr_accessor resource_scan_id: ::String
454
+ SENSITIVE: []
455
+ end
456
+
457
+ class DescribeResourceScanOutput
458
+ attr_accessor resource_scan_id: ::String
459
+ attr_accessor status: ("IN_PROGRESS" | "FAILED" | "COMPLETE" | "EXPIRED")
460
+ attr_accessor status_reason: ::String
461
+ attr_accessor start_time: ::Time
462
+ attr_accessor end_time: ::Time
463
+ attr_accessor percentage_completed: ::Float
464
+ attr_accessor resource_types: ::Array[::String]
465
+ attr_accessor resources_scanned: ::Integer
466
+ attr_accessor resources_read: ::Integer
467
+ SENSITIVE: []
468
+ end
469
+
411
470
  class DescribeStackDriftDetectionStatusInput
412
471
  attr_accessor stack_drift_detection_id: ::String
413
472
  SENSITIVE: []
@@ -641,6 +700,21 @@ module Aws::CloudFormation
641
700
  SENSITIVE: []
642
701
  end
643
702
 
703
+ class GeneratedTemplateNotFoundException < Aws::EmptyStructure
704
+ end
705
+
706
+ class GetGeneratedTemplateInput
707
+ attr_accessor format: ("JSON" | "YAML")
708
+ attr_accessor generated_template_name: ::String
709
+ SENSITIVE: []
710
+ end
711
+
712
+ class GetGeneratedTemplateOutput
713
+ attr_accessor status: ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE")
714
+ attr_accessor template_body: ::String
715
+ SENSITIVE: []
716
+ end
717
+
644
718
  class GetStackPolicyInput
645
719
  attr_accessor stack_name: ::String
646
720
  SENSITIVE: []
@@ -742,6 +816,18 @@ module Aws::CloudFormation
742
816
  SENSITIVE: []
743
817
  end
744
818
 
819
+ class ListGeneratedTemplatesInput
820
+ attr_accessor next_token: ::String
821
+ attr_accessor max_results: ::Integer
822
+ SENSITIVE: []
823
+ end
824
+
825
+ class ListGeneratedTemplatesOutput
826
+ attr_accessor summaries: ::Array[Types::TemplateSummary]
827
+ attr_accessor next_token: ::String
828
+ SENSITIVE: []
829
+ end
830
+
745
831
  class ListImportsInput
746
832
  attr_accessor export_name: ::String
747
833
  attr_accessor next_token: ::String
@@ -754,6 +840,49 @@ module Aws::CloudFormation
754
840
  SENSITIVE: []
755
841
  end
756
842
 
843
+ class ListResourceScanRelatedResourcesInput
844
+ attr_accessor resource_scan_id: ::String
845
+ attr_accessor resources: ::Array[Types::ScannedResourceIdentifier]
846
+ attr_accessor next_token: ::String
847
+ attr_accessor max_results: ::Integer
848
+ SENSITIVE: []
849
+ end
850
+
851
+ class ListResourceScanRelatedResourcesOutput
852
+ attr_accessor related_resources: ::Array[Types::ScannedResource]
853
+ attr_accessor next_token: ::String
854
+ SENSITIVE: []
855
+ end
856
+
857
+ class ListResourceScanResourcesInput
858
+ attr_accessor resource_scan_id: ::String
859
+ attr_accessor resource_identifier: ::String
860
+ attr_accessor resource_type_prefix: ::String
861
+ attr_accessor tag_key: ::String
862
+ attr_accessor tag_value: ::String
863
+ attr_accessor next_token: ::String
864
+ attr_accessor max_results: ::Integer
865
+ SENSITIVE: []
866
+ end
867
+
868
+ class ListResourceScanResourcesOutput
869
+ attr_accessor resources: ::Array[Types::ScannedResource]
870
+ attr_accessor next_token: ::String
871
+ SENSITIVE: []
872
+ end
873
+
874
+ class ListResourceScansInput
875
+ attr_accessor next_token: ::String
876
+ attr_accessor max_results: ::Integer
877
+ SENSITIVE: []
878
+ end
879
+
880
+ class ListResourceScansOutput
881
+ attr_accessor resource_scan_summaries: ::Array[Types::ResourceScanSummary]
882
+ attr_accessor next_token: ::String
883
+ SENSITIVE: []
884
+ end
885
+
757
886
  class ListStackInstanceResourceDriftsInput
758
887
  attr_accessor stack_set_name: ::String
759
888
  attr_accessor next_token: ::String
@@ -1072,6 +1201,23 @@ module Aws::CloudFormation
1072
1201
  SENSITIVE: []
1073
1202
  end
1074
1203
 
1204
+ class ResourceDefinition
1205
+ attr_accessor resource_type: ::String
1206
+ attr_accessor logical_resource_id: ::String
1207
+ attr_accessor resource_identifier: ::Hash[::String, ::String]
1208
+ SENSITIVE: []
1209
+ end
1210
+
1211
+ class ResourceDetail
1212
+ attr_accessor resource_type: ::String
1213
+ attr_accessor logical_resource_id: ::String
1214
+ attr_accessor resource_identifier: ::Hash[::String, ::String]
1215
+ attr_accessor resource_status: ("PENDING" | "IN_PROGRESS" | "FAILED" | "COMPLETE")
1216
+ attr_accessor resource_status_reason: ::String
1217
+ attr_accessor warnings: ::Array[Types::WarningDetail]
1218
+ SENSITIVE: []
1219
+ end
1220
+
1075
1221
  class ResourceIdentifierSummary
1076
1222
  attr_accessor resource_type: ::String
1077
1223
  attr_accessor logical_resource_ids: ::Array[::String]
@@ -1079,6 +1225,25 @@ module Aws::CloudFormation
1079
1225
  SENSITIVE: []
1080
1226
  end
1081
1227
 
1228
+ class ResourceScanInProgressException < Aws::EmptyStructure
1229
+ end
1230
+
1231
+ class ResourceScanLimitExceededException < Aws::EmptyStructure
1232
+ end
1233
+
1234
+ class ResourceScanNotFoundException < Aws::EmptyStructure
1235
+ end
1236
+
1237
+ class ResourceScanSummary
1238
+ attr_accessor resource_scan_id: ::String
1239
+ attr_accessor status: ("IN_PROGRESS" | "FAILED" | "COMPLETE" | "EXPIRED")
1240
+ attr_accessor status_reason: ::String
1241
+ attr_accessor start_time: ::Time
1242
+ attr_accessor end_time: ::Time
1243
+ attr_accessor percentage_completed: ::Float
1244
+ SENSITIVE: []
1245
+ end
1246
+
1082
1247
  class ResourceTargetDefinition
1083
1248
  attr_accessor attribute: ("Properties" | "Metadata" | "CreationPolicy" | "UpdatePolicy" | "DeletionPolicy" | "UpdateReplacePolicy" | "Tags")
1084
1249
  attr_accessor name: ::String
@@ -1118,6 +1283,19 @@ module Aws::CloudFormation
1118
1283
  SENSITIVE: []
1119
1284
  end
1120
1285
 
1286
+ class ScannedResource
1287
+ attr_accessor resource_type: ::String
1288
+ attr_accessor resource_identifier: ::Hash[::String, ::String]
1289
+ attr_accessor managed_by_stack: bool
1290
+ SENSITIVE: []
1291
+ end
1292
+
1293
+ class ScannedResourceIdentifier
1294
+ attr_accessor resource_type: ::String
1295
+ attr_accessor resource_identifier: ::Hash[::String, ::String]
1296
+ SENSITIVE: []
1297
+ end
1298
+
1121
1299
  class SetStackPolicyInput
1122
1300
  attr_accessor stack_name: ::String
1123
1301
  attr_accessor stack_policy_body: ::String
@@ -1182,6 +1360,7 @@ module Aws::CloudFormation
1182
1360
  attr_accessor root_id: ::String
1183
1361
  attr_accessor drift_information: Types::StackDriftInformation
1184
1362
  attr_accessor retain_except_on_create: bool
1363
+ attr_accessor detailed_status: ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED")
1185
1364
  SENSITIVE: []
1186
1365
  end
1187
1366
 
@@ -1214,6 +1393,7 @@ module Aws::CloudFormation
1214
1393
  attr_accessor hook_status_reason: ::String
1215
1394
  attr_accessor hook_invocation_point: ("PRE_PROVISION")
1216
1395
  attr_accessor hook_failure_mode: ("FAIL" | "WARN")
1396
+ attr_accessor detailed_status: ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED")
1217
1397
  SENSITIVE: []
1218
1398
  end
1219
1399
 
@@ -1234,7 +1414,7 @@ module Aws::CloudFormation
1234
1414
  end
1235
1415
 
1236
1416
  class StackInstanceComprehensiveStatus
1237
- attr_accessor detailed_status: ("PENDING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED" | "INOPERABLE" | "SKIPPED_SUSPENDED_ACCOUNT")
1417
+ attr_accessor detailed_status: ("PENDING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED" | "INOPERABLE" | "SKIPPED_SUSPENDED_ACCOUNT" | "FAILED_IMPORT")
1238
1418
  SENSITIVE: []
1239
1419
  end
1240
1420
 
@@ -1473,6 +1653,16 @@ module Aws::CloudFormation
1473
1653
  class StaleRequestException < Aws::EmptyStructure
1474
1654
  end
1475
1655
 
1656
+ class StartResourceScanInput
1657
+ attr_accessor client_request_token: ::String
1658
+ SENSITIVE: []
1659
+ end
1660
+
1661
+ class StartResourceScanOutput
1662
+ attr_accessor resource_scan_id: ::String
1663
+ SENSITIVE: []
1664
+ end
1665
+
1476
1666
  class StopStackSetOperationInput
1477
1667
  attr_accessor stack_set_name: ::String
1478
1668
  attr_accessor operation_id: ::String
@@ -1489,6 +1679,12 @@ module Aws::CloudFormation
1489
1679
  SENSITIVE: []
1490
1680
  end
1491
1681
 
1682
+ class TemplateConfiguration
1683
+ attr_accessor deletion_policy: ("DELETE" | "RETAIN")
1684
+ attr_accessor update_replace_policy: ("DELETE" | "RETAIN")
1685
+ SENSITIVE: []
1686
+ end
1687
+
1492
1688
  class TemplateParameter
1493
1689
  attr_accessor parameter_key: ::String
1494
1690
  attr_accessor default_value: ::String
@@ -1497,6 +1693,25 @@ module Aws::CloudFormation
1497
1693
  SENSITIVE: []
1498
1694
  end
1499
1695
 
1696
+ class TemplateProgress
1697
+ attr_accessor resources_succeeded: ::Integer
1698
+ attr_accessor resources_failed: ::Integer
1699
+ attr_accessor resources_processing: ::Integer
1700
+ attr_accessor resources_pending: ::Integer
1701
+ SENSITIVE: []
1702
+ end
1703
+
1704
+ class TemplateSummary
1705
+ attr_accessor generated_template_id: ::String
1706
+ attr_accessor generated_template_name: ::String
1707
+ attr_accessor status: ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE")
1708
+ attr_accessor status_reason: ::String
1709
+ attr_accessor creation_time: ::Time
1710
+ attr_accessor last_updated_time: ::Time
1711
+ attr_accessor number_of_resources: ::Integer
1712
+ SENSITIVE: []
1713
+ end
1714
+
1500
1715
  class TemplateSummaryConfig
1501
1716
  attr_accessor treat_unrecognized_resource_types_as_warnings: bool
1502
1717
  SENSITIVE: []
@@ -1581,6 +1796,21 @@ module Aws::CloudFormation
1581
1796
  SENSITIVE: []
1582
1797
  end
1583
1798
 
1799
+ class UpdateGeneratedTemplateInput
1800
+ attr_accessor generated_template_name: ::String
1801
+ attr_accessor new_generated_template_name: ::String
1802
+ attr_accessor add_resources: ::Array[Types::ResourceDefinition]
1803
+ attr_accessor remove_resources: ::Array[::String]
1804
+ attr_accessor refresh_all_resources: bool
1805
+ attr_accessor template_configuration: Types::TemplateConfiguration
1806
+ SENSITIVE: []
1807
+ end
1808
+
1809
+ class UpdateGeneratedTemplateOutput
1810
+ attr_accessor generated_template_id: ::String
1811
+ SENSITIVE: []
1812
+ end
1813
+
1584
1814
  class UpdateStackInput
1585
1815
  attr_accessor stack_name: ::String
1586
1816
  attr_accessor template_body: ::String
@@ -1679,6 +1909,19 @@ module Aws::CloudFormation
1679
1909
  SENSITIVE: []
1680
1910
  end
1681
1911
 
1912
+ class WarningDetail
1913
+ attr_accessor type: ("MUTUALLY_EXCLUSIVE_PROPERTIES" | "UNSUPPORTED_PROPERTIES" | "MUTUALLY_EXCLUSIVE_TYPES")
1914
+ attr_accessor properties: ::Array[Types::WarningProperty]
1915
+ SENSITIVE: []
1916
+ end
1917
+
1918
+ class WarningProperty
1919
+ attr_accessor property_path: ::String
1920
+ attr_accessor required: bool
1921
+ attr_accessor description: ::String
1922
+ SENSITIVE: []
1923
+ end
1924
+
1682
1925
  class Warnings
1683
1926
  attr_accessor unrecognized_resource_types: ::Array[::String]
1684
1927
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.98.0
4
+ version: 1.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core