aws-sdk-backupgateway 1.32.0 → 1.33.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: f0e6f640bf11f3e2fb1a31f0d1fe611ada4f274d074246011588c43cff62c886
4
- data.tar.gz: 4fd335d9eebe7f6cbe6dd2327676ac83a6efca9c07d92536c46df0aadbbcaf76
3
+ metadata.gz: c9aa84f0fc8196888021ca06c12772b6e4287dc1e1df47bb56ded6af5274acfa
4
+ data.tar.gz: 52c1e341d8bf60b94b2e1feebfa1e63aefd05de5557d4e09f39114e6d01b66d1
5
5
  SHA512:
6
- metadata.gz: a5366b0858c6ab4658d93fd6a61e8f16f4c1557bf9fc85d5e8f2526de977d1bb98eab94772b668a0273b0b2fbd1342fc1050996ce973afa028fd3e35e9ad1db9
7
- data.tar.gz: ee08869dc9d8f88e02acab3fce1f9b0c5153eb06116bd7fb0cdc6db40a1b347d39a54b4ce3d32444ad1f46f449605024209e01bca2b48981975687dbcf8c48b3
6
+ metadata.gz: bb4faecfe8c402d0f0021994cb3fe1fb5724279cf04d1c295583daa2152fe75217b7272a5a3012d3267b370d19ff8f0ad522c89d14ed906ffc941ca2b648156e
7
+ data.tar.gz: 65571914560ae5a575fd6e03698c9818e5c521a9d4f05b202581f27627dc160667fa3a7e5492e7d12a29df06a9ad399dd7a1c9ddf3bacaaa5fa36fcba26a7b0e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.32.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.32.0
1
+ 1.33.0
@@ -1496,7 +1496,7 @@ module Aws::BackupGateway
1496
1496
  tracer: tracer
1497
1497
  )
1498
1498
  context[:gem_name] = 'aws-sdk-backupgateway'
1499
- context[:gem_version] = '1.32.0'
1499
+ context[:gem_version] = '1.33.0'
1500
1500
  Seahorse::Client::Request.new(handlers, context)
1501
1501
  end
1502
1502
 
@@ -10,40 +10,36 @@
10
10
  module Aws::BackupGateway
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  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)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  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://backup-gateway-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://backup-gateway-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://backup-gateway-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://backup-gateway-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://backup-gateway.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://backup-gateway.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
41
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://backup-gateway.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ return Aws::Endpoints::Endpoint.new(url: "https://backup-gateway.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
43
  end
48
44
  end
49
45
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -54,7 +54,7 @@ module Aws::BackupGateway
54
54
  autoload :EndpointProvider, 'aws-sdk-backupgateway/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-backupgateway/endpoints'
56
56
 
57
- GEM_VERSION = '1.32.0'
57
+ GEM_VERSION = '1.33.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-backupgateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.33.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: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core