aws-sdk-cloudformation 1.55.0 → 1.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +189 -96
- data/lib/aws-sdk-cloudformation/client_api.rb +21 -0
- data/lib/aws-sdk-cloudformation/resource.rb +6 -5
- data/lib/aws-sdk-cloudformation/stack.rb +14 -6
- data/lib/aws-sdk-cloudformation/types.rb +189 -105
- data/lib/aws-sdk-cloudformation.rb +1 -1
- metadata +5 -5
@@ -301,6 +301,8 @@ module Aws::CloudFormation
|
|
301
301
|
RoleARN = Shapes::StringShape.new(name: 'RoleARN')
|
302
302
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
303
303
|
RollbackConfiguration = Shapes::StructureShape.new(name: 'RollbackConfiguration')
|
304
|
+
RollbackStackInput = Shapes::StructureShape.new(name: 'RollbackStackInput')
|
305
|
+
RollbackStackOutput = Shapes::StructureShape.new(name: 'RollbackStackOutput')
|
304
306
|
RollbackTrigger = Shapes::StructureShape.new(name: 'RollbackTrigger')
|
305
307
|
RollbackTriggers = Shapes::ListShape.new(name: 'RollbackTriggers')
|
306
308
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
@@ -869,6 +871,7 @@ module Aws::CloudFormation
|
|
869
871
|
ExecuteChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, required: true, location_name: "ChangeSetName"))
|
870
872
|
ExecuteChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName"))
|
871
873
|
ExecuteChangeSetInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
874
|
+
ExecuteChangeSetInput.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback"))
|
872
875
|
ExecuteChangeSetInput.struct_class = Types::ExecuteChangeSetInput
|
873
876
|
|
874
877
|
ExecuteChangeSetOutput.struct_class = Types::ExecuteChangeSetOutput
|
@@ -1226,6 +1229,14 @@ module Aws::CloudFormation
|
|
1226
1229
|
RollbackConfiguration.add_member(:monitoring_time_in_minutes, Shapes::ShapeRef.new(shape: MonitoringTimeInMinutes, location_name: "MonitoringTimeInMinutes"))
|
1227
1230
|
RollbackConfiguration.struct_class = Types::RollbackConfiguration
|
1228
1231
|
|
1232
|
+
RollbackStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName"))
|
1233
|
+
RollbackStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
1234
|
+
RollbackStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
1235
|
+
RollbackStackInput.struct_class = Types::RollbackStackInput
|
1236
|
+
|
1237
|
+
RollbackStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
|
1238
|
+
RollbackStackOutput.struct_class = Types::RollbackStackOutput
|
1239
|
+
|
1229
1240
|
RollbackTrigger.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
1230
1241
|
RollbackTrigger.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
|
1231
1242
|
RollbackTrigger.struct_class = Types::RollbackTrigger
|
@@ -1637,6 +1648,7 @@ module Aws::CloudFormation
|
|
1637
1648
|
UpdateStackInput.add_member(:stack_policy_url, Shapes::ShapeRef.new(shape: StackPolicyURL, location_name: "StackPolicyURL"))
|
1638
1649
|
UpdateStackInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs"))
|
1639
1650
|
UpdateStackInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
1651
|
+
UpdateStackInput.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback"))
|
1640
1652
|
UpdateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
1641
1653
|
UpdateStackInput.struct_class = Types::UpdateStackInput
|
1642
1654
|
|
@@ -2300,6 +2312,15 @@ module Aws::CloudFormation
|
|
2300
2312
|
o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException)
|
2301
2313
|
end)
|
2302
2314
|
|
2315
|
+
api.add_operation(:rollback_stack, Seahorse::Model::Operation.new.tap do |o|
|
2316
|
+
o.name = "RollbackStack"
|
2317
|
+
o.http_method = "POST"
|
2318
|
+
o.http_request_uri = "/"
|
2319
|
+
o.input = Shapes::ShapeRef.new(shape: RollbackStackInput)
|
2320
|
+
o.output = Shapes::ShapeRef.new(shape: RollbackStackOutput)
|
2321
|
+
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
2322
|
+
end)
|
2323
|
+
|
2303
2324
|
api.add_operation(:set_stack_policy, Seahorse::Model::Operation.new.tap do |o|
|
2304
2325
|
o.name = "SetStackPolicy"
|
2305
2326
|
o.http_method = "POST"
|
@@ -82,8 +82,8 @@ module Aws::CloudFormation
|
|
82
82
|
# the Region in which you are creating the stack.
|
83
83
|
#
|
84
84
|
# <note markdown="1"> A stack name can contain only alphanumeric characters (case sensitive)
|
85
|
-
# and hyphens. It must start with an
|
86
|
-
# longer than 128 characters.
|
85
|
+
# and hyphens. It must start with an alphabetical character and cannot
|
86
|
+
# be longer than 128 characters.
|
87
87
|
#
|
88
88
|
# </note>
|
89
89
|
# @option options [String] :template_body
|
@@ -142,9 +142,10 @@ module Aws::CloudFormation
|
|
142
142
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
143
143
|
#
|
144
144
|
# Some stack templates might include resources that can affect
|
145
|
-
# permissions in your account; for example, by
|
146
|
-
# and Access Management (IAM) users. For those
|
147
|
-
# explicitly acknowledge this by specifying one of
|
145
|
+
# permissions in your Amazon Web Services account; for example, by
|
146
|
+
# creating new Identity and Access Management (IAM) users. For those
|
147
|
+
# stacks, you must explicitly acknowledge this by specifying one of
|
148
|
+
# these capabilities.
|
148
149
|
#
|
149
150
|
# The following IAM resources require you to specify either the
|
150
151
|
# `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability.
|
@@ -488,9 +488,10 @@ module Aws::CloudFormation
|
|
488
488
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
489
489
|
#
|
490
490
|
# Some stack templates might include resources that can affect
|
491
|
-
# permissions in your account; for example, by
|
492
|
-
# and Access Management (IAM) users. For those
|
493
|
-
# explicitly acknowledge this by specifying one of
|
491
|
+
# permissions in your Amazon Web Services account; for example, by
|
492
|
+
# creating new Identity and Access Management (IAM) users. For those
|
493
|
+
# stacks, you must explicitly acknowledge this by specifying one of
|
494
|
+
# these capabilities.
|
494
495
|
#
|
495
496
|
# The following IAM resources require you to specify either the
|
496
497
|
# `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability.
|
@@ -757,6 +758,7 @@ module Aws::CloudFormation
|
|
757
758
|
# value: "TagValue", # required
|
758
759
|
# },
|
759
760
|
# ],
|
761
|
+
# disable_rollback: false,
|
760
762
|
# client_request_token: "ClientRequestToken",
|
761
763
|
# })
|
762
764
|
# @param [Hash] options ({})
|
@@ -827,9 +829,10 @@ module Aws::CloudFormation
|
|
827
829
|
# * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM`
|
828
830
|
#
|
829
831
|
# Some stack templates might include resources that can affect
|
830
|
-
# permissions in your account; for example, by
|
831
|
-
# and Access Management (IAM) users. For those
|
832
|
-
# explicitly acknowledge this by specifying one of
|
832
|
+
# permissions in your Amazon Web Services account; for example, by
|
833
|
+
# creating new Identity and Access Management (IAM) users. For those
|
834
|
+
# stacks, you must explicitly acknowledge this by specifying one of
|
835
|
+
# these capabilities.
|
833
836
|
#
|
834
837
|
# The following IAM resources require you to specify either the
|
835
838
|
# `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability.
|
@@ -968,6 +971,11 @@ module Aws::CloudFormation
|
|
968
971
|
# If you don't specify this parameter, CloudFormation doesn't modify
|
969
972
|
# the stack's tags. If you specify an empty value, CloudFormation
|
970
973
|
# removes all associated tags.
|
974
|
+
# @option options [Boolean] :disable_rollback
|
975
|
+
# Preserve the state of previously provisioned resources when an
|
976
|
+
# operation fails.
|
977
|
+
#
|
978
|
+
# Default: `False`
|
971
979
|
# @option options [String] :client_request_token
|
972
980
|
# A unique identifier for this `UpdateStack` request. Specify this token
|
973
981
|
# if you plan to retry requests so that CloudFormation knows that
|