aws-sdk-observabilityadmin 1.16.0 → 1.17.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-observabilityadmin/client.rb +836 -20
- data/lib/aws-sdk-observabilityadmin/client_api.rb +491 -0
- data/lib/aws-sdk-observabilityadmin/errors.rb +66 -0
- data/lib/aws-sdk-observabilityadmin/types.rb +1095 -21
- data/lib/aws-sdk-observabilityadmin.rb +1 -1
- data/sig/client.rbs +373 -6
- data/sig/errors.rbs +13 -0
- data/sig/types.rbs +313 -5
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -114,6 +114,35 @@ module Aws
|
|
|
114
114
|
) -> _CreateCentralizationRuleForOrganizationResponseSuccess
|
|
115
115
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCentralizationRuleForOrganizationResponseSuccess
|
|
116
116
|
|
|
117
|
+
interface _CreateS3TableIntegrationResponseSuccess
|
|
118
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateS3TableIntegrationOutput]
|
|
119
|
+
def arn: () -> ::String
|
|
120
|
+
end
|
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#create_s3_table_integration-instance_method
|
|
122
|
+
def create_s3_table_integration: (
|
|
123
|
+
encryption: {
|
|
124
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
|
125
|
+
kms_key_arn: ::String?
|
|
126
|
+
},
|
|
127
|
+
role_arn: ::String,
|
|
128
|
+
?tags: Hash[::String, ::String]
|
|
129
|
+
) -> _CreateS3TableIntegrationResponseSuccess
|
|
130
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateS3TableIntegrationResponseSuccess
|
|
131
|
+
|
|
132
|
+
interface _CreateTelemetryPipelineResponseSuccess
|
|
133
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTelemetryPipelineOutput]
|
|
134
|
+
def arn: () -> ::String
|
|
135
|
+
end
|
|
136
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#create_telemetry_pipeline-instance_method
|
|
137
|
+
def create_telemetry_pipeline: (
|
|
138
|
+
name: ::String,
|
|
139
|
+
configuration: {
|
|
140
|
+
body: ::String
|
|
141
|
+
},
|
|
142
|
+
?tags: Hash[::String, ::String]
|
|
143
|
+
) -> _CreateTelemetryPipelineResponseSuccess
|
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTelemetryPipelineResponseSuccess
|
|
145
|
+
|
|
117
146
|
interface _CreateTelemetryRuleResponseSuccess
|
|
118
147
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTelemetryRuleOutput]
|
|
119
148
|
def rule_arn: () -> ::String
|
|
@@ -122,8 +151,9 @@ module Aws
|
|
|
122
151
|
def create_telemetry_rule: (
|
|
123
152
|
rule_name: ::String,
|
|
124
153
|
rule: {
|
|
125
|
-
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")?,
|
|
154
|
+
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function" | "AWS::CloudTrail" | "AWS::EKS::Cluster" | "AWS::WAFv2::WebACL" | "AWS::ElasticLoadBalancingV2::LoadBalancer" | "AWS::Route53Resolver::ResolverEndpoint" | "AWS::BedrockAgentCore::Runtime" | "AWS::BedrockAgentCore::Browser" | "AWS::BedrockAgentCore::CodeInterpreter")?,
|
|
126
155
|
telemetry_type: ("Logs" | "Metrics" | "Traces"),
|
|
156
|
+
telemetry_source_types: Array[("VPC_FLOW_LOGS" | "ROUTE53_RESOLVER_QUERY_LOGS" | "EKS_AUDIT_LOGS" | "EKS_AUTHENTICATOR_LOGS" | "EKS_CONTROLLER_MANAGER_LOGS" | "EKS_SCHEDULER_LOGS" | "EKS_API_LOGS")]?,
|
|
127
157
|
destination_configuration: {
|
|
128
158
|
destination_type: ("cloud-watch-logs")?,
|
|
129
159
|
destination_pattern: ::String?,
|
|
@@ -132,6 +162,63 @@ module Aws
|
|
|
132
162
|
log_format: ::String?,
|
|
133
163
|
traffic_type: ::String?,
|
|
134
164
|
max_aggregation_interval: ::Integer?
|
|
165
|
+
}?,
|
|
166
|
+
cloudtrail_parameters: {
|
|
167
|
+
advanced_event_selectors: Array[
|
|
168
|
+
{
|
|
169
|
+
name: ::String?,
|
|
170
|
+
field_selectors: Array[
|
|
171
|
+
{
|
|
172
|
+
field: ::String,
|
|
173
|
+
equals: Array[::String]?,
|
|
174
|
+
starts_with: Array[::String]?,
|
|
175
|
+
ends_with: Array[::String]?,
|
|
176
|
+
not_equals: Array[::String]?,
|
|
177
|
+
not_starts_with: Array[::String]?,
|
|
178
|
+
not_ends_with: Array[::String]?
|
|
179
|
+
},
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
]
|
|
183
|
+
}?,
|
|
184
|
+
elb_load_balancer_logging_parameters: {
|
|
185
|
+
output_format: ("plain" | "json")?,
|
|
186
|
+
field_delimiter: ::String?
|
|
187
|
+
}?,
|
|
188
|
+
waf_logging_parameters: {
|
|
189
|
+
redacted_fields: Array[
|
|
190
|
+
{
|
|
191
|
+
single_header: {
|
|
192
|
+
name: ::String?
|
|
193
|
+
}?,
|
|
194
|
+
uri_path: ::String?,
|
|
195
|
+
query_string: ::String?,
|
|
196
|
+
method: ::String?
|
|
197
|
+
},
|
|
198
|
+
]?,
|
|
199
|
+
logging_filter: {
|
|
200
|
+
filters: Array[
|
|
201
|
+
{
|
|
202
|
+
behavior: ("KEEP" | "DROP")?,
|
|
203
|
+
requirement: ("MEETS_ALL" | "MEETS_ANY")?,
|
|
204
|
+
conditions: Array[
|
|
205
|
+
{
|
|
206
|
+
action_condition: {
|
|
207
|
+
action: ("ALLOW" | "BLOCK" | "COUNT" | "CAPTCHA" | "CHALLENGE" | "EXCLUDED_AS_COUNT")?
|
|
208
|
+
}?,
|
|
209
|
+
label_name_condition: {
|
|
210
|
+
label_name: ::String?
|
|
211
|
+
}?
|
|
212
|
+
},
|
|
213
|
+
]?
|
|
214
|
+
},
|
|
215
|
+
]?,
|
|
216
|
+
default_behavior: ("KEEP" | "DROP")?
|
|
217
|
+
}?,
|
|
218
|
+
log_type: ("WAF_LOGS")?
|
|
219
|
+
}?,
|
|
220
|
+
log_delivery_parameters: {
|
|
221
|
+
log_types: Array[("APPLICATION_LOGS" | "USAGE_LOGS")]?
|
|
135
222
|
}?
|
|
136
223
|
}?,
|
|
137
224
|
scope: ::String?,
|
|
@@ -149,8 +236,9 @@ module Aws
|
|
|
149
236
|
def create_telemetry_rule_for_organization: (
|
|
150
237
|
rule_name: ::String,
|
|
151
238
|
rule: {
|
|
152
|
-
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")?,
|
|
239
|
+
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function" | "AWS::CloudTrail" | "AWS::EKS::Cluster" | "AWS::WAFv2::WebACL" | "AWS::ElasticLoadBalancingV2::LoadBalancer" | "AWS::Route53Resolver::ResolverEndpoint" | "AWS::BedrockAgentCore::Runtime" | "AWS::BedrockAgentCore::Browser" | "AWS::BedrockAgentCore::CodeInterpreter")?,
|
|
153
240
|
telemetry_type: ("Logs" | "Metrics" | "Traces"),
|
|
241
|
+
telemetry_source_types: Array[("VPC_FLOW_LOGS" | "ROUTE53_RESOLVER_QUERY_LOGS" | "EKS_AUDIT_LOGS" | "EKS_AUTHENTICATOR_LOGS" | "EKS_CONTROLLER_MANAGER_LOGS" | "EKS_SCHEDULER_LOGS" | "EKS_API_LOGS")]?,
|
|
154
242
|
destination_configuration: {
|
|
155
243
|
destination_type: ("cloud-watch-logs")?,
|
|
156
244
|
destination_pattern: ::String?,
|
|
@@ -159,6 +247,63 @@ module Aws
|
|
|
159
247
|
log_format: ::String?,
|
|
160
248
|
traffic_type: ::String?,
|
|
161
249
|
max_aggregation_interval: ::Integer?
|
|
250
|
+
}?,
|
|
251
|
+
cloudtrail_parameters: {
|
|
252
|
+
advanced_event_selectors: Array[
|
|
253
|
+
{
|
|
254
|
+
name: ::String?,
|
|
255
|
+
field_selectors: Array[
|
|
256
|
+
{
|
|
257
|
+
field: ::String,
|
|
258
|
+
equals: Array[::String]?,
|
|
259
|
+
starts_with: Array[::String]?,
|
|
260
|
+
ends_with: Array[::String]?,
|
|
261
|
+
not_equals: Array[::String]?,
|
|
262
|
+
not_starts_with: Array[::String]?,
|
|
263
|
+
not_ends_with: Array[::String]?
|
|
264
|
+
},
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
]
|
|
268
|
+
}?,
|
|
269
|
+
elb_load_balancer_logging_parameters: {
|
|
270
|
+
output_format: ("plain" | "json")?,
|
|
271
|
+
field_delimiter: ::String?
|
|
272
|
+
}?,
|
|
273
|
+
waf_logging_parameters: {
|
|
274
|
+
redacted_fields: Array[
|
|
275
|
+
{
|
|
276
|
+
single_header: {
|
|
277
|
+
name: ::String?
|
|
278
|
+
}?,
|
|
279
|
+
uri_path: ::String?,
|
|
280
|
+
query_string: ::String?,
|
|
281
|
+
method: ::String?
|
|
282
|
+
},
|
|
283
|
+
]?,
|
|
284
|
+
logging_filter: {
|
|
285
|
+
filters: Array[
|
|
286
|
+
{
|
|
287
|
+
behavior: ("KEEP" | "DROP")?,
|
|
288
|
+
requirement: ("MEETS_ALL" | "MEETS_ANY")?,
|
|
289
|
+
conditions: Array[
|
|
290
|
+
{
|
|
291
|
+
action_condition: {
|
|
292
|
+
action: ("ALLOW" | "BLOCK" | "COUNT" | "CAPTCHA" | "CHALLENGE" | "EXCLUDED_AS_COUNT")?
|
|
293
|
+
}?,
|
|
294
|
+
label_name_condition: {
|
|
295
|
+
label_name: ::String?
|
|
296
|
+
}?
|
|
297
|
+
},
|
|
298
|
+
]?
|
|
299
|
+
},
|
|
300
|
+
]?,
|
|
301
|
+
default_behavior: ("KEEP" | "DROP")?
|
|
302
|
+
}?,
|
|
303
|
+
log_type: ("WAF_LOGS")?
|
|
304
|
+
}?,
|
|
305
|
+
log_delivery_parameters: {
|
|
306
|
+
log_types: Array[("APPLICATION_LOGS" | "USAGE_LOGS")]?
|
|
162
307
|
}?
|
|
163
308
|
}?,
|
|
164
309
|
scope: ::String?,
|
|
@@ -174,6 +319,21 @@ module Aws
|
|
|
174
319
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
175
320
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
176
321
|
|
|
322
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#delete_s3_table_integration-instance_method
|
|
323
|
+
def delete_s3_table_integration: (
|
|
324
|
+
arn: ::String
|
|
325
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
326
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
327
|
+
|
|
328
|
+
interface _DeleteTelemetryPipelineResponseSuccess
|
|
329
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTelemetryPipelineOutput]
|
|
330
|
+
end
|
|
331
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#delete_telemetry_pipeline-instance_method
|
|
332
|
+
def delete_telemetry_pipeline: (
|
|
333
|
+
pipeline_identifier: ::String
|
|
334
|
+
) -> _DeleteTelemetryPipelineResponseSuccess
|
|
335
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTelemetryPipelineResponseSuccess
|
|
336
|
+
|
|
177
337
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#delete_telemetry_rule-instance_method
|
|
178
338
|
def delete_telemetry_rule: (
|
|
179
339
|
rule_identifier: ::String
|
|
@@ -204,6 +364,21 @@ module Aws
|
|
|
204
364
|
) -> _GetCentralizationRuleForOrganizationResponseSuccess
|
|
205
365
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCentralizationRuleForOrganizationResponseSuccess
|
|
206
366
|
|
|
367
|
+
interface _GetS3TableIntegrationResponseSuccess
|
|
368
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetS3TableIntegrationOutput]
|
|
369
|
+
def arn: () -> ::String
|
|
370
|
+
def role_arn: () -> ::String
|
|
371
|
+
def status: () -> ("ACTIVE" | "DELETING")
|
|
372
|
+
def encryption: () -> Types::Encryption
|
|
373
|
+
def destination_table_bucket_arn: () -> ::String
|
|
374
|
+
def created_time_stamp: () -> ::Integer
|
|
375
|
+
end
|
|
376
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#get_s3_table_integration-instance_method
|
|
377
|
+
def get_s3_table_integration: (
|
|
378
|
+
arn: ::String
|
|
379
|
+
) -> _GetS3TableIntegrationResponseSuccess
|
|
380
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetS3TableIntegrationResponseSuccess
|
|
381
|
+
|
|
207
382
|
interface _GetTelemetryEnrichmentStatusResponseSuccess
|
|
208
383
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryEnrichmentStatusOutput]
|
|
209
384
|
def status: () -> ("Running" | "Stopped" | "Impaired")
|
|
@@ -231,6 +406,16 @@ module Aws
|
|
|
231
406
|
def get_telemetry_evaluation_status_for_organization: () -> _GetTelemetryEvaluationStatusForOrganizationResponseSuccess
|
|
232
407
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryEvaluationStatusForOrganizationResponseSuccess
|
|
233
408
|
|
|
409
|
+
interface _GetTelemetryPipelineResponseSuccess
|
|
410
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryPipelineOutput]
|
|
411
|
+
def pipeline: () -> Types::TelemetryPipeline
|
|
412
|
+
end
|
|
413
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#get_telemetry_pipeline-instance_method
|
|
414
|
+
def get_telemetry_pipeline: (
|
|
415
|
+
pipeline_identifier: ::String
|
|
416
|
+
) -> _GetTelemetryPipelineResponseSuccess
|
|
417
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryPipelineResponseSuccess
|
|
418
|
+
|
|
234
419
|
interface _GetTelemetryRuleResponseSuccess
|
|
235
420
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryRuleOutput]
|
|
236
421
|
def rule_name: () -> ::String
|
|
@@ -281,7 +466,7 @@ module Aws
|
|
|
281
466
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_resource_telemetry-instance_method
|
|
282
467
|
def list_resource_telemetry: (
|
|
283
468
|
?resource_identifier_prefix: ::String,
|
|
284
|
-
?resource_types: Array[("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")],
|
|
469
|
+
?resource_types: Array[("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function" | "AWS::CloudTrail" | "AWS::EKS::Cluster" | "AWS::WAFv2::WebACL" | "AWS::ElasticLoadBalancingV2::LoadBalancer" | "AWS::Route53Resolver::ResolverEndpoint" | "AWS::BedrockAgentCore::Runtime" | "AWS::BedrockAgentCore::Browser" | "AWS::BedrockAgentCore::CodeInterpreter")],
|
|
285
470
|
?telemetry_configuration_state: Hash[("Logs" | "Metrics" | "Traces"), ("Enabled" | "Disabled" | "NotApplicable")],
|
|
286
471
|
?resource_tags: Hash[::String, ::String],
|
|
287
472
|
?max_results: ::Integer,
|
|
@@ -298,7 +483,7 @@ module Aws
|
|
|
298
483
|
def list_resource_telemetry_for_organization: (
|
|
299
484
|
?account_identifiers: Array[::String],
|
|
300
485
|
?resource_identifier_prefix: ::String,
|
|
301
|
-
?resource_types: Array[("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")],
|
|
486
|
+
?resource_types: Array[("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function" | "AWS::CloudTrail" | "AWS::EKS::Cluster" | "AWS::WAFv2::WebACL" | "AWS::ElasticLoadBalancingV2::LoadBalancer" | "AWS::Route53Resolver::ResolverEndpoint" | "AWS::BedrockAgentCore::Runtime" | "AWS::BedrockAgentCore::Browser" | "AWS::BedrockAgentCore::CodeInterpreter")],
|
|
302
487
|
?telemetry_configuration_state: Hash[("Logs" | "Metrics" | "Traces"), ("Enabled" | "Disabled" | "NotApplicable")],
|
|
303
488
|
?resource_tags: Hash[::String, ::String],
|
|
304
489
|
?max_results: ::Integer,
|
|
@@ -306,6 +491,18 @@ module Aws
|
|
|
306
491
|
) -> _ListResourceTelemetryForOrganizationResponseSuccess
|
|
307
492
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceTelemetryForOrganizationResponseSuccess
|
|
308
493
|
|
|
494
|
+
interface _ListS3TableIntegrationsResponseSuccess
|
|
495
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListS3TableIntegrationsOutput]
|
|
496
|
+
def integration_summaries: () -> ::Array[Types::IntegrationSummary]
|
|
497
|
+
def next_token: () -> ::String
|
|
498
|
+
end
|
|
499
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_s3_table_integrations-instance_method
|
|
500
|
+
def list_s3_table_integrations: (
|
|
501
|
+
?max_results: ::Integer,
|
|
502
|
+
?next_token: ::String
|
|
503
|
+
) -> _ListS3TableIntegrationsResponseSuccess
|
|
504
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListS3TableIntegrationsResponseSuccess
|
|
505
|
+
|
|
309
506
|
interface _ListTagsForResourceResponseSuccess
|
|
310
507
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
|
311
508
|
def tags: () -> ::Hash[::String, ::String]
|
|
@@ -316,6 +513,18 @@ module Aws
|
|
|
316
513
|
) -> _ListTagsForResourceResponseSuccess
|
|
317
514
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
318
515
|
|
|
516
|
+
interface _ListTelemetryPipelinesResponseSuccess
|
|
517
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTelemetryPipelinesOutput]
|
|
518
|
+
def pipeline_summaries: () -> ::Array[Types::TelemetryPipelineSummary]
|
|
519
|
+
def next_token: () -> ::String
|
|
520
|
+
end
|
|
521
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_telemetry_pipelines-instance_method
|
|
522
|
+
def list_telemetry_pipelines: (
|
|
523
|
+
?max_results: ::Integer,
|
|
524
|
+
?next_token: ::String
|
|
525
|
+
) -> _ListTelemetryPipelinesResponseSuccess
|
|
526
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTelemetryPipelinesResponseSuccess
|
|
527
|
+
|
|
319
528
|
interface _ListTelemetryRulesResponseSuccess
|
|
320
529
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTelemetryRulesOutput]
|
|
321
530
|
def telemetry_rule_summaries: () -> ::Array[Types::TelemetryRuleSummary]
|
|
@@ -384,6 +593,24 @@ module Aws
|
|
|
384
593
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
385
594
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
386
595
|
|
|
596
|
+
interface _TestTelemetryPipelineResponseSuccess
|
|
597
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestTelemetryPipelineOutput]
|
|
598
|
+
def results: () -> ::Array[Types::PipelineOutput]
|
|
599
|
+
end
|
|
600
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#test_telemetry_pipeline-instance_method
|
|
601
|
+
def test_telemetry_pipeline: (
|
|
602
|
+
records: Array[
|
|
603
|
+
{
|
|
604
|
+
data: ::String?,
|
|
605
|
+
type: ("STRING" | "JSON")?
|
|
606
|
+
},
|
|
607
|
+
],
|
|
608
|
+
configuration: {
|
|
609
|
+
body: ::String
|
|
610
|
+
}
|
|
611
|
+
) -> _TestTelemetryPipelineResponseSuccess
|
|
612
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestTelemetryPipelineResponseSuccess
|
|
613
|
+
|
|
387
614
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#untag_resource-instance_method
|
|
388
615
|
def untag_resource: (
|
|
389
616
|
resource_arn: ::String,
|
|
@@ -426,6 +653,18 @@ module Aws
|
|
|
426
653
|
) -> _UpdateCentralizationRuleForOrganizationResponseSuccess
|
|
427
654
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCentralizationRuleForOrganizationResponseSuccess
|
|
428
655
|
|
|
656
|
+
interface _UpdateTelemetryPipelineResponseSuccess
|
|
657
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTelemetryPipelineOutput]
|
|
658
|
+
end
|
|
659
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#update_telemetry_pipeline-instance_method
|
|
660
|
+
def update_telemetry_pipeline: (
|
|
661
|
+
pipeline_identifier: ::String,
|
|
662
|
+
configuration: {
|
|
663
|
+
body: ::String
|
|
664
|
+
}
|
|
665
|
+
) -> _UpdateTelemetryPipelineResponseSuccess
|
|
666
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTelemetryPipelineResponseSuccess
|
|
667
|
+
|
|
429
668
|
interface _UpdateTelemetryRuleResponseSuccess
|
|
430
669
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTelemetryRuleOutput]
|
|
431
670
|
def rule_arn: () -> ::String
|
|
@@ -434,8 +673,9 @@ module Aws
|
|
|
434
673
|
def update_telemetry_rule: (
|
|
435
674
|
rule_identifier: ::String,
|
|
436
675
|
rule: {
|
|
437
|
-
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")?,
|
|
676
|
+
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function" | "AWS::CloudTrail" | "AWS::EKS::Cluster" | "AWS::WAFv2::WebACL" | "AWS::ElasticLoadBalancingV2::LoadBalancer" | "AWS::Route53Resolver::ResolverEndpoint" | "AWS::BedrockAgentCore::Runtime" | "AWS::BedrockAgentCore::Browser" | "AWS::BedrockAgentCore::CodeInterpreter")?,
|
|
438
677
|
telemetry_type: ("Logs" | "Metrics" | "Traces"),
|
|
678
|
+
telemetry_source_types: Array[("VPC_FLOW_LOGS" | "ROUTE53_RESOLVER_QUERY_LOGS" | "EKS_AUDIT_LOGS" | "EKS_AUTHENTICATOR_LOGS" | "EKS_CONTROLLER_MANAGER_LOGS" | "EKS_SCHEDULER_LOGS" | "EKS_API_LOGS")]?,
|
|
439
679
|
destination_configuration: {
|
|
440
680
|
destination_type: ("cloud-watch-logs")?,
|
|
441
681
|
destination_pattern: ::String?,
|
|
@@ -444,6 +684,63 @@ module Aws
|
|
|
444
684
|
log_format: ::String?,
|
|
445
685
|
traffic_type: ::String?,
|
|
446
686
|
max_aggregation_interval: ::Integer?
|
|
687
|
+
}?,
|
|
688
|
+
cloudtrail_parameters: {
|
|
689
|
+
advanced_event_selectors: Array[
|
|
690
|
+
{
|
|
691
|
+
name: ::String?,
|
|
692
|
+
field_selectors: Array[
|
|
693
|
+
{
|
|
694
|
+
field: ::String,
|
|
695
|
+
equals: Array[::String]?,
|
|
696
|
+
starts_with: Array[::String]?,
|
|
697
|
+
ends_with: Array[::String]?,
|
|
698
|
+
not_equals: Array[::String]?,
|
|
699
|
+
not_starts_with: Array[::String]?,
|
|
700
|
+
not_ends_with: Array[::String]?
|
|
701
|
+
},
|
|
702
|
+
]
|
|
703
|
+
},
|
|
704
|
+
]
|
|
705
|
+
}?,
|
|
706
|
+
elb_load_balancer_logging_parameters: {
|
|
707
|
+
output_format: ("plain" | "json")?,
|
|
708
|
+
field_delimiter: ::String?
|
|
709
|
+
}?,
|
|
710
|
+
waf_logging_parameters: {
|
|
711
|
+
redacted_fields: Array[
|
|
712
|
+
{
|
|
713
|
+
single_header: {
|
|
714
|
+
name: ::String?
|
|
715
|
+
}?,
|
|
716
|
+
uri_path: ::String?,
|
|
717
|
+
query_string: ::String?,
|
|
718
|
+
method: ::String?
|
|
719
|
+
},
|
|
720
|
+
]?,
|
|
721
|
+
logging_filter: {
|
|
722
|
+
filters: Array[
|
|
723
|
+
{
|
|
724
|
+
behavior: ("KEEP" | "DROP")?,
|
|
725
|
+
requirement: ("MEETS_ALL" | "MEETS_ANY")?,
|
|
726
|
+
conditions: Array[
|
|
727
|
+
{
|
|
728
|
+
action_condition: {
|
|
729
|
+
action: ("ALLOW" | "BLOCK" | "COUNT" | "CAPTCHA" | "CHALLENGE" | "EXCLUDED_AS_COUNT")?
|
|
730
|
+
}?,
|
|
731
|
+
label_name_condition: {
|
|
732
|
+
label_name: ::String?
|
|
733
|
+
}?
|
|
734
|
+
},
|
|
735
|
+
]?
|
|
736
|
+
},
|
|
737
|
+
]?,
|
|
738
|
+
default_behavior: ("KEEP" | "DROP")?
|
|
739
|
+
}?,
|
|
740
|
+
log_type: ("WAF_LOGS")?
|
|
741
|
+
}?,
|
|
742
|
+
log_delivery_parameters: {
|
|
743
|
+
log_types: Array[("APPLICATION_LOGS" | "USAGE_LOGS")]?
|
|
447
744
|
}?
|
|
448
745
|
}?,
|
|
449
746
|
scope: ::String?,
|
|
@@ -460,8 +757,9 @@ module Aws
|
|
|
460
757
|
def update_telemetry_rule_for_organization: (
|
|
461
758
|
rule_identifier: ::String,
|
|
462
759
|
rule: {
|
|
463
|
-
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")?,
|
|
760
|
+
resource_type: ("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function" | "AWS::CloudTrail" | "AWS::EKS::Cluster" | "AWS::WAFv2::WebACL" | "AWS::ElasticLoadBalancingV2::LoadBalancer" | "AWS::Route53Resolver::ResolverEndpoint" | "AWS::BedrockAgentCore::Runtime" | "AWS::BedrockAgentCore::Browser" | "AWS::BedrockAgentCore::CodeInterpreter")?,
|
|
464
761
|
telemetry_type: ("Logs" | "Metrics" | "Traces"),
|
|
762
|
+
telemetry_source_types: Array[("VPC_FLOW_LOGS" | "ROUTE53_RESOLVER_QUERY_LOGS" | "EKS_AUDIT_LOGS" | "EKS_AUTHENTICATOR_LOGS" | "EKS_CONTROLLER_MANAGER_LOGS" | "EKS_SCHEDULER_LOGS" | "EKS_API_LOGS")]?,
|
|
465
763
|
destination_configuration: {
|
|
466
764
|
destination_type: ("cloud-watch-logs")?,
|
|
467
765
|
destination_pattern: ::String?,
|
|
@@ -470,6 +768,63 @@ module Aws
|
|
|
470
768
|
log_format: ::String?,
|
|
471
769
|
traffic_type: ::String?,
|
|
472
770
|
max_aggregation_interval: ::Integer?
|
|
771
|
+
}?,
|
|
772
|
+
cloudtrail_parameters: {
|
|
773
|
+
advanced_event_selectors: Array[
|
|
774
|
+
{
|
|
775
|
+
name: ::String?,
|
|
776
|
+
field_selectors: Array[
|
|
777
|
+
{
|
|
778
|
+
field: ::String,
|
|
779
|
+
equals: Array[::String]?,
|
|
780
|
+
starts_with: Array[::String]?,
|
|
781
|
+
ends_with: Array[::String]?,
|
|
782
|
+
not_equals: Array[::String]?,
|
|
783
|
+
not_starts_with: Array[::String]?,
|
|
784
|
+
not_ends_with: Array[::String]?
|
|
785
|
+
},
|
|
786
|
+
]
|
|
787
|
+
},
|
|
788
|
+
]
|
|
789
|
+
}?,
|
|
790
|
+
elb_load_balancer_logging_parameters: {
|
|
791
|
+
output_format: ("plain" | "json")?,
|
|
792
|
+
field_delimiter: ::String?
|
|
793
|
+
}?,
|
|
794
|
+
waf_logging_parameters: {
|
|
795
|
+
redacted_fields: Array[
|
|
796
|
+
{
|
|
797
|
+
single_header: {
|
|
798
|
+
name: ::String?
|
|
799
|
+
}?,
|
|
800
|
+
uri_path: ::String?,
|
|
801
|
+
query_string: ::String?,
|
|
802
|
+
method: ::String?
|
|
803
|
+
},
|
|
804
|
+
]?,
|
|
805
|
+
logging_filter: {
|
|
806
|
+
filters: Array[
|
|
807
|
+
{
|
|
808
|
+
behavior: ("KEEP" | "DROP")?,
|
|
809
|
+
requirement: ("MEETS_ALL" | "MEETS_ANY")?,
|
|
810
|
+
conditions: Array[
|
|
811
|
+
{
|
|
812
|
+
action_condition: {
|
|
813
|
+
action: ("ALLOW" | "BLOCK" | "COUNT" | "CAPTCHA" | "CHALLENGE" | "EXCLUDED_AS_COUNT")?
|
|
814
|
+
}?,
|
|
815
|
+
label_name_condition: {
|
|
816
|
+
label_name: ::String?
|
|
817
|
+
}?
|
|
818
|
+
},
|
|
819
|
+
]?
|
|
820
|
+
},
|
|
821
|
+
]?,
|
|
822
|
+
default_behavior: ("KEEP" | "DROP")?
|
|
823
|
+
}?,
|
|
824
|
+
log_type: ("WAF_LOGS")?
|
|
825
|
+
}?,
|
|
826
|
+
log_delivery_parameters: {
|
|
827
|
+
log_types: Array[("APPLICATION_LOGS" | "USAGE_LOGS")]?
|
|
473
828
|
}?
|
|
474
829
|
}?,
|
|
475
830
|
scope: ::String?,
|
|
@@ -477,6 +832,18 @@ module Aws
|
|
|
477
832
|
}
|
|
478
833
|
) -> _UpdateTelemetryRuleForOrganizationResponseSuccess
|
|
479
834
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTelemetryRuleForOrganizationResponseSuccess
|
|
835
|
+
|
|
836
|
+
interface _ValidateTelemetryPipelineConfigurationResponseSuccess
|
|
837
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ValidateTelemetryPipelineConfigurationOutput]
|
|
838
|
+
def errors: () -> ::Array[Types::ValidationError]
|
|
839
|
+
end
|
|
840
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#validate_telemetry_pipeline_configuration-instance_method
|
|
841
|
+
def validate_telemetry_pipeline_configuration: (
|
|
842
|
+
configuration: {
|
|
843
|
+
body: ::String
|
|
844
|
+
}
|
|
845
|
+
) -> _ValidateTelemetryPipelineConfigurationResponseSuccess
|
|
846
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateTelemetryPipelineConfigurationResponseSuccess
|
|
480
847
|
end
|
|
481
848
|
end
|
|
482
849
|
end
|
data/sig/errors.rbs
CHANGED
|
@@ -17,16 +17,28 @@ module Aws
|
|
|
17
17
|
end
|
|
18
18
|
class ConflictException < ::Aws::Errors::ServiceError
|
|
19
19
|
def message: () -> ::String
|
|
20
|
+
def resource_id: () -> ::String
|
|
21
|
+
def resource_type: () -> ::String
|
|
20
22
|
end
|
|
21
23
|
class InternalServerException < ::Aws::Errors::ServiceError
|
|
22
24
|
def message: () -> ::String
|
|
23
25
|
def amzn_error_type: () -> ::String
|
|
26
|
+
def retry_after_seconds: () -> ::String
|
|
27
|
+
end
|
|
28
|
+
class InvalidStateException < ::Aws::Errors::ServiceError
|
|
29
|
+
def message: () -> ::String
|
|
24
30
|
end
|
|
25
31
|
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
26
32
|
def message: () -> ::String
|
|
33
|
+
def resource_id: () -> ::String
|
|
34
|
+
def resource_type: () -> ::String
|
|
27
35
|
end
|
|
28
36
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
29
37
|
def message: () -> ::String
|
|
38
|
+
def resource_id: () -> ::String
|
|
39
|
+
def resource_type: () -> ::String
|
|
40
|
+
def service_code: () -> ::String
|
|
41
|
+
def quota_code: () -> ::String
|
|
30
42
|
def amzn_error_type: () -> ::String
|
|
31
43
|
end
|
|
32
44
|
class TooManyRequestsException < ::Aws::Errors::ServiceError
|
|
@@ -34,6 +46,7 @@ module Aws
|
|
|
34
46
|
end
|
|
35
47
|
class ValidationException < ::Aws::Errors::ServiceError
|
|
36
48
|
def message: () -> ::String
|
|
49
|
+
def errors: () -> ::String
|
|
37
50
|
end
|
|
38
51
|
end
|
|
39
52
|
end
|