aws-sdk-taxsettings 1.6.0 → 1.8.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: 96499562cefee52973b4b400cd65e34af6082311874d02c303238e486c26b5e5
4
- data.tar.gz: 220d1ec921a830d2c125fc497f44ef0e3c14c36bf88e06a8584d6bd7d8146391
3
+ metadata.gz: 5fbf2c61f29413c50400a1539539953252280c756f259a9b863fe6df3f676520
4
+ data.tar.gz: df48c5465219a3fba6b8e98f22a09163029f2e832be5ba94a67faddfc5affba0
5
5
  SHA512:
6
- metadata.gz: 9057680e8fb92f1a8db40ba96ed35f9cc24653491c0529a920cb9f47d29db91fb4f0356406fd9d085d03aaf0712937f330fb4d1c58ba360118436921ac8ed841
7
- data.tar.gz: 7bef42e6a7b2dba7671ef5b09ade66d8284ef80bbae0eb56ce46cf3ee7734461d984182afc24dceea71d40e465df4c6aad588bbe2f8ec7ff0190466ecad1e890
6
+ metadata.gz: c809b7fc8493074fe6455a7f312b2bdb92284c0c0f43217061fe940146bbc8463d6ea55a6b4fad531d621548cff707d4e4e4f73cad10adcd90e6d771f0c841ed
7
+ data.tar.gz: 3370dc0ea7c9568943138660ff901121281ae0377a5fadd12846dcb1480bc68bdcf06d4a6b703860c621782f9d11708e60475238a8668dd4b43a3f4e3bb0e58f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2024-09-11)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.7.0 (2024-09-10)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.6.0 (2024-09-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.8.0
@@ -425,6 +425,12 @@ module Aws::TaxSettings
425
425
  # @option options [String] :ssl_ca_store
426
426
  # Sets the X509::Store to verify peer certificate.
427
427
  #
428
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
429
+ # Sets a client certificate when creating http connections.
430
+ #
431
+ # @option options [OpenSSL::PKey] :ssl_key
432
+ # Sets a client key when creating http connections.
433
+ #
428
434
  # @option options [Float] :ssl_timeout
429
435
  # Sets the SSL timeout in seconds
430
436
  #
@@ -1269,7 +1275,7 @@ module Aws::TaxSettings
1269
1275
  tracer: tracer
1270
1276
  )
1271
1277
  context[:gem_name] = 'aws-sdk-taxsettings'
1272
- context[:gem_version] = '1.6.0'
1278
+ context[:gem_version] = '1.8.0'
1273
1279
  Seahorse::Client::Request.new(handlers, context)
1274
1280
  end
1275
1281
 
@@ -14,13 +14,10 @@ module Aws::TaxSettings
14
14
 
15
15
  class BatchDeleteTaxRegistration
16
16
  def self.build(context)
17
- unless context.config.regional_endpoint
18
- endpoint = context.config.endpoint.to_s
19
- end
20
17
  Aws::TaxSettings::EndpointParameters.new(
21
18
  use_dual_stack: context.config.use_dualstack_endpoint,
22
19
  use_fips: context.config.use_fips_endpoint,
23
- endpoint: endpoint,
20
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
24
21
  region: context.config.region,
25
22
  )
26
23
  end
@@ -28,13 +25,10 @@ module Aws::TaxSettings
28
25
 
29
26
  class BatchPutTaxRegistration
30
27
  def self.build(context)
31
- unless context.config.regional_endpoint
32
- endpoint = context.config.endpoint.to_s
33
- end
34
28
  Aws::TaxSettings::EndpointParameters.new(
35
29
  use_dual_stack: context.config.use_dualstack_endpoint,
36
30
  use_fips: context.config.use_fips_endpoint,
37
- endpoint: endpoint,
31
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
38
32
  region: context.config.region,
39
33
  )
40
34
  end
@@ -42,13 +36,10 @@ module Aws::TaxSettings
42
36
 
43
37
  class DeleteTaxRegistration
44
38
  def self.build(context)
45
- unless context.config.regional_endpoint
46
- endpoint = context.config.endpoint.to_s
47
- end
48
39
  Aws::TaxSettings::EndpointParameters.new(
49
40
  use_dual_stack: context.config.use_dualstack_endpoint,
50
41
  use_fips: context.config.use_fips_endpoint,
51
- endpoint: endpoint,
42
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
52
43
  region: context.config.region,
53
44
  )
54
45
  end
@@ -56,13 +47,10 @@ module Aws::TaxSettings
56
47
 
57
48
  class GetTaxRegistration
58
49
  def self.build(context)
59
- unless context.config.regional_endpoint
60
- endpoint = context.config.endpoint.to_s
61
- end
62
50
  Aws::TaxSettings::EndpointParameters.new(
63
51
  use_dual_stack: context.config.use_dualstack_endpoint,
64
52
  use_fips: context.config.use_fips_endpoint,
65
- endpoint: endpoint,
53
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
54
  region: context.config.region,
67
55
  )
68
56
  end
@@ -70,13 +58,10 @@ module Aws::TaxSettings
70
58
 
71
59
  class GetTaxRegistrationDocument
72
60
  def self.build(context)
73
- unless context.config.regional_endpoint
74
- endpoint = context.config.endpoint.to_s
75
- end
76
61
  Aws::TaxSettings::EndpointParameters.new(
77
62
  use_dual_stack: context.config.use_dualstack_endpoint,
78
63
  use_fips: context.config.use_fips_endpoint,
79
- endpoint: endpoint,
64
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
80
65
  region: context.config.region,
81
66
  )
82
67
  end
@@ -84,13 +69,10 @@ module Aws::TaxSettings
84
69
 
85
70
  class ListTaxRegistrations
86
71
  def self.build(context)
87
- unless context.config.regional_endpoint
88
- endpoint = context.config.endpoint.to_s
89
- end
90
72
  Aws::TaxSettings::EndpointParameters.new(
91
73
  use_dual_stack: context.config.use_dualstack_endpoint,
92
74
  use_fips: context.config.use_fips_endpoint,
93
- endpoint: endpoint,
75
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
94
76
  region: context.config.region,
95
77
  )
96
78
  end
@@ -98,13 +80,10 @@ module Aws::TaxSettings
98
80
 
99
81
  class PutTaxRegistration
100
82
  def self.build(context)
101
- unless context.config.regional_endpoint
102
- endpoint = context.config.endpoint.to_s
103
- end
104
83
  Aws::TaxSettings::EndpointParameters.new(
105
84
  use_dual_stack: context.config.use_dualstack_endpoint,
106
85
  use_fips: context.config.use_fips_endpoint,
107
- endpoint: endpoint,
86
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
108
87
  region: context.config.region,
109
88
  )
110
89
  end
@@ -40,11 +40,20 @@ module Aws::TaxSettings
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
55
+ end
56
+
48
57
  def apply_endpoint_headers(context, headers)
49
58
  headers.each do |key, values|
50
59
  value = values
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-taxsettings/customizations'
52
52
  # @!group service
53
53
  module Aws::TaxSettings
54
54
 
55
- GEM_VERSION = '1.6.0'
55
+ GEM_VERSION = '1.8.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-taxsettings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.8.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: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.203.0
22
+ version: 3.205.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.203.0
32
+ version: 3.205.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement