aws-sdk-cloudformation 1.123.0 → 1.125.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8ba1e28ca58dee3beb4c9e311fa9e6a40c45f1d43126694dbdde941570b6b48
4
- data.tar.gz: 4bae7c8ab299aebed25035e617ecc30ad8a4966b1688f3c640d4d966155fd25d
3
+ metadata.gz: d953276cf24357cfd4962b768412dce571575fe9ed41e7775adb0401cf84cf75
4
+ data.tar.gz: 43858a0250c9adf6c34fb13f5bc916285d669c190d9011c677e9c47289ad7b79
5
5
  SHA512:
6
- metadata.gz: 6e9f064b61689d3d70baeb2f290a5dab1da6d46afa1232aa9cefa9de075289c49d4c62e3db23d611472cbdad515fceaf786a7c6f8804218c90f01127a2d59a71
7
- data.tar.gz: 910a4a68a70d54438f075a61b873980243fbfecb29f65a73cb69dbb9baa2939a663fce59fd128674adf7e492e5a8cd1338e0f2afc8c87ad5e733f01c71f04404
6
+ metadata.gz: 81bc52e2ef90e971f9d681b7602cf4d31b9573ac0d771a31e8e3001d151683f6b4ec955f297fc2886f58748b865c2699fc9ede815d37fe15c829bc4c7e0b0394
7
+ data.tar.gz: '059ac524233e61776d7d903dfce30990a3ace8d357c1229e35443df69732ed0983017195ffdaa28ea6a170d11a224c97ff8603a11e2df7cbe218c01a56468f3d'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.125.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.124.0 (2024-11-18)
10
+ ------------------
11
+
12
+ * Feature - This release adds a new API, ListHookResults, that allows retrieving CloudFormation Hooks invocation results for hooks invoked during a create change set operation or Cloud Control API operation
13
+
4
14
  1.123.0 (2024-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.123.0
1
+ 1.125.0
@@ -257,11 +257,34 @@ module Aws::CloudFormation
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -892,7 +915,6 @@ module Aws::CloudFormation
892
915
  #
893
916
  # * If you don't specify either of these capabilities, CloudFormation
894
917
  # returns an `InsufficientCapabilities` error.
895
- #
896
918
  # If your stack template contains these resources, we suggest that you
897
919
  # review all permissions associated with them and edit their
898
920
  # permissions if necessary.
@@ -910,7 +932,6 @@ module Aws::CloudFormation
910
932
  # * [ AWS::IAM::User][6]
911
933
  #
912
934
  # * [AWS::IAM::UserToGroupAddition][7]
913
- #
914
935
  # For more information, see [Acknowledging IAM resources in
915
936
  # CloudFormation templates][8].
916
937
  #
@@ -1347,7 +1368,6 @@ module Aws::CloudFormation
1347
1368
  #
1348
1369
  # * If you don't specify either of these capabilities, CloudFormation
1349
1370
  # returns an `InsufficientCapabilities` error.
1350
- #
1351
1371
  # If your stack template contains these resources, we recommend that
1352
1372
  # you review all permissions associated with them and edit their
1353
1373
  # permissions if necessary.
@@ -1365,7 +1385,6 @@ module Aws::CloudFormation
1365
1385
  # * [AWS::IAM::User][6]
1366
1386
  #
1367
1387
  # * [AWS::IAM::UserToGroupAddition][7]
1368
- #
1369
1388
  # For more information, see [Acknowledging IAM resources in
1370
1389
  # CloudFormation templates][8].
1371
1390
  #
@@ -1808,7 +1827,6 @@ module Aws::CloudFormation
1808
1827
  #
1809
1828
  # * If you don't specify either of these capabilities, CloudFormation
1810
1829
  # returns an `InsufficientCapabilities` error.
1811
- #
1812
1830
  # If your stack template contains these resources, we recommend that
1813
1831
  # you review all permissions associated with them and edit their
1814
1832
  # permissions if necessary.
@@ -1826,7 +1844,6 @@ module Aws::CloudFormation
1826
1844
  # * [AWS::IAM::User][6]
1827
1845
  #
1828
1846
  # * [AWS::IAM::UserToGroupAddition][7]
1829
- #
1830
1847
  # For more information, see [Acknowledging IAM resources in
1831
1848
  # CloudFormation templates][8].
1832
1849
  #
@@ -4962,6 +4979,67 @@ module Aws::CloudFormation
4962
4979
  req.send_request(options)
4963
4980
  end
4964
4981
 
4982
+ # Returns summaries of invoked Hooks when a change set or Cloud Control
4983
+ # API operation target is provided.
4984
+ #
4985
+ # @option params [required, String] :target_type
4986
+ # The type of operation being targeted by the Hook.
4987
+ #
4988
+ # @option params [required, String] :target_id
4989
+ # The logical ID of the target the operation is acting on by the Hook.
4990
+ # If the target is a change set, it's the ARN of the change set.
4991
+ #
4992
+ # If the target is a Cloud Control API operation, this will be the
4993
+ # `HookRequestToken` returned by the Cloud Control API operation
4994
+ # request. For more information on the `HookRequestToken`, see
4995
+ # [ProgressEvent][1].
4996
+ #
4997
+ #
4998
+ #
4999
+ # [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html
5000
+ #
5001
+ # @option params [String] :next_token
5002
+ # A string that identifies the next page of events that you want to
5003
+ # retrieve.
5004
+ #
5005
+ # @return [Types::ListHookResultsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5006
+ #
5007
+ # * {Types::ListHookResultsOutput#target_type #target_type} => String
5008
+ # * {Types::ListHookResultsOutput#target_id #target_id} => String
5009
+ # * {Types::ListHookResultsOutput#hook_results #hook_results} => Array<Types::HookResultSummary>
5010
+ # * {Types::ListHookResultsOutput#next_token #next_token} => String
5011
+ #
5012
+ # @example Request syntax with placeholder values
5013
+ #
5014
+ # resp = client.list_hook_results({
5015
+ # target_type: "CHANGE_SET", # required, accepts CHANGE_SET, STACK, RESOURCE, CLOUD_CONTROL
5016
+ # target_id: "HookResultId", # required
5017
+ # next_token: "NextToken",
5018
+ # })
5019
+ #
5020
+ # @example Response structure
5021
+ #
5022
+ # resp.target_type #=> String, one of "CHANGE_SET", "STACK", "RESOURCE", "CLOUD_CONTROL"
5023
+ # resp.target_id #=> String
5024
+ # resp.hook_results #=> Array
5025
+ # resp.hook_results[0].invocation_point #=> String, one of "PRE_PROVISION"
5026
+ # resp.hook_results[0].failure_mode #=> String, one of "FAIL", "WARN"
5027
+ # resp.hook_results[0].type_name #=> String
5028
+ # resp.hook_results[0].type_version_id #=> String
5029
+ # resp.hook_results[0].type_configuration_version_id #=> String
5030
+ # resp.hook_results[0].status #=> String, one of "HOOK_IN_PROGRESS", "HOOK_COMPLETE_SUCCEEDED", "HOOK_COMPLETE_FAILED", "HOOK_FAILED"
5031
+ # resp.hook_results[0].hook_status_reason #=> String
5032
+ # resp.next_token #=> String
5033
+ #
5034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListHookResults AWS API Documentation
5035
+ #
5036
+ # @overload list_hook_results(params = {})
5037
+ # @param [Hash] params ({})
5038
+ def list_hook_results(params = {}, options = {})
5039
+ req = build_request(:list_hook_results, params)
5040
+ req.send_request(options)
5041
+ end
5042
+
4965
5043
  # Lists all stacks that are importing an exported output value. To
4966
5044
  # modify or remove an exported output value, first use this action to
4967
5045
  # see which stacks are using it. To see the exported output values in
@@ -6201,7 +6279,6 @@ module Aws::CloudFormation
6201
6279
  #
6202
6280
  # * Public extensions that you have activated in this account and
6203
6281
  # Region.
6204
- #
6205
6282
  # * `PUBLIC`: Extensions that are publicly visible and available to be
6206
6283
  # activated within any Amazon Web Services account. This includes
6207
6284
  # extensions from Amazon Web Services, in addition to third-party
@@ -7424,7 +7501,6 @@ module Aws::CloudFormation
7424
7501
  #
7425
7502
  # * If you don't specify either of these capabilities, CloudFormation
7426
7503
  # returns an `InsufficientCapabilities` error.
7427
- #
7428
7504
  # If your stack template contains these resources, we suggest that you
7429
7505
  # review all permissions associated with them and edit their
7430
7506
  # permissions if necessary.
@@ -7442,7 +7518,6 @@ module Aws::CloudFormation
7442
7518
  # * [ AWS::IAM::User][6]
7443
7519
  #
7444
7520
  # * [AWS::IAM::UserToGroupAddition][7]
7445
- #
7446
7521
  # For more information, see [Acknowledging IAM resources in
7447
7522
  # CloudFormation templates][8].
7448
7523
  #
@@ -7911,7 +7986,6 @@ module Aws::CloudFormation
7911
7986
  #
7912
7987
  # * If you don't specify either of these capabilities, CloudFormation
7913
7988
  # returns an `InsufficientCapabilities` error.
7914
- #
7915
7989
  # If your stack template contains these resources, we recommend that
7916
7990
  # you review all permissions associated with them and edit their
7917
7991
  # permissions if necessary.
@@ -7929,7 +8003,6 @@ module Aws::CloudFormation
7929
8003
  # * [AWS::IAM::User][6]
7930
8004
  #
7931
8005
  # * [AWS::IAM::UserToGroupAddition][7]
7932
- #
7933
8006
  # For more information, see [Acknowledging IAM resources in
7934
8007
  # CloudFormation templates][8].
7935
8008
  #
@@ -8351,7 +8424,7 @@ module Aws::CloudFormation
8351
8424
  tracer: tracer
8352
8425
  )
