aws-sdk-cloudformation 1.143.0 → 1.144.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.
@@ -33,6 +33,12 @@ module Aws::CloudFormation
33
33
  AllowedValue = Shapes::StringShape.new(name: 'AllowedValue')
34
34
  AllowedValues = Shapes::ListShape.new(name: 'AllowedValues')
35
35
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException', error: {"code" => "AlreadyExistsException", "httpStatusCode" => 400, "senderFault" => true})
36
+ Annotation = Shapes::StructureShape.new(name: 'Annotation')
37
+ AnnotationList = Shapes::ListShape.new(name: 'AnnotationList')
38
+ AnnotationName = Shapes::StringShape.new(name: 'AnnotationName')
39
+ AnnotationRemediationLink = Shapes::StringShape.new(name: 'AnnotationRemediationLink')
40
+ AnnotationSeverityLevel = Shapes::StringShape.new(name: 'AnnotationSeverityLevel')
41
+ AnnotationStatus = Shapes::StringShape.new(name: 'AnnotationStatus')
36
42
  Arn = Shapes::StringShape.new(name: 'Arn')
37
43
  AttributeChangeType = Shapes::StringShape.new(name: 'AttributeChangeType')
38
44
  AutoDeployment = Shapes::StructureShape.new(name: 'AutoDeployment')
@@ -193,6 +199,8 @@ module Aws::CloudFormation
193
199
  GeneratedTemplateUpdateReplacePolicy = Shapes::StringShape.new(name: 'GeneratedTemplateUpdateReplacePolicy')
194
200
  GetGeneratedTemplateInput = Shapes::StructureShape.new(name: 'GetGeneratedTemplateInput')
195
201
  GetGeneratedTemplateOutput = Shapes::StructureShape.new(name: 'GetGeneratedTemplateOutput')
202
+ GetHookResultInput = Shapes::StructureShape.new(name: 'GetHookResultInput')
203
+ GetHookResultOutput = Shapes::StructureShape.new(name: 'GetHookResultOutput')
196
204
  GetStackPolicyInput = Shapes::StructureShape.new(name: 'GetStackPolicyInput')
197
205
  GetStackPolicyOutput = Shapes::StructureShape.new(name: 'GetStackPolicyOutput')
198
206
  GetTemplateInput = Shapes::StructureShape.new(name: 'GetTemplateInput')
@@ -210,6 +218,9 @@ module Aws::CloudFormation
210
218
  HookResultSummary = Shapes::StructureShape.new(name: 'HookResultSummary')
211
219
  HookStatus = Shapes::StringShape.new(name: 'HookStatus')
212
220
  HookStatusReason = Shapes::StringShape.new(name: 'HookStatusReason')
221
+ HookTarget = Shapes::StructureShape.new(name: 'HookTarget')
222
+ HookTargetAction = Shapes::StringShape.new(name: 'HookTargetAction')
223
+ HookTargetId = Shapes::StringShape.new(name: 'HookTargetId')
213
224
  HookTargetType = Shapes::StringShape.new(name: 'HookTargetType')
214
225
  HookTargetTypeName = Shapes::StringShape.new(name: 'HookTargetTypeName')
215
226
  HookType = Shapes::StringShape.new(name: 'HookType')
@@ -371,6 +382,8 @@ module Aws::CloudFormation
371
382
  RegistrationTokenList = Shapes::ListShape.new(name: 'RegistrationTokenList')
372
383
  RegistryType = Shapes::StringShape.new(name: 'RegistryType')
373
384
  RelatedResources = Shapes::ListShape.new(name: 'RelatedResources')
385
+ RemediationMessageRemediationMessage = Shapes::StringShape.new(name: 'RemediationMessageRemediationMessage')
386
+ RemediationMessageStatusMessage = Shapes::StringShape.new(name: 'RemediationMessageStatusMessage')
374
387
  Replacement = Shapes::StringShape.new(name: 'Replacement')
375
388
  RequestToken = Shapes::StringShape.new(name: 'RequestToken')
