aws-sdk-greengrass 1.75.0 → 1.77.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 447272e390d4a8757cfc711d845ea73a724587b4bf7316c48bbff1307babcdac
4
- data.tar.gz: 7a16524fe4e8bff5bfc6a218153e2f5fad967ddc418534842dceb8a9b7a136a8
3
+ metadata.gz: 7913a4f5cdde6dc901a0801d54ca7240c0583fb09f12b0da8a9f3db243892baa
4
+ data.tar.gz: 3ac642be4d88fe0262c2ebf572f69eb8e40ae3373324c7b912c03fc7c05d54b9
5
5
  SHA512:
6
- metadata.gz: bce39823aaa30a324db0e220fb5cb92b6a3f0625834de7ec6bc7e310bb33fa8772cf1374a07ab102d988acd3f06ee18f48485f62920a028631b338471dbc8b46
7
- data.tar.gz: 9cdc9a998f656370392011557647d1e9b8032f365f330aaa9453202199265fb94153d3456c23f362a11af81f7445f2f4a06b42449f6c040403df04222fd1c505
6
+ metadata.gz: 1009c4c332ac2004a95e9d2f85c11ea5860bcadadc7f9c1eb2e79466abd72612897b5609ac585f88c0a0a497b28320b783d0bb1632a57469711983325fef9c51
7
+ data.tar.gz: 376d5df4a9b78e6570cadcd03a74e40f76535f073affb55a84565514a3cd32541be0a6ed3c67b6607f8470cb560062e118d5fd140a0efbfe732b3e27297e316c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.77.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.76.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.75.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.75.0
1
+ 1.77.0
@@ -257,11 +257,34 @@ module Aws::Greengrass
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -4222,7 +4245,7 @@ module Aws::Greengrass
4222
4245
  tracer: tracer
4223
4246
  )
4224
4247
  context[:gem_name] = 'aws-sdk-greengrass'
4225
- context[:gem_version] = '1.75.0'
4248
+ context[:gem_version] = '1.77.0'
4226
4249
  Seahorse::Client::Request.new(handlers, context)
4227
4250
  end
4228
4251
 
@@ -52,15 +52,18 @@ module Aws::Greengrass
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end