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.
@@ -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/master/CONTRIBUTING.md
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 AWS CloudFormation.
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. ((For more information, go to [ AWS Resource Types
60
- # Reference][1] in the AWS CloudFormation User Guide.)
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 Attribute][1] in the AWS
96
- # CloudFormation User Guide.
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 [Detecting Unregulated Configuration Changes
110
- # to Stacks and Resources][1].
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]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
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 = @client.describe_stack_resource(
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::Waiters::Waiter.new(options).wait({})
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/master/CONTRIBUTING.md
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, go to [ AWS Resource Types
54
- # Reference][1] in the AWS CloudFormation User Guide.)
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 [Detecting Unregulated Configuration Changes
86
- # to Stacks and Resources][1].
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]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
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::Waiters::Waiter.new(options).wait({})
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