8353
8426
  context[:gem_name] = 'aws-sdk-cloudformation'
8354
- context[:gem_version] = '1.123.0'
8427
+ context[:gem_version] = '1.125.0'
8355
8428
  Seahorse::Client::Request.new(handlers, context)
8356
8429
  end
8357
8430
 
@@ -195,6 +195,10 @@ module Aws::CloudFormation
195
195
  HookFailureMode = Shapes::StringShape.new(name: 'HookFailureMode')
196
196
  HookInvocationCount = Shapes::IntegerShape.new(name: 'HookInvocationCount')
197
197
  HookInvocationPoint = Shapes::StringShape.new(name: 'HookInvocationPoint')
198
+ HookResultId = Shapes::StringShape.new(name: 'HookResultId')
199
+ HookResultNotFoundException = Shapes::StructureShape.new(name: 'HookResultNotFoundException', error: {"code"=>"HookResultNotFound", "httpStatusCode"=>404, "senderFault"=>true})
200
+ HookResultSummaries = Shapes::ListShape.new(name: 'HookResultSummaries')
201
+ HookResultSummary = Shapes::StructureShape.new(name: 'HookResultSummary')
198
202
  HookStatus = Shapes::StringShape.new(name: 'HookStatus')
199
203
  HookStatusReason = Shapes::StringShape.new(name: 'HookStatusReason')
