aws-record 2.10.0 → 2.10.1

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +330 -0
  3. data/LICENSE +202 -0
  4. data/VERSION +1 -0
  5. data/lib/aws-record/record/attribute.rb +5 -15
  6. data/lib/aws-record/record/attributes.rb +32 -29
  7. data/lib/aws-record/record/batch_write.rb +1 -12
  8. data/lib/aws-record/record/buildable_search.rb +4 -2
  9. data/lib/aws-record/record/client_configuration.rb +1 -12
  10. data/lib/aws-record/record/dirty_tracking.rb +1 -12
  11. data/lib/aws-record/record/errors.rb +1 -12
  12. data/lib/aws-record/record/item_collection.rb +1 -12
  13. data/lib/aws-record/record/item_data.rb +1 -12
  14. data/lib/aws-record/record/item_operations.rb +9 -0
  15. data/lib/aws-record/record/key_attributes.rb +1 -12
  16. data/lib/aws-record/record/marshalers/boolean_marshaler.rb +1 -12
  17. data/lib/aws-record/record/marshalers/date_marshaler.rb +1 -12
  18. data/lib/aws-record/record/marshalers/date_time_marshaler.rb +1 -12
  19. data/lib/aws-record/record/marshalers/epoch_time_marshaler.rb +1 -12
  20. data/lib/aws-record/record/marshalers/float_marshaler.rb +1 -12
  21. data/lib/aws-record/record/marshalers/integer_marshaler.rb +1 -12
  22. data/lib/aws-record/record/marshalers/list_marshaler.rb +1 -12
  23. data/lib/aws-record/record/marshalers/map_marshaler.rb +1 -12
  24. data/lib/aws-record/record/marshalers/numeric_set_marshaler.rb +1 -12
  25. data/lib/aws-record/record/marshalers/string_marshaler.rb +1 -12
  26. data/lib/aws-record/record/marshalers/string_set_marshaler.rb +1 -12
  27. data/lib/aws-record/record/marshalers/time_marshaler.rb +1 -12
  28. data/lib/aws-record/record/model_attributes.rb +1 -12
  29. data/lib/aws-record/record/query.rb +1 -12
  30. data/lib/aws-record/record/secondary_indexes.rb +1 -12
  31. data/lib/aws-record/record/table_config.rb +1 -12
  32. data/lib/aws-record/record/table_migration.rb +1 -12
  33. data/lib/aws-record/record/transactions.rb +39 -7
  34. data/lib/aws-record/record/version.rb +2 -13
  35. data/lib/aws-record/record.rb +1 -12
  36. metadata +5 -2
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -32,6 +21,7 @@ module Aws
32
21
  # === Inheritance Support
33
22
  # Child models will inherit the attributes and keys defined in the parent
34
23
  # model. Child models can override attribute keys if defined in their own model.
24
+ #
35
25
  # See examples below to see the feature in action.
36
26
  # @example Usage Example
37
27
  # class MyModel
@@ -137,7 +127,8 @@ module Aws
137
127
  # nil values will be ignored and not persisted. By default, is false.
138
128
  # @option opts [Object] :default_value Optional attribute used to
139
129
  # define a "default value" to be used if the attribute's value on an
140
- # item is nil or not set at persistence time.
130
+ # item is nil or not set at persistence time. Additionally, lambda
131
+ # can be used as a default value.
141
132
  # @option opts [Boolean] :hash_key Set to true if this attribute is
142
133
  # the hash key for the table.
143
134
  # @option opts [Boolean] :range_key Set to true if this attribute is
@@ -163,7 +154,8 @@ module Aws
163
154
  # nil values will be ignored and not persisted. By default, is false.
164
155
  # @option opts [Object] :default_value Optional attribute used to
165
156
  # define a "default value" to be used if the attribute's value on an
166
- # item is nil or not set at persistence time.
157
+ # item is nil or not set at persistence time. Additionally, lambda
158
+ # can be used as a default value.
167
159
  def string_attr(name, opts = {})
168
160
  opts[:dynamodb_type] = "S"
169
161
  attr(name, Marshalers::StringMarshaler.new(opts), opts)
@@ -184,7 +176,8 @@ module Aws
184
176
  # nil values will be ignored and not persisted. By default, is false.
185
177
  # @option opts [Object] :default_value Optional attribute used to
186
178
  # define a "default value" to be used if the attribute's value on an
187
- # item is nil or not set at persistence time.
179
+ # item is nil or not set at persistence time. Additionally, lambda
180
+ # can be used as a default value.
188
181
  def boolean_attr(name, opts = {})
189
182
  opts[:dynamodb_type] = "BOOL"
190
183
  attr(name, Marshalers::BooleanMarshaler.new(opts), opts)
