aws-sdk-observabilityadmin 1.12.0 → 1.14.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.
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,33 @@ 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
+
207
+ interface _GetTelemetryEnrichmentStatusResponseSuccess
208
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryEnrichmentStatusOutput]
209
+ def status: () -> ("Running" | "Stopped" | "Impaired")
210
+ def aws_resource_explorer_managed_view_arn: () -> ::String
211
+ end
212
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#get_telemetry_enrichment_status-instance_method
213
+ def get_telemetry_enrichment_status: () -> _GetTelemetryEnrichmentStatusResponseSuccess
214
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryEnrichmentStatusResponseSuccess
215
+
147
216
  interface _GetTelemetryEvaluationStatusResponseSuccess
148
217
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryEvaluationStatusOutput]
149
218
  def status: () -> ("NOT_STARTED" | "STARTING" | "FAILED_START" | "RUNNING" | "STOPPING" | "FAILED_STOP" | "STOPPED")
@@ -190,6 +259,20 @@ module Aws
190
259
  ) -> _GetTelemetryRuleForOrganizationResponseSuccess
191
260
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryRuleForOrganizationResponseSuccess
192
261
 
262
+ interface _ListCentralizationRulesForOrganizationResponseSuccess
263
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCentralizationRulesForOrganizationOutput]
264
+ def centralization_rule_summaries: () -> ::Array[Types::CentralizationRuleSummary]
265
+ def next_token: () -> ::String
266
+ end
267
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_centralization_rules_for_organization-instance_method
268
+ def list_centralization_rules_for_organization: (
269
+ ?rule_name_prefix: ::String,
270
+ ?all_regions: bool,
271
+ ?max_results: ::Integer,
272
+ ?next_token: ::String
273
+ ) -> _ListCentralizationRulesForOrganizationResponseSuccess
274
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCentralizationRulesForOrganizationResponseSuccess
275
+
193
276
  interface _ListResourceTelemetryResponseSuccess
194
277
  include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceTelemetryOutput]
195
278
  def telemetry_configurations: () -> ::Array[Types::TelemetryConfiguration]
@@ -261,6 +344,15 @@ module Aws
261
344
  ) -> _ListTelemetryRulesForOrganizationResponseSuccess
262
345
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTelemetryRulesForOrganizationResponseSuccess
263
346
 
347
+ interface _StartTelemetryEnrichmentResponseSuccess
348
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartTelemetryEnrichmentOutput]
349
+ def status: () -> ("Running" | "Stopped" | "Impaired")
350
+ def aws_resource_explorer_managed_view_arn: () -> ::String
351
+ end
352
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#start_telemetry_enrichment-instance_method
353
+ def start_telemetry_enrichment: () -> _StartTelemetryEnrichmentResponseSuccess
354
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTelemetryEnrichmentResponseSuccess
355
+
264
356
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#start_telemetry_evaluation-instance_method
265
357
  def start_telemetry_evaluation: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
266
358
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -269,6 +361,14 @@ module Aws
269
361
  def start_telemetry_evaluation_for_organization: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
270
362
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
271
363
 
364
+ interface _StopTelemetryEnrichmentResponseSuccess
365
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopTelemetryEnrichmentOutput]
366
+ def status: () -> ("Running" | "Stopped" | "Impaired")
367
+ end
368
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#stop_telemetry_enrichment-instance_method
369
+ def stop_telemetry_enrichment: () -> _StopTelemetryEnrichmentResponseSuccess
370
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopTelemetryEnrichmentResponseSuccess
371
+
272
372
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#stop_telemetry_evaluation-instance_method
273
373
  def stop_telemetry_evaluation: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
274
374
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -291,6 +391,41 @@ module Aws
291
391
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
292
392
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
293
393
 
394
+ interface _UpdateCentralizationRuleForOrganizationResponseSuccess
395
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCentralizationRuleForOrganizationOutput]
396
+ def rule_arn: () -> ::String
397
+ end
398
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#update_centralization_rule_for_organization-instance_method
399
+ def update_centralization_rule_for_organization: (
400
+ rule_identifier: ::String,
401
+ rule: {
402
+ source: {
403
+ regions: Array[::String],
404
+ scope: ::String?,
405
+ source_logs_configuration: {
406
+ log_group_selection_criteria: ::String,
407
+ encrypted_log_group_strategy: ("ALLOW" | "SKIP")
408
+ }?
409
+ },
410
+ destination: {
411
+ region: ::String,
412
+ account: ::String?,
413
+ destination_logs_configuration: {
414
+ logs_encryption_configuration: {
415
+ encryption_strategy: ("CUSTOMER_MANAGED" | "AWS_OWNED"),
416
+ kms_key_arn: ::String?,
417
+ encryption_conflict_resolution_strategy: ("ALLOW" | "SKIP")?
418
+ }?,
419
+ backup_configuration: {
420
+ region: ::String,
421
+ kms_key_arn: ::String?
422
+ }?
423
+ }?
424
+ }
425
+ }
426
+ ) -> _UpdateCentralizationRuleForOrganizationResponseSuccess
427
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCentralizationRuleForOrganizationResponseSuccess
428
+
294
429
  interface _UpdateTelemetryRuleResponseSuccess