200
204
  HookTargetType = Shapes::StringShape.new(name: 'HookTargetType')
@@ -234,6 +238,9 @@ module Aws::CloudFormation
234
238
  ListExportsOutput = Shapes::StructureShape.new(name: 'ListExportsOutput')
235
239
  ListGeneratedTemplatesInput = Shapes::StructureShape.new(name: 'ListGeneratedTemplatesInput')
236
240
  ListGeneratedTemplatesOutput = Shapes::StructureShape.new(name: 'ListGeneratedTemplatesOutput')
241
+ ListHookResultsInput = Shapes::StructureShape.new(name: 'ListHookResultsInput')
242
+ ListHookResultsOutput = Shapes::StructureShape.new(name: 'ListHookResultsOutput')
243
+ ListHookResultsTargetType = Shapes::StringShape.new(name: 'ListHookResultsTargetType')
237
244
  ListImportsInput = Shapes::StructureShape.new(name: 'ListImportsInput')
238
245
  ListImportsOutput = Shapes::StructureShape.new(name: 'ListImportsOutput')
239
246
  ListResourceScanRelatedResourcesInput = Shapes::StructureShape.new(name: 'ListResourceScanRelatedResourcesInput')
@@ -1170,6 +1177,19 @@ module Aws::CloudFormation
1170
1177
  GetTemplateSummaryOutput.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
1171
1178
  GetTemplateSummaryOutput.struct_class = Types::GetTemplateSummaryOutput
1172
1179
 
