aws-sdk-cloudformation 1.139.0 → 1.140.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -202,6 +202,7 @@ module Aws::CloudFormation
202
202
  HandlerErrorCode = Shapes::StringShape.new(name: 'HandlerErrorCode')
203
203
  HookFailureMode = Shapes::StringShape.new(name: 'HookFailureMode')
204
204
  HookInvocationCount = Shapes::IntegerShape.new(name: 'HookInvocationCount')
205
+ HookInvocationId = Shapes::StringShape.new(name: 'HookInvocationId')
205
206
  HookInvocationPoint = Shapes::StringShape.new(name: 'HookInvocationPoint')
206
207
  HookResultId = Shapes::StringShape.new(name: 'HookResultId')
207
208
  HookResultNotFoundException = Shapes::StructureShape.new(name: 'HookResultNotFoundException', error: {"code" => "HookResultNotFound", "httpStatusCode" => 404, "senderFault" => true})
@@ -212,6 +213,7 @@ module Aws::CloudFormation
212
213
  HookTargetType = Shapes::StringShape.new(name: 'HookTargetType')
213
214
  HookTargetTypeName = Shapes::StringShape.new(name: 'HookTargetTypeName')
214
215
  HookType = Shapes::StringShape.new(name: 'HookType')
216
+ HookTypeArn = Shapes::StringShape.new(name: 'HookTypeArn')
215
217
  HookTypeConfigurationVersionId = Shapes::StringShape.new(name: 'HookTypeConfigurationVersionId')
216
218
  HookTypeName = Shapes::StringShape.new(name: 'HookTypeName')
217
219
  HookTypeVersionId = Shapes::StringShape.new(name: 'HookTypeVersionId')
@@ -1246,6 +1248,7 @@ module Aws::CloudFormation
1246
1248
 
1247
1249
  HookResultSummaries.member = Shapes::ShapeRef.new(shape: HookResultSummary)
1248
1250
 
1251
+ HookResultSummary.add_member(:hook_result_id, Shapes::ShapeRef.new(shape: HookInvocationId, location_name: "HookResultId"))
1249
1252
  HookResultSummary.add_member(:invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "InvocationPoint"))
1250
1253
  HookResultSummary.add_member(:failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "FailureMode"))
1251
1254
  HookResultSummary.add_member(:type_name, Shapes::ShapeRef.new(shape: HookTypeName, location_name: "TypeName"))
@@ -1253,6 +1256,11 @@ module Aws::CloudFormation
1253
1256
  HookResultSummary.add_member(:type_configuration_version_id, Shapes::ShapeRef.new(shape: HookTypeConfigurationVersionId, location_name: "TypeConfigurationVersionId"))
1254
1257
  HookResultSummary.add_member(:status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "Status"))
1255
1258
  HookResultSummary.add_member(:hook_status_reason, Shapes::ShapeRef.new(shape: HookStatusReason, location_name: "HookStatusReason"))
1259
+ HookResultSummary.add_member(:invoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvokedAt"))
1260
+ HookResultSummary.add_member(:target_type, Shapes::ShapeRef.new(shape: ListHookResultsTargetType, location_name: "TargetType"))
1261
+ HookResultSummary.add_member(:target_id, Shapes::ShapeRef.new(shape: HookResultId, location_name: "TargetId"))
1262
+ HookResultSummary.add_member(:type_arn, Shapes::ShapeRef.new(shape: HookTypeArn, location_name: "TypeArn"))
1263
+ HookResultSummary.add_member(:hook_execution_target, Shapes::ShapeRef.new(shape: HookResultId, location_name: "HookExecutionTarget"))
1256
1264
  HookResultSummary.struct_class = Types::HookResultSummary
1257
1265
 
1258
1266
  ImportStacksToStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName"))
@@ -1307,8 +1315,10 @@ module Aws::CloudFormation
1307
1315
  ListGeneratedTemplatesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1308
1316
  ListGeneratedTemplatesOutput.struct_class = Types::ListGeneratedTemplatesOutput
1309
1317
 
1310
- ListHookResultsInput.add_member(:target_type, Shapes::ShapeRef.new(shape: ListHookResultsTargetType, required: true, location_name: "TargetType"))
1311
- ListHookResultsInput.add_member(:target_id, Shapes::ShapeRef.new(shape: HookResultId, required: true, location_name: "TargetId"))
1318
+ ListHookResultsInput.add_member(:target_type, Shapes::ShapeRef.new(shape: ListHookResultsTargetType, location_name: "TargetType"))
1319
+ ListHookResultsInput.add_member(:target_id, Shapes::ShapeRef.new(shape: HookResultId, location_name: "TargetId"))
1320
+ ListHookResultsInput.add_member(:type_arn, Shapes::ShapeRef.new(shape: HookTypeArn, location_name: "TypeArn"))
1321
+ ListHookResultsInput.add_member(:status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "Status"))
1312
1322
  ListHookResultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1313