@@ -205,7 +198,8 @@ module Aws
205
198
  # nil values will be ignored and not persisted. By default, is false.
206
199
  # @option opts [Object] :default_value Optional attribute used to
207
200
  # define a "default value" to be used if the attribute's value on an
208
- # item is nil or not set at persistence time.
201
+ # item is nil or not set at persistence time. Additionally, lambda
202
+ # can be used as a default value.
209
203
  def integer_attr(name, opts = {})
210
204
  opts[:dynamodb_type] = "N"
211
205
  attr(name, Marshalers::IntegerMarshaler.new(opts), opts)
@@ -226,7 +220,8 @@ module Aws
226
220
  # nil values will be ignored and not persisted. By default, is false.
227
221
  # @option opts [Object] :default_value Optional attribute used to
228
222
  # define a "default value" to be used if the attribute's value on an
229
- # item is nil or not set at persistence time.
223
+ # item is nil or not set at persistence time. Additionally, lambda
224
+ # can be used as a default value.
230
225
  def float_attr(name, opts = {})
231
226
  opts[:dynamodb_type] = "N"
232
227
  attr(name, Marshalers::FloatMarshaler.new(opts), opts)
@@ -247,7 +242,8 @@ module Aws
247
242
  # nil values will be ignored and not persisted. By default, is false.
248
243
  # @option options [Object] :default_value Optional attribute used to
249
244
  # define a "default value" to be used if the attribute's value on an
250
- # item is nil or not set at persistence time.
245
+ # item is nil or not set at persistence time. Additionally, lambda
246
+ # can be used as a default value.
251
247
  def date_attr(name, opts = {})
252
248
  opts[:dynamodb_type] = "S"
253
249
  attr(name, Marshalers::DateMarshaler.new(opts), opts)
@@ -268,7 +264,8 @@ module Aws
268
264
  # nil values will be ignored and not persisted. By default, is false.
269
265
  # @option opts [Object] :default_value Optional attribute used to
270
266
  # define a "default value" to be used if the attribute's value on an
271
- # item is nil or not set at persistence time.
267
+ # item is nil or not set at persistence time. Additionally, lambda
268
+ # can be used as a default value.
272
269
  def datetime_attr(name, opts = {})
273
270
  opts[:dynamodb_type] = "S"
274
271
  attr(name, Marshalers::DateTimeMarshaler.new(opts), opts)
@@ -289,14 +286,15 @@ module Aws
289
286
  # nil values will be ignored and not persisted. By default, is false.
290
287
  # @option opts [Object] :default_value Optional attribute used to
291
288
  # define a "default value" to be used if the attribute's value on an
292
- # item is nil or not set at persistence time.
289
+ # item is nil or not set at persistence time. Additionally, lambda
290
+ # can be used as a default value.
293
291
  def time_attr(name, opts = {})
294
292
  opts[:dynamodb_type] = "S"
295
293
  attr(name, Marshalers::TimeMarshaler.new(opts), opts)
296
294
  end
297
295
 
298
296
  # Define a time-type attribute for your model which persists as
299
- # epoch-seconds.
297
+ # epoch-seconds.
300
298
  #
301
299
  # @param [Symbol] name Name of this attribute. It should be a name
302
300
  # that is safe to use as a method.
@@ -311,7 +309,8 @@ module Aws
311
309
  # nil values will be ignored and not persisted. By default, is false.
312
310
  # @option opts [Object] :default_value Optional attribute used to
313
311
  # define a "default value" to be used if the attribute's value on an
314
- # item is nil or not set at persistence time.
312
+ # item is nil or not set at persistence time. Additionally, lambda
313
+ # can be used as a default value.
315
314
  def epoch_time_attr(name, opts = {})
316
315
  opts[:dynamodb_type] = "N"
317
316
  attr(name, Marshalers::EpochTimeMarshaler.new(opts), opts)
@@ -320,7 +319,7 @@ module Aws
320
319
  # Define a list-type attribute for your model.
321
320
  #
322
321
  # Lists do not have to be homogeneous, but they do have to be types that
323
- # the AWS SDK for Ruby V2's DynamoDB client knows how to marshal and
322
+ # the AWS SDK for Ruby V3's DynamoDB client knows how to marshal and
324
323
  # unmarshal. Those types are:
325
324
  #
326
325
  # * Hash
@@ -346,7 +345,8 @@ module Aws
346
345
  # the range key for the table.
347
346
  # @option opts [Object] :default_value Optional attribute used to
348
347
  # define a "default value" to be used if the attribute's value on an
349
- # item is nil or not set at persistence time.
348
+ # item is nil or not set at persistence time. Additionally, lambda
349
+ # can be used as a default value.
350
350
  def list_attr(name, opts = {})
351
351
  opts[:dynamodb_type] = "L"
352
352
  attr(name, Marshalers::ListMarshaler.new(opts), opts)