1180
+ HookResultNotFoundException.struct_class = Types::HookResultNotFoundException
1181
+
1182
+ HookResultSummaries.member = Shapes::ShapeRef.new(shape: HookResultSummary)
1183
+
1184
+ HookResultSummary.add_member(:invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "InvocationPoint"))
1185
+ HookResultSummary.add_member(:failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "FailureMode"))
1186
+ HookResultSummary.add_member(:type_name, Shapes::ShapeRef.new(shape: HookTypeName, location_name: "TypeName"))
1187
+ HookResultSummary.add_member(:type_version_id, Shapes::ShapeRef.new(shape: HookTypeVersionId, location_name: "TypeVersionId"))
1188
+ HookResultSummary.add_member(:type_configuration_version_id, Shapes::ShapeRef.new(shape: HookTypeConfigurationVersionId, location_name: "TypeConfigurationVersionId"))
1189
+ HookResultSummary.add_member(:status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "Status"))
1190
+ HookResultSummary.add_member(:hook_status_reason, Shapes::ShapeRef.new(shape: HookStatusReason, location_name: "HookStatusReason"))
1191
+ HookResultSummary.struct_class = Types::HookResultSummary
1192
+
1173
1193
  ImportStacksToStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName"))
1174
1194
  ImportStacksToStackSetInput.add_member(:stack_ids, Shapes::ShapeRef.new(shape: StackIdList, location_name: "StackIds"))
1175
1195
  ImportStacksToStackSetInput.add_member(:stack_ids_url, Shapes::ShapeRef.new(shape: StackIdsUrl, location_name: "StackIdsUrl"))
@@ -1222,6 +1242,17 @@ module Aws::CloudFormation
1222
1242
  ListGeneratedTemplatesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1223
1243
  ListGeneratedTemplatesOutput.struct_class = Types::ListGeneratedTemplatesOutput
1224
1244
 
1245
+ ListHookResultsInput.add_member(:target_type, Shapes::ShapeRef.new(shape: ListHookResultsTargetType, required: true, location_name: "TargetType"))
1246
+ ListHookResultsInput.add_member(:target_id, Shapes::ShapeRef.new(shape: HookResultId, required: true, location_name: "TargetId"))
1247
+ ListHookResultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1248
+ ListHookResultsInput.struct_class = Types::ListHookResultsInput
1249
+
1250
+ ListHookResultsOutput.add_member(:target_type, Shapes::ShapeRef.new(shape: ListHookResultsTargetType, location_name: "TargetType"))
1251
+ ListHookResultsOutput.add_member(:target_id, Shapes::ShapeRef.new(shape: HookResultId, location_name: "TargetId"))
1252
+ ListHookResultsOutput.add_member(:hook_results, Shapes::ShapeRef.new(shape: HookResultSummaries, location_name: "HookResults"))
1253
+ ListHookResultsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1254
+ ListHookResultsOutput.struct_class = Types::ListHookResultsOutput
1255
+
1225
1256
  ListImportsInput.add_member(:export_name, Shapes::ShapeRef.new(shape: ExportName, required: true, location_name: "ExportName"))
1226
1257
  ListImportsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1227
1258
  ListImportsInput.struct_class = Types::ListImportsInput
@@ -2723,6 +2754,15 @@ module Aws::CloudFormation
2723
2754
  )
2724
2755
  end)
2725
2756
 
2757
+ api.add_operation(:list_hook_results, Seahorse::Model::Operation.new.tap do |o|
2758
+ o.name = "ListHookResults"
2759
+ o.http_method = "POST"
2760
+ o.http_request_uri = "/"
2761
+ o.input = Shapes::ShapeRef.new(shape: ListHookResultsInput)
2762
+ o.output = Shapes::ShapeRef.new(shape: ListHookResultsOutput)
2763
+ o.errors << Shapes::ShapeRef.new(shape: HookResultNotFoundException)
2764
+ end)
2765
+
2726
2766
  api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o|
2727
2767
  o.name = "ListImports"
2728
2768
  o.http_method = "POST"
@@ -33,6 +33,7 @@ module Aws::CloudFormation
33
33
  # * {ConcurrentResourcesLimitExceededException}
34
34
  # * {CreatedButModifiedException}
35
35
  # * {GeneratedTemplateNotFoundException}
36
+ # * {HookResultNotFoundException}
36
37
  # * {InsufficientCapabilitiesException}
37
38
  # * {InvalidChangeSetStatusException}
38
39
  # * {InvalidOperationException}
@@ -126,6 +127,16 @@ module Aws::CloudFormation
126
127
  end
127
128
  end
128
129
 