376
389
  RequiredActivatedType = Shapes::StructureShape.new(name: 'RequiredActivatedType')
@@ -673,6 +686,16 @@ module Aws::CloudFormation
673
686
 
674
687
  AlreadyExistsException.struct_class = Types::AlreadyExistsException
675
688
 
689
+ Annotation.add_member(:annotation_name, Shapes::ShapeRef.new(shape: AnnotationName, location_name: "AnnotationName"))
690
+ Annotation.add_member(:status, Shapes::ShapeRef.new(shape: AnnotationStatus, location_name: "Status"))
691
+ Annotation.add_member(:status_message, Shapes::ShapeRef.new(shape: RemediationMessageStatusMessage, location_name: "StatusMessage"))
692
+ Annotation.add_member(:remediation_message, Shapes::ShapeRef.new(shape: RemediationMessageRemediationMessage, location_name: "RemediationMessage"))
693
+ Annotation.add_member(:remediation_link, Shapes::ShapeRef.new(shape: AnnotationRemediationLink, location_name: "RemediationLink"))
694
+ Annotation.add_member(:severity_level, Shapes::ShapeRef.new(shape: AnnotationSeverityLevel, location_name: "SeverityLevel"))
695
+ Annotation.struct_class = Types::Annotation
696
+
697
+ AnnotationList.member = Shapes::ShapeRef.new(shape: Annotation)
698
+
676
699
  AutoDeployment.add_member(:enabled, Shapes::ShapeRef.new(shape: AutoDeploymentNullable, location_name: "Enabled"))
677
700
  AutoDeployment.add_member(:retain_stacks_on_account_removal, Shapes::ShapeRef.new(shape: RetainStacksOnAccountRemovalNullable, location_name: "RetainStacksOnAccountRemoval"))
678
701
  AutoDeployment.struct_class = Types::AutoDeployment
@@ -1026,7 +1049,7 @@ module Aws::CloudFormation
1026
1049
  DescribeStackDriftDetectionStatusOutput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
1027
1050
  DescribeStackDriftDetectionStatusOutput.struct_class = Types::DescribeStackDriftDetectionStatusOutput
1028
1051
 
1029
- DescribeStackEventsInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName"))
1052
+ DescribeStackEventsInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName"))
1030
1053
  DescribeStackEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1031
1054
  DescribeStackEventsInput.struct_class = Types::DescribeStackEventsInput
1032
1055
 
@@ -1209,6 +1232,24 @@ module Aws::CloudFormation
1209
1232
  GetGeneratedTemplateOutput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody"))
1210
1233
  GetGeneratedTemplateOutput.struct_class = Types::GetGeneratedTemplateOutput
1211
1234
 
