aws-sdk-prometheusservice 1.29.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +493 -303
- data/lib/aws-sdk-prometheusservice/client_api.rb +70 -70
- data/lib/aws-sdk-prometheusservice/errors.rb +15 -15
- data/lib/aws-sdk-prometheusservice/types.rb +717 -564
- data/lib/aws-sdk-prometheusservice.rb +1 -1
- data/sig/client.rbs +51 -51
- data/sig/errors.rbs +3 -3
- data/sig/types.rbs +70 -70
- metadata +4 -4
data/sig/client.rbs
CHANGED
@@ -78,9 +78,9 @@ module Aws
|
|
78
78
|
end
|
79
79
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_alert_manager_definition-instance_method
|
80
80
|
def create_alert_manager_definition: (
|
81
|
-
|
81
|
+
?client_token: ::String,
|
82
82
|
data: ::String,
|
83
|
-
|
83
|
+
workspace_id: ::String
|
84
84
|
) -> _CreateAlertManagerDefinitionResponseSuccess
|
85
85
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAlertManagerDefinitionResponseSuccess
|
86
86
|
|
@@ -90,39 +90,45 @@ module Aws
|
|
90
90
|
end
|
91
91
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_logging_configuration-instance_method
|
92
92
|
def create_logging_configuration: (
|
93
|
-
|
93
|
+
?client_token: ::String,
|
94
94
|
log_group_arn: ::String,
|
95
|
-
|
95
|
+
workspace_id: ::String
|
96
96
|
) -> _CreateLoggingConfigurationResponseSuccess
|
97
97
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLoggingConfigurationResponseSuccess
|
98
98
|
|
99
99
|
interface _CreateRuleGroupsNamespaceResponseSuccess
|
100
100
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleGroupsNamespaceResponse]
|
101
|
-
def name: () -> ::String
|
102
101
|
def arn: () -> ::String
|
102
|
+
def name: () -> ::String
|
103
103
|
def status: () -> Types::RuleGroupsNamespaceStatus
|
104
104
|
def tags: () -> ::Hash[::String, ::String]
|
105
105
|
end
|
106
106
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_rule_groups_namespace-instance_method
|
107
107
|
def create_rule_groups_namespace: (
|
108
|
-
workspace_id: ::String,
|
109
|
-
name: ::String,
|
110
|
-
data: ::String,
|
111
108
|
?client_token: ::String,
|
112
|
-
|
109
|
+
data: ::String,
|
110
|
+
name: ::String,
|
111
|
+
?tags: Hash[::String, ::String],
|
112
|
+
workspace_id: ::String
|
113
113
|
) -> _CreateRuleGroupsNamespaceResponseSuccess
|
114
114
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleGroupsNamespaceResponseSuccess
|
115
115
|
|
116
116
|
interface _CreateScraperResponseSuccess
|
117
117
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateScraperResponse]
|
118
|
-
def scraper_id: () -> ::String
|
119
118
|
def arn: () -> ::String
|
119
|
+
def scraper_id: () -> ::String
|
120
120
|
def status: () -> Types::ScraperStatus
|
121
121
|
def tags: () -> ::Hash[::String, ::String]
|
122
122
|
end
|
123
123
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_scraper-instance_method
|
124
124
|
def create_scraper: (
|
125
125
|
?alias: ::String,
|
126
|
+
?client_token: ::String,
|
127
|
+
destination: {
|
128
|
+
amp_configuration: {
|
129
|
+
workspace_arn: ::String
|
130
|
+
}?
|
131
|
+
},
|
126
132
|
scrape_configuration: {
|
127
133
|
configuration_blob: ::String?
|
128
134
|
},
|
@@ -133,52 +139,46 @@ module Aws
|
|
133
139
|
subnet_ids: Array[::String]
|
134
140
|
}?
|
135
141
|
},
|
136
|
-
destination: {
|
137
|
-
amp_configuration: {
|
138
|
-
workspace_arn: ::String
|
139
|
-
}?
|
140
|
-
},
|
141
|
-
?client_token: ::String,
|
142
142
|
?tags: Hash[::String, ::String]
|
143
143
|
) -> _CreateScraperResponseSuccess
|
144
144
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScraperResponseSuccess
|
145
145
|
|
146
146
|
interface _CreateWorkspaceResponseSuccess
|
147
147
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspaceResponse]
|
148
|
-
def workspace_id: () -> ::String
|
149
148
|
def arn: () -> ::String
|
149
|
+
def kms_key_arn: () -> ::String
|
150
150
|
def status: () -> Types::WorkspaceStatus
|
151
151
|
def tags: () -> ::Hash[::String, ::String]
|
152
|
-
def
|
152
|
+
def workspace_id: () -> ::String
|
153
153
|
end
|
154
154
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_workspace-instance_method
|
155
155
|
def create_workspace: (
|
156
156
|
?alias: ::String,
|
157
157
|
?client_token: ::String,
|
158
|
-
?
|
159
|
-
?
|
158
|
+
?kms_key_arn: ::String,
|
159
|
+
?tags: Hash[::String, ::String]
|
160
160
|
) -> _CreateWorkspaceResponseSuccess
|
161
161
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceResponseSuccess
|
162
162
|
|
163
163
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_alert_manager_definition-instance_method
|
164
164
|
def delete_alert_manager_definition: (
|
165
|
-
|
166
|
-
|
165
|
+
?client_token: ::String,
|
166
|
+
workspace_id: ::String
|
167
167
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
168
168
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
169
169
|
|
170
170
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_logging_configuration-instance_method
|
171
171
|
def delete_logging_configuration: (
|
172
|
-
|
173
|
-
|
172
|
+
?client_token: ::String,
|
173
|
+
workspace_id: ::String
|
174
174
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
175
175
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
176
176
|
|
177
177
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_rule_groups_namespace-instance_method
|
178
178
|
def delete_rule_groups_namespace: (
|
179
|
-
|
179
|
+
?client_token: ::String,
|
180
180
|
name: ::String,
|
181
|
-
|
181
|
+
workspace_id: ::String
|
182
182
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
183
183
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
184
184
|
|
@@ -189,15 +189,15 @@ module Aws
|
|
189
189
|
end
|
190
190
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_scraper-instance_method
|
191
191
|
def delete_scraper: (
|
192
|
-
|
193
|
-
|
192
|
+
?client_token: ::String,
|
193
|
+
scraper_id: ::String
|
194
194
|
) -> _DeleteScraperResponseSuccess
|
195
195
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScraperResponseSuccess
|
196
196
|
|
197
197
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_workspace-instance_method
|
198
198
|
def delete_workspace: (
|
199
|
-
|
200
|
-
|
199
|
+
?client_token: ::String,
|
200
|
+
workspace_id: ::String
|
201
201
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
202
202
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
203
203
|
|
@@ -227,8 +227,8 @@ module Aws
|
|
227
227
|
end
|
228
228
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_rule_groups_namespace-instance_method
|
229
229
|
def describe_rule_groups_namespace: (
|
230
|
-
|
231
|
-
|
230
|
+
name: ::String,
|
231
|
+
workspace_id: ::String
|
232
232
|
) -> _DescribeRuleGroupsNamespaceResponseSuccess
|
233
233
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRuleGroupsNamespaceResponseSuccess
|
234
234
|
|
@@ -263,28 +263,28 @@ module Aws
|
|
263
263
|
|
264
264
|
interface _ListRuleGroupsNamespacesResponseSuccess
|
265
265
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleGroupsNamespacesResponse]
|
266
|
-
def rule_groups_namespaces: () -> ::Array[Types::RuleGroupsNamespaceSummary]
|
267
266
|
def next_token: () -> ::String
|
267
|
+
def rule_groups_namespaces: () -> ::Array[Types::RuleGroupsNamespaceSummary]
|
268
268
|
end
|
269
269
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_rule_groups_namespaces-instance_method
|
270
270
|
def list_rule_groups_namespaces: (
|
271
|
-
|
271
|
+
?max_results: ::Integer,
|
272
272
|
?name: ::String,
|
273
273
|
?next_token: ::String,
|
274
|
-
|
274
|
+
workspace_id: ::String
|
275
275
|
) -> _ListRuleGroupsNamespacesResponseSuccess
|
276
276
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleGroupsNamespacesResponseSuccess
|
277
277
|
|
278
278
|
interface _ListScrapersResponseSuccess
|
279
279
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListScrapersResponse]
|
280
|
-
def scrapers: () -> ::Array[Types::ScraperSummary]
|
281
280
|
def next_token: () -> ::String
|
281
|
+
def scrapers: () -> ::Array[Types::ScraperSummary]
|
282
282
|
end
|
283
283
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_scrapers-instance_method
|
284
284
|
def list_scrapers: (
|
285
285
|
?filters: Hash[::String, Array[::String]],
|
286
|
-
?
|
287
|
-
?
|
286
|
+
?max_results: ::Integer,
|
287
|
+
?next_token: ::String
|
288
288
|
) -> _ListScrapersResponseSuccess
|
289
289
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScrapersResponseSuccess
|
290
290
|
|
@@ -300,14 +300,14 @@ module Aws
|
|
300
300
|
|
301
301
|
interface _ListWorkspacesResponseSuccess
|
302
302
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkspacesResponse]
|
303
|
-
def workspaces: () -> ::Array[Types::WorkspaceSummary]
|
304
303
|
def next_token: () -> ::String
|
304
|
+
def workspaces: () -> ::Array[Types::WorkspaceSummary]
|
305
305
|
end
|
306
306
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_workspaces-instance_method
|
307
307
|
def list_workspaces: (
|
308
|
-
?next_token: ::String,
|
309
308
|
?alias: ::String,
|
310
|
-
?max_results: ::Integer
|
309
|
+
?max_results: ::Integer,
|
310
|
+
?next_token: ::String
|
311
311
|
) -> _ListWorkspacesResponseSuccess
|
312
312
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspacesResponseSuccess
|
313
313
|
|
@@ -317,25 +317,25 @@ module Aws
|
|
317
317
|
end
|
318
318
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#put_alert_manager_definition-instance_method
|
319
319
|
def put_alert_manager_definition: (
|
320
|
-
|
320
|
+
?client_token: ::String,
|
321
321
|
data: ::String,
|
322
|
-
|
322
|
+
workspace_id: ::String
|
323
323
|
) -> _PutAlertManagerDefinitionResponseSuccess
|
324
324
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAlertManagerDefinitionResponseSuccess
|
325
325
|
|
326
326
|
interface _PutRuleGroupsNamespaceResponseSuccess
|
327
327
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutRuleGroupsNamespaceResponse]
|
328
|
-
def name: () -> ::String
|
329
328
|
def arn: () -> ::String
|
329
|
+
def name: () -> ::String
|
330
330
|
def status: () -> Types::RuleGroupsNamespaceStatus
|
331
331
|
def tags: () -> ::Hash[::String, ::String]
|
332
332
|
end
|
333
333
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#put_rule_groups_namespace-instance_method
|
334
334
|
def put_rule_groups_namespace: (
|
335
|
-
|
336
|
-
name: ::String,
|
335
|
+
?client_token: ::String,
|
337
336
|
data: ::String,
|
338
|
-
|
337
|
+
name: ::String,
|
338
|
+
workspace_id: ::String
|
339
339
|
) -> _PutRuleGroupsNamespaceResponseSuccess
|
340
340
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRuleGroupsNamespaceResponseSuccess
|
341
341
|
|
@@ -365,17 +365,17 @@ module Aws
|
|
365
365
|
end
|
366
366
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_logging_configuration-instance_method
|
367
367
|
def update_logging_configuration: (
|
368
|
-
|
368
|
+
?client_token: ::String,
|
369
369
|
log_group_arn: ::String,
|
370
|
-
|
370
|
+
workspace_id: ::String
|
371
371
|
) -> _UpdateLoggingConfigurationResponseSuccess
|
372
372
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLoggingConfigurationResponseSuccess
|
373
373
|
|
374
374
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_workspace_alias-instance_method
|
375
375
|
def update_workspace_alias: (
|
376
|
-
workspace_id: ::String,
|
377
376
|
?alias: ::String,
|
378
|
-
?client_token: ::String
|
377
|
+
?client_token: ::String,
|
378
|
+
workspace_id: ::String
|
379
379
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
380
380
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
381
381
|
|
data/sig/errors.rbs
CHANGED
@@ -30,21 +30,21 @@ module Aws
|
|
30
30
|
end
|
31
31
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
32
32
|
def message: () -> ::String
|
33
|
+
def quota_code: () -> ::String
|
33
34
|
def resource_id: () -> ::String
|
34
35
|
def resource_type: () -> ::String
|
35
36
|
def service_code: () -> ::String
|
36
|
-
def quota_code: () -> ::String
|
37
37
|
end
|
38
38
|
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
39
|
def message: () -> ::String
|
40
|
-
def service_code: () -> ::String
|
41
40
|
def quota_code: () -> ::String
|
42
41
|
def retry_after_seconds: () -> ::String
|
42
|
+
def service_code: () -> ::String
|
43
43
|
end
|
44
44
|
class ValidationException < ::Aws::Errors::ServiceError
|
45
|
+
def field_list: () -> ::String
|
45
46
|
def message: () -> ::String
|
46
47
|
def reason: () -> ::String
|
47
|
-
def field_list: () -> ::String
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|