aws-sdk-applicationsignals 1.7.0 → 1.9.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationsignals/client.rb +11 -5
- data/lib/aws-sdk-applicationsignals/endpoints.rb +15 -60
- data/lib/aws-sdk-applicationsignals/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-applicationsignals.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f3569bf265c5dec9ce36a5b66e901ad90b889bf8c7f0dae37dbea63df55ec03
|
4
|
+
data.tar.gz: 6cbc3e43029b683e528a93fd10d9de07bc4e1e1c8c5cd4333d7ffecc5eb6636c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af2ae8f7b8fb012cef3c1c658a7bc5cfa55fea9ce651740d01c076760a56e9d28c53edcff44cf236765a0758060c5de470ff323cb5ba7de5e9de34cbc8c04ec3
|
7
|
+
data.tar.gz: '09dae0da2194b2601aef005dc7c904a1920feb49429ba77f877dca74b3e592590ef99c5038a3f7934b39aeb262c822ca2d5cd15d79e1b01c9f9211df0c51d53a'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.9.0 (2024-09-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.8.0 (2024-09-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.7.0 (2024-09-10)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -130,13 +130,15 @@ module Aws::ApplicationSignals
|
|
130
130
|
# locations will be searched for credentials:
|
131
131
|
#
|
132
132
|
# * `Aws.config[:credentials]`
|
133
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
134
|
-
#
|
133
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
134
|
+
# `:account_id` options.
|
135
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
136
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
135
137
|
# * `~/.aws/credentials`
|
136
138
|
# * `~/.aws/config`
|
137
139
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
140
|
# are very aggressive. Construct and pass an instance of
|
139
|
-
# `Aws::
|
141
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
142
|
# enable retries and extended timeouts. Instance profile credential
|
141
143
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
144
|
# to true.
|
@@ -155,6 +157,8 @@ module Aws::ApplicationSignals
|
|
155
157
|
#
|
156
158
|
# @option options [String] :access_key_id
|
157
159
|
#
|
160
|
+
# @option options [String] :account_id
|
161
|
+
#
|
158
162
|
# @option options [Boolean] :active_endpoint_cache (false)
|
159
163
|
# When set to `true`, a thread polling for endpoints will be running in
|
160
164
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -369,7 +373,9 @@ module Aws::ApplicationSignals
|
|
369
373
|
# sending the request.
|
370
374
|
#
|
371
375
|
# @option options [Aws::ApplicationSignals::EndpointProvider] :endpoint_provider
|
372
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
376
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
377
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
378
|
+
# `Aws::ApplicationSignals::EndpointParameters`.
|
373
379
|
#
|
374
380
|
# @option options [Float] :http_continue_timeout (1)
|
375
381
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -2107,7 +2113,7 @@ module Aws::ApplicationSignals
|
|
2107
2113
|
tracer: tracer
|
2108
2114
|
)
|
2109
2115
|
context[:gem_name] = 'aws-sdk-applicationsignals'
|
2110
|
-
context[:gem_version] = '1.
|
2116
|
+
context[:gem_version] = '1.9.0'
|
2111
2117
|
Seahorse::Client::Request.new(handlers, context)
|
2112
2118
|
end
|
2113
2119
|
|
@@ -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
|
@@ -15,11 +15,11 @@ module Aws::ApplicationSignals
|
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::ApplicationSignals::EndpointProvider',
|
17
17
|
rbs_type: 'untyped',
|
18
|
-
docstring:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
docstring: <<~DOCS) do |_cfg|
|
19
|
+
The endpoint provider used to resolve endpoints. Any object that responds to
|
20
|
+
`#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
21
|
+
`Aws::ApplicationSignals::EndpointParameters`.
|
22
|
+
DOCS
|
23
23
|
Aws::ApplicationSignals::EndpointProvider.new
|
24
24
|
end
|
25
25
|
|
@@ -40,11 +40,23 @@ 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
|
+
if context.config.credentials&.credentials&.account_id
|
55
|
+
metrics << 'RESOLVED_ACCOUNT_ID'
|
56
|
+
end
|
57
|
+
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
58
|
+
end
|
59
|
+
|
48
60
|
def apply_endpoint_headers(context, headers)
|
49
61
|
headers.each do |key, values|
|
50
62
|
value = values
|
data/sig/client.rbs
CHANGED
data/sig/resource.rbs
CHANGED
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.
|
4
|
+
version: 1.9.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-
|
11
|
+
date: 2024-09-20 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.
|
22
|
+
version: 3.207.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.
|
32
|
+
version: 3.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|