130
+ class HookResultNotFoundException < ServiceError
131
+
132
+ # @param [Seahorse::Client::RequestContext] context
133
+ # @param [String] message
134
+ # @param [Aws::CloudFormation::Types::HookResultNotFoundException] data
135
+ def initialize(context, message, data = Aws::EmptyStructure.new)
136
+ super(context, message, data)
137
+ end
138
+ end
139
+
129
140
  class InsufficientCapabilitiesException < ServiceError
130
141
 
131
142
  # @param [Seahorse::Client::RequestContext] context
@@ -148,7 +148,6 @@ module Aws::CloudFormation
148
148
  #
149
149
  # * If you don't specify either of these capabilities, CloudFormation
150
150
  # returns an `InsufficientCapabilities` error.
151
- #
152
151
  # If your stack template contains these resources, we recommend that
153
152
  # you review all permissions associated with them and edit their
154
153
  # permissions if necessary.
@@ -166,7 +165,6 @@ module Aws::CloudFormation
166
165
  # * [AWS::IAM::User][6]
167
166
  #
168
167
  # * [AWS::IAM::UserToGroupAddition][7]
169
- #
170
168
  # For more information, see [Acknowledging IAM resources in
171
169
  # CloudFormation templates][8].
172
170
  #
@@ -540,7 +540,6 @@ module Aws::CloudFormation
540
540
  #
541
541
  # * If you don't specify either of these capabilities, CloudFormation
542
542
  # returns an `InsufficientCapabilities` error.
543
- #
544
543
  # If your stack template contains these resources, we recommend that
545
544
  # you review all permissions associated with them and edit their
546
545
  # permissions if necessary.
@@ -558,7 +557,6 @@ module Aws::CloudFormation
558
557
  # * [AWS::IAM::User][6]
559
558
  #
560
559
  # * [AWS::IAM::UserToGroupAddition][7]
561
- #
562
560
  # For more information, see [Acknowledging IAM resources in
563
561
  # CloudFormation templates][8].
564
562
  #
@@ -902,7 +900,6 @@ module Aws::CloudFormation
902
900
  #
903
901
  # * If you don't specify either of these capabilities, CloudFormation
904
902
  # returns an `InsufficientCapabilities` error.
905
- #
906
903
  # If your stack template contains these resources, we suggest that you
907
904
  # review all permissions associated with them and edit their
908
905
  # permissions if necessary.
@@ -920,7 +917,6 @@ module Aws::CloudFormation
920
917
  # * [ AWS::IAM::User][6]
921
918
  #
922
919
  # * [AWS::IAM::UserToGroupAddition][7]
923
- #
924
920
  # For more information, see [Acknowledging IAM resources in
925
921
  # CloudFormation templates][8].
926
922
  #
@@ -777,7 +777,6 @@ module Aws::CloudFormation
777
777
  #
778
778
  # * If you don't specify either of these capabilities,
779
779
  # CloudFormation returns an `InsufficientCapabilities` error.
780
- #
781
780
  # If your stack template contains these resources, we suggest that
782
781
  # you review all permissions associated with them and edit their
783
782
  # permissions if necessary.
@@ -795,7 +794,6 @@ module Aws::CloudFormation
795
794
  # * [ AWS::IAM::User][6]
796
795
  #
797
796
  # * [AWS::IAM::UserToGroupAddition][7]
798
- #
799
797
  # For more information, see [Acknowledging IAM resources in
800
798
  # CloudFormation templates][8].
801
799
  #
@@ -1176,7 +1174,6 @@ module Aws::CloudFormation
1176
1174
  #
1177
1175
  # * If you don't specify either of these capabilities,
1178
1176
  # CloudFormation returns an `InsufficientCapabilities` error.
1179
- #
1180
1177
  # If your stack template contains these resources, we recommend that
1181
1178
  # you review all permissions associated with them and edit their
1182
1179
  # permissions if necessary.
@@ -1194,7 +1191,6 @@ module Aws::CloudFormation
1194
1191
  # * [AWS::IAM::User][6]
1195
1192
  #
1196
1193
  # * [AWS::IAM::UserToGroupAddition][7]
1197
- #
1198
1194
  # For more information, see [Acknowledging IAM resources in
1199
1195
  # CloudFormation templates][8].
1200
1196
  #
@@ -1611,7 +1607,6 @@ module Aws::CloudFormation
1611
1607
  #
1612
1608
  # * If you don't specify either of these capabilities,
1613
1609
  # CloudFormation returns an `InsufficientCapabilities` error.
1614
- #
1615
1610
  # If your stack template contains these resources, we recommend that
1616
1611
  # you review all permissions associated with them and edit their
