aws-sdk-glacier 1.53.0 → 1.55.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: f1fa05716c36ebcaf7f9b530a26ca228ee653726aa99856f392a90f1b2fb35a5
4
- data.tar.gz: c6eb6a4680bf5ab45afb66352470265db5f5c7fc5b2621dc09d00772c0bb7991
3
+ metadata.gz: babf8438b510b1b7650f12d0f98740c926e5b8e8ca82740704e767a1ab010c79
4
+ data.tar.gz: ddf06728b9fb69beaa21ee4ee49e9b21901e63c0a145cbacc810540ae3a0e961
5
5
  SHA512:
6
- metadata.gz: 5a12bc743d8cd234aaac61e2016884b8cbbf949ad7c8d507efa54cf422541b7871a00a8ed222bbce976c488a15a05ae373dce63a2edd66dfd21bf210361870af
7
- data.tar.gz: b62ad9ef331d5e0338d5c0f424983cc59b5971a5086b8343860204d76102fa7daf5d392d00875855f6cc7d26220f48b050ed085eb90495a94fa1c8c2fe5c5a87
6
+ metadata.gz: 4b1a2fa402f614080351af07e27e44144ac3cc67c636941af0cd4221453498399f8d981776e2af9d7ffd2e1919f84b41e3890452922f899ef5be02185811a90c
7
+ data.tar.gz: bd76f39e52b207b4af7a848a9e98a3a9ef9ac47b7ba59c64974a162abb5dc5588190a00beb735f6bd48a116a23677f74d66f29c617057ecbf7a800914dfd715c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.0 (2023-09-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.54.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.53.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.55.0
@@ -227,6 +227,10 @@ module Aws::Glacier
227
227
  # @option options [Boolean] :endpoint_discovery (false)
228
228
  # When set to `true`, endpoint discovery will be enabled for operations when available.
229
229
  #
230
+ # @option options [Boolean] :ignore_configured_endpoint_urls
231
+ # Setting to true disables use of endpoint URLs provided via environment
232
+ # variables and the shared configuration file.
233
+ #
230
234
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
231
235
  # The log formatter.
232
236
  #
@@ -3435,7 +3439,7 @@ module Aws::Glacier
3435
3439
  params: params,
3436
3440
  config: config)
3437
3441
  context[:gem_name] = 'aws-sdk-glacier'
3438
- context[:gem_version] = '1.53.0'
3442
+ context[:gem_version] = '1.55.0'
3439
3443
  Seahorse::Client::Request.new(handlers, context)
3440
3444
  end
3441
3445
 
@@ -50,9 +50,6 @@ module Aws::Glacier
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,45 +14,42 @@ module Aws::Glacier
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
26
20
  end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://glacier-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
32
23
  end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://glacier.#{region}.amazonaws.com", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://glacier-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
37
31
  end
38
- return Aws::Endpoints::Endpoint.new(url: "https://glacier-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
39
33
  end
40
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
- end
42
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
43
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
- return Aws::Endpoints::Endpoint.new(url: "https://glacier.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
37
+ return Aws::Endpoints::Endpoint.new(url: "https://glacier.#{region}.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ return Aws::Endpoints::Endpoint.new(url: "https://glacier-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
+ end
41
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
45
42
  end
46
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
47
- end
48
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
49
- return Aws::Endpoints::Endpoint.new(url: "https://glacier.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
50
- end
51
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
52
- return Aws::Endpoints::Endpoint.new(url: "https://glacier.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
43
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
44
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
45
+ return Aws::Endpoints::Endpoint.new(url: "https://glacier.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
+ end
49
+ return Aws::Endpoints::Endpoint.new(url: "https://glacier.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
53
50
  end
54
- return Aws::Endpoints::Endpoint.new(url: "https://glacier.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
55
51
  end
52
+ raise ArgumentError, "Invalid Configuration: Missing Region"
56
53
  raise ArgumentError, 'No endpoint could be resolved'
57
54
 
58
55
  end
@@ -59,6 +59,6 @@ require_relative 'aws-sdk-glacier/customizations'
59
59
  # @!group service
60
60
  module Aws::Glacier
61
61
 
62
- GEM_VERSION = '1.53.0'
62
+ GEM_VERSION = '1.55.0'
63
63
 
64
64
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glacier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-06 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core