@@ -355,7 +355,7 @@ module Aws
355
355
  # Define a map-type attribute for your model.
356
356
  #
357
357
  # Maps do not have to be homogeneous, but they do have to use types that
358
- # the AWS SDK for Ruby V2's DynamoDB client knows how to marshal and
358
+ # the AWS SDK for Ruby V3's DynamoDB client knows how to marshal and
359
359
  # unmarshal. Those types are:
360
360
  #
361
361
  # * Hash
@@ -381,7 +381,8 @@ module Aws
381
381
  # the range key for the table.
382
382
  # @option opts [Object] :default_value Optional attribute used to
383
383
  # define a "default value" to be used if the attribute's value on an
384
- # item is nil or not set at persistence time.
384
+ # item is nil or not set at persistence time. Additionally, lambda
385
+ # can be used as a default value.
385
386
  def map_attr(name, opts = {})
386
387
  opts[:dynamodb_type] = "M"
387
388
  attr(name, Marshalers::MapMarshaler.new(opts), opts)
@@ -406,7 +407,8 @@ module Aws
406
407
  # the range key for the table.
407
408
  # @option opts [Object] :default_value Optional attribute used to
408
409
  # define a "default value" to be used if the attribute's value on an
409
- # item is nil or not set at persistence time.
410
+ # item is nil or not set at persistence time. Additionally, lambda
411
+ # can be used as a default value.
410
412
  def string_set_attr(name, opts = {})
411
413
  opts[:dynamodb_type] = "SS"
412
414
  attr(name, Marshalers::StringSetMarshaler.new(opts), opts)
@@ -431,7 +433,8 @@ module Aws
431
433
  # the range key for the table.
432
434
  # @option opts [Object] :default_value Optional attribute used to
433
435
  # define a "default value" to be used if the attribute's value on an
434
- # item is nil or not set at persistence time.
436
+ # item is nil or not set at persistence time. Additionally, lambda
437
+ # can be used as a default value.
435
438
  def numeric_set_attr(name, opts = {})
436
439
  opts[:dynamodb_type] = "NS"
437
440
  attr(name, Marshalers::NumericSetMarshaler.new(opts), opts)
@@ -513,7 +516,7 @@ module Aws
513
516
  @keys.hash_key
514
517
  end
515
518
 
516
- # @return [Symbol,nil] The symbloc name of the table's range key, or nil if there is no range key.
519
+ # @return [Symbol,nil] The symbolic name of the table's range key, or nil if there is no range key.
517
520
  def range_key
518
521
  @keys.range_key
519
522
  end
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Aws
2
4
  module Record
3
5
  class BuildableSearch
@@ -263,13 +265,13 @@ module Aws
263
265
 
264
266
  def _next_name
265
267
  ret = "#" + @next_name
266
- @next_name.next!
268
+ @next_name = @next_name.next
267
269
  ret
268
270
  end
269
271
 
270
272
  def _next_value
271
273
  ret = ":" + @next_value
272
- @next_value.next!
274
+ @next_value = @next_value.next
273
275
  ret
274
276
  end
275
277
  end
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -343,6 +343,8 @@ module Aws
343
343
  # Allows you to build a "check" expression for use in transactional
344
344
  # write operations.
345
345
  #
346
+ # See {Transactions.transact_write transact_write} for more info.
347
+ #
346
348
  # @param [Hash] opts Options matching the :condition_check contents in
347
349
  # the
348
350
  # {https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#transact_write_items-instance_method Aws::DynamoDB::Client#transact_write_items}
@@ -370,6 +372,13 @@ module Aws
370
372
  opts
371
373
  end
372
374
 
375
+ # Used in {Transactions.transact_find}, which is a way to run
376
+ # transactional find across multiple DynamoDB items, including transactions
377
+ # which get items across multiple actual or virtual tables.
378
+ #
379
+ # This operation provide extra metadata used to marshal your items after retrieval.
380
+ #
381
+ # See {Transactions.transact_find transact_find} for more info and usage example.
373
382
  def tfind_opts(opts)
374
383
  opts = opts.dup
375
384
  key = opts.delete(:key)
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  require 'date'
15
4
 
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  require 'date'
15
4
 
@@ -1,15 +1,4 @@
1
- # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  require 'time'
15
4
 
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  require 'time'
15
4
 
@@ -1,15 +1,4 @@
1
- # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record
@@ -1,15 +1,4 @@
1
- # Copyright 2015-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not
4
- # use this file except in compliance with the License. A copy of the License is
5
- # located at
6
- #
7
- # http://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is distributed on
10
- # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
- # or implied. See the License for the specific language governing permissions
12
- # and limitations under the License.
1
+ # frozen_string_literal: true
13
2
 
14
3
  module Aws
15
4
  module Record