aws-sdk-cloudformation 1.41.0 → 1.131.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 +742 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-cloudformation/client.rb +4562 -1172
- data/lib/aws-sdk-cloudformation/client_api.rb +1318 -28
- data/lib/aws-sdk-cloudformation/customizations.rb +1 -1
- data/lib/aws-sdk-cloudformation/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-cloudformation/endpoint_provider.rb +53 -0
- data/lib/aws-sdk-cloudformation/endpoints.rb +20 -0
- data/lib/aws-sdk-cloudformation/errors.rb +131 -1
- data/lib/aws-sdk-cloudformation/event.rb +68 -4
- data/lib/aws-sdk-cloudformation/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-cloudformation/resource.rb +133 -105
- data/lib/aws-sdk-cloudformation/stack.rb +316 -229
- data/lib/aws-sdk-cloudformation/stack_resource.rb +24 -11
- data/lib/aws-sdk-cloudformation/stack_resource_summary.rb +18 -7
- data/lib/aws-sdk-cloudformation/types.rb +6213 -2394
- data/lib/aws-sdk-cloudformation/waiters.rb +173 -11
- data/lib/aws-sdk-cloudformation.rb +24 -15
- data/sig/client.rbs +1668 -0
- data/sig/errors.rbs +75 -0
- data/sig/event.rbs +83 -0
- data/sig/resource.rbs +139 -0
- data/sig/stack.rbs +229 -0
- data/sig/stack_resource.rbs +74 -0
- data/sig/stack_resource_summary.rbs +62 -0
- data/sig/types.rbs +2104 -0
- data/sig/waiters.rbs +122 -0
- metadata +27 -15
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -50,14 +50,15 @@ module Aws::CloudFormation
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# The name or unique identifier that corresponds to a physical instance
|
53
|
-
# ID of a resource supported by
|
53
|
+
# ID of a resource supported by CloudFormation.
|
54
54
|
# @return [String]
|
55
55
|
def physical_resource_id
|
56
56
|
data[:physical_resource_id]
|
57
57
|
end
|
58
58
|
|
59
|
-
# Type of resource.
|
60
|
-
#
|
59
|
+
# Type of resource. For more information, see [Amazon Web Services
|
60
|
+
# resource and property types reference][1] in the *CloudFormation User
|
61
|
+
# Guide*.
|
61
62
|
#
|
62
63
|
#
|
63
64
|
#
|
@@ -92,8 +93,8 @@ module Aws::CloudFormation
|
|
92
93
|
end
|
93
94
|
|
94
95
|
# The content of the `Metadata` attribute declared for the resource. For
|
95
|
-
# more information, see [Metadata
|
96
|
-
#
|
96
|
+
# more information, see [Metadata attribute][1] in the *CloudFormation
|
97
|
+
# User Guide*.
|
97
98
|
#
|
98
99
|
#
|
99
100
|
#
|
@@ -106,17 +107,25 @@ module Aws::CloudFormation
|
|
106
107
|
# Information about whether the resource's actual configuration
|
107
108
|
# differs, or has *drifted*, from its expected configuration, as defined
|
108
109
|
# in the stack template and any values specified as template parameters.
|
109
|
-
# For more information, see [
|
110
|
-
#
|
110
|
+
# For more information, see [Detect unmanaged configuration changes to
|
111
|
+
# stacks and resources with drift detection][1].
|
111
112
|
#
|
112
113
|
#
|
113
114
|
#
|
114
|
-
# [1]:
|
115
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
|
115
116
|
# @return [Types::StackResourceDriftInformation]
|
116
117
|
def drift_information
|
117
118
|
data[:drift_information]
|
118
119
|
end
|
119
120
|
|
121
|
+
# Contains information about the module from which the resource was
|
122
|
+
# created, if the resource was created from a module included in the
|
123
|
+
# stack template.
|
124
|
+
# @return [Types::ModuleInfo]
|
125
|
+
def module_info
|
126
|
+
data[:module_info]
|
127
|
+
end
|
128
|
+
|
120
129
|
# @!endgroup
|
121
130
|
|
122
131
|
# @return [Client]
|
@@ -131,10 +140,12 @@ module Aws::CloudFormation
|
|
131
140
|
#
|
132
141
|
# @return [self]
|
133
142
|
def load
|
134
|
-
resp =
|
143
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
144
|
+
@client.describe_stack_resource(
|
135
145
|
logical_resource_id: @logical_id,
|
136
146
|
stack_name: @stack_name
|
137
147
|
)
|
148
|
+
end
|
138
149
|
@data = resp.stack_resource_detail
|
139
150
|
self
|
140
151
|
end
|
@@ -249,7 +260,9 @@ module Aws::CloudFormation
|
|
249
260
|
:retry
|
250
261
|
end
|
251
262
|
end
|
252
|
-
Aws::
|
263
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
264
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
265
|
+
end
|
253
266
|
end
|
254
267
|
|
255
268
|
# @!group Associations
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -50,8 +50,9 @@ module Aws::CloudFormation
|
|
50
50
|
data[:physical_resource_id]
|
51
51
|
end
|
52
52
|
|
53
|
-
# Type of resource. (For more information,
|
54
|
-
#
|
53
|
+
# Type of resource. (For more information, see [Amazon Web Services
|
54
|
+
# resource and property types reference][1] in the *CloudFormation User
|
55
|
+
# Guide*.)
|
55
56
|
#
|
56
57
|
#
|
57
58
|
#
|
@@ -82,17 +83,25 @@ module Aws::CloudFormation
|
|
82
83
|
# Information about whether the resource's actual configuration
|
83
84
|
# differs, or has *drifted*, from its expected configuration, as defined
|
84
85
|
# in the stack template and any values specified as template parameters.
|
85
|
-
# For more information, see [
|
86
|
-
#
|
86
|
+
# For more information, see [Detect unmanaged configuration changes to
|
87
|
+
# stacks and resources with drift detection][1].
|
87
88
|
#
|
88
89
|
#
|
89
90
|
#
|
90
|
-
# [1]:
|
91
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
|
91
92
|
# @return [Types::StackResourceDriftInformationSummary]
|
92
93
|
def drift_information
|
93
94
|
data[:drift_information]
|
94
95
|
end
|
95
96
|
|
97
|
+
# Contains information about the module from which the resource was
|
98
|
+
# created, if the resource was created from a module included in the
|
99
|
+
# stack template.
|
100
|
+
# @return [Types::ModuleInfo]
|
101
|
+
def module_info
|
102
|
+
data[:module_info]
|
103
|
+
end
|
104
|
+
|
96
105
|
# @!endgroup
|
97
106
|
|
98
107
|
# @return [Client]
|
@@ -217,7 +226,9 @@ module Aws::CloudFormation
|
|
217
226
|
:retry
|
218
227
|
end
|
219
228
|
end
|
220
|
-
Aws::
|
229
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
230
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
231
|
+
end
|
221
232
|
end
|
222
233
|
|
223
234
|
# @!group Associations
|