aws-sdk-applicationsignals 1.7.0 → 1.8.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5931d9decd9cfd0df504252021fc2fca9ad3249e70b91a6722278810af87f602
4
- data.tar.gz: c9ff4fe27caad4559c05e7bbe7e47329985bf1889f39bc286a63f8756d354431
3
+ metadata.gz: d1ba5a3fd0d07403e956a6a26071544af3716c359454b7bdb5a44271ef8d9f8c
4
+ data.tar.gz: d49c1bb65a77cca16b50a275d3af1c89ac0dd5437d4dc494ad9e3e0fe6a2d70c
5
5
  SHA512:
6
- metadata.gz: 96704021e590183567a078bfea2fbdc0f59460ca7c2396146ba29f7ae88b947dab73069f4edbe5847216da5e2959c09390db8a5afb134eb1aabe498da6eaa5a4
7
- data.tar.gz: 8a03fb4a658624217716585a03feadbd547707c71f3391f894bcc0f1be5d323d7dc4bb8fa89f31357784b69c88c6b7cdd1a28f6bf7cc7dbd67db016c7fea70bb
6
+ metadata.gz: 7596c4429007409a2b8a8d110e9edba4a43ded873c291d2ace66dbb64b00338d3d242cf3167d1225027a38f1a853842404fcd1e6e1d1407cb8ec8bc3b745d90e
7
+ data.tar.gz: a003a85d63e2751e2bdfe5522e0813de5224810954161297ed6b01d427e3463731f902c00122e1c16f896c4a6e7ec4425eeb6d8e032b901a1efe090717a230a1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.7.0 (2024-09-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.8.0
@@ -2107,7 +2107,7 @@ module Aws::ApplicationSignals
2107
2107
  tracer: tracer
2108
2108
  )
2109
2109
  context[:gem_name] = 'aws-sdk-applicationsignals'
2110
- context[:gem_version] = '1.7.0'
2110
+ context[:gem_version] = '1.8.0'
2111
2111
  Seahorse::Client::Request.new(handlers, context)
2112
2112
  end
2113
2113
 
@@ -14,12 +14,9 @@ module Aws::ApplicationSignals
14
14
 
15
15
  class BatchGetServiceLevelObjectiveBudgetReport
16
16
  def self.build(context)
17
- unless context.config.regional_endpoint
18
- endpoint = context.config.endpoint.to_s
19
- end
20
17
  Aws::ApplicationSignals::EndpointParameters.new(
21
18
  use_fips: context.config.use_fips_endpoint,
22
- endpoint: endpoint,
19
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
23
20
  region: context.config.region,
24
21
  )
25
22
  end
@@ -27,12 +24,9 @@ module Aws::ApplicationSignals
27
24
 
28
25
  class CreateServiceLevelObjective
29
26
  def self.build(context)
30
- unless context.config.regional_endpoint
31
- endpoint = context.config.endpoint.to_s
32
- end
33
27
  Aws::ApplicationSignals::EndpointParameters.new(
34
28
  use_fips: context.config.use_fips_endpoint,
35
- endpoint: endpoint,
29
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
36
30
  region: context.config.region,
37
31
  )
38
32
  end
@@ -40,12 +34,9 @@ module Aws::ApplicationSignals
40
34
 
41
35
  class DeleteServiceLevelObjective
42
36
  def self.build(context)
43
- unless context.config.regional_endpoint
44
- endpoint = context.config.endpoint.to_s
45
- end
46
37
  Aws::ApplicationSignals::EndpointParameters.new(
47
38
  use_fips: context.config.use_fips_endpoint,
48
- endpoint: endpoint,
39
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
49
40
  region: context.config.region,
50
41
  )
51
42
  end
@@ -53,12 +44,9 @@ module Aws::ApplicationSignals
53
44
 
54
45
  class GetService
55
46
  def self.build(context)
56
- unless context.config.regional_endpoint
57
- endpoint = context.config.endpoint.to_s
58
- end
59
47
  Aws::ApplicationSignals::EndpointParameters.new(
60
48
  use_fips: context.config.use_fips_endpoint,
61
- endpoint: endpoint,
49
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
62
50
  region: context.config.region,
63
51
  )
64
52
  end
@@ -66,12 +54,9 @@ module Aws::ApplicationSignals
66
54
 
67
55
  class GetServiceLevelObjective
68
56
  def self.build(context)
69
- unless context.config.regional_endpoint
70
- endpoint = context.config.endpoint.to_s
71
- end
72
57
  Aws::ApplicationSignals::EndpointParameters.new(
73
58
  use_fips: context.config.use_fips_endpoint,
74
- endpoint: endpoint,
59
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
75
60
  region: context.config.region,
76
61
  )
77
62
  end
@@ -79,12 +64,9 @@ module Aws::ApplicationSignals
79
64
 
80
65
  class ListServiceDependencies
81
66
  def self.build(context)
82
- unless context.config.regional_endpoint
83
- endpoint = context.config.endpoint.to_s
84
- end
85
67
  Aws::ApplicationSignals::EndpointParameters.new(
86
68
  use_fips: context.config.use_fips_endpoint,
87
- endpoint: endpoint,
69
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
70
  region: context.config.region,
89
71
  )
