aws-sdk-cloudwatchevidently 1.21.0 → 1.23.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-cloudwatchevidently/client.rb +70 -46
- data/lib/aws-sdk-cloudwatchevidently/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudwatchevidently.rb +1 -1
- data/sig/client.rbs +719 -0
- data/sig/errors.rbs +52 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +943 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,719 @@
|
|
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 CloudWatchEvidently
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/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 _BatchEvaluateFeatureResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchEvaluateFeatureResponse]
|
77
|
+
def results: () -> ::Array[Types::EvaluationResult]
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#batch_evaluate_feature-instance_method
|
80
|
+
def batch_evaluate_feature: (
|
81
|
+
project: ::String,
|
82
|
+
requests: Array[
|
83
|
+
{
|
84
|
+
entity_id: ::String,
|
85
|
+
evaluation_context: ::String?,
|
86
|
+
feature: ::String
|
87
|
+
},
|
88
|
+
]
|
89
|
+
) -> _BatchEvaluateFeatureResponseSuccess
|
90
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchEvaluateFeatureResponseSuccess
|
91
|
+
|
92
|
+
interface _CreateExperimentResponseSuccess
|
93
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateExperimentResponse]
|
94
|
+
def experiment: () -> Types::Experiment
|
95
|
+
end
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#create_experiment-instance_method
|
97
|
+
def create_experiment: (
|
98
|
+
?description: ::String,
|
99
|
+
metric_goals: Array[
|
100
|
+
{
|
101
|
+
desired_change: ("INCREASE" | "DECREASE")?,
|
102
|
+
metric_definition: {
|
103
|
+
entity_id_key: ::String,
|
104
|
+
event_pattern: ::String?,
|
105
|
+
name: ::String,
|
106
|
+
unit_label: ::String?,
|
107
|
+
value_key: ::String
|
108
|
+
}
|
109
|
+
},
|
110
|
+
],
|
111
|
+
name: ::String,
|
112
|
+
?online_ab_config: {
|
113
|
+
control_treatment_name: ::String?,
|
114
|
+
treatment_weights: Hash[::String, ::Integer]?
|
115
|
+
},
|
116
|
+
project: ::String,
|
117
|
+
?randomization_salt: ::String,
|
118
|
+
?sampling_rate: ::Integer,
|
119
|
+
?segment: ::String,
|
120
|
+
?tags: Hash[::String, ::String],
|
121
|
+
treatments: Array[
|
122
|
+
{
|
123
|
+
description: ::String?,
|
124
|
+
feature: ::String,
|
125
|
+
name: ::String,
|
126
|
+
variation: ::String
|
127
|
+
},
|
128
|
+
]
|
129
|
+
) -> _CreateExperimentResponseSuccess
|
130
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExperimentResponseSuccess
|
131
|
+
|
132
|
+
interface _CreateFeatureResponseSuccess
|
133
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFeatureResponse]
|
134
|
+
def feature: () -> Types::Feature
|
135
|
+
end
|
136
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#create_feature-instance_method
|
137
|
+
def create_feature: (
|
138
|
+
?default_variation: ::String,
|
139
|
+
?description: ::String,
|
140
|
+
?entity_overrides: Hash[::String, ::String],
|
141
|
+
?evaluation_strategy: ("ALL_RULES" | "DEFAULT_VARIATION"),
|
142
|
+
name: ::String,
|
143
|
+
project: ::String,
|
144
|
+
?tags: Hash[::String, ::String],
|
145
|
+
variations: Array[
|
146
|
+
{
|
147
|
+
name: ::String,
|
148
|
+
value: {
|
149
|
+
bool_value: bool?,
|
150
|
+
double_value: ::Float?,
|
151
|
+
long_value: ::Integer?,
|
152
|
+
string_value: ::String?
|
153
|
+
}
|
154
|
+
},
|
155
|
+
]
|
156
|
+
) -> _CreateFeatureResponseSuccess
|
157
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFeatureResponseSuccess
|
158
|
+
|
159
|
+
interface _CreateLaunchResponseSuccess
|
160
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLaunchResponse]
|
161
|
+
def launch: () -> Types::Launch
|
162
|
+
end
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#create_launch-instance_method
|
164
|
+
def create_launch: (
|
165
|
+
?description: ::String,
|
166
|
+
groups: Array[
|
167
|
+
{
|
168
|
+
description: ::String?,
|
169
|
+
feature: ::String,
|
170
|
+
name: ::String,
|
171
|
+
variation: ::String
|
172
|
+
},
|
173
|
+
],
|
174
|
+
?metric_monitors: Array[
|
175
|
+
{
|
176
|
+
metric_definition: {
|
177
|
+
entity_id_key: ::String,
|
178
|
+
event_pattern: ::String?,
|
179
|
+
name: ::String,
|
180
|
+
unit_label: ::String?,
|
181
|
+
value_key: ::String
|
182
|
+
}
|
183
|
+
},
|
184
|
+
],
|
185
|
+
name: ::String,
|
186
|
+
project: ::String,
|
187
|
+
?randomization_salt: ::String,
|
188
|
+
?scheduled_splits_config: {
|
189
|
+
steps: Array[
|
190
|
+
{
|
191
|
+
group_weights: Hash[::String, ::Integer],
|
192
|
+
segment_overrides: Array[
|
193
|
+
{
|
194
|
+
evaluation_order: ::Integer,
|
195
|
+
segment: ::String,
|
196
|
+
weights: Hash[::String, ::Integer]
|
197
|
+
},
|
198
|
+
]?,
|
199
|
+
start_time: ::Time
|
200
|
+
},
|
201
|
+
]
|
202
|
+
},
|
203
|
+
?tags: Hash[::String, ::String]
|
204
|
+
) -> _CreateLaunchResponseSuccess
|
205
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLaunchResponseSuccess
|
206
|
+
|
207
|
+
interface _CreateProjectResponseSuccess
|
208
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateProjectResponse]
|
209
|
+
def project: () -> Types::Project
|
210
|
+
end
|
211
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#create_project-instance_method
|
212
|
+
def create_project: (
|
213
|
+
?app_config_resource: {
|
214
|
+
application_id: ::String?,
|
215
|
+
environment_id: ::String?
|
216
|
+
},
|
217
|
+
?data_delivery: {
|
218
|
+
cloud_watch_logs: {
|
219
|
+
log_group: ::String?
|
220
|
+
}?,
|
221
|
+
s3_destination: {
|
222
|
+
bucket: ::String?,
|
223
|
+
prefix: ::String?
|
224
|
+
}?
|
225
|
+
},
|
226
|
+
?description: ::String,
|
227
|
+
name: ::String,
|
228
|
+
?tags: Hash[::String, ::String]
|
229
|
+
) -> _CreateProjectResponseSuccess
|
230
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectResponseSuccess
|
231
|
+
|
232
|
+
interface _CreateSegmentResponseSuccess
|
233
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSegmentResponse]
|
234
|
+
def segment: () -> Types::Segment
|
235
|
+
end
|
236
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#create_segment-instance_method
|
237
|
+
def create_segment: (
|
238
|
+
?description: ::String,
|
239
|
+
name: ::String,
|
240
|
+
pattern: ::String,
|
241
|
+
?tags: Hash[::String, ::String]
|
242
|
+
) -> _CreateSegmentResponseSuccess
|
243
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSegmentResponseSuccess
|
244
|
+
|
245
|
+
interface _DeleteExperimentResponseSuccess
|
246
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteExperimentResponse]
|
247
|
+
end
|
248
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#delete_experiment-instance_method
|
249
|
+
def delete_experiment: (
|
250
|
+
experiment: ::String,
|
251
|
+
project: ::String
|
252
|
+
) -> _DeleteExperimentResponseSuccess
|
253
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteExperimentResponseSuccess
|
254
|
+
|
255
|
+
interface _DeleteFeatureResponseSuccess
|
256
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFeatureResponse]
|
257
|
+
end
|
258
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#delete_feature-instance_method
|
259
|
+
def delete_feature: (
|
260
|
+
feature: ::String,
|
261
|
+
project: ::String
|
262
|
+
) -> _DeleteFeatureResponseSuccess
|
263
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFeatureResponseSuccess
|
264
|
+
|
265
|
+
interface _DeleteLaunchResponseSuccess
|
266
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLaunchResponse]
|
267
|
+
end
|
268
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#delete_launch-instance_method
|
269
|
+
def delete_launch: (
|
270
|
+
launch: ::String,
|
271
|
+
project: ::String
|
272
|
+
) -> _DeleteLaunchResponseSuccess
|
273
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLaunchResponseSuccess
|
274
|
+
|
275
|
+
interface _DeleteProjectResponseSuccess
|
276
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProjectResponse]
|
277
|
+
end
|
278
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#delete_project-instance_method
|
279
|
+
def delete_project: (
|
280
|
+
project: ::String
|
281
|
+
) -> _DeleteProjectResponseSuccess
|
282
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProjectResponseSuccess
|
283
|
+
|
284
|
+
interface _DeleteSegmentResponseSuccess
|
285
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSegmentResponse]
|
286
|
+
end
|
287
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#delete_segment-instance_method
|
288
|
+
def delete_segment: (
|
289
|
+
segment: ::String
|
290
|
+
) -> _DeleteSegmentResponseSuccess
|
291
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSegmentResponseSuccess
|
292
|
+
|
293
|
+
interface _EvaluateFeatureResponseSuccess
|
294
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EvaluateFeatureResponse]
|
295
|
+
def details: () -> ::String
|
296
|
+
def reason: () -> ::String
|
297
|
+
def value: () -> Types::VariableValue
|
298
|
+
def variation: () -> ::String
|
299
|
+
end
|
300
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#evaluate_feature-instance_method
|
301
|
+
def evaluate_feature: (
|
302
|
+
entity_id: ::String,
|
303
|
+
?evaluation_context: ::String,
|
304
|
+
feature: ::String,
|
305
|
+
project: ::String
|
306
|
+
) -> _EvaluateFeatureResponseSuccess
|
307
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EvaluateFeatureResponseSuccess
|
308
|
+
|
309
|
+
interface _GetExperimentResponseSuccess
|
310
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetExperimentResponse]
|
311
|
+
def experiment: () -> Types::Experiment
|
312
|
+
end
|
313
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#get_experiment-instance_method
|
314
|
+
def get_experiment: (
|
315
|
+
experiment: ::String,
|
316
|
+
project: ::String
|
317
|
+
) -> _GetExperimentResponseSuccess
|
318
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExperimentResponseSuccess
|
319
|
+
|
320
|
+
interface _GetExperimentResultsResponseSuccess
|
321
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetExperimentResultsResponse]
|
322
|
+
def details: () -> ::String
|
323
|
+
def reports: () -> ::Array[Types::ExperimentReport]
|
324
|
+
def results_data: () -> ::Array[Types::ExperimentResultsData]
|
325
|
+
def timestamps: () -> ::Array[::Time]
|
326
|
+
end
|
327
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#get_experiment_results-instance_method
|
328
|
+
def get_experiment_results: (
|
329
|
+
?base_stat: ("Mean"),
|
330
|
+
?end_time: ::Time,
|
331
|
+
experiment: ::String,
|
332
|
+
metric_names: Array[::String],
|
333
|
+
?period: ::Integer,
|
334
|
+
project: ::String,
|
335
|
+
?report_names: Array[("BayesianInference")],
|
336
|
+
?result_stats: Array[("BaseStat" | "TreatmentEffect" | "ConfidenceInterval" | "PValue")],
|
337
|
+
?start_time: ::Time,
|
338
|
+
treatment_names: Array[::String]
|
339
|
+
) -> _GetExperimentResultsResponseSuccess
|
340
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExperimentResultsResponseSuccess
|
341
|
+
|
342
|
+
interface _GetFeatureResponseSuccess
|
343
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFeatureResponse]
|
344
|
+
def feature: () -> Types::Feature
|
345
|
+
end
|
346
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#get_feature-instance_method
|
347
|
+
def get_feature: (
|
348
|
+
feature: ::String,
|
349
|
+
project: ::String
|
350
|
+
) -> _GetFeatureResponseSuccess
|
351
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFeatureResponseSuccess
|
352
|
+
|
353
|
+
interface _GetLaunchResponseSuccess
|
354
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLaunchResponse]
|
355
|
+
def launch: () -> Types::Launch
|
356
|
+
end
|
357
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#get_launch-instance_method
|
358
|
+
def get_launch: (
|
359
|
+
launch: ::String,
|
360
|
+
project: ::String
|
361
|
+
) -> _GetLaunchResponseSuccess
|
362
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLaunchResponseSuccess
|
363
|
+
|
364
|
+
interface _GetProjectResponseSuccess
|
365
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetProjectResponse]
|
366
|
+
def project: () -> Types::Project
|
367
|
+
end
|
368
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#get_project-instance_method
|
369
|
+
def get_project: (
|
370
|
+
project: ::String
|
371
|
+
) -> _GetProjectResponseSuccess
|
372
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProjectResponseSuccess
|
373
|
+
|
374
|
+
interface _GetSegmentResponseSuccess
|
375
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentResponse]
|
376
|
+
def segment: () -> Types::Segment
|
377
|
+
end
|
378
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#get_segment-instance_method
|
379
|
+
def get_segment: (
|
380
|
+
segment: ::String
|
381
|
+
) -> _GetSegmentResponseSuccess
|
382
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentResponseSuccess
|
383
|
+
|
384
|
+
interface _ListExperimentsResponseSuccess
|
385
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListExperimentsResponse]
|
386
|
+
def experiments: () -> ::Array[Types::Experiment]
|
387
|
+
def next_token: () -> ::String
|
388
|
+
end
|
389
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#list_experiments-instance_method
|
390
|
+
def list_experiments: (
|
391
|
+
?max_results: ::Integer,
|
392
|
+
?next_token: ::String,
|
393
|
+
project: ::String,
|
394
|
+
?status: ("CREATED" | "UPDATING" | "RUNNING" | "COMPLETED" | "CANCELLED")
|
395
|
+
) -> _ListExperimentsResponseSuccess
|
396
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExperimentsResponseSuccess
|
397
|
+
|
398
|
+
interface _ListFeaturesResponseSuccess
|
399
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFeaturesResponse]
|
400
|
+
def features: () -> ::Array[Types::FeatureSummary]
|
401
|
+
def next_token: () -> ::String
|
402
|
+
end
|
403
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#list_features-instance_method
|
404
|
+
def list_features: (
|
405
|
+
?max_results: ::Integer,
|
406
|
+
?next_token: ::String,
|
407
|
+
project: ::String
|
408
|
+
) -> _ListFeaturesResponseSuccess
|
409
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFeaturesResponseSuccess
|
410
|
+
|
411
|
+
interface _ListLaunchesResponseSuccess
|
412
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLaunchesResponse]
|
413
|
+
def launches: () -> ::Array[Types::Launch]
|
414
|
+
def next_token: () -> ::String
|
415
|
+
end
|
416
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#list_launches-instance_method
|
417
|
+
def list_launches: (
|
418
|
+
?max_results: ::Integer,
|
419
|
+
?next_token: ::String,
|
420
|
+
project: ::String,
|
421
|
+
?status: ("CREATED" | "UPDATING" | "RUNNING" | "COMPLETED" | "CANCELLED")
|
422
|
+
) -> _ListLaunchesResponseSuccess
|
423
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLaunchesResponseSuccess
|
424
|
+
|
425
|
+
interface _ListProjectsResponseSuccess
|
426
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListProjectsResponse]
|
427
|
+
def next_token: () -> ::String
|
428
|
+
def projects: () -> ::Array[Types::ProjectSummary]
|
429
|
+
end
|
430
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#list_projects-instance_method
|
431
|
+
def list_projects: (
|
432
|
+
?max_results: ::Integer,
|
433
|
+
?next_token: ::String
|
434
|
+
) -> _ListProjectsResponseSuccess
|
435
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProjectsResponseSuccess
|
436
|
+
|
437
|
+
interface _ListSegmentReferencesResponseSuccess
|
438
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSegmentReferencesResponse]
|
439
|
+
def next_token: () -> ::String
|
440
|
+
def referenced_by: () -> ::Array[Types::RefResource]
|
441
|
+
end
|
442
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#list_segment_references-instance_method
|
443
|
+
def list_segment_references: (
|
444
|
+
?max_results: ::Integer,
|
445
|
+
?next_token: ::String,
|
446
|
+
segment: ::String,
|
447
|
+
type: ("EXPERIMENT" | "LAUNCH")
|
448
|
+
) -> _ListSegmentReferencesResponseSuccess
|
449
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSegmentReferencesResponseSuccess
|
450
|
+
|
451
|
+
interface _ListSegmentsResponseSuccess
|
452
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSegmentsResponse]
|
453
|
+
def next_token: () -> ::String
|
454
|
+
def segments: () -> ::Array[Types::Segment]
|
455
|
+
end
|
456
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#list_segments-instance_method
|
457
|
+
def list_segments: (
|
458
|
+
?max_results: ::Integer,
|
459
|
+
?next_token: ::String
|
460
|
+
) -> _ListSegmentsResponseSuccess
|
461
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSegmentsResponseSuccess
|
462
|
+
|
463
|
+
interface _ListTagsForResourceResponseSuccess
|
464
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
465
|
+
def tags: () -> ::Hash[::String, ::String]
|
466
|
+
end
|
467
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#list_tags_for_resource-instance_method
|
468
|
+
def list_tags_for_resource: (
|
469
|
+
resource_arn: ::String
|
470
|
+
) -> _ListTagsForResourceResponseSuccess
|
471
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
472
|
+
|
473
|
+
interface _PutProjectEventsResponseSuccess
|
474
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutProjectEventsResponse]
|
475
|
+
def event_results: () -> ::Array[Types::PutProjectEventsResultEntry]
|
476
|
+
def failed_event_count: () -> ::Integer
|
477
|
+
end
|
478
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#put_project_events-instance_method
|
479
|
+
def put_project_events: (
|
480
|
+
events: Array[
|
481
|
+
{
|
482
|
+
data: ::String,
|
483
|
+
timestamp: ::Time,
|
484
|
+
type: ("aws.evidently.evaluation" | "aws.evidently.custom")
|
485
|
+
},
|
486
|
+
],
|
487
|
+
project: ::String
|
488
|
+
) -> _PutProjectEventsResponseSuccess
|
489
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProjectEventsResponseSuccess
|
490
|
+
|
491
|
+
interface _StartExperimentResponseSuccess
|
492
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartExperimentResponse]
|
493
|
+
def started_time: () -> ::Time
|
494
|
+
end
|
495
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#start_experiment-instance_method
|
496
|
+
def start_experiment: (
|
497
|
+
analysis_complete_time: ::Time,
|
498
|
+
experiment: ::String,
|
499
|
+
project: ::String
|
500
|
+
) -> _StartExperimentResponseSuccess
|
501
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExperimentResponseSuccess
|
502
|
+
|
503
|
+
interface _StartLaunchResponseSuccess
|
504
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartLaunchResponse]
|
505
|
+
def launch: () -> Types::Launch
|
506
|
+
end
|
507
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#start_launch-instance_method
|
508
|
+
def start_launch: (
|
509
|
+
launch: ::String,
|
510
|
+
project: ::String
|
511
|
+
) -> _StartLaunchResponseSuccess
|
512
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartLaunchResponseSuccess
|
513
|
+
|
514
|
+
interface _StopExperimentResponseSuccess
|
515
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopExperimentResponse]
|
516
|
+
def ended_time: () -> ::Time
|
517
|
+
end
|
518
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#stop_experiment-instance_method
|
519
|
+
def stop_experiment: (
|
520
|
+
?desired_state: ("COMPLETED" | "CANCELLED"),
|
521
|
+
experiment: ::String,
|
522
|
+
project: ::String,
|
523
|
+
?reason: ::String
|
524
|
+
) -> _StopExperimentResponseSuccess
|
525
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopExperimentResponseSuccess
|
526
|
+
|
527
|
+
interface _StopLaunchResponseSuccess
|
528
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopLaunchResponse]
|
529
|
+
def ended_time: () -> ::Time
|
530
|
+
end
|
531
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#stop_launch-instance_method
|
532
|
+
def stop_launch: (
|
533
|
+
?desired_state: ("COMPLETED" | "CANCELLED"),
|
534
|
+
launch: ::String,
|
535
|
+
project: ::String,
|
536
|
+
?reason: ::String
|
537
|
+
) -> _StopLaunchResponseSuccess
|
538
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopLaunchResponseSuccess
|
539
|
+
|
540
|
+
interface _TagResourceResponseSuccess
|
541
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
542
|
+
end
|
543
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#tag_resource-instance_method
|
544
|
+
def tag_resource: (
|
545
|
+
resource_arn: ::String,
|
546
|
+
tags: Hash[::String, ::String]
|
547
|
+
) -> _TagResourceResponseSuccess
|
548
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
549
|
+
|
550
|
+
interface _TestSegmentPatternResponseSuccess
|
551
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestSegmentPatternResponse]
|
552
|
+
def match: () -> bool
|
553
|
+
end
|
554
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#test_segment_pattern-instance_method
|
555
|
+
def test_segment_pattern: (
|
556
|
+
pattern: ::String,
|
557
|
+
payload: ::String
|
558
|
+
) -> _TestSegmentPatternResponseSuccess
|
559
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestSegmentPatternResponseSuccess
|
560
|
+
|
561
|
+
interface _UntagResourceResponseSuccess
|
562
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
563
|
+
end
|
564
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#untag_resource-instance_method
|
565
|
+
def untag_resource: (
|
566
|
+
resource_arn: ::String,
|
567
|
+
tag_keys: Array[::String]
|
568
|
+
) -> _UntagResourceResponseSuccess
|
569
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
570
|
+
|
571
|
+
interface _UpdateExperimentResponseSuccess
|
572
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateExperimentResponse]
|
573
|
+
def experiment: () -> Types::Experiment
|
574
|
+
end
|
575
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#update_experiment-instance_method
|
576
|
+
def update_experiment: (
|
577
|
+
?description: ::String,
|
578
|
+
experiment: ::String,
|
579
|
+
?metric_goals: Array[
|
580
|
+
{
|
581
|
+
desired_change: ("INCREASE" | "DECREASE")?,
|
582
|
+
metric_definition: {
|
583
|
+
entity_id_key: ::String,
|
584
|
+
event_pattern: ::String?,
|
585
|
+
name: ::String,
|
586
|
+
unit_label: ::String?,
|
587
|
+
value_key: ::String
|
588
|
+
}
|
589
|
+
},
|
590
|
+
],
|
591
|
+
?online_ab_config: {
|
592
|
+
control_treatment_name: ::String?,
|
593
|
+
treatment_weights: Hash[::String, ::Integer]?
|
594
|
+
},
|
595
|
+
project: ::String,
|
596
|
+
?randomization_salt: ::String,
|
597
|
+
?remove_segment: bool,
|
598
|
+
?sampling_rate: ::Integer,
|
599
|
+
?segment: ::String,
|
600
|
+
?treatments: Array[
|
601
|
+
{
|
602
|
+
description: ::String?,
|
603
|
+
feature: ::String,
|
604
|
+
name: ::String,
|
605
|
+
variation: ::String
|
606
|
+
},
|
607
|
+
]
|
608
|
+
) -> _UpdateExperimentResponseSuccess
|
609
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateExperimentResponseSuccess
|
610
|
+
|
611
|
+
interface _UpdateFeatureResponseSuccess
|
612
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFeatureResponse]
|
613
|
+
def feature: () -> Types::Feature
|
614
|
+
end
|
615
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#update_feature-instance_method
|
616
|
+
def update_feature: (
|
617
|
+
?add_or_update_variations: Array[
|
618
|
+
{
|
619
|
+
name: ::String,
|
620
|
+
value: {
|
621
|
+
bool_value: bool?,
|
622
|
+
double_value: ::Float?,
|
623
|
+
long_value: ::Integer?,
|
624
|
+
string_value: ::String?
|
625
|
+
}
|
626
|
+
},
|
627
|
+
],
|
628
|
+
?default_variation: ::String,
|
629
|
+
?description: ::String,
|
630
|
+
?entity_overrides: Hash[::String, ::String],
|
631
|
+
?evaluation_strategy: ("ALL_RULES" | "DEFAULT_VARIATION"),
|
632
|
+
feature: ::String,
|
633
|
+
project: ::String,
|
634
|
+
?remove_variations: Array[::String]
|
635
|
+
) -> _UpdateFeatureResponseSuccess
|
636
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFeatureResponseSuccess
|
637
|
+
|
638
|
+
interface _UpdateLaunchResponseSuccess
|
639
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLaunchResponse]
|
640
|
+
def launch: () -> Types::Launch
|
641
|
+
end
|
642
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#update_launch-instance_method
|
643
|
+
def update_launch: (
|
644
|
+
?description: ::String,
|
645
|
+
?groups: Array[
|
646
|
+
{
|
647
|
+
description: ::String?,
|
648
|
+
feature: ::String,
|
649
|
+
name: ::String,
|
650
|
+
variation: ::String
|
651
|
+
},
|
652
|
+
],
|
653
|
+
launch: ::String,
|
654
|
+
?metric_monitors: Array[
|
655
|
+
{
|
656
|
+
metric_definition: {
|
657
|
+
entity_id_key: ::String,
|
658
|
+
event_pattern: ::String?,
|
659
|
+
name: ::String,
|
660
|
+
unit_label: ::String?,
|
661
|
+
value_key: ::String
|
662
|
+
}
|
663
|
+
},
|
664
|
+
],
|
665
|
+
project: ::String,
|
666
|
+
?randomization_salt: ::String,
|
667
|
+
?scheduled_splits_config: {
|
668
|
+
steps: Array[
|
669
|
+
{
|
670
|
+
group_weights: Hash[::String, ::Integer],
|
671
|
+
segment_overrides: Array[
|
672
|
+
{
|
673
|
+
evaluation_order: ::Integer,
|
674
|
+
segment: ::String,
|
675
|
+
weights: Hash[::String, ::Integer]
|
676
|
+
},
|
677
|
+
]?,
|
678
|
+
start_time: ::Time
|
679
|
+
},
|
680
|
+
]
|
681
|
+
}
|
682
|
+
) -> _UpdateLaunchResponseSuccess
|
683
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLaunchResponseSuccess
|
684
|
+
|
685
|
+
interface _UpdateProjectResponseSuccess
|
686
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProjectResponse]
|
687
|
+
def project: () -> Types::Project
|
688
|
+
end
|
689
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#update_project-instance_method
|
690
|
+
def update_project: (
|
691
|
+
?app_config_resource: {
|
692
|
+
application_id: ::String?,
|
693
|
+
environment_id: ::String?
|
694
|
+
},
|
695
|
+
?description: ::String,
|
696
|
+
project: ::String
|
697
|
+
) -> _UpdateProjectResponseSuccess
|
698
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectResponseSuccess
|
699
|
+
|
700
|
+
interface _UpdateProjectDataDeliveryResponseSuccess
|
701
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProjectDataDeliveryResponse]
|
702
|
+
def project: () -> Types::Project
|
703
|
+
end
|
704
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchEvidently/Client.html#update_project_data_delivery-instance_method
|
705
|
+
def update_project_data_delivery: (
|
706
|
+
?cloud_watch_logs: {
|
707
|
+
log_group: ::String?
|
708
|
+
},
|
709
|
+
project: ::String,
|
710
|
+
?s3_destination: {
|
711
|
+
bucket: ::String?,
|
712
|
+
prefix: ::String?
|
713
|
+
}
|
714
|
+
) -> _UpdateProjectDataDeliveryResponseSuccess
|
715
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectDataDeliveryResponseSuccess
|
716
|
+
end
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|