aws-sdk-applicationsignals 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-applicationsignals/client.rb +1634 -0
- data/lib/aws-sdk-applicationsignals/client_api.rb +676 -0
- data/lib/aws-sdk-applicationsignals/customizations.rb +0 -0
- data/lib/aws-sdk-applicationsignals/endpoint_parameters.rb +54 -0
- data/lib/aws-sdk-applicationsignals/endpoint_provider.rb +35 -0
- data/lib/aws-sdk-applicationsignals/endpoints.rb +211 -0
- data/lib/aws-sdk-applicationsignals/errors.rb +144 -0
- data/lib/aws-sdk-applicationsignals/plugins/endpoints.rb +100 -0
- data/lib/aws-sdk-applicationsignals/resource.rb +26 -0
- data/lib/aws-sdk-applicationsignals/types.rb +2043 -0
- data/lib/aws-sdk-applicationsignals.rb +57 -0
- data/sig/client.rbs +377 -0
- data/sig/errors.rbs +36 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +418 -0
- data/sig/waiters.rbs +13 -0
- metadata +99 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
require_relative 'aws-sdk-applicationsignals/types'
|
15
|
+
require_relative 'aws-sdk-applicationsignals/client_api'
|
16
|
+
require_relative 'aws-sdk-applicationsignals/plugins/endpoints.rb'
|
17
|
+
require_relative 'aws-sdk-applicationsignals/client'
|
18
|
+
require_relative 'aws-sdk-applicationsignals/errors'
|
19
|
+
require_relative 'aws-sdk-applicationsignals/resource'
|
20
|
+
require_relative 'aws-sdk-applicationsignals/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-applicationsignals/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-applicationsignals/endpoints'
|
23
|
+
require_relative 'aws-sdk-applicationsignals/customizations'
|
24
|
+
|
25
|
+
# This module provides support for Amazon CloudWatch Application Signals. This module is available in the
|
26
|
+
# `aws-sdk-applicationsignals` gem.
|
27
|
+
#
|
28
|
+
# # Client
|
29
|
+
#
|
30
|
+
# The {Client} class provides one method for each API operation. Operation
|
31
|
+
# methods each accept a hash of request parameters and return a response
|
32
|
+
# structure.
|
33
|
+
#
|
34
|
+
# application_signals = Aws::ApplicationSignals::Client.new
|
35
|
+
# resp = application_signals.batch_get_service_level_objective_budget_report(params)
|
36
|
+
#
|
37
|
+
# See {Client} for more information.
|
38
|
+
#
|
39
|
+
# # Errors
|
40
|
+
#
|
41
|
+
# Errors returned from Amazon CloudWatch Application Signals are defined in the
|
42
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
43
|
+
#
|
44
|
+
# begin
|
45
|
+
# # do stuff
|
46
|
+
# rescue Aws::ApplicationSignals::Errors::ServiceError
|
47
|
+
# # rescues all Amazon CloudWatch Application Signals API errors
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# See {Errors} for more information.
|
51
|
+
#
|
52
|
+
# @!group service
|
53
|
+
module Aws::ApplicationSignals
|
54
|
+
|
55
|
+
GEM_VERSION = '1.0.0'
|
56
|
+
|
57
|
+
end
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,377 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ApplicationSignals
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _BatchGetServiceLevelObjectiveBudgetReportResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetServiceLevelObjectiveBudgetReportOutput]
|
77
|
+
def timestamp: () -> ::Time
|
78
|
+
def reports: () -> ::Array[Types::ServiceLevelObjectiveBudgetReport]
|
79
|
+
def errors: () -> ::Array[Types::ServiceLevelObjectiveBudgetReportError]
|
80
|
+
end
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#batch_get_service_level_objective_budget_report-instance_method
|
82
|
+
def batch_get_service_level_objective_budget_report: (
|
83
|
+
timestamp: ::Time,
|
84
|
+
slo_ids: Array[::String]
|
85
|
+
) -> _BatchGetServiceLevelObjectiveBudgetReportResponseSuccess
|
86
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetServiceLevelObjectiveBudgetReportResponseSuccess
|
87
|
+
|
88
|
+
interface _CreateServiceLevelObjectiveResponseSuccess
|
89
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateServiceLevelObjectiveOutput]
|
90
|
+
def slo: () -> Types::ServiceLevelObjective
|
91
|
+
end
|
92
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#create_service_level_objective-instance_method
|
93
|
+
def create_service_level_objective: (
|
94
|
+
name: ::String,
|
95
|
+
?description: ::String,
|
96
|
+
sli_config: {
|
97
|
+
sli_metric_config: {
|
98
|
+
key_attributes: Hash[::String, ::String]?,
|
99
|
+
operation_name: ::String?,
|
100
|
+
metric_type: ("LATENCY" | "AVAILABILITY")?,
|
101
|
+
statistic: ::String?,
|
102
|
+
period_seconds: ::Integer?,
|
103
|
+
metric_data_queries: Array[
|
104
|
+
{
|
105
|
+
id: ::String,
|
106
|
+
metric_stat: {
|
107
|
+
metric: {
|
108
|
+
namespace: ::String?,
|
109
|
+
metric_name: ::String?,
|
110
|
+
dimensions: Array[
|
111
|
+
{
|
112
|
+
name: ::String,
|
113
|
+
value: ::String
|
114
|
+
},
|
115
|
+
]?
|
116
|
+
},
|
117
|
+
period: ::Integer,
|
118
|
+
stat: ::String,
|
119
|
+
unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
|
120
|
+
}?,
|
121
|
+
expression: ::String?,
|
122
|
+
label: ::String?,
|
123
|
+
return_data: bool?,
|
124
|
+
period: ::Integer?,
|
125
|
+
account_id: ::String?
|
126
|
+
},
|
127
|
+
]?
|
128
|
+
},
|
129
|
+
metric_threshold: ::Float,
|
130
|
+
comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")
|
131
|
+
},
|
132
|
+
?goal: {
|
133
|
+
interval: {
|
134
|
+
rolling_interval: {
|
135
|
+
duration_unit: ("DAY" | "MONTH"),
|
136
|
+
duration: ::Integer
|
137
|
+
}?,
|
138
|
+
calendar_interval: {
|
139
|
+
start_time: ::Time,
|
140
|
+
duration_unit: ("DAY" | "MONTH"),
|
141
|
+
duration: ::Integer
|
142
|
+
}?
|
143
|
+
}?,
|
144
|
+
attainment_goal: ::Float?,
|
145
|
+
warning_threshold: ::Float?
|
146
|
+
},
|
147
|
+
?tags: Array[
|
148
|
+
{
|
149
|
+
key: ::String,
|
150
|
+
value: ::String
|
151
|
+
},
|
152
|
+
]
|
153
|
+
) -> _CreateServiceLevelObjectiveResponseSuccess
|
154
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceLevelObjectiveResponseSuccess
|
155
|
+
|
156
|
+
interface _DeleteServiceLevelObjectiveResponseSuccess
|
157
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteServiceLevelObjectiveOutput]
|
158
|
+
end
|
159
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#delete_service_level_objective-instance_method
|
160
|
+
def delete_service_level_objective: (
|
161
|
+
id: ::String
|
162
|
+
) -> _DeleteServiceLevelObjectiveResponseSuccess
|
163
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteServiceLevelObjectiveResponseSuccess
|
164
|
+
|
165
|
+
interface _GetServiceResponseSuccess
|
166
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceOutput]
|
167
|
+
def service: () -> Types::Service
|
168
|
+
def start_time: () -> ::Time
|
169
|
+
def end_time: () -> ::Time
|
170
|
+
end
|
171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#get_service-instance_method
|
172
|
+
def get_service: (
|
173
|
+
start_time: ::Time,
|
174
|
+
end_time: ::Time,
|
175
|
+
key_attributes: Hash[::String, ::String]
|
176
|
+
) -> _GetServiceResponseSuccess
|
177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceResponseSuccess
|
178
|
+
|
179
|
+
interface _GetServiceLevelObjectiveResponseSuccess
|
180
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceLevelObjectiveOutput]
|
181
|
+
def slo: () -> Types::ServiceLevelObjective
|
182
|
+
end
|
183
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#get_service_level_objective-instance_method
|
184
|
+
def get_service_level_objective: (
|
185
|
+
id: ::String
|
186
|
+
) -> _GetServiceLevelObjectiveResponseSuccess
|
187
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceLevelObjectiveResponseSuccess
|
188
|
+
|
189
|
+
interface _ListServiceDependenciesResponseSuccess
|
190
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceDependenciesOutput]
|
191
|
+
def start_time: () -> ::Time
|
192
|
+
def end_time: () -> ::Time
|
193
|
+
def service_dependencies: () -> ::Array[Types::ServiceDependency]
|
194
|
+
def next_token: () -> ::String
|
195
|
+
end
|
196
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_service_dependencies-instance_method
|
197
|
+
def list_service_dependencies: (
|
198
|
+
start_time: ::Time,
|
199
|
+
end_time: ::Time,
|
200
|
+
key_attributes: Hash[::String, ::String],
|
201
|
+
?max_results: ::Integer,
|
202
|
+
?next_token: ::String
|
203
|
+
) -> _ListServiceDependenciesResponseSuccess
|
204
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceDependenciesResponseSuccess
|
205
|
+
|
206
|
+
interface _ListServiceDependentsResponseSuccess
|
207
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceDependentsOutput]
|
208
|
+
def start_time: () -> ::Time
|
209
|
+
def end_time: () -> ::Time
|
210
|
+
def service_dependents: () -> ::Array[Types::ServiceDependent]
|
211
|
+
def next_token: () -> ::String
|
212
|
+
end
|
213
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_service_dependents-instance_method
|
214
|
+
def list_service_dependents: (
|
215
|
+
start_time: ::Time,
|
216
|
+
end_time: ::Time,
|
217
|
+
key_attributes: Hash[::String, ::String],
|
218
|
+
?max_results: ::Integer,
|
219
|
+
?next_token: ::String
|
220
|
+
) -> _ListServiceDependentsResponseSuccess
|
221
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceDependentsResponseSuccess
|
222
|
+
|
223
|
+
interface _ListServiceLevelObjectivesResponseSuccess
|
224
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceLevelObjectivesOutput]
|
225
|
+
def slo_summaries: () -> ::Array[Types::ServiceLevelObjectiveSummary]
|
226
|
+
def next_token: () -> ::String
|
227
|
+
end
|
228
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_service_level_objectives-instance_method
|
229
|
+
def list_service_level_objectives: (
|
230
|
+
?key_attributes: Hash[::String, ::String],
|
231
|
+
?operation_name: ::String,
|
232
|
+
?max_results: ::Integer,
|
233
|
+
?next_token: ::String
|
234
|
+
) -> _ListServiceLevelObjectivesResponseSuccess
|
235
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceLevelObjectivesResponseSuccess
|
236
|
+
|
237
|
+
interface _ListServiceOperationsResponseSuccess
|
238
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceOperationsOutput]
|
239
|
+
def start_time: () -> ::Time
|
240
|
+
def end_time: () -> ::Time
|
241
|
+
def service_operations: () -> ::Array[Types::ServiceOperation]
|
242
|
+
def next_token: () -> ::String
|
243
|
+
end
|
244
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_service_operations-instance_method
|
245
|
+
def list_service_operations: (
|
246
|
+
start_time: ::Time,
|
247
|
+
end_time: ::Time,
|
248
|
+
key_attributes: Hash[::String, ::String],
|
249
|
+
?max_results: ::Integer,
|
250
|
+
?next_token: ::String
|
251
|
+
) -> _ListServiceOperationsResponseSuccess
|
252
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceOperationsResponseSuccess
|
253
|
+
|
254
|
+
interface _ListServicesResponseSuccess
|
255
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListServicesOutput]
|
256
|
+
def start_time: () -> ::Time
|
257
|
+
def end_time: () -> ::Time
|
258
|
+
def service_summaries: () -> ::Array[Types::ServiceSummary]
|
259
|
+
def next_token: () -> ::String
|
260
|
+
end
|
261
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_services-instance_method
|
262
|
+
def list_services: (
|
263
|
+
start_time: ::Time,
|
264
|
+
end_time: ::Time,
|
265
|
+
?max_results: ::Integer,
|
266
|
+
?next_token: ::String
|
267
|
+
) -> _ListServicesResponseSuccess
|
268
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServicesResponseSuccess
|
269
|
+
|
270
|
+
interface _ListTagsForResourceResponseSuccess
|
271
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
272
|
+
def tags: () -> ::Array[Types::Tag]
|
273
|
+
end
|
274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#list_tags_for_resource-instance_method
|
275
|
+
def list_tags_for_resource: (
|
276
|
+
resource_arn: ::String
|
277
|
+
) -> _ListTagsForResourceResponseSuccess
|
278
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
279
|
+
|
280
|
+
interface _StartDiscoveryResponseSuccess
|
281
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartDiscoveryOutput]
|
282
|
+
end
|
283
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#start_discovery-instance_method
|
284
|
+
def start_discovery: (
|
285
|
+
) -> _StartDiscoveryResponseSuccess
|
286
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDiscoveryResponseSuccess
|
287
|
+
|
288
|
+
interface _TagResourceResponseSuccess
|
289
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
290
|
+
end
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#tag_resource-instance_method
|
292
|
+
def tag_resource: (
|
293
|
+
resource_arn: ::String,
|
294
|
+
tags: Array[
|
295
|
+
{
|
296
|
+
key: ::String,
|
297
|
+
value: ::String
|
298
|
+
},
|
299
|
+
]
|
300
|
+
) -> _TagResourceResponseSuccess
|
301
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
302
|
+
|
303
|
+
interface _UntagResourceResponseSuccess
|
304
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
305
|
+
end
|
306
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#untag_resource-instance_method
|
307
|
+
def untag_resource: (
|
308
|
+
resource_arn: ::String,
|
309
|
+
tag_keys: Array[::String]
|
310
|
+
) -> _UntagResourceResponseSuccess
|
311
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
312
|
+
|
313
|
+
interface _UpdateServiceLevelObjectiveResponseSuccess
|
314
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateServiceLevelObjectiveOutput]
|
315
|
+
def slo: () -> Types::ServiceLevelObjective
|
316
|
+
end
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Client.html#update_service_level_objective-instance_method
|
318
|
+
def update_service_level_objective: (
|
319
|
+
id: ::String,
|
320
|
+
?description: ::String,
|
321
|
+
?sli_config: {
|
322
|
+
sli_metric_config: {
|
323
|
+
key_attributes: Hash[::String, ::String]?,
|
324
|
+
operation_name: ::String?,
|
325
|
+
metric_type: ("LATENCY" | "AVAILABILITY")?,
|
326
|
+
statistic: ::String?,
|
327
|
+
period_seconds: ::Integer?,
|
328
|
+
metric_data_queries: Array[
|
329
|
+
{
|
330
|
+
id: ::String,
|
331
|
+
metric_stat: {
|
332
|
+
metric: {
|
333
|
+
namespace: ::String?,
|
334
|
+
metric_name: ::String?,
|
335
|
+
dimensions: Array[
|
336
|
+
{
|
337
|
+
name: ::String,
|
338
|
+
value: ::String
|
339
|
+
},
|
340
|
+
]?
|
341
|
+
},
|
342
|
+
period: ::Integer,
|
343
|
+
stat: ::String,
|
344
|
+
unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
|
345
|
+
}?,
|
346
|
+
expression: ::String?,
|
347
|
+
label: ::String?,
|
348
|
+
return_data: bool?,
|
349
|
+
period: ::Integer?,
|
350
|
+
account_id: ::String?
|
351
|
+
},
|
352
|
+
]?
|
353
|
+
},
|
354
|
+
metric_threshold: ::Float,
|
355
|
+
comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")
|
356
|
+
},
|
357
|
+
?goal: {
|
358
|
+
interval: {
|
359
|
+
rolling_interval: {
|
360
|
+
duration_unit: ("DAY" | "MONTH"),
|
361
|
+
duration: ::Integer
|
362
|
+
}?,
|
363
|
+
calendar_interval: {
|
364
|
+
start_time: ::Time,
|
365
|
+
duration_unit: ("DAY" | "MONTH"),
|
366
|
+
duration: ::Integer
|
367
|
+
}?
|
368
|
+
}?,
|
369
|
+
attainment_goal: ::Float?,
|
370
|
+
warning_threshold: ::Float?
|
371
|
+
}
|
372
|
+
) -> _UpdateServiceLevelObjectiveResponseSuccess
|
373
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceLevelObjectiveResponseSuccess
|
374
|
+
end
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ApplicationSignals
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
21
|
+
def resource_type: () -> ::String
|
22
|
+
def resource_id: () -> ::String
|
23
|
+
def message: () -> ::String
|
24
|
+
end
|
25
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
26
|
+
def message: () -> ::String
|
27
|
+
end
|
28
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
29
|
+
def message: () -> ::String
|
30
|
+
end
|
31
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ApplicationSignals
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationSignals/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|