1617
1612
  # permissions if necessary.
@@ -1629,7 +1624,6 @@ module Aws::CloudFormation
1629
1624
  # * [AWS::IAM::User][6]
1630
1625
  #
1631
1626
  # * [AWS::IAM::UserToGroupAddition][7]
1632
- #
1633
1627
  # For more information, see [Acknowledging IAM resources in
1634
1628
  # CloudFormation templates][8].
1635
1629
  #
@@ -4441,6 +4435,66 @@ module Aws::CloudFormation
4441
4435
  include Aws::Structure
4442
4436
  end
4443
4437
 
4438
+ # The specified target doesn't have any requested Hook invocations.
4439
+ #
4440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/HookResultNotFoundException AWS API Documentation
4441
+ #
4442
+ class HookResultNotFoundException < Aws::EmptyStructure; end
4443
+
4444
+ # Describes a Hook invocation, its status, and the reason for its
4445
+ # status.
4446
+ #
4447
+ # @!attribute [rw] invocation_point
4448
+ # The exact point in the provisioning logic where the Hook runs.
4449
+ # @return [String]
4450
+ #
4451
+ # @!attribute [rw] failure_mode
4452
+ # The failure mode of the invocation. The following are potential
4453
+ # modes:
4454
+ #
4455
+ # * `FAIL`: If the hook invocation returns a failure, then the
4456
+ # requested target operation should fail.
4457
+ #
4458
+ # * `WARN`: If the hook invocation returns a failure, then the
4459
+ # requested target operation should warn.
4460
+ # @return [String]
4461
+ #
4462
+ # @!attribute [rw] type_name
4463
+ # The type name of the Hook being invoked.
4464
+ # @return [String]
4465
+ #
4466
+ # @!attribute [rw] type_version_id
4467
+ # The version of the Hook being invoked.
4468
+ # @return [String]
4469
+ #
4470
+ # @!attribute [rw] type_configuration_version_id
4471
+ # The version of the Hook type configuration.
4472
+ # @return [String]
4473
+ #
4474
+ # @!attribute [rw] status
4475
+ # The state of the Hook invocation.
4476
+ # @return [String]
4477
+ #
4478
+ # @!attribute [rw] hook_status_reason
4479
+ # A description of the Hook results status. For example, if the Hook
4480
+ # result is in a `FAILED` state, this may contain additional
4481
+ # information for the `FAILED` state.
4482
+ # @return [String]
4483
+ #
4484
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/HookResultSummary AWS API Documentation
4485
+ #
4486
+ class HookResultSummary < Struct.new(
4487
+ :invocation_point,
4488
+ :failure_mode,
4489
+ :type_name,
4490
+ :type_version_id,
4491
+ :type_configuration_version_id,
4492
+ :status,
4493
+ :hook_status_reason)
4494
+ SENSITIVE = []
4495
+ include Aws::Structure
4496
+ end
4497
+
4444
4498
  # @!attribute [rw] stack_set_name
4445
4499
  # The name of the stack set. The name must be unique in the Region
4446
4500
  # where you create your stack set.
@@ -4681,6 +4735,78 @@ module Aws::CloudFormation
4681
4735
  include Aws::Structure
4682
4736
  end
4683
4737
 