1235
+ GetHookResultInput.add_member(:hook_result_id, Shapes::ShapeRef.new(shape: HookInvocationId, location_name: "HookResultId"))
1236
+ GetHookResultInput.struct_class = Types::GetHookResultInput
1237
+
1238
+ GetHookResultOutput.add_member(:hook_result_id, Shapes::ShapeRef.new(shape: HookInvocationId, location_name: "HookResultId"))
1239
+ GetHookResultOutput.add_member(:invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "InvocationPoint"))
1240
+ GetHookResultOutput.add_member(:failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "FailureMode"))
1241
+ GetHookResultOutput.add_member(:type_name, Shapes::ShapeRef.new(shape: HookTypeName, location_name: "TypeName"))
1242
+ GetHookResultOutput.add_member(:original_type_name, Shapes::ShapeRef.new(shape: HookTypeName, location_name: "OriginalTypeName"))
1243
+ GetHookResultOutput.add_member(:type_version_id, Shapes::ShapeRef.new(shape: HookTypeVersionId, location_name: "TypeVersionId"))
1244
+ GetHookResultOutput.add_member(:type_configuration_version_id, Shapes::ShapeRef.new(shape: HookTypeConfigurationVersionId, location_name: "TypeConfigurationVersionId"))
1245
+ GetHookResultOutput.add_member(:type_arn, Shapes::ShapeRef.new(shape: HookTypeArn, location_name: "TypeArn"))
1246
+ GetHookResultOutput.add_member(:status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "Status"))
1247
+ GetHookResultOutput.add_member(:hook_status_reason, Shapes::ShapeRef.new(shape: HookStatusReason, location_name: "HookStatusReason"))
1248
+ GetHookResultOutput.add_member(:invoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvokedAt"))
1249
+ GetHookResultOutput.add_member(:target, Shapes::ShapeRef.new(shape: HookTarget, location_name: "Target"))
1250
+ GetHookResultOutput.add_member(:annotations, Shapes::ShapeRef.new(shape: AnnotationList, location_name: "Annotations"))
1251
+ GetHookResultOutput.struct_class = Types::GetHookResultOutput
1252
+
1212
1253
  GetStackPolicyInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName"))
1213
1254
  GetStackPolicyInput.struct_class = Types::GetStackPolicyInput
1214
1255
 
@@ -1263,6 +1304,12 @@ module Aws::CloudFormation
1263
1304
  HookResultSummary.add_member(:hook_execution_target, Shapes::ShapeRef.new(shape: HookResultId, location_name: "HookExecutionTarget"))
1264
1305
  HookResultSummary.struct_class = Types::HookResultSummary
1265
1306
 
1307
+ HookTarget.add_member(:target_type, Shapes::ShapeRef.new(shape: HookTargetType, required: true, location_name: "TargetType"))
1308
+ HookTarget.add_member(:target_type_name, Shapes::ShapeRef.new(shape: HookTargetTypeName, required: true, location_name: "TargetTypeName"))
1309
+ HookTarget.add_member(:target_id, Shapes::ShapeRef.new(shape: HookTargetId, required: true, location_name: "TargetId"))
1310
+ HookTarget.add_member(:action, Shapes::ShapeRef.new(shape: HookTargetAction, required: true, location_name: "Action"))
1311
+ HookTarget.struct_class = Types::HookTarget
1312
+
1266
1313
  ImportStacksToStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName"))
1267
1314
  ImportStacksToStackSetInput.add_member(:stack_ids, Shapes::ShapeRef.new(shape: StackIdList, location_name: "StackIds"))
1268
1315
  ImportStacksToStackSetInput.add_member(:stack_ids_url, Shapes::ShapeRef.new(shape: StackIdsUrl, location_name: "StackIdsUrl"))
@@ -2854,6 +2901,15 @@ module Aws::CloudFormation
2854
2901
  o.errors << Shapes::ShapeRef.new(shape: GeneratedTemplateNotFoundException)
2855
2902
  end)
2856
2903
 