295
430
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTelemetryRuleOutput]
296
431
  def rule_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -14,11 +14,57 @@ module Aws::ObservabilityAdmin
14
14
  SENSITIVE: []
15
15
  end
16
16
 
17
+ class CentralizationRule
18
+ attr_accessor source: Types::CentralizationRuleSource
19
+ attr_accessor destination: Types::CentralizationRuleDestination
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class CentralizationRuleDestination
24
+ attr_accessor region: ::String
25
+ attr_accessor account: ::String
26
+ attr_accessor destination_logs_configuration: Types::DestinationLogsConfiguration
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class CentralizationRuleSource
31
+ attr_accessor regions: ::Array[::String]
32
+ attr_accessor scope: ::String
33
+ attr_accessor source_logs_configuration: Types::SourceLogsConfiguration
34
+ SENSITIVE: []
35
+ end
36
+
37
+ class CentralizationRuleSummary
38
+ attr_accessor rule_name: ::String
39
+ attr_accessor rule_arn: ::String
40
+ attr_accessor creator_account_id: ::String
41
+ attr_accessor created_time_stamp: ::Integer
42
+ attr_accessor created_region: ::String
43
+ attr_accessor last_update_time_stamp: ::Integer
44
+ attr_accessor rule_health: ("Healthy" | "Unhealthy" | "Provisioning")
45
+ attr_accessor failure_reason: ("TRUSTED_ACCESS_NOT_ENABLED" | "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION" | "INTERNAL_SERVER_ERROR")
46
+ attr_accessor destination_account_id: ::String
47
+ attr_accessor destination_region: ::String
48
+ SENSITIVE: []
49
+ end
50
+
17
51
  class ConflictException
18
52
  attr_accessor message: ::String
19
53
  SENSITIVE: []
20
54
  end
21
55
 
56
+ class CreateCentralizationRuleForOrganizationInput
57
+ attr_accessor rule_name: ::String
58
+ attr_accessor rule: Types::CentralizationRule
59
+ attr_accessor tags: ::Hash[::String, ::String]
60
+ SENSITIVE: []
61
+ end
62
+
63
+ class CreateCentralizationRuleForOrganizationOutput
64
+ attr_accessor rule_arn: ::String
65
+ SENSITIVE: []
66
+ end
67
+
22
68
  class CreateTelemetryRuleForOrganizationInput
23
69
  attr_accessor rule_name: ::String
24
70
  attr_accessor rule: Types::TelemetryRule
@@ -43,6 +89,11 @@ module Aws::ObservabilityAdmin
43
89
  SENSITIVE: []
44
90
  end
45
91
 
92
+ class DeleteCentralizationRuleForOrganizationInput
93
+ attr_accessor rule_identifier: ::String
94
+ SENSITIVE: []
95
+ end
96
+
46
97
  class DeleteTelemetryRuleForOrganizationInput
47
98
  attr_accessor rule_identifier: ::String
48
99
  SENSITIVE: []
@@ -53,6 +104,36 @@ module Aws::ObservabilityAdmin
53
104
  SENSITIVE: []
54
105
  end
55
106
 
