aws-sdk-observabilityadmin 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-observabilityadmin/client.rb +572 -16
- data/lib/aws-sdk-observabilityadmin/client_api.rb +369 -0
- data/lib/aws-sdk-observabilityadmin/errors.rb +69 -0
- data/lib/aws-sdk-observabilityadmin/types.rb +616 -9
- data/lib/aws-sdk-observabilityadmin.rb +2 -2
- data/sig/client.rbs +198 -0
- data/sig/errors.rbs +13 -0
- data/sig/types.rbs +189 -0
- metadata +1 -1
@@ -13,8 +13,8 @@ module Aws::ObservabilityAdmin
|
|
13
13
|
# Indicates you don't have permissions to perform the requested
|
14
14
|
# operation. The user or role that is making the request must have at
|
15
15
|
# least one IAM permissions policy attached that grants the required
|
16
|
-
# permissions. For more information, see [Access management for
|
17
|
-
# resources][1] in the IAM user guide.
|
16
|
+
# permissions. For more information, see [Access management for Amazon
|
17
|
+
# Web Services resources][1] in the IAM user guide.
|
18
18
|
#
|
19
19
|
#
|
20
20
|
#
|
@@ -36,6 +36,122 @@ module Aws::ObservabilityAdmin
|
|
36
36
|
include Aws::Structure
|
37
37
|
end
|
38
38
|
|
39
|
+
# The requested operation conflicts with the current state of the
|
40
|
+
# specified resource or with another request.
|
41
|
+
#
|
42
|
+
# @!attribute [rw] message
|
43
|
+
# @return [String]
|
44
|
+
#
|
45
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ConflictException AWS API Documentation
|
46
|
+
#
|
47
|
+
class ConflictException < Struct.new(
|
48
|
+
:message)
|
49
|
+
SENSITIVE = []
|
50
|
+
include Aws::Structure
|
51
|
+
end
|
52
|
+
|
53
|
+
# @!attribute [rw] rule_name
|
54
|
+
# A unique name for the organization-wide telemetry rule being
|
55
|
+
# created.
|
56
|
+
# @return [String]
|
57
|
+
#
|
58
|
+
# @!attribute [rw] rule
|
59
|
+
# The configuration details for the organization-wide telemetry rule,
|
60
|
+
# including the resource type, telemetry type, destination
|
61
|
+
# configuration, and selection criteria for which resources the rule
|
62
|
+
# applies to across the organization.
|
63
|
+
# @return [Types::TelemetryRule]
|
64
|
+
#
|
65
|
+
# @!attribute [rw] tags
|
66
|
+
# The key-value pairs to associate with the organization telemetry
|
67
|
+
# rule resource for categorization and management purposes.
|
68
|
+
# @return [Hash<String,String>]
|
69
|
+
#
|
70
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CreateTelemetryRuleForOrganizationInput AWS API Documentation
|
71
|
+
#
|
72
|
+
class CreateTelemetryRuleForOrganizationInput < Struct.new(
|
73
|
+
:rule_name,
|
74
|
+
:rule,
|
75
|
+
:tags)
|
76
|
+
SENSITIVE = []
|
77
|
+
include Aws::Structure
|
78
|
+
end
|
79
|
+
|
80
|
+
# @!attribute [rw] rule_arn
|
81
|
+
# The Amazon Resource Name (ARN) of the created organization telemetry
|
82
|
+
# rule.
|
83
|
+
# @return [String]
|
84
|
+
#
|
85
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CreateTelemetryRuleForOrganizationOutput AWS API Documentation
|
86
|
+
#
|
87
|
+
class CreateTelemetryRuleForOrganizationOutput < Struct.new(
|
88
|
+
:rule_arn)
|
89
|
+
SENSITIVE = []
|
90
|
+
include Aws::Structure
|
91
|
+
end
|
92
|
+
|
93
|
+
# @!attribute [rw] rule_name
|
94
|
+
# A unique name for the telemetry rule being created.
|
95
|
+
# @return [String]
|
96
|
+
#
|
97
|
+
# @!attribute [rw] rule
|
98
|
+
# The configuration details for the telemetry rule, including the
|
99
|
+
# resource type, telemetry type, destination configuration, and
|
100
|
+
# selection criteria for which resources the rule applies to.
|
101
|
+
# @return [Types::TelemetryRule]
|
102
|
+
#
|
103
|
+
# @!attribute [rw] tags
|
104
|
+
# The key-value pairs to associate with the telemetry rule resource
|
105
|
+
# for categorization and management purposes.
|
106
|
+
# @return [Hash<String,String>]
|
107
|
+
#
|
108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CreateTelemetryRuleInput AWS API Documentation
|
109
|
+
#
|
110
|
+
class CreateTelemetryRuleInput < Struct.new(
|
111
|
+
:rule_name,
|
112
|
+
:rule,
|
113
|
+
:tags)
|
114
|
+
SENSITIVE = []
|
115
|
+
include Aws::Structure
|
116
|
+
end
|
117
|
+
|
118
|
+
# @!attribute [rw] rule_arn
|
119
|
+
# The Amazon Resource Name (ARN) of the created telemetry rule.
|
120
|
+
# @return [String]
|
121
|
+
#
|
122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CreateTelemetryRuleOutput AWS API Documentation
|
123
|
+
#
|
124
|
+
class CreateTelemetryRuleOutput < Struct.new(
|
125
|
+
:rule_arn)
|
126
|
+
SENSITIVE = []
|
127
|
+
include Aws::Structure
|
128
|
+
end
|
129
|
+
|
130
|
+
# @!attribute [rw] rule_identifier
|
131
|
+
# The identifier (name or ARN) of the organization telemetry rule to
|
132
|
+
# delete.
|
133
|
+
# @return [String]
|
134
|
+
#
|
135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/DeleteTelemetryRuleForOrganizationInput AWS API Documentation
|
136
|
+
#
|
137
|
+
class DeleteTelemetryRuleForOrganizationInput < Struct.new(
|
138
|
+
:rule_identifier)
|
139
|
+
SENSITIVE = []
|
140
|
+
include Aws::Structure
|
141
|
+
end
|
142
|
+
|
143
|
+
# @!attribute [rw] rule_identifier
|
144
|
+
# The identifier (name or ARN) of the telemetry rule to delete.
|
145
|
+
# @return [String]
|
146
|
+
#
|
147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/DeleteTelemetryRuleInput AWS API Documentation
|
148
|
+
#
|
149
|
+
class DeleteTelemetryRuleInput < Struct.new(
|
150
|
+
:rule_identifier)
|
151
|
+
SENSITIVE = []
|
152
|
+
include Aws::Structure
|
153
|
+
end
|
154
|
+
|
39
155
|
# @!attribute [rw] status
|
40
156
|
# The onboarding status of the telemetry config feature for the
|
41
157
|
# organization.
|
@@ -74,6 +190,95 @@ module Aws::ObservabilityAdmin
|
|
74
190
|
include Aws::Structure
|
75
191
|
end
|
76
192
|
|
193
|
+
# @!attribute [rw] rule_identifier
|
194
|
+
# The identifier (name or ARN) of the organization telemetry rule to
|
195
|
+
# retrieve.
|
196
|
+
# @return [String]
|
197
|
+
#
|
198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetTelemetryRuleForOrganizationInput AWS API Documentation
|
199
|
+
#
|
200
|
+
class GetTelemetryRuleForOrganizationInput < Struct.new(
|
201
|
+
:rule_identifier)
|
202
|
+
SENSITIVE = []
|
203
|
+
include Aws::Structure
|
204
|
+
end
|
205
|
+
|
206
|
+
# @!attribute [rw] rule_name
|
207
|
+
# The name of the organization telemetry rule.
|
208
|
+
# @return [String]
|
209
|
+
#
|
210
|
+
# @!attribute [rw] rule_arn
|
211
|
+
# The Amazon Resource Name (ARN) of the organization telemetry rule.
|
212
|
+
# @return [String]
|
213
|
+
#
|
214
|
+
# @!attribute [rw] created_time_stamp
|
215
|
+
# The timestamp when the organization telemetry rule was created.
|
216
|
+
# @return [Integer]
|
217
|
+
#
|
218
|
+
# @!attribute [rw] last_update_time_stamp
|
219
|
+
# The timestamp when the organization telemetry rule was last updated.
|
220
|
+
# @return [Integer]
|
221
|
+
#
|
222
|
+
# @!attribute [rw] telemetry_rule
|
223
|
+
# The configuration details of the organization telemetry rule.
|
224
|
+
# @return [Types::TelemetryRule]
|
225
|
+
#
|
226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetTelemetryRuleForOrganizationOutput AWS API Documentation
|
227
|
+
#
|
228
|
+
class GetTelemetryRuleForOrganizationOutput < Struct.new(
|
229
|
+
:rule_name,
|
230
|
+
:rule_arn,
|
231
|
+
:created_time_stamp,
|
232
|
+
:last_update_time_stamp,
|
233
|
+
:telemetry_rule)
|
234
|
+
SENSITIVE = []
|
235
|
+
include Aws::Structure
|
236
|
+
end
|
237
|
+
|
238
|
+
# @!attribute [rw] rule_identifier
|
239
|
+
# The identifier (name or ARN) of the telemetry rule to retrieve.
|
240
|
+
# @return [String]
|
241
|
+
#
|
242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetTelemetryRuleInput AWS API Documentation
|
243
|
+
#
|
244
|
+
class GetTelemetryRuleInput < Struct.new(
|
245
|
+
:rule_identifier)
|
246
|
+
SENSITIVE = []
|
247
|
+
include Aws::Structure
|
248
|
+
end
|
249
|
+
|
250
|
+
# @!attribute [rw] rule_name
|
251
|
+
# The name of the telemetry rule.
|
252
|
+
# @return [String]
|
253
|
+
#
|
254
|
+
# @!attribute [rw] rule_arn
|
255
|
+
# The Amazon Resource Name (ARN) of the telemetry rule.
|
256
|
+
# @return [String]
|
257
|
+
#
|
258
|
+
# @!attribute [rw] created_time_stamp
|
259
|
+
# The timestamp when the telemetry rule was created.
|
260
|
+
# @return [Integer]
|
261
|
+
#
|
262
|
+
# @!attribute [rw] last_update_time_stamp
|
263
|
+
# The timestamp when the telemetry rule was last updated.
|
264
|
+
# @return [Integer]
|
265
|
+
#
|
266
|
+
# @!attribute [rw] telemetry_rule
|
267
|
+
# The configuration details of the telemetry rule.
|
268
|
+
# @return [Types::TelemetryRule]
|
269
|
+
#
|
270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetTelemetryRuleOutput AWS API Documentation
|
271
|
+
#
|
272
|
+
class GetTelemetryRuleOutput < Struct.new(
|
273
|
+
:rule_name,
|
274
|
+
:rule_arn,
|
275
|
+
:created_time_stamp,
|
276
|
+
:last_update_time_stamp,
|
277
|
+
:telemetry_rule)
|
278
|
+
SENSITIVE = []
|
279
|
+
include Aws::Structure
|
280
|
+
end
|
281
|
+
|
77
282
|
# Indicates the request has failed to process because of an unknown
|
78
283
|
# server error, exception, or failure.
|
79
284
|
#
|
@@ -94,8 +299,8 @@ module Aws::ObservabilityAdmin
|
|
94
299
|
end
|
95
300
|
|
96
301
|
# @!attribute [rw] account_identifiers
|
97
|
-
# A list of
|
98
|
-
# associated with the specified accounts.
|
302
|
+
# A list of Amazon Web Services accounts used to filter the resources
|
303
|
+
# to those associated with the specified accounts.
|
99
304
|
# @return [Array<String>]
|
100
305
|
#
|
101
306
|
# @!attribute [rw] resource_identifier_prefix
|
@@ -150,8 +355,8 @@ module Aws::ObservabilityAdmin
|
|
150
355
|
end
|
151
356
|
|
152
357
|
# @!attribute [rw] telemetry_configurations
|
153
|
-
# A list of telemetry configurations for
|
154
|
-
# telemetry config in the organization.
|
358
|
+
# A list of telemetry configurations for Amazon Web Services resources
|
359
|
+
# supported by telemetry config in the organization.
|
155
360
|
# @return [Array<Types::TelemetryConfiguration>]
|
156
361
|
#
|
157
362
|
# @!attribute [rw] next_token
|
@@ -219,8 +424,8 @@ module Aws::ObservabilityAdmin
|
|
219
424
|
end
|
220
425
|
|
221
426
|
# @!attribute [rw] telemetry_configurations
|
222
|
-
# A list of telemetry configurations for
|
223
|
-
# telemetry config in the caller's account.
|
427
|
+
# A list of telemetry configurations for Amazon Web Services resources
|
428
|
+
# supported by telemetry config in the caller's account.
|
224
429
|
# @return [Array<Types::TelemetryConfiguration>]
|
225
430
|
#
|
226
431
|
# @!attribute [rw] next_token
|
@@ -237,6 +442,177 @@ module Aws::ObservabilityAdmin
|
|
237
442
|
include Aws::Structure
|
238
443
|
end
|
239
444
|
|
445
|
+
# @!attribute [rw] resource_arn
|
446
|
+
# The Amazon Resource Name (ARN) of the telemetry rule resource whose
|
447
|
+
# tags you want to list.
|
448
|
+
# @return [String]
|
449
|
+
#
|
450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListTagsForResourceInput AWS API Documentation
|
451
|
+
#
|
452
|
+
class ListTagsForResourceInput < Struct.new(
|
453
|
+
:resource_arn)
|
454
|
+
SENSITIVE = []
|
455
|
+
include Aws::Structure
|
456
|
+
end
|
457
|
+
|
458
|
+
# @!attribute [rw] tags
|
459
|
+
# The list of tags associated with the telemetry rule resource.
|
460
|
+
# @return [Hash<String,String>]
|
461
|
+
#
|
462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListTagsForResourceOutput AWS API Documentation
|
463
|
+
#
|
464
|
+
class ListTagsForResourceOutput < Struct.new(
|
465
|
+
:tags)
|
466
|
+
SENSITIVE = []
|
467
|
+
include Aws::Structure
|
468
|
+
end
|
469
|
+
|
470
|
+
# @!attribute [rw] rule_name_prefix
|
471
|
+
# A string to filter organization telemetry rules whose names begin
|
472
|
+
# with the specified prefix.
|
473
|
+
# @return [String]
|
474
|
+
#
|
475
|
+
# @!attribute [rw] source_account_ids
|
476
|
+
# The list of account IDs to filter organization telemetry rules by
|
477
|
+
# their source accounts.
|
478
|
+
# @return [Array<String>]
|
479
|
+
#
|
480
|
+
# @!attribute [rw] source_organization_unit_ids
|
481
|
+
# The list of organizational unit IDs to filter organization telemetry
|
482
|
+
# rules by their source organizational units.
|
483
|
+
# @return [Array<String>]
|
484
|
+
#
|
485
|
+
# @!attribute [rw] max_results
|
486
|
+
# The maximum number of organization telemetry rules to return in a
|
487
|
+
# single call.
|
488
|
+
# @return [Integer]
|
489
|
+
#
|
490
|
+
# @!attribute [rw] next_token
|
491
|
+
# The token for the next set of results. A previous call generates
|
492
|
+
# this token.
|
493
|
+
# @return [String]
|
494
|
+
#
|
495
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListTelemetryRulesForOrganizationInput AWS API Documentation
|
496
|
+
#
|
497
|
+
class ListTelemetryRulesForOrganizationInput < Struct.new(
|
498
|
+
:rule_name_prefix,
|
499
|
+
:source_account_ids,
|
500
|
+
:source_organization_unit_ids,
|
501
|
+
:max_results,
|
502
|
+
:next_token)
|
503
|
+
SENSITIVE = []
|
504
|
+
include Aws::Structure
|
505
|
+
end
|
506
|
+
|
507
|
+
# @!attribute [rw] telemetry_rule_summaries
|
508
|
+
# A list of organization telemetry rule summaries.
|
509
|
+
# @return [Array<Types::TelemetryRuleSummary>]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] next_token
|
512
|
+
# A token to resume pagination of results.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListTelemetryRulesForOrganizationOutput AWS API Documentation
|
516
|
+
#
|
517
|
+
class ListTelemetryRulesForOrganizationOutput < Struct.new(
|
518
|
+
:telemetry_rule_summaries,
|
519
|
+
:next_token)
|
520
|
+
SENSITIVE = []
|
521
|
+
include Aws::Structure
|
522
|
+
end
|
523
|
+
|
524
|
+
# @!attribute [rw] rule_name_prefix
|
525
|
+
# A string to filter telemetry rules whose names begin with the
|
526
|
+
# specified prefix.
|
527
|
+
# @return [String]
|
528
|
+
#
|
529
|
+
# @!attribute [rw] max_results
|
530
|
+
# The maximum number of telemetry rules to return in a single call.
|
531
|
+
# @return [Integer]
|
532
|
+
#
|
533
|
+
# @!attribute [rw] next_token
|
534
|
+
# The token for the next set of results. A previous call generates
|
535
|
+
# this token.
|
536
|
+
# @return [String]
|
537
|
+
#
|
538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListTelemetryRulesInput AWS API Documentation
|
539
|
+
#
|
540
|
+
class ListTelemetryRulesInput < Struct.new(
|
541
|
+
:rule_name_prefix,
|
542
|
+
:max_results,
|
543
|
+
:next_token)
|
544
|
+
SENSITIVE = []
|
545
|
+
include Aws::Structure
|
546
|
+
end
|
547
|
+
|
548
|
+
# @!attribute [rw] telemetry_rule_summaries
|
549
|
+
# A list of telemetry rule summaries.
|
550
|
+
# @return [Array<Types::TelemetryRuleSummary>]
|
551
|
+
#
|
552
|
+
# @!attribute [rw] next_token
|
553
|
+
# A token to resume pagination of results.
|
554
|
+
# @return [String]
|
555
|
+
#
|
556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListTelemetryRulesOutput AWS API Documentation
|
557
|
+
#
|
558
|
+
class ListTelemetryRulesOutput < Struct.new(
|
559
|
+
:telemetry_rule_summaries,
|
560
|
+
:next_token)
|
561
|
+
SENSITIVE = []
|
562
|
+
include Aws::Structure
|
563
|
+
end
|
564
|
+
|
565
|
+
# The specified resource (such as a telemetry rule) could not be found.
|
566
|
+
#
|
567
|
+
# @!attribute [rw] message
|
568
|
+
# @return [String]
|
569
|
+
#
|
570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ResourceNotFoundException AWS API Documentation
|
571
|
+
#
|
572
|
+
class ResourceNotFoundException < Struct.new(
|
573
|
+
:message)
|
574
|
+
SENSITIVE = []
|
575
|
+
include Aws::Structure
|
576
|
+
end
|
577
|
+
|
578
|
+
# The requested operation would exceed the allowed quota for the
|
579
|
+
# specified resource type.
|
580
|
+
#
|
581
|
+
# @!attribute [rw] message
|
582
|
+
# @return [String]
|
583
|
+
#
|
584
|
+
# @!attribute [rw] amzn_error_type
|
585
|
+
# The name of the exception.
|
586
|
+
# @return [String]
|
587
|
+
#
|
588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ServiceQuotaExceededException AWS API Documentation
|
589
|
+
#
|
590
|
+
class ServiceQuotaExceededException < Struct.new(
|
591
|
+
:message,
|
592
|
+
:amzn_error_type)
|
593
|
+
SENSITIVE = []
|
594
|
+
include Aws::Structure
|
595
|
+
end
|
596
|
+
|
597
|
+
# @!attribute [rw] resource_arn
|
598
|
+
# The Amazon Resource Name (ARN) of the telemetry rule resource to
|
599
|
+
# tag.
|
600
|
+
# @return [String]
|
601
|
+
#
|
602
|
+
# @!attribute [rw] tags
|
603
|
+
# The key-value pairs to add or update for the telemetry rule
|
604
|
+
# resource.
|
605
|
+
# @return [Hash<String,String>]
|
606
|
+
#
|
607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/TagResourceInput AWS API Documentation
|
608
|
+
#
|
609
|
+
class TagResourceInput < Struct.new(
|
610
|
+
:resource_arn,
|
611
|
+
:tags)
|
612
|
+
SENSITIVE = []
|
613
|
+
include Aws::Structure
|
614
|
+
end
|
615
|
+
|
240
616
|
# A model representing the state of a resource within an account
|
241
617
|
# according to telemetry config.
|
242
618
|
#
|
@@ -251,7 +627,8 @@ module Aws::ObservabilityAdmin
|
|
251
627
|
# @return [Hash<String,String>]
|
252
628
|
#
|
253
629
|
# @!attribute [rw] resource_type
|
254
|
-
# The type of resource, for example `
|
630
|
+
# The type of resource, for example `Amazon Web
|
631
|
+
# Services::EC2::Instance`.
|
255
632
|
# @return [String]
|
256
633
|
#
|
257
634
|
# @!attribute [rw] resource_identifier
|
@@ -281,6 +658,236 @@ module Aws::ObservabilityAdmin
|
|
281
658
|
include Aws::Structure
|
282
659
|
end
|
283
660
|
|
661
|
+
# Configuration specifying where and how telemetry data should be
|
662
|
+
# delivered for Amazon Web Services resources.
|
663
|
+
#
|
664
|
+
# @!attribute [rw] destination_type
|
665
|
+
# The type of destination for the telemetry data (e.g., "Amazon
|
666
|
+
# CloudWatch Logs", "S3").
|
667
|
+
# @return [String]
|
668
|
+
#
|
669
|
+
# @!attribute [rw] destination_pattern
|
670
|
+
# The pattern used to generate the destination path or name,
|
671
|
+
# supporting macros like <resourceId> and <accountId>.
|
672
|
+
# @return [String]
|
673
|
+
#
|
674
|
+
# @!attribute [rw] retention_in_days
|
675
|
+
# The number of days to retain the telemetry data in the destination.
|
676
|
+
# @return [Integer]
|
677
|
+
#
|
678
|
+
# @!attribute [rw] vpc_flow_log_parameters
|
679
|
+
# Configuration parameters specific to VPC Flow Logs when VPC is the
|
680
|
+
# resource type.
|
681
|
+
# @return [Types::VPCFlowLogParameters]
|
682
|
+
#
|
683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/TelemetryDestinationConfiguration AWS API Documentation
|
684
|
+
#
|
685
|
+
class TelemetryDestinationConfiguration < Struct.new(
|
686
|
+
:destination_type,
|
687
|
+
:destination_pattern,
|
688
|
+
:retention_in_days,
|
689
|
+
:vpc_flow_log_parameters)
|
690
|
+
SENSITIVE = []
|
691
|
+
include Aws::Structure
|
692
|
+
end
|
693
|
+
|
694
|
+
# Defines how telemetry should be configured for specific Amazon Web
|
695
|
+
# Services resources.
|
696
|
+
#
|
697
|
+
# @!attribute [rw] resource_type
|
698
|
+
# The type of Amazon Web Services resource to configure telemetry for
|
699
|
+
# (e.g., "AWS::EC2::VPC").
|
700
|
+
# @return [String]
|
701
|
+
#
|
702
|
+
# @!attribute [rw] telemetry_type
|
703
|
+
# The type of telemetry to collect (Logs, Metrics, or Traces).
|
704
|
+
# @return [String]
|
705
|
+
#
|
706
|
+
# @!attribute [rw] destination_configuration
|
707
|
+
# Configuration specifying where and how the telemetry data should be
|
708
|
+
# delivered.
|
709
|
+
# @return [Types::TelemetryDestinationConfiguration]
|
710
|
+
#
|
711
|
+
# @!attribute [rw] scope
|
712
|
+
# The organizational scope to which the rule applies, specified using
|
713
|
+
# accounts or organizational units.
|
714
|
+
# @return [String]
|
715
|
+
#
|
716
|
+
# @!attribute [rw] selection_criteria
|
717
|
+
# Criteria for selecting which resources the rule applies to, such as
|
718
|
+
# resource tags.
|
719
|
+
# @return [String]
|
720
|
+
#
|
721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/TelemetryRule AWS API Documentation
|
722
|
+
#
|
723
|
+
class TelemetryRule < Struct.new(
|
724
|
+
:resource_type,
|
725
|
+
:telemetry_type,
|
726
|
+
:destination_configuration,
|
727
|
+
:scope,
|
728
|
+
:selection_criteria)
|
729
|
+
SENSITIVE = []
|
730
|
+
include Aws::Structure
|
731
|
+
end
|
732
|
+
|
733
|
+
# A summary of a telemetry rule's key properties.
|
734
|
+
#
|
735
|
+
# @!attribute [rw] rule_name
|
736
|
+
# The name of the telemetry rule.
|
737
|
+
# @return [String]
|
738
|
+
#
|
739
|
+
# @!attribute [rw] rule_arn
|
740
|
+
# The Amazon Resource Name (ARN) of the telemetry rule.
|
741
|
+
# @return [String]
|
742
|
+
#
|
743
|
+
# @!attribute [rw] created_time_stamp
|
744
|
+
# The timestamp when the telemetry rule was created.
|
745
|
+
# @return [Integer]
|
746
|
+
#
|
747
|
+
# @!attribute [rw] last_update_time_stamp
|
748
|
+
# The timestamp when the telemetry rule was last modified.
|
749
|
+
# @return [Integer]
|
750
|
+
#
|
751
|
+
# @!attribute [rw] resource_type
|
752
|
+
# The type of Amazon Web Services resource the rule applies to.
|
753
|
+
# @return [String]
|
754
|
+
#
|
755
|
+
# @!attribute [rw] telemetry_type
|
756
|
+
# The type of telemetry (Logs, Metrics, or Traces) the rule
|
757
|
+
# configures.
|
758
|
+
# @return [String]
|
759
|
+
#
|
760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/TelemetryRuleSummary AWS API Documentation
|
761
|
+
#
|
762
|
+
class TelemetryRuleSummary < Struct.new(
|
763
|
+
:rule_name,
|
764
|
+
:rule_arn,
|
765
|
+
:created_time_stamp,
|
766
|
+
:last_update_time_stamp,
|
767
|
+
:resource_type,
|
768
|
+
:telemetry_type)
|
769
|
+
SENSITIVE = []
|
770
|
+
include Aws::Structure
|
771
|
+
end
|
772
|
+
|
773
|
+
# The request throughput limit was exceeded.
|
774
|
+
#
|
775
|
+
# @!attribute [rw] message
|
776
|
+
# @return [String]
|
777
|
+
#
|
778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/TooManyRequestsException AWS API Documentation
|
779
|
+
#
|
780
|
+
class TooManyRequestsException < Struct.new(
|
781
|
+
:message)
|
782
|
+
SENSITIVE = []
|
783
|
+
include Aws::Structure
|
784
|
+
end
|
785
|
+
|
786
|
+
# @!attribute [rw] resource_arn
|
787
|
+
# The Amazon Resource Name (ARN) of the telemetry rule resource to
|
788
|
+
# remove tags from.
|
789
|
+
# @return [String]
|
790
|
+
#
|
791
|
+
# @!attribute [rw] tag_keys
|
792
|
+
# The list of tag keys to remove from the telemetry rule resource.
|
793
|
+
# @return [Array<String>]
|
794
|
+
#
|
795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/UntagResourceInput AWS API Documentation
|
796
|
+
#
|
797
|
+
class UntagResourceInput < Struct.new(
|
798
|
+
:resource_arn,
|
799
|
+
:tag_keys)
|
800
|
+
SENSITIVE = []
|
801
|
+
include Aws::Structure
|
802
|
+
end
|
803
|
+
|
804
|
+
# @!attribute [rw] rule_identifier
|
805
|
+
# The identifier (name or ARN) of the organization telemetry rule to
|
806
|
+
# update.
|
807
|
+
# @return [String]
|
808
|
+
#
|
809
|
+
# @!attribute [rw] rule
|
810
|
+
# The new configuration details for the organization telemetry rule,
|
811
|
+
# including resource type, telemetry type, and destination
|
812
|
+
# configuration.
|
813
|
+
# @return [Types::TelemetryRule]
|
814
|
+
#
|
815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/UpdateTelemetryRuleForOrganizationInput AWS API Documentation
|
816
|
+
#
|
817
|
+
class UpdateTelemetryRuleForOrganizationInput < Struct.new(
|
818
|
+
:rule_identifier,
|
819
|
+
:rule)
|
820
|
+
SENSITIVE = []
|
821
|
+
include Aws::Structure
|
822
|
+
end
|
823
|
+
|
824
|
+
# @!attribute [rw] rule_arn
|
825
|
+
# The Amazon Resource Name (ARN) of the updated organization telemetry
|
826
|
+
# rule.
|
827
|
+
# @return [String]
|
828
|
+
#
|
829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/UpdateTelemetryRuleForOrganizationOutput AWS API Documentation
|
830
|
+
#
|
831
|
+
class UpdateTelemetryRuleForOrganizationOutput < Struct.new(
|
832
|
+
:rule_arn)
|
833
|
+
SENSITIVE = []
|
834
|
+
include Aws::Structure
|
835
|
+
end
|
836
|
+
|
837
|
+
# @!attribute [rw] rule_identifier
|
838
|
+
# The identifier (name or ARN) of the telemetry rule to update.
|
839
|
+
# @return [String]
|
840
|
+
#
|
841
|
+
# @!attribute [rw] rule
|
842
|
+
# The new configuration details for the telemetry rule.
|
843
|
+
# @return [Types::TelemetryRule]
|
844
|
+
#
|
845
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/UpdateTelemetryRuleInput AWS API Documentation
|
846
|
+
#
|
847
|
+
class UpdateTelemetryRuleInput < Struct.new(
|
848
|
+
:rule_identifier,
|
849
|
+
:rule)
|
850
|
+
SENSITIVE = []
|
851
|
+
include Aws::Structure
|
852
|
+
end
|
853
|
+
|
854
|
+
# @!attribute [rw] rule_arn
|
855
|
+
# The Amazon Resource Name (ARN) of the updated telemetry rule.
|
856
|
+
# @return [String]
|
857
|
+
#
|
858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/UpdateTelemetryRuleOutput AWS API Documentation
|
859
|
+
#
|
860
|
+
class UpdateTelemetryRuleOutput < Struct.new(
|
861
|
+
:rule_arn)
|
862
|
+
SENSITIVE = []
|
863
|
+
include Aws::Structure
|
864
|
+
end
|
865
|
+
|
866
|
+
# Configuration parameters specific to VPC Flow Logs.
|
867
|
+
#
|
868
|
+
# @!attribute [rw] log_format
|
869
|
+
# The format in which VPC Flow Log entries should be logged.
|
870
|
+
# @return [String]
|
871
|
+
#
|
872
|
+
# @!attribute [rw] traffic_type
|
873
|
+
# The type of traffic to log (ACCEPT, REJECT, or ALL).
|
874
|
+
# @return [String]
|
875
|
+
#
|
876
|
+
# @!attribute [rw] max_aggregation_interval
|
877
|
+
# The maximum interval in seconds between the capture of flow log
|
878
|
+
# records.
|
879
|
+
# @return [Integer]
|
880
|
+
#
|
881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/VPCFlowLogParameters AWS API Documentation
|
882
|
+
#
|
883
|
+
class VPCFlowLogParameters < Struct.new(
|
884
|
+
:log_format,
|
885
|
+
:traffic_type,
|
886
|
+
:max_aggregation_interval)
|
887
|
+
SENSITIVE = []
|
888
|
+
include Aws::Structure
|
889
|
+
end
|
890
|
+
|
284
891
|
# Indicates input validation failed. Check your request parameters and
|
285
892
|
# retry the request.
|
286
893
|
#
|
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:observabilityadmin)
|
|
23
23
|
# structure.
|
24
24
|
#
|
25
25
|
# observability_admin = Aws::ObservabilityAdmin::Client.new
|
26
|
-
# resp = observability_admin.
|
26
|
+
# resp = observability_admin.create_telemetry_rule(params)
|
27
27
|
#
|
28
28
|
# See {Client} for more information.
|
29
29
|
#
|
@@ -55,7 +55,7 @@ module Aws::ObservabilityAdmin
|
|
55
55
|
autoload :EndpointProvider, 'aws-sdk-observabilityadmin/endpoint_provider'
|
56
56
|
autoload :Endpoints, 'aws-sdk-observabilityadmin/endpoints'
|
57
57
|
|
58
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.9.0'
|
59
59
|
|
60
60
|
end
|
61
61
|
|