2904
+ api.add_operation(:get_hook_result, Seahorse::Model::Operation.new.tap do |o|
2905
+ o.name = "GetHookResult"
2906
+ o.http_method = "POST"
2907
+ o.http_request_uri = "/"
2908
+ o.input = Shapes::ShapeRef.new(shape: GetHookResultInput)
2909
+ o.output = Shapes::ShapeRef.new(shape: GetHookResultOutput)
2910
+ o.errors << Shapes::ShapeRef.new(shape: HookResultNotFoundException)
2911
+ end)
2912
+
2857
2913
  api.add_operation(:get_stack_policy, Seahorse::Model::Operation.new.tap do |o|
2858
2914
  o.name = "GetStackPolicy"
2859
2915
  o.http_method = "POST"
@@ -221,22 +221,15 @@ module Aws::CloudFormation
221
221
  # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
222
222
  # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
223
223
  # @option options [Array<String>] :resource_types
224
- # The template resource types that you have permissions to work with for
225
- # this create stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`,
226
- # or `Custom::MyCustomInstance`. Use the following syntax to describe
227
- # template resource types: `AWS::*` (for all Amazon Web Services
228
- # resources), `Custom::*` (for all custom resources),
229
- # `Custom::logical_ID ` (for a specific custom resource),
230
- # `AWS::service_name::*` (for all resources of a particular Amazon Web
231
- # Services service), and `AWS::service_name::resource_logical_ID ` (for
232
- # a specific Amazon Web Services resource).
224
+ # Specifies which resource types you can work with, such as
225
+ # `AWS::EC2::Instance` or `Custom::MyCustomInstance`.
233
226
  #
234
227
  # If the list of resource types doesn't include a resource that you're
235
228
  # creating, the stack creation fails. By default, CloudFormation grants
236
229
  # permissions to all resource types. IAM uses this parameter for
237
230
  # CloudFormation-specific condition keys in IAM policies. For more
238
- # information, see [Control access with Identity and Access
239
- # Management][1].
231
+ # information, see [Control CloudFormation access with Identity and
232
+ # Access Management][1].
240
233
  #
241
234
  # <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
242
235
  # specified.
@@ -612,22 +612,15 @@ module Aws::CloudFormation
612
612
  # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
613
613
  # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
614
614
  # @option options [Array<String>] :resource_types
615
- # The template resource types that you have permissions to work with for
616
- # this create stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`,
617
- # or `Custom::MyCustomInstance`. Use the following syntax to describe
618
- # template resource types: `AWS::*` (for all Amazon Web Services
619
- # resources), `Custom::*` (for all custom resources),
620
- # `Custom::logical_ID ` (for a specific custom resource),
621
- # `AWS::service_name::*` (for all resources of a particular Amazon Web
622
- # Services service), and `AWS::service_name::resource_logical_ID ` (for
623
- # a specific Amazon Web Services resource).
615
+ # Specifies which resource types you can work with, such as
616
+ # `AWS::EC2::Instance` or `Custom::MyCustomInstance`.
624
617
  #
625
618
  # If the list of resource types doesn't include a resource that you're
626
619
  # creating, the stack creation fails. By default, CloudFormation grants
627
620
  # permissions to all resource types. IAM uses this parameter for
628
621
  # CloudFormation-specific condition keys in IAM policies. For more
629
- # information, see [Control access with Identity and Access
630
- # Management][1].
622
+ # information, see [Control CloudFormation access with Identity and
623
+ # Access Management][1].
631
624
  #
632
625
  # <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
633
626
  # specified.
@@ -860,9 +853,19 @@ module Aws::CloudFormation
860
853
  # Reuse the existing template that is associated with the stack that you
861
854
  # are updating.
862
855
  #
856
+ # When using templates with the `AWS::LanguageExtensions` transform,
857
+ # provide the template instead of using `UsePreviousTemplate` to ensure
858
+ # new parameter values and Systems Manager parameter updates are applied
859
+ # correctly. For more information, see [AWS::LanguageExtensions
860
+ # transform][1].
861
+ #
863
862
  # Conditional: You must specify only one of the following parameters:
864
863
  # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
865
864
  # `true`.
865
+ #
866
+ #
867
+ #
868
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/transform-aws-languageextensions.html
866
869
  # @option options [String] :stack_policy_during_update_body
867
870
  # Structure that contains the temporary overriding stack policy body.
868
871
  # You can specify either the `StackPolicyDuringUpdateBody` or the
@@ -987,16 +990,15 @@ module Aws::CloudFormation
987
990
  # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html
988
991
  # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html
989
992
  # @option options [Array<String>] :resource_types
990
- # The template resource types that you have permissions to work with for
991
- # this update stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`,
992
- # or `Custom::MyCustomInstance`.
993
+ # Specifies which resource types you can work with, such as
994
+ # `AWS::EC2::Instance` or `Custom::MyCustomInstance`.
993
995
  #
994
996
  # If the list of resource types doesn't include a resource that you're
995
997
  # updating, the stack update fails. By default, CloudFormation grants
996
998
  # permissions to all resource types. IAM uses this parameter for
997
999
  # CloudFormation-specific condition keys in IAM policies. For more
998
- # information, see [Control access with Identity and Access
999
- # Management][1].
1000
+ # information, see [Control CloudFormation access with Identity and
1001
+ # Access Management][1].
1000
1002
  #
1001
1003
  # <note markdown="1"> Only one of the `Capabilities` and `ResourceType` parameters can be
1002
1004
  # specified.