aws-sdk-observabilityadmin 1.12.0 → 1.13.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 +275 -1
- data/lib/aws-sdk-observabilityadmin/client_api.rb +191 -0
- data/lib/aws-sdk-observabilityadmin/types.rb +454 -0
- data/lib/aws-sdk-observabilityadmin.rb +2 -2
- data/sig/client.rbs +109 -0
- data/sig/types.rbs +119 -0
- metadata +1 -1
|
@@ -36,6 +36,152 @@ module Aws::ObservabilityAdmin
|
|
|
36
36
|
include Aws::Structure
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
# Defines how telemetry data should be centralized across an Amazon Web
|
|
40
|
+
# Services Organization, including source and destination
|
|
41
|
+
# configurations.
|
|
42
|
+
#
|
|
43
|
+
# @!attribute [rw] source
|
|
44
|
+
# Configuration determining the source of the telemetry data to be
|
|
45
|
+
# centralized.
|
|
46
|
+
# @return [Types::CentralizationRuleSource]
|
|
47
|
+
#
|
|
48
|
+
# @!attribute [rw] destination
|
|
49
|
+
# Configuration determining where the telemetry data should be
|
|
50
|
+
# centralized, backed up, as well as encryption configuration for the
|
|
51
|
+
# primary and backup destinations.
|
|
52
|
+
# @return [Types::CentralizationRuleDestination]
|
|
53
|
+
#
|
|
54
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CentralizationRule AWS API Documentation
|
|
55
|
+
#
|
|
56
|
+
class CentralizationRule < Struct.new(
|
|
57
|
+
:source,
|
|
58
|
+
:destination)
|
|
59
|
+
SENSITIVE = []
|
|
60
|
+
include Aws::Structure
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Configuration specifying the primary destination for centralized
|
|
64
|
+
# telemetry data.
|
|
65
|
+
#
|
|
66
|
+
# @!attribute [rw] region
|
|
67
|
+
# The primary destination region to which telemetry data should be
|
|
68
|
+
# centralized.
|
|
69
|
+
# @return [String]
|
|
70
|
+
#
|
|
71
|
+
# @!attribute [rw] account
|
|
72
|
+
# The destination account (within the organization) to which the
|
|
73
|
+
# telemetry data should be centralized.
|
|
74
|
+
# @return [String]
|
|
75
|
+
#
|
|
76
|
+
# @!attribute [rw] destination_logs_configuration
|
|
77
|
+
# Log specific configuration for centralization destination log
|
|
78
|
+
# groups.
|
|
79
|
+
# @return [Types::DestinationLogsConfiguration]
|
|
80
|
+
#
|
|
81
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CentralizationRuleDestination AWS API Documentation
|
|
82
|
+
#
|
|
83
|
+
class CentralizationRuleDestination < Struct.new(
|
|
84
|
+
:region,
|
|
85
|
+
:account,
|
|
86
|
+
:destination_logs_configuration)
|
|
87
|
+
SENSITIVE = []
|
|
88
|
+
include Aws::Structure
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Configuration specifying the source of telemetry data to be
|
|
92
|
+
# centralized.
|
|
93
|
+
#
|
|
94
|
+
# @!attribute [rw] regions
|
|
95
|
+
# The list of source regions from which telemetry data should be
|
|
96
|
+
# centralized.
|
|
97
|
+
# @return [Array<String>]
|
|
98
|
+
#
|
|
99
|
+
# @!attribute [rw] scope
|
|
100
|
+
# The organizational scope from which telemetry data should be
|
|
101
|
+
# centralized, specified using organization id, accounts or
|
|
102
|
+
# organizational unit ids.
|
|
103
|
+
# @return [String]
|
|
104
|
+
#
|
|
105
|
+
# @!attribute [rw] source_logs_configuration
|
|
106
|
+
# Log specific configuration for centralization source log groups.
|
|
107
|
+
# @return [Types::SourceLogsConfiguration]
|
|
108
|
+
#
|
|
109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CentralizationRuleSource AWS API Documentation
|
|
110
|
+
#
|
|
111
|
+
class CentralizationRuleSource < Struct.new(
|
|
112
|
+
:regions,
|
|
113
|
+
:scope,
|
|
114
|
+
:source_logs_configuration)
|
|
115
|
+
SENSITIVE = []
|
|
116
|
+
include Aws::Structure
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# A summary of a centralization rule's key properties and status.
|
|
120
|
+
#
|
|
121
|
+
# @!attribute [rw] rule_name
|
|
122
|
+
# The name of the organization centralization rule.
|
|
123
|
+
# @return [String]
|
|
124
|
+
#
|
|
125
|
+
# @!attribute [rw] rule_arn
|
|
126
|
+
# The Amazon Resource Name (ARN) of the organization centralization
|
|
127
|
+
# rule.
|
|
128
|
+
# @return [String]
|
|
129
|
+
#
|
|
130
|
+
# @!attribute [rw] creator_account_id
|
|
131
|
+
# The Amazon Web Services Account that created the organization
|
|
132
|
+
# centralization rule.
|
|
133
|
+
# @return [String]
|
|
134
|
+
#
|
|
135
|
+
# @!attribute [rw] created_time_stamp
|
|
136
|
+
# The timestamp when the organization centralization rule was created.
|
|
137
|
+
# @return [Integer]
|
|
138
|
+
#
|
|
139
|
+
# @!attribute [rw] created_region
|
|
140
|
+
# The Amazon Web Services region where the organization centralization
|
|
141
|
+
# rule was created.
|
|
142
|
+
# @return [String]
|
|
143
|
+
#
|
|
144
|
+
# @!attribute [rw] last_update_time_stamp
|
|
145
|
+
# The timestamp when the organization centralization rule was last
|
|
146
|
+
# updated.
|
|
147
|
+
# @return [Integer]
|
|
148
|
+
#
|
|
149
|
+
# @!attribute [rw] rule_health
|
|
150
|
+
# The health status of the organization centralization rule.
|
|
151
|
+
# @return [String]
|
|
152
|
+
#
|
|
153
|
+
# @!attribute [rw] failure_reason
|
|
154
|
+
# The reason why an organization centralization rule is marked
|
|
155
|
+
# UNHEALTHY.
|
|
156
|
+
# @return [String]
|
|
157
|
+
#
|
|
158
|
+
# @!attribute [rw] destination_account_id
|
|
159
|
+
# The primary destination account of the organization centralization
|
|
160
|
+
# rule.
|
|
161
|
+
# @return [String]
|
|
162
|
+
#
|
|
163
|
+
# @!attribute [rw] destination_region
|
|
164
|
+
# The primary destination region of the organization centralization
|
|
165
|
+
# rule.
|
|
166
|
+
# @return [String]
|
|
167
|
+
#
|
|
168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CentralizationRuleSummary AWS API Documentation
|
|
169
|
+
#
|
|
170
|
+
class CentralizationRuleSummary < Struct.new(
|
|
171
|
+
:rule_name,
|
|
172
|
+
:rule_arn,
|
|
173
|
+
:creator_account_id,
|
|
174
|
+
:created_time_stamp,
|
|
175
|
+
:created_region,
|
|
176
|
+
:last_update_time_stamp,
|
|
177
|
+
:rule_health,
|
|
178
|
+
:failure_reason,
|
|
179
|
+
:destination_account_id,
|
|
180
|
+
:destination_region)
|
|
181
|
+
SENSITIVE = []
|
|
182
|
+
include Aws::Structure
|
|
183
|
+
end
|
|
184
|
+
|
|
39
185
|
# The requested operation conflicts with the current state of the
|
|
40
186
|
# specified resource or with another request.
|
|
41
187
|
#
|
|
@@ -50,6 +196,45 @@ module Aws::ObservabilityAdmin
|
|
|
50
196
|
include Aws::Structure
|
|
51
197
|
end
|
|
52
198
|
|
|
199
|
+
# @!attribute [rw] rule_name
|
|
200
|
+
# A unique name for the organization-wide centralization rule being
|
|
201
|
+
# created.
|
|
202
|
+
# @return [String]
|
|
203
|
+
#
|
|
204
|
+
# @!attribute [rw] rule
|
|
205
|
+
# The configuration details for the organization-wide centralization
|
|
206
|
+
# rule, including the source configuration and the destination
|
|
207
|
+
# configuration to centralize telemetry data across the organization.
|
|
208
|
+
# @return [Types::CentralizationRule]
|
|
209
|
+
#
|
|
210
|
+
# @!attribute [rw] tags
|
|
211
|
+
# The key-value pairs to associate with the organization telemetry
|
|
212
|
+
# rule resource for categorization and management purposes.
|
|
213
|
+
# @return [Hash<String,String>]
|
|
214
|
+
#
|
|
215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CreateCentralizationRuleForOrganizationInput AWS API Documentation
|
|
216
|
+
#
|
|
217
|
+
class CreateCentralizationRuleForOrganizationInput < Struct.new(
|
|
218
|
+
:rule_name,
|
|
219
|
+
:rule,
|
|
220
|
+
:tags)
|
|
221
|
+
SENSITIVE = []
|
|
222
|
+
include Aws::Structure
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# @!attribute [rw] rule_arn
|
|
226
|
+
# The Amazon Resource Name (ARN) of the created organization
|
|
227
|
+
# centralization rule.
|
|
228
|
+
# @return [String]
|
|
229
|
+
#
|
|
230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CreateCentralizationRuleForOrganizationOutput AWS API Documentation
|
|
231
|
+
#
|
|
232
|
+
class CreateCentralizationRuleForOrganizationOutput < Struct.new(
|
|
233
|
+
:rule_arn)
|
|
234
|
+
SENSITIVE = []
|
|
235
|
+
include Aws::Structure
|
|
236
|
+
end
|
|
237
|
+
|
|
53
238
|
# @!attribute [rw] rule_name
|
|
54
239
|
# A unique name for the organization-wide telemetry rule being
|
|
55
240
|
# created.
|
|
@@ -127,6 +312,19 @@ module Aws::ObservabilityAdmin
|
|
|
127
312
|
include Aws::Structure
|
|
128
313
|
end
|
|
129
314
|
|
|
315
|
+
# @!attribute [rw] rule_identifier
|
|
316
|
+
# The identifier (name or ARN) of the organization centralization rule
|
|
317
|
+
# to delete.
|
|
318
|
+
# @return [String]
|
|
319
|
+
#
|
|
320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/DeleteCentralizationRuleForOrganizationInput AWS API Documentation
|
|
321
|
+
#
|
|
322
|
+
class DeleteCentralizationRuleForOrganizationInput < Struct.new(
|
|
323
|
+
:rule_identifier)
|
|
324
|
+
SENSITIVE = []
|
|
325
|
+
include Aws::Structure
|
|
326
|
+
end
|
|
327
|
+
|
|
130
328
|
# @!attribute [rw] rule_identifier
|
|
131
329
|
# The identifier (name or ARN) of the organization telemetry rule to
|
|
132
330
|
# delete.
|
|
@@ -152,6 +350,98 @@ module Aws::ObservabilityAdmin
|
|
|
152
350
|
include Aws::Structure
|
|
153
351
|
end
|
|
154
352
|
|
|
353
|
+
# Configuration for centralization destination log groups, including
|
|
354
|
+
# encryption and backup settings.
|
|
355
|
+
#
|
|
356
|
+
# @!attribute [rw] logs_encryption_configuration
|
|
357
|
+
# The encryption configuration for centralization destination log
|
|
358
|
+
# groups.
|
|
359
|
+
# @return [Types::LogsEncryptionConfiguration]
|
|
360
|
+
#
|
|
361
|
+
# @!attribute [rw] backup_configuration
|
|
362
|
+
# Configuration defining the backup region and an optional KMS key for
|
|
363
|
+
# the backup destination.
|
|
364
|
+
# @return [Types::LogsBackupConfiguration]
|
|
365
|
+
#
|
|
366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/DestinationLogsConfiguration AWS API Documentation
|
|
367
|
+
#
|
|
368
|
+
class DestinationLogsConfiguration < Struct.new(
|
|
369
|
+
:logs_encryption_configuration,
|
|
370
|
+
:backup_configuration)
|
|
371
|
+
SENSITIVE = []
|
|
372
|
+
include Aws::Structure
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
# @!attribute [rw] rule_identifier
|
|
376
|
+
# The identifier (name or ARN) of the organization centralization rule
|
|
377
|
+
# to retrieve.
|
|
378
|
+
# @return [String]
|
|
379
|
+
#
|
|
380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetCentralizationRuleForOrganizationInput AWS API Documentation
|
|
381
|
+
#
|
|
382
|
+
class GetCentralizationRuleForOrganizationInput < Struct.new(
|
|
383
|
+
:rule_identifier)
|
|
384
|
+
SENSITIVE = []
|
|
385
|
+
include Aws::Structure
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
# @!attribute [rw] rule_name
|
|
389
|
+
# The name of the organization centralization rule.
|
|
390
|
+
# @return [String]
|
|
391
|
+
#
|
|
392
|
+
# @!attribute [rw] rule_arn
|
|
393
|
+
# The Amazon Resource Name (ARN) of the organization centralization
|
|
394
|
+
# rule.
|
|
395
|
+
# @return [String]
|
|
396
|
+
#
|
|
397
|
+
# @!attribute [rw] creator_account_id
|
|
398
|
+
# The Amazon Web Services Account that created the organization
|
|
399
|
+
# centralization rule.
|
|
400
|
+
# @return [String]
|
|
401
|
+
#
|
|
402
|
+
# @!attribute [rw] created_time_stamp
|
|
403
|
+
# The timestamp when the organization centralization rule was created.
|
|
404
|
+
# @return [Integer]
|
|
405
|
+
#
|
|
406
|
+
# @!attribute [rw] created_region
|
|
407
|
+
# The Amazon Web Services region where the organization centralization
|
|
408
|
+
# rule was created.
|
|
409
|
+
# @return [String]
|
|
410
|
+
#
|
|
411
|
+
# @!attribute [rw] last_update_time_stamp
|
|
412
|
+
# The timestamp when the organization centralization rule was last
|
|
413
|
+
# updated.
|
|
414
|
+
# @return [Integer]
|
|
415
|
+
#
|
|
416
|
+
# @!attribute [rw] rule_health
|
|
417
|
+
# The health status of the organization centralization rule.
|
|
418
|
+
# @return [String]
|
|
419
|
+
#
|
|
420
|
+
# @!attribute [rw] failure_reason
|
|
421
|
+
# The reason why an organization centralization rule is marked
|
|
422
|
+
# UNHEALTHY.
|
|
423
|
+
# @return [String]
|
|
424
|
+
#
|
|
425
|
+
# @!attribute [rw] centralization_rule
|
|
426
|
+
# The configuration details for the organization centralization rule.
|
|
427
|
+
# @return [Types::CentralizationRule]
|
|
428
|
+
#
|
|
429
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetCentralizationRuleForOrganizationOutput AWS API Documentation
|
|
430
|
+
#
|
|
431
|
+
class GetCentralizationRuleForOrganizationOutput < Struct.new(
|
|
432
|
+
:rule_name,
|
|
433
|
+
:rule_arn,
|
|
434
|
+
:creator_account_id,
|
|
435
|
+
:created_time_stamp,
|
|
436
|
+
:created_region,
|
|
437
|
+
:last_update_time_stamp,
|
|
438
|
+
:rule_health,
|
|
439
|
+
:failure_reason,
|
|
440
|
+
:centralization_rule)
|
|
441
|
+
SENSITIVE = []
|
|
442
|
+
include Aws::Structure
|
|
443
|
+
end
|
|
444
|
+
|
|
155
445
|
# @!attribute [rw] status
|
|
156
446
|
# The onboarding status of the telemetry config feature for the
|
|
157
447
|
# organization.
|
|
@@ -298,6 +588,54 @@ module Aws::ObservabilityAdmin
|
|
|
298
588
|
include Aws::Structure
|
|
299
589
|
end
|
|
300
590
|
|
|
591
|
+
# @!attribute [rw] rule_name_prefix
|
|
592
|
+
# A string to filter organization centralization rules whose names
|
|
593
|
+
# begin with the specified prefix.
|
|
594
|
+
# @return [String]
|
|
595
|
+
#
|
|
596
|
+
# @!attribute [rw] all_regions
|
|
597
|
+
# A flag determining whether to return organization centralization
|
|
598
|
+
# rules from all regions or only the current region.
|
|
599
|
+
# @return [Boolean]
|
|
600
|
+
#
|
|
601
|
+
# @!attribute [rw] max_results
|
|
602
|
+
# The maximum number of organization centralization rules to return in
|
|
603
|
+
# a single call.
|
|
604
|
+
# @return [Integer]
|
|
605
|
+
#
|
|
606
|
+
# @!attribute [rw] next_token
|
|
607
|
+
# The token for the next set of results. A previous call generates
|
|
608
|
+
# this token.
|
|
609
|
+
# @return [String]
|
|
610
|
+
#
|
|
611
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListCentralizationRulesForOrganizationInput AWS API Documentation
|
|
612
|
+
#
|
|
613
|
+
class ListCentralizationRulesForOrganizationInput < Struct.new(
|
|
614
|
+
:rule_name_prefix,
|
|
615
|
+
:all_regions,
|
|
616
|
+
:max_results,
|
|
617
|
+
:next_token)
|
|
618
|
+
SENSITIVE = []
|
|
619
|
+
include Aws::Structure
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# @!attribute [rw] centralization_rule_summaries
|
|
623
|
+
# A list of centralization rule summaries.
|
|
624
|
+
# @return [Array<Types::CentralizationRuleSummary>]
|
|
625
|
+
#
|
|
626
|
+
# @!attribute [rw] next_token
|
|
627
|
+
# A token to resume pagination of results.
|
|
628
|
+
# @return [String]
|
|
629
|
+
#
|
|
630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListCentralizationRulesForOrganizationOutput AWS API Documentation
|
|
631
|
+
#
|
|
632
|
+
class ListCentralizationRulesForOrganizationOutput < Struct.new(
|
|
633
|
+
:centralization_rule_summaries,
|
|
634
|
+
:next_token)
|
|
635
|
+
SENSITIVE = []
|
|
636
|
+
include Aws::Structure
|
|
637
|
+
end
|
|
638
|
+
|
|
301
639
|
# @!attribute [rw] account_identifiers
|
|
302
640
|
# A list of Amazon Web Services accounts used to filter the resources
|
|
303
641
|
# to those associated with the specified accounts.
|
|
@@ -562,6 +900,64 @@ module Aws::ObservabilityAdmin
|
|
|
562
900
|
include Aws::Structure
|
|
563
901
|
end
|
|
564
902
|
|
|
903
|
+
# Configuration for backing up centralized log data to a secondary
|
|
904
|
+
# region.
|
|
905
|
+
#
|
|
906
|
+
# @!attribute [rw] region
|
|
907
|
+
# Logs specific backup destination region within the primary
|
|
908
|
+
# destination account to which log data should be centralized.
|
|
909
|
+
# @return [String]
|
|
910
|
+
#
|
|
911
|
+
# @!attribute [rw] kms_key_arn
|
|
912
|
+
# KMS Key arn belonging to the primary destination account and backup
|
|
913
|
+
# region, to encrypt newly created central log groups in the backup
|
|
914
|
+
# destination.
|
|
915
|
+
# @return [String]
|
|
916
|
+
#
|
|
917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/LogsBackupConfiguration AWS API Documentation
|
|
918
|
+
#
|
|
919
|
+
class LogsBackupConfiguration < Struct.new(
|
|
920
|
+
:region,
|
|
921
|
+
:kms_key_arn)
|
|
922
|
+
SENSITIVE = []
|
|
923
|
+
include Aws::Structure
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
# Configuration for encrypting centralized log groups. This
|
|
927
|
+
# configuration is only applied to destination log groups for which the
|
|
928
|
+
# corresponding source log groups are encrypted using Customer Managed
|
|
929
|
+
# KMS Keys.
|
|
930
|
+
#
|
|
931
|
+
# @!attribute [rw] encryption_strategy
|
|
932
|
+
# Configuration that determines the encryption strategy of the
|
|
933
|
+
# destination log groups. CUSTOMER\_MANAGED uses the configured
|
|
934
|
+
# KmsKeyArn to encrypt newly created destination log groups.
|
|
935
|
+
# @return [String]
|
|
936
|
+
#
|
|
937
|
+
# @!attribute [rw] kms_key_arn
|
|
938
|
+
# KMS Key arn belonging to the primary destination account and region,
|
|
939
|
+
# to encrypt newly created central log groups in the primary
|
|
940
|
+
# destination.
|
|
941
|
+
# @return [String]
|
|
942
|
+
#
|
|
943
|
+
# @!attribute [rw] encryption_conflict_resolution_strategy
|
|
944
|
+
# Conflict resolution strategy for centralization if the encryption
|
|
945
|
+
# strategy is set to CUSTOMER\_MANAGED and the destination log group
|
|
946
|
+
# is encrypted with an AWS\_OWNED KMS Key. ALLOW lets centralization
|
|
947
|
+
# go through while SKIP prevents centralization into the destination
|
|
948
|
+
# log group.
|
|
949
|
+
# @return [String]
|
|
950
|
+
#
|
|
951
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/LogsEncryptionConfiguration AWS API Documentation
|
|
952
|
+
#
|
|
953
|
+
class LogsEncryptionConfiguration < Struct.new(
|
|
954
|
+
:encryption_strategy,
|
|
955
|
+
:kms_key_arn,
|
|
956
|
+
:encryption_conflict_resolution_strategy)
|
|
957
|
+
SENSITIVE = []
|
|
958
|
+
include Aws::Structure
|
|
959
|
+
end
|
|
960
|
+
|
|
565
961
|
# The specified resource (such as a telemetry rule) could not be found.
|
|
566
962
|
#
|
|
567
963
|
# @!attribute [rw] message
|
|
@@ -594,6 +990,31 @@ module Aws::ObservabilityAdmin
|
|
|
594
990
|
include Aws::Structure
|
|
595
991
|
end
|
|
596
992
|
|
|
993
|
+
# Configuration for selecting and handling source log groups for
|
|
994
|
+
# centralization.
|
|
995
|
+
#
|
|
996
|
+
# @!attribute [rw] log_group_selection_criteria
|
|
997
|
+
# The selection criteria that specifies which source log groups to
|
|
998
|
+
# centralize. The selection criteria uses the same format as OAM link
|
|
999
|
+
# filters.
|
|
1000
|
+
# @return [String]
|
|
1001
|
+
#
|
|
1002
|
+
# @!attribute [rw] encrypted_log_group_strategy
|
|
1003
|
+
# A strategy determining whether to centralize source log groups that
|
|
1004
|
+
# are encrypted with customer managed KMS keys (CMK). ALLOW will
|
|
1005
|
+
# consider CMK encrypted source log groups for centralization while
|
|
1006
|
+
# SKIP will skip CMK encrypted source log groups from centralization.
|
|
1007
|
+
# @return [String]
|
|
1008
|
+
#
|
|
1009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/SourceLogsConfiguration AWS API Documentation
|
|
1010
|
+
#
|
|
1011
|
+
class SourceLogsConfiguration < Struct.new(
|
|
1012
|
+
:log_group_selection_criteria,
|
|
1013
|
+
:encrypted_log_group_strategy)
|
|
1014
|
+
SENSITIVE = []
|
|
1015
|
+
include Aws::Structure
|
|
1016
|
+
end
|
|
1017
|
+
|
|
597
1018
|
# @!attribute [rw] resource_arn
|
|
598
1019
|
# The Amazon Resource Name (ARN) of the telemetry rule resource to
|
|
599
1020
|
# tag.
|
|
@@ -801,6 +1222,39 @@ module Aws::ObservabilityAdmin
|
|
|
801
1222
|
include Aws::Structure
|
|
802
1223
|
end
|
|
803
1224
|
|
|
1225
|
+
# @!attribute [rw] rule_identifier
|
|
1226
|
+
# The identifier (name or ARN) of the organization centralization rule
|
|
1227
|
+
# to update.
|
|
1228
|
+
# @return [String]
|
|
1229
|
+
#
|
|
1230
|
+
# @!attribute [rw] rule
|
|
1231
|
+
# The configuration details for the organization-wide centralization
|
|
1232
|
+
# rule, including the source configuration and the destination
|
|
1233
|
+
# configuration to centralize telemetry data across the organization.
|
|
1234
|
+
# @return [Types::CentralizationRule]
|
|
1235
|
+
#
|
|
1236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/UpdateCentralizationRuleForOrganizationInput AWS API Documentation
|
|
1237
|
+
#
|
|
1238
|
+
class UpdateCentralizationRuleForOrganizationInput < Struct.new(
|
|
1239
|
+
:rule_identifier,
|
|
1240
|
+
:rule)
|
|
1241
|
+
SENSITIVE = []
|
|
1242
|
+
include Aws::Structure
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
# @!attribute [rw] rule_arn
|
|
1246
|
+
# The Amazon Resource Name (ARN) of the updated organization
|
|
1247
|
+
# centralization rule.
|
|
1248
|
+
# @return [String]
|
|
1249
|
+
#
|
|
1250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/UpdateCentralizationRuleForOrganizationOutput AWS API Documentation
|
|
1251
|
+
#
|
|
1252
|
+
class UpdateCentralizationRuleForOrganizationOutput < Struct.new(
|
|
1253
|
+
:rule_arn)
|
|
1254
|
+
SENSITIVE = []
|
|
1255
|
+
include Aws::Structure
|
|
1256
|
+
end
|
|
1257
|
+
|
|
804
1258
|
# @!attribute [rw] rule_identifier
|
|
805
1259
|
# The identifier (name or ARN) of the organization telemetry rule to
|
|
806
1260
|
# update.
|
|
@@ -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_centralization_rule_for_organization(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.13.0'
|
|
59
59
|
|
|
60
60
|
end
|
|
61
61
|
|
data/sig/client.rbs
CHANGED
|
@@ -78,6 +78,42 @@ module Aws
|
|
|
78
78
|
| (?Hash[Symbol, untyped]) -> instance
|
|
79
79
|
|
|
80
80
|
|
|
81
|
+
interface _CreateCentralizationRuleForOrganizationResponseSuccess
|
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCentralizationRuleForOrganizationOutput]
|
|
83
|
+
def rule_arn: () -> ::String
|
|
84
|
+
end
|
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#create_centralization_rule_for_organization-instance_method
|
|
86
|
+
def create_centralization_rule_for_organization: (
|
|
87
|
+
rule_name: ::String,
|
|
88
|
+
rule: {
|
|
89
|
+
source: {
|
|
90
|
+
regions: Array[::String],
|
|
91
|
+
scope: ::String?,
|
|
92
|
+
source_logs_configuration: {
|
|
93
|
+
log_group_selection_criteria: ::String,
|
|
94
|
+
encrypted_log_group_strategy: ("ALLOW" | "SKIP")
|
|
95
|
+
}?
|
|
96
|
+
},
|
|
97
|
+
destination: {
|
|
98
|
+
region: ::String,
|
|
99
|
+
account: ::String?,
|
|
100
|
+
destination_logs_configuration: {
|
|
101
|
+
logs_encryption_configuration: {
|
|
102
|
+
encryption_strategy: ("CUSTOMER_MANAGED" | "AWS_OWNED"),
|
|
103
|
+
kms_key_arn: ::String?,
|
|
104
|
+
encryption_conflict_resolution_strategy: ("ALLOW" | "SKIP")?
|
|
105
|
+
}?,
|
|
106
|
+
backup_configuration: {
|
|
107
|
+
region: ::String,
|
|
108
|
+
kms_key_arn: ::String?
|
|
109
|
+
}?
|
|
110
|
+
}?
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
?tags: Hash[::String, ::String]
|
|
114
|
+
) -> _CreateCentralizationRuleForOrganizationResponseSuccess
|
|
115
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCentralizationRuleForOrganizationResponseSuccess
|
|
116
|
+
|
|
81
117
|
interface _CreateTelemetryRuleResponseSuccess
|
|
82
118
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTelemetryRuleOutput]
|
|
83
119
|
def rule_arn: () -> ::String
|
|
@@ -132,6 +168,12 @@ module Aws
|
|
|
132
168
|
) -> _CreateTelemetryRuleForOrganizationResponseSuccess
|
|
133
169
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTelemetryRuleForOrganizationResponseSuccess
|
|
134
170
|
|
|
171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#delete_centralization_rule_for_organization-instance_method
|
|
172
|
+
def delete_centralization_rule_for_organization: (
|
|
173
|
+
rule_identifier: ::String
|
|
174
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
175
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
176
|
+
|
|
135
177
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#delete_telemetry_rule-instance_method
|
|
136
178
|
def delete_telemetry_rule: (
|
|
137
179
|
rule_identifier: ::String
|
|
@@ -144,6 +186,24 @@ module Aws
|
|
|
144
186
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
145
187
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
146
188
|
|
|
189
|
+
interface _GetCentralizationRuleForOrganizationResponseSuccess
|
|
190
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCentralizationRuleForOrganizationOutput]
|
|
191
|
+
def rule_name: () -> ::String
|
|
192
|
+
def rule_arn: () -> ::String
|
|
193
|
+
def creator_account_id: () -> ::String
|
|
194
|
+
def created_time_stamp: () -> ::Integer
|
|
195
|
+
def created_region: () -> ::String
|
|
196
|
+
def last_update_time_stamp: () -> ::Integer
|
|
197
|
+
def rule_health: () -> ("Healthy" | "Unhealthy" | "Provisioning")
|
|
198
|
+
def failure_reason: () -> ("TRUSTED_ACCESS_NOT_ENABLED" | "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION" | "INTERNAL_SERVER_ERROR")
|
|
199
|
+
def centralization_rule: () -> Types::CentralizationRule
|
|
200
|
+
end
|
|
201
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#get_centralization_rule_for_organization-instance_method
|
|
202
|
+
def get_centralization_rule_for_organization: (
|
|
203
|
+
rule_identifier: ::String
|
|
204
|
+
) -> _GetCentralizationRuleForOrganizationResponseSuccess
|
|
205
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCentralizationRuleForOrganizationResponseSuccess
|
|
206
|
+
|
|
147
207
|
interface _GetTelemetryEvaluationStatusResponseSuccess
|
|
148
208
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryEvaluationStatusOutput]
|
|
149
209
|
def status: () -> ("NOT_STARTED" | "STARTING" | "FAILED_START" | "RUNNING" | "STOPPING" | "FAILED_STOP" | "STOPPED")
|
|
@@ -190,6 +250,20 @@ module Aws
|
|
|
190
250
|
) -> _GetTelemetryRuleForOrganizationResponseSuccess
|
|
191
251
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryRuleForOrganizationResponseSuccess
|
|
192
252
|
|
|
253
|
+
interface _ListCentralizationRulesForOrganizationResponseSuccess
|
|
254
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCentralizationRulesForOrganizationOutput]
|
|
255
|
+
def centralization_rule_summaries: () -> ::Array[Types::CentralizationRuleSummary]
|
|
256
|
+
def next_token: () -> ::String
|
|
257
|
+
end
|
|
258
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_centralization_rules_for_organization-instance_method
|
|
259
|
+
def list_centralization_rules_for_organization: (
|
|
260
|
+
?rule_name_prefix: ::String,
|
|
261
|
+
?all_regions: bool,
|
|
262
|
+
?max_results: ::Integer,
|
|
263
|
+
?next_token: ::String
|
|
264
|
+
) -> _ListCentralizationRulesForOrganizationResponseSuccess
|
|
265
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCentralizationRulesForOrganizationResponseSuccess
|
|
266
|
+
|
|
193
267
|
interface _ListResourceTelemetryResponseSuccess
|
|
194
268
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceTelemetryOutput]
|
|
195
269
|
def telemetry_configurations: () -> ::Array[Types::TelemetryConfiguration]
|
|
@@ -291,6 +365,41 @@ module Aws
|
|
|
291
365
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
292
366
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
293
367
|
|
|
368
|
+
interface _UpdateCentralizationRuleForOrganizationResponseSuccess
|
|
369
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCentralizationRuleForOrganizationOutput]
|
|
370
|
+
def rule_arn: () -> ::String
|
|
371
|
+
end
|
|
372
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#update_centralization_rule_for_organization-instance_method
|
|
373
|
+
def update_centralization_rule_for_organization: (
|
|
374
|
+
rule_identifier: ::String,
|
|
375
|
+
rule: {
|
|
376
|
+
source: {
|
|
377
|
+
regions: Array[::String],
|
|
378
|
+
scope: ::String?,
|
|
379
|
+
source_logs_configuration: {
|
|
380
|
+
log_group_selection_criteria: ::String,
|
|
381
|
+
encrypted_log_group_strategy: ("ALLOW" | "SKIP")
|
|
382
|
+
}?
|
|
383
|
+
},
|
|
384
|
+
destination: {
|
|
385
|
+
region: ::String,
|
|
386
|
+
account: ::String?,
|
|
387
|
+
destination_logs_configuration: {
|
|
388
|
+
logs_encryption_configuration: {
|
|
389
|
+
encryption_strategy: ("CUSTOMER_MANAGED" | "AWS_OWNED"),
|
|
390
|
+
kms_key_arn: ::String?,
|
|
391
|
+
encryption_conflict_resolution_strategy: ("ALLOW" | "SKIP")?
|
|
392
|
+
}?,
|
|
393
|
+
backup_configuration: {
|
|
394
|
+
region: ::String,
|
|
395
|
+
kms_key_arn: ::String?
|
|
396
|
+
}?
|
|
397
|
+
}?
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
) -> _UpdateCentralizationRuleForOrganizationResponseSuccess
|
|
401
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCentralizationRuleForOrganizationResponseSuccess
|
|
402
|
+
|
|
294
403
|
interface _UpdateTelemetryRuleResponseSuccess
|
|
295
404
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTelemetryRuleOutput]
|
|
296
405
|
def rule_arn: () -> ::String
|