4738
+ # @!attribute [rw] target_type
4739
+ # The type of operation being targeted by the Hook.
4740
+ # @return [String]
4741
+ #
4742
+ # @!attribute [rw] target_id
4743
+ # The logical ID of the target the operation is acting on by the Hook.
4744
+ # If the target is a change set, it's the ARN of the change set.
4745
+ #
4746
+ # If the target is a Cloud Control API operation, this will be the
4747
+ # `HookRequestToken` returned by the Cloud Control API operation
4748
+ # request. For more information on the `HookRequestToken`, see
4749
+ # [ProgressEvent][1].
4750
+ #
4751
+ #
4752
+ #
4753
+ # [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html
4754
+ # @return [String]
4755
+ #
4756
+ # @!attribute [rw] next_token
4757
+ # A string that identifies the next page of events that you want to
4758
+ # retrieve.
4759
+ # @return [String]
4760
+ #
4761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListHookResultsInput AWS API Documentation
4762
+ #
4763
+ class ListHookResultsInput < Struct.new(
4764
+ :target_type,
4765
+ :target_id,
4766
+ :next_token)
4767
+ SENSITIVE = []
4768
+ include Aws::Structure
4769
+ end
4770
+
4771
+ # @!attribute [rw] target_type
4772
+ # The type of operation being targeted by the Hook.
4773
+ # @return [String]
4774
+ #
4775
+ # @!attribute [rw] target_id
4776
+ # The logical ID of the target the operation is acting on by the Hook.
4777
+ # If the target is a change set, it's the ARN of the change set.
4778
+ #
4779
+ # If the target is a Cloud Control API operation, this will be the
4780
+ # `HooksRequestToken` returned by the Cloud Control API operation
4781
+ # request. For more information on the `HooksRequestToken`, see
4782
+ # [ProgressEvent][1].
4783
+ #
4784
+ #
4785
+ #
4786
+ # [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html
4787
+ # @return [String]
4788
+ #
4789
+ # @!attribute [rw] hook_results
4790
+ # A list of `HookResultSummary` structures that provides the status
4791
+ # and Hook status reason for each Hook invocation for the specified
4792
+ # target.
4793
+ # @return [Array<Types::HookResultSummary>]
4794
+ #
4795
+ # @!attribute [rw] next_token
4796
+ # Pagination token, `null` or empty if no more results.
4797
+ # @return [String]
4798
+ #
4799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListHookResultsOutput AWS API Documentation
4800
+ #
4801
+ class ListHookResultsOutput < Struct.new(
4802
+ :target_type,
4803
+ :target_id,
4804
+ :hook_results,
4805
+ :next_token)
4806
+ SENSITIVE = []
4807
+ include Aws::Structure
4808
+ end
4809
+
4684
4810
  # @!attribute [rw] export_name
4685
4811
  # The name of the exported output value. CloudFormation returns the
4686
4812
  # stack names that are importing this value.
@@ -5695,7 +5821,6 @@ module Aws::CloudFormation
5695
5821
  #
5696
5822
  # * Public extensions that you have activated in this account and
5697
5823
  # Region.
5698
- #
5699
5824
  # * `PUBLIC`: Extensions that are publicly visible and available to be
5700
5825
  # activated within any Amazon Web Services account. This includes
5701
5826
  # extensions from Amazon Web Services, in addition to third-party
@@ -7953,7 +8078,6 @@ module Aws::CloudFormation
7953
8078
  # * The stack was part of a `CreateStackSet` or `UpdateStackSet`
7954
8079
  # operation that failed or was stopped before the stack was
7955
8080
  # created or updated.
7956
- #
7957
8081
  # * `CURRENT`: The stack is currently up to date with the stack set.
7958
8082
  # @return [String]
7959
8083
  #
@@ -8222,7 +8346,6 @@ module Aws::CloudFormation
8222
8346
  # * The stack was part of a `CreateStackSet` or `UpdateStackSet`
8223
8347
  # operation that failed or was stopped before the stack was
8224
8348
  # created or updated.
8225
- #
8226
8349
  # * `CURRENT`: The stack is currently up to date with the stack set.
8227
8350
  # @return [String]
8228
8351
  #
@@ -10225,7 +10348,6 @@ module Aws::CloudFormation
10225
10348
  #
10226
10349
  # * Public extensions from publishers other than Amazon, whether
10227
10350
  # activated or not.
10228
- #
10229
10351
  # * `AWS_TYPES`: Extensions available for use from Amazon.
10230
10352
  # @return [String]
10231
10353
  #
@@ -10640,7 +10762,6 @@ module Aws::CloudFormation
10640
10762
  #
10641
10763
  # * If you don't specify either of these capabilities,
10642
10764
  # CloudFormation returns an `InsufficientCapabilities` error.
10643
- #
10644
10765
  # If your stack template contains these resources, we suggest that
10645
10766
  # you review all permissions associated with them and edit their
10646
10767
  # permissions if necessary.
@@ -10658,7 +10779,6 @@ module Aws::CloudFormation
10658
10779
  # * [ AWS::IAM::User][6]
10659
10780
  #
10660
10781
  # * [AWS::IAM::UserToGroupAddition][7]
10661
- #
10662
10782
  # For more information, see [Acknowledging IAM resources in
10663
10783
  # CloudFormation templates][8].
10664
10784
  #
@@ -11079,7 +11199,6 @@ module Aws::CloudFormation
11079
11199
  #
11080
11200
  # * If you don't specify either of these capabilities,
11081
11201
  # CloudFormation returns an `InsufficientCapabilities` error.
11082
- #
11083
11202
  # If your stack template contains these resources, we recommend that