1323
  ListHookResultsInput.struct_class = Types::ListHookResultsInput
1314
1324
 
@@ -1854,6 +1864,7 @@ module Aws::CloudFormation
1854
1864
  StackEvent.add_member(:hook_status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "HookStatus"))
1855
1865
  StackEvent.add_member(:hook_status_reason, Shapes::ShapeRef.new(shape: HookStatusReason, location_name: "HookStatusReason"))
1856
1866
  StackEvent.add_member(:hook_invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "HookInvocationPoint"))
1867
+ StackEvent.add_member(:hook_invocation_id, Shapes::ShapeRef.new(shape: HookInvocationId, location_name: "HookInvocationId"))
1857
1868
  StackEvent.add_member(:hook_failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "HookFailureMode"))
1858
1869
  StackEvent.add_member(:detailed_status, Shapes::ShapeRef.new(shape: DetailedStatus, location_name: "DetailedStatus"))
1859
1870
  StackEvent.struct_class = Types::StackEvent
@@ -116,32 +116,38 @@ module Aws::CloudFormation
116
116
  data[:client_request_token]
117
117
  end
118
118
 
119
- # The name of the hook.
119
+ # The name of the Hook.
120
120
  # @return [String]
121
121
  def hook_type
122
122
  data[:hook_type]
123
123
  end
124
124
 
125
- # Provides the status of the change set hook.
125
+ # Provides the status of the change set Hook.
126
126
  # @return [String]
127
127
  def hook_status
128
128
  data[:hook_status]
129
129
  end
130
130
 
131
- # Provides the reason for the hook status.
131
+ # Provides the reason for the Hook status.
132
132
  # @return [String]
133
133
  def hook_status_reason
134
134
  data[:hook_status_reason]
135
135
  end
136
136
 
137
- # Invocation points are points in provisioning logic where Hooks are
138
- # initiated.
137
+ # The specific point in the provisioning process where the Hook is
138
+ # invoked.
139
139
  # @return [String]
140
140
  def hook_invocation_point
141
141
  data[:hook_invocation_point]
142
142
  end
143
143
 
144
- # Specify the hook failure mode for non-compliant resources in the
144
+ # The unique identifier of the Hook invocation.
145
+ # @return [String]
146
+ def hook_invocation_id
147
+ data[:hook_invocation_id]
148
+ end
149
+
150
+ # Specify the Hook failure mode for non-compliant resources in the
145
151
  # followings ways.
146
152
  #
147
153
  # * `FAIL` Stops provisioning resources.
@@ -264,6 +264,14 @@ module Aws::CloudFormation
264
264
  # must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify
265
265
  # either `OnFailure` or `DisableRollback`, but not both.
266
266
  #
267
+ # <note markdown="1"> Although the default setting is `ROLLBACK`, there is one exception.
268
+ # This exception occurs when a StackSet attempts to deploy a stack
269
+ # instance and the stack instance fails to create successfully. In this
270
+ # case, the `CreateStack` call overrides the default setting and sets
271
+ # the value of `OnFailure` to `DELETE`.
272
+ #
273
+ # </note>
274
+ #
267
275
  # Default: `ROLLBACK`
268
276
  # @option options [String] :stack_policy_body
269
277
  # Structure that contains the stack policy body. For more information,
@@ -231,7 +231,7 @@ module Aws::CloudFormation
231
231
  # The detailed status of the resource or stack. If
232
232
  # `CONFIGURATION_COMPLETE` is present, the resource or resource
233
233
  # configuration phase has completed and the stabilization of the
234
- # resources is in progress. The stack sets `CONFIGURATION_COMPLETE` when
234
+ # resources is in progress. The StackSets `CONFIGURATION_COMPLETE` when
235
235
  # all of the resources in the stack have reached that event. For more
236
236
  # information, see [Understand CloudFormation stack creation events][1]
237
237
  # in the *CloudFormation User Guide*.
@@ -655,6 +655,14 @@ module Aws::CloudFormation
655
655
  # must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify
656
656
  # either `OnFailure` or `DisableRollback`, but not both.
657
657
  #
658
+ # <note markdown="1"> Although the default setting is `ROLLBACK`, there is one exception.
659
+ # This exception occurs when a StackSet attempts to deploy a stack
660
+ # instance and the stack instance fails to create successfully. In this
661
+ # case, the `CreateStack` call overrides the default setting and sets
662
+ # the value of `OnFailure` to `DELETE`.
663
+ #
664
+ # </note>
665
+ #
658
666
  # Default: `ROLLBACK`
659
667
  # @option options [String] :stack_policy_body
660
668
  # Structure that contains the stack policy body. For more information,