90
72
  end
@@ -92,12 +74,9 @@ module Aws::ApplicationSignals
92
74
 
93
75
  class ListServiceDependents
94
76
  def self.build(context)
95
- unless context.config.regional_endpoint
96
- endpoint = context.config.endpoint.to_s
97
- end
98
77
  Aws::ApplicationSignals::EndpointParameters.new(
99
78
  use_fips: context.config.use_fips_endpoint,
100
- endpoint: endpoint,
79
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
101
80
  region: context.config.region,
102
81
  )
103
82
  end
@@ -105,12 +84,9 @@ module Aws::ApplicationSignals
105
84
 
106
85
  class ListServiceLevelObjectives
107
86
  def self.build(context)
108
- unless context.config.regional_endpoint
109
- endpoint = context.config.endpoint.to_s
110
- end
111
87
  Aws::ApplicationSignals::EndpointParameters.new(
112
88
  use_fips: context.config.use_fips_endpoint,
113
- endpoint: endpoint,
89
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
114
90
  region: context.config.region,
115
91
  )
116
92
  end
@@ -118,12 +94,9 @@ module Aws::ApplicationSignals
118
94
 
119
95
  class ListServiceOperations
120
96
  def self.build(context)
121
- unless context.config.regional_endpoint
122
- endpoint = context.config.endpoint.to_s
123
- end
124
97
  Aws::ApplicationSignals::EndpointParameters.new(
125
98
  use_fips: context.config.use_fips_endpoint,
126
- endpoint: endpoint,
99
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
127
100
  region: context.config.region,
128
101
  )
129
102
  end
@@ -131,12 +104,9 @@ module Aws::ApplicationSignals
131
104
 
132
105
  class ListServices
133
106
  def self.build(context)
134
- unless context.config.regional_endpoint
135
- endpoint = context.config.endpoint.to_s
136
- end
137
107
  Aws::ApplicationSignals::EndpointParameters.new(
138
108
  use_fips: context.config.use_fips_endpoint,
139
- endpoint: endpoint,
109
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
140
110
  region: context.config.region,
141
111
  )
142
112
  end
@@ -144,12 +114,9 @@ module Aws::ApplicationSignals
144
114
 
145
115
  class ListTagsForResource
146
116
  def self.build(context)
147
- unless context.config.regional_endpoint
148
- endpoint = context.config.endpoint.to_s
149
- end
150
117
  Aws::ApplicationSignals::EndpointParameters.new(
151
118
  use_fips: context.config.use_fips_endpoint,
152
- endpoint: endpoint,
119
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
153
120
  region: context.config.region,
154
121
  )
155
122
  end
@@ -157,12 +124,9 @@ module Aws::ApplicationSignals
157
124
 
158
125
  class StartDiscovery
159
126
  def self.build(context)
160
- unless context.config.regional_endpoint
161
- endpoint = context.config.endpoint.to_s
162
- end
163
127
  Aws::ApplicationSignals::EndpointParameters.new(
164
128
  use_fips: context.config.use_fips_endpoint,
165
- endpoint: endpoint,
129
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
166
130
  region: context.config.region,
167
131
  )
168
132
  end
@@ -170,12 +134,9 @@ module Aws::ApplicationSignals
170
134
 
171
135
  class TagResource
172
136
  def self.build(context)
173
- unless context.config.regional_endpoint
174
- endpoint = context.config.endpoint.to_s
175
- end
176
137
  Aws::ApplicationSignals::EndpointParameters.new(
177
138
  use_fips: context.config.use_fips_endpoint,
178
- endpoint: endpoint,
139
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
179
140
  region: context.config.region,
180
141
  )
181
142
  end
@@ -183,12 +144,9 @@ module Aws::ApplicationSignals
183
144
 
184
145
  class UntagResource
185
146
  def self.build(context)
186
- unless context.config.regional_endpoint
187
- endpoint = context.config.endpoint.to_s
188
- end
189
147
  Aws::ApplicationSignals::EndpointParameters.new(
190
148
  use_fips: context.config.use_fips_endpoint,
191
- endpoint: endpoint,
149
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
192
150
  region: context.config.region,
193
151
  )
194
152
  end
@@ -196,12 +154,9 @@ module Aws::ApplicationSignals
196
154
 
197
155
  class UpdateServiceLevelObjective
198
156
  def self.build(context)
199
- unless context.config.regional_endpoint
200
- endpoint = context.config.endpoint.to_s
201
- end
202
157
  Aws::ApplicationSignals::EndpointParameters.new(
203
158
  use_fips: context.config.use_fips_endpoint,
204
- endpoint: endpoint,
159
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
205
160
  region: context.config.region,
206
161
  )
207
162
  end
@@ -40,11 +40,20 @@ module Aws::ApplicationSignals
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-applicationsignals/customizations'
52
52
  # @!group service
53
53
  module Aws::ApplicationSignals
54
54
 
55
- GEM_VERSION = '1.7.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-applicationsignals
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.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-10 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