107
+ class DestinationLogsConfiguration
108
+ attr_accessor logs_encryption_configuration: Types::LogsEncryptionConfiguration
109
+ attr_accessor backup_configuration: Types::LogsBackupConfiguration
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class GetCentralizationRuleForOrganizationInput
114
+ attr_accessor rule_identifier: ::String
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class GetCentralizationRuleForOrganizationOutput
119
+ attr_accessor rule_name: ::String
120
+ attr_accessor rule_arn: ::String
121
+ attr_accessor creator_account_id: ::String
122
+ attr_accessor created_time_stamp: ::Integer
123
+ attr_accessor created_region: ::String
124
+ attr_accessor last_update_time_stamp: ::Integer
125
+ attr_accessor rule_health: ("Healthy" | "Unhealthy" | "Provisioning")
126
+ attr_accessor failure_reason: ("TRUSTED_ACCESS_NOT_ENABLED" | "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION" | "INTERNAL_SERVER_ERROR")
127
+ attr_accessor centralization_rule: Types::CentralizationRule
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class GetTelemetryEnrichmentStatusOutput
132
+ attr_accessor status: ("Running" | "Stopped" | "Impaired")
133
+ attr_accessor aws_resource_explorer_managed_view_arn: ::String
134
+ SENSITIVE: []
135
+ end
136
+
56
137
  class GetTelemetryEvaluationStatusForOrganizationOutput
57
138
  attr_accessor status: ("NOT_STARTED" | "STARTING" | "FAILED_START" | "RUNNING" | "STOPPING" | "FAILED_STOP" | "STOPPED")
58
139
  attr_accessor failure_reason: ::String
@@ -99,6 +180,20 @@ module Aws::ObservabilityAdmin
99
180
  SENSITIVE: []
100
181
  end
101
182
 
183
+ class ListCentralizationRulesForOrganizationInput
184
+ attr_accessor rule_name_prefix: ::String
185
+ attr_accessor all_regions: bool
186
+ attr_accessor max_results: ::Integer
187
+ attr_accessor next_token: ::String
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class ListCentralizationRulesForOrganizationOutput
192
+ attr_accessor centralization_rule_summaries: ::Array[Types::CentralizationRuleSummary]
193
+ attr_accessor next_token: ::String
194
+ SENSITIVE: []
195
+ end
196
+
102
197
  class ListResourceTelemetryForOrganizationInput
103
198
  attr_accessor account_identifiers: ::Array[::String]
104
199
  attr_accessor resource_identifier_prefix: ::String
@@ -170,6 +265,19 @@ module Aws::ObservabilityAdmin
170
265
  SENSITIVE: []
171
266
  end
172
267
 
268
+ class LogsBackupConfiguration
269
+ attr_accessor region: ::String
270
+ attr_accessor kms_key_arn: ::String
271
+ SENSITIVE: []
272
+ end
273
+
274
+ class LogsEncryptionConfiguration
275
+ attr_accessor encryption_strategy: ("CUSTOMER_MANAGED" | "AWS_OWNED")
276
+ attr_accessor kms_key_arn: ::String
277
+ attr_accessor encryption_conflict_resolution_strategy: ("ALLOW" | "SKIP")
278
+ SENSITIVE: []
279
+ end
280
+
173
281
  class ResourceNotFoundException
174
282
  attr_accessor message: ::String
175
283
  SENSITIVE: []
@@ -181,6 +289,23 @@ module Aws::ObservabilityAdmin
181
289
  SENSITIVE: []
182
290
  end
183
291
 
292
+ class SourceLogsConfiguration
293
+ attr_accessor log_group_selection_criteria: ::String
294
+ attr_accessor encrypted_log_group_strategy: ("ALLOW" | "SKIP")
295
+ SENSITIVE: []
296
+ end
297
+
298
+ class StartTelemetryEnrichmentOutput
299
+ attr_accessor status: ("Running" | "Stopped" | "Impaired")
300
+ attr_accessor aws_resource_explorer_managed_view_arn: ::String
301
+ SENSITIVE: []
302
+ end
303
+
304
+ class StopTelemetryEnrichmentOutput
305
+ attr_accessor status: ("Running" | "Stopped" | "Impaired")
306
+ SENSITIVE: []
307
+ end
308
+
184
309
  class TagResourceInput
185
310
  attr_accessor resource_arn: ::String
186
311
  attr_accessor tags: ::Hash[::String, ::String]
@@ -235,6 +360,17 @@ module Aws::ObservabilityAdmin
235
360
  SENSITIVE: []
236
361
  end
237
362
 
363
+ class UpdateCentralizationRuleForOrganizationInput
364
+ attr_accessor rule_identifier: ::String
365
+ attr_accessor rule: Types::CentralizationRule
366
+ SENSITIVE: []
367
+ end
368
+
369
+ class UpdateCentralizationRuleForOrganizationOutput
370
+ attr_accessor rule_arn: ::String
371
+ SENSITIVE: []
372
+ end
373
+
238
374
  class UpdateTelemetryRuleForOrganizationInput
239
375
  attr_accessor rule_identifier: ::String
240
376
  attr_accessor rule: Types::TelemetryRule
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-observabilityadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services