aws-sdk-cloudformation 1.78.0 → 1.79.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +182 -74
- data/lib/aws-sdk-cloudformation/client_api.rb +51 -0
- data/lib/aws-sdk-cloudformation/endpoints.rb +42 -0
- data/lib/aws-sdk-cloudformation/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-cloudformation/resource.rb +15 -0
- data/lib/aws-sdk-cloudformation/stack.rb +1 -1
- data/lib/aws-sdk-cloudformation/types.rb +178 -74
- data/lib/aws-sdk-cloudformation.rb +2 -2
- metadata +2 -2
@@ -11,6 +11,20 @@
|
|
11
11
|
module Aws::CloudFormation
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class ActivateOrganizationsAccess
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::CloudFormation::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
14
28
|
class ActivateType
|
15
29
|
def self.build(context)
|
16
30
|
unless context.config.regional_endpoint
|
@@ -123,6 +137,20 @@ module Aws::CloudFormation
|
|
123
137
|
end
|
124
138
|
end
|
125
139
|
|
140
|
+
class DeactivateOrganizationsAccess
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::CloudFormation::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
126
154
|
class DeactivateType
|
127
155
|
def self.build(context)
|
128
156
|
unless context.config.regional_endpoint
|
@@ -249,6 +277,20 @@ module Aws::CloudFormation
|
|
249
277
|
end
|
250
278
|
end
|
251
279
|
|
280
|
+
class DescribeOrganizationsAccess
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::CloudFormation::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
252
294
|
class DescribePublisher
|
253
295
|
def self.build(context)
|
254
296
|
unless context.config.regional_endpoint
|
@@ -56,6 +56,8 @@ module Aws::CloudFormation
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :activate_organizations_access
|
60
|
+
Aws::CloudFormation::Endpoints::ActivateOrganizationsAccess.build(context)
|
59
61
|
when :activate_type
|
60
62
|
Aws::CloudFormation::Endpoints::ActivateType.build(context)
|
61
63
|
when :batch_describe_type_configurations
|
@@ -72,6 +74,8 @@ module Aws::CloudFormation
|
|
72
74
|
Aws::CloudFormation::Endpoints::CreateStackInstances.build(context)
|
73
75
|
when :create_stack_set
|
74
76
|
Aws::CloudFormation::Endpoints::CreateStackSet.build(context)
|
77
|
+
when :deactivate_organizations_access
|
78
|
+
Aws::CloudFormation::Endpoints::DeactivateOrganizationsAccess.build(context)
|
75
79
|
when :deactivate_type
|
76
80
|
Aws::CloudFormation::Endpoints::DeactivateType.build(context)
|
77
81
|
when :delete_change_set
|
@@ -90,6 +94,8 @@ module Aws::CloudFormation
|
|
90
94
|
Aws::CloudFormation::Endpoints::DescribeChangeSet.build(context)
|
91
95
|
when :describe_change_set_hooks
|
92
96
|
Aws::CloudFormation::Endpoints::DescribeChangeSetHooks.build(context)
|
97
|
+
when :describe_organizations_access
|
98
|
+
Aws::CloudFormation::Endpoints::DescribeOrganizationsAccess.build(context)
|
93
99
|
when :describe_publisher
|
94
100
|
Aws::CloudFormation::Endpoints::DescribePublisher.build(context)
|
95
101
|
when :describe_stack_drift_detection_status
|
@@ -353,6 +353,21 @@ module Aws::CloudFormation
|
|
353
353
|
# })
|
354
354
|
# @param [Hash] options ({})
|
355
355
|
# @option options [String] :stack_name
|
356
|
+
# <note markdown="1"> If you don't pass a parameter to `StackName`, the API returns a
|
357
|
+
# response that describes all resources in the account. This requires
|
358
|
+
# `ListStacks` and `DescribeStacks` permissions.
|
359
|
+
#
|
360
|
+
# The IAM policy below can be added to IAM policies when you want to
|
361
|
+
# limit resource-level permissions and avoid returning a response when
|
362
|
+
# no parameter is sent in the request:
|
363
|
+
#
|
364
|
+
# \\\{ "Version": "2012-10-17", "Statement": \[\\\{ "Effect":
|
365
|
+
# "Deny", "Action": "cloudformation:DescribeStacks",
|
366
|
+
# "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" \\}\]
|
367
|
+
# \\}
|
368
|
+
#
|
369
|
+
# </note>
|
370
|
+
#
|
356
371
|
# The name or the unique stack ID that's associated with the stack,
|
357
372
|
# which aren't always interchangeable:
|
358
373
|
#
|
@@ -195,7 +195,7 @@ module Aws::CloudFormation
|
|
195
195
|
end
|
196
196
|
|
197
197
|
# Information about whether a stack's actual configuration differs, or
|
198
|
-
# has *drifted*, from
|
198
|
+
# has *drifted*, from its expected configuration, as defined in the
|
199
199
|
# stack template and any values specified as template parameters. For
|
200
200
|
# more information, see [Detecting Unregulated Configuration Changes to
|
201
201
|
# Stacks and Resources][1].
|