11084
11203
  # you review all permissions associated with them and edit their
11085
11204
  # permissions if necessary.
@@ -11097,7 +11216,6 @@ module Aws::CloudFormation
11097
11216
  # * [AWS::IAM::User][6]
11098
11217
  #
11099
11218
  # * [AWS::IAM::UserToGroupAddition][7]
11100
- #
11101
11219
  # For more information, see [Acknowledging IAM resources in
11102
11220
  # CloudFormation templates][8].
11103
11221
  #
@@ -59,7 +59,7 @@ module Aws::CloudFormation
59
59
  autoload :StackResource, 'aws-sdk-cloudformation/stack_resource'
60
60
  autoload :StackResourceSummary, 'aws-sdk-cloudformation/stack_resource_summary'
61
61
 
62
- GEM_VERSION = '1.123.0'
62
+ GEM_VERSION = '1.125.0'
63
63
 
64
64
  end
65
65
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -929,6 +931,21 @@ module Aws
929
931
  ) -> _ListGeneratedTemplatesResponseSuccess
930
932
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGeneratedTemplatesResponseSuccess
931
933
 
934
+ interface _ListHookResultsResponseSuccess
935
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListHookResultsOutput]
936
+ def target_type: () -> ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL")
937
+ def target_id: () -> ::String
938
+ def hook_results: () -> ::Array[Types::HookResultSummary]
939
+ def next_token: () -> ::String
940
+ end
941
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_hook_results-instance_method
942
+ def list_hook_results: (
943
+ target_type: ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL"),
944
+ target_id: ::String,
945
+ ?next_token: ::String
946
+ ) -> _ListHookResultsResponseSuccess
947
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHookResultsResponseSuccess
948
+
932
949
  interface _ListImportsResponseSuccess
933
950
  include ::Seahorse::Client::_ResponseSuccess[Types::ListImportsOutput]
934
951
  def imports: () -> ::Array[::String]
data/sig/errors.rbs CHANGED
@@ -24,6 +24,8 @@ module Aws
24
24
  end
25
25
  class GeneratedTemplateNotFoundException < ::Aws::Errors::ServiceError
26
26
  end
27
+ class HookResultNotFoundException < ::Aws::Errors::ServiceError
28
+ end
27
29
  class InsufficientCapabilitiesException < ::Aws::Errors::ServiceError
28
30
  end
29
31
  class InvalidChangeSetStatusException < ::Aws::Errors::ServiceError
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -764,6 +764,20 @@ module Aws::CloudFormation
764
764
  SENSITIVE: []
765
765
  end
766
766
 
767
+ class HookResultNotFoundException < Aws::EmptyStructure
768
+ end
769
+
770
+ class HookResultSummary
771
+ attr_accessor invocation_point: ("PRE_PROVISION")
772
+ attr_accessor failure_mode: ("FAIL" | "WARN")
773
+ attr_accessor type_name: ::String
774
+ attr_accessor type_version_id: ::String
775
+ attr_accessor type_configuration_version_id: ::String
776
+ attr_accessor status: ("HOOK_IN_PROGRESS" | "HOOK_COMPLETE_SUCCEEDED" | "HOOK_COMPLETE_FAILED" | "HOOK_FAILED")
777
+ attr_accessor hook_status_reason: ::String
778
+ SENSITIVE: []
779
+ end
780
+
767
781
  class ImportStacksToStackSetInput
768
782
  attr_accessor stack_set_name: ::String
769
783
  attr_accessor stack_ids: ::Array[::String]
@@ -830,6 +844,21 @@ module Aws::CloudFormation
830
844
  SENSITIVE: []
831
845
  end
832
846
 
847
+ class ListHookResultsInput
848
+ attr_accessor target_type: ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL")
849
+ attr_accessor target_id: ::String
850
+ attr_accessor next_token: ::String
851
+ SENSITIVE: []
852
+ end
853
+
854
+ class ListHookResultsOutput
855
+ attr_accessor target_type: ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL")
856
+ attr_accessor target_id: ::String
857
+ attr_accessor hook_results: ::Array[Types::HookResultSummary]
858
+ attr_accessor next_token: ::String
859
+ SENSITIVE: []
860
+ end
861
+
833
862
  class ListImportsInput
834
863
  attr_accessor export_name: ::String
835
864
  attr_accessor next_token: ::String
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.123.0
4
+ version: 1.125.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-11-06 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement