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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ec32c0a0480367cbf12e3ea929838e586abb2cc612a2e0899bcdbf9e3a7876e
|
4
|
+
data.tar.gz: cb8f0d4107ccf44c532392a36c4402fc16f58fd91fe1cbe28c34484d7a1c75f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fdbbb4d06f8f0edfb71ca28e4742c712fd19522c053c6f242d74b4ab32da218f80152a9ec0a14e4dbb8048141a2425515060c69d1708601a70b09c34ab9a3bc
|
7
|
+
data.tar.gz: e0998c9f7ac89063714d4502e157604a234dbbe6f1fdd246350f81075204395c2b936b967e55eceb38266326a2d5da52ae3f007f7c6fc241569287f48eeea6ab
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2025-09-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - CloudWatch Observability Admin adds the ability to enable telemetry centralization in customers' Organizations. The release introduces new APIs to manage centralization rules, which define settings to replicate telemetry data to a central destination in the customers' Organization.
|
8
|
+
|
4
9
|
1.12.0 (2025-08-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -476,6 +476,75 @@ module Aws::ObservabilityAdmin
|
|
476
476
|
|
477
477
|
# @!group API Operations
|
478
478
|
|
479
|
+
# Creates a centralization rule that applies across an Amazon Web
|
480
|
+
# Services Organization. This operation can only be called by the
|
481
|
+
# organization's management account or a delegated administrator
|
482
|
+
# account.
|
483
|
+
#
|
484
|
+
# @option params [required, String] :rule_name
|
485
|
+
# A unique name for the organization-wide centralization rule being
|
486
|
+
# created.
|
487
|
+
#
|
488
|
+
# @option params [required, Types::CentralizationRule] :rule
|
489
|
+
# The configuration details for the organization-wide centralization
|
490
|
+
# rule, including the source configuration and the destination
|
491
|
+
# configuration to centralize telemetry data across the organization.
|
492
|
+
#
|
493
|
+
# @option params [Hash<String,String>] :tags
|
494
|
+
# The key-value pairs to associate with the organization telemetry rule
|
495
|
+
# resource for categorization and management purposes.
|
496
|
+
#
|
497
|
+
# @return [Types::CreateCentralizationRuleForOrganizationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
498
|
+
#
|
499
|
+
# * {Types::CreateCentralizationRuleForOrganizationOutput#rule_arn #rule_arn} => String
|
500
|
+
#
|
501
|
+
# @example Request syntax with placeholder values
|
502
|
+
#
|
503
|
+
# resp = client.create_centralization_rule_for_organization({
|
504
|
+
# rule_name: "RuleName", # required
|
505
|
+
# rule: { # required
|
506
|
+
# source: { # required
|
507
|
+
# regions: ["Region"], # required
|
508
|
+
# scope: "SourceFilterString",
|
509
|
+
# source_logs_configuration: {
|
510
|
+
# log_group_selection_criteria: "LogsFilterString", # required
|
511
|
+
# encrypted_log_group_strategy: "ALLOW", # required, accepts ALLOW, SKIP
|
512
|
+
# },
|
513
|
+
# },
|
514
|
+
# destination: { # required
|
515
|
+
# region: "Region", # required
|
516
|
+
# account: "AccountIdentifier",
|
517
|
+
# destination_logs_configuration: {
|
518
|
+
# logs_encryption_configuration: {
|
519
|
+
# encryption_strategy: "CUSTOMER_MANAGED", # required, accepts CUSTOMER_MANAGED, AWS_OWNED
|
520
|
+
# kms_key_arn: "ResourceArn",
|
521
|
+
# encryption_conflict_resolution_strategy: "ALLOW", # accepts ALLOW, SKIP
|
522
|
+
# },
|
523
|
+
# backup_configuration: {
|
524
|
+
# region: "Region", # required
|
525
|
+
# kms_key_arn: "ResourceArn",
|
526
|
+
# },
|
527
|
+
# },
|
528
|
+
# },
|
529
|
+
# },
|
530
|
+
# tags: {
|
531
|
+
# "TagKey" => "TagValue",
|
532
|
+
# },
|
533
|
+
# })
|
534
|
+
#
|
535
|
+
# @example Response structure
|
536
|
+
#
|
537
|
+
# resp.rule_arn #=> String
|
538
|
+
#
|
539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CreateCentralizationRuleForOrganization AWS API Documentation
|
540
|
+
#
|
541
|
+
# @overload create_centralization_rule_for_organization(params = {})
|
542
|
+
# @param [Hash] params ({})
|
543
|
+
def create_centralization_rule_for_organization(params = {}, options = {})
|
544
|
+
req = build_request(:create_centralization_rule_for_organization, params)
|
545
|
+
req.send_request(options)
|
546
|
+
end
|
547
|
+
|
479
548
|
# Creates a telemetry rule that defines how telemetry should be
|
480
549
|
# configured for Amazon Web Services resources in your account. The rule
|
481
550
|
# specifies which resources should have telemetry enabled and how that
|
@@ -595,6 +664,31 @@ module Aws::ObservabilityAdmin
|
|
595
664
|
req.send_request(options)
|
596
665
|
end
|
597
666
|
|
667
|
+
# Deletes an organization-wide centralization rule. This operation can
|
668
|
+
# only be called by the organization's management account or a
|
669
|
+
# delegated administrator account.
|
670
|
+
#
|
671
|
+
# @option params [required, String] :rule_identifier
|
672
|
+
# The identifier (name or ARN) of the organization centralization rule
|
673
|
+
# to delete.
|
674
|
+
#
|
675
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
676
|
+
#
|
677
|
+
# @example Request syntax with placeholder values
|
678
|
+
#
|
679
|
+
# resp = client.delete_centralization_rule_for_organization({
|
680
|
+
# rule_identifier: "RuleIdentifier", # required
|
681
|
+
# })
|
682
|
+
#
|
683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/DeleteCentralizationRuleForOrganization AWS API Documentation
|
684
|
+
#
|
685
|
+
# @overload delete_centralization_rule_for_organization(params = {})
|
686
|
+
# @param [Hash] params ({})
|
687
|
+
def delete_centralization_rule_for_organization(params = {}, options = {})
|
688
|
+
req = build_request(:delete_centralization_rule_for_organization, params)
|
689
|
+
req.send_request(options)
|
690
|
+
end
|
691
|
+
|
598
692
|
# Deletes a telemetry rule from your account. Any telemetry
|
599
693
|
# configurations previously created by the rule will remain but no new
|
600
694
|
# resources will be configured by this rule.
|
@@ -644,6 +738,64 @@ module Aws::ObservabilityAdmin
|
|
644
738
|
req.send_request(options)
|
645
739
|
end
|
646
740
|
|
741
|
+
# Retrieves the details of a specific organization centralization rule.
|
742
|
+
# This operation can only be called by the organization's management
|
743
|
+
# account or a delegated administrator account.
|
744
|
+
#
|
745
|
+
# @option params [required, String] :rule_identifier
|
746
|
+
# The identifier (name or ARN) of the organization centralization rule
|
747
|
+
# to retrieve.
|
748
|
+
#
|
749
|
+
# @return [Types::GetCentralizationRuleForOrganizationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
750
|
+
#
|
751
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#rule_name #rule_name} => String
|
752
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#rule_arn #rule_arn} => String
|
753
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#creator_account_id #creator_account_id} => String
|
754
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#created_time_stamp #created_time_stamp} => Integer
|
755
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#created_region #created_region} => String
|
756
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#last_update_time_stamp #last_update_time_stamp} => Integer
|
757
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#rule_health #rule_health} => String
|
758
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#failure_reason #failure_reason} => String
|
759
|
+
# * {Types::GetCentralizationRuleForOrganizationOutput#centralization_rule #centralization_rule} => Types::CentralizationRule
|
760
|
+
#
|
761
|
+
# @example Request syntax with placeholder values
|
762
|
+
#
|
763
|
+
# resp = client.get_centralization_rule_for_organization({
|
764
|
+
# rule_identifier: "RuleIdentifier", # required
|
765
|
+
# })
|
766
|
+
#
|
767
|
+
# @example Response structure
|
768
|
+
#
|
769
|
+
# resp.rule_name #=> String
|
770
|
+
# resp.rule_arn #=> String
|
771
|
+
# resp.creator_account_id #=> String
|
772
|
+
# resp.created_time_stamp #=> Integer
|
773
|
+
# resp.created_region #=> String
|
774
|
+
# resp.last_update_time_stamp #=> Integer
|
775
|
+
# resp.rule_health #=> String, one of "Healthy", "Unhealthy", "Provisioning"
|
776
|
+
# resp.failure_reason #=> String, one of "TRUSTED_ACCESS_NOT_ENABLED", "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION", "INTERNAL_SERVER_ERROR"
|
777
|
+
# resp.centralization_rule.source.regions #=> Array
|
778
|
+
# resp.centralization_rule.source.regions[0] #=> String
|
779
|
+
# resp.centralization_rule.source.scope #=> String
|
780
|
+
# resp.centralization_rule.source.source_logs_configuration.log_group_selection_criteria #=> String
|
781
|
+
# resp.centralization_rule.source.source_logs_configuration.encrypted_log_group_strategy #=> String, one of "ALLOW", "SKIP"
|
782
|
+
# resp.centralization_rule.destination.region #=> String
|
783
|
+
# resp.centralization_rule.destination.account #=> String
|
784
|
+
# resp.centralization_rule.destination.destination_logs_configuration.logs_encryption_configuration.encryption_strategy #=> String, one of "CUSTOMER_MANAGED", "AWS_OWNED"
|
785
|
+
# resp.centralization_rule.destination.destination_logs_configuration.logs_encryption_configuration.kms_key_arn #=> String
|
786
|
+
# resp.centralization_rule.destination.destination_logs_configuration.logs_encryption_configuration.encryption_conflict_resolution_strategy #=> String, one of "ALLOW", "SKIP"
|
787
|
+
# resp.centralization_rule.destination.destination_logs_configuration.backup_configuration.region #=> String
|
788
|
+
# resp.centralization_rule.destination.destination_logs_configuration.backup_configuration.kms_key_arn #=> String
|
789
|
+
#
|
790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetCentralizationRuleForOrganization AWS API Documentation
|
791
|
+
#
|
792
|
+
# @overload get_centralization_rule_for_organization(params = {})
|
793
|
+
# @param [Hash] params ({})
|
794
|
+
def get_centralization_rule_for_organization(params = {}, options = {})
|
795
|
+
req = build_request(:get_centralization_rule_for_organization, params)
|
796
|
+
req.send_request(options)
|
797
|
+
end
|
798
|
+
|
647
799
|
# Returns the current onboarding status of the telemetry config feature,
|
648
800
|
# including the status of the feature and reason the feature failed to
|
649
801
|
# start or stop.
|
@@ -784,6 +936,66 @@ module Aws::ObservabilityAdmin
|
|
784
936
|
req.send_request(options)
|
785
937
|
end
|
786
938
|
|
939
|
+
# Lists all centralization rules in your organization. This operation
|
940
|
+
# can only be called by the organization's management account or a
|
941
|
+
# delegated administrator account.
|
942
|
+
#
|
943
|
+
# @option params [String] :rule_name_prefix
|
944
|
+
# A string to filter organization centralization rules whose names begin
|
945
|
+
# with the specified prefix.
|
946
|
+
#
|
947
|
+
# @option params [Boolean] :all_regions
|
948
|
+
# A flag determining whether to return organization centralization rules
|
949
|
+
# from all regions or only the current region.
|
950
|
+
#
|
951
|
+
# @option params [Integer] :max_results
|
952
|
+
# The maximum number of organization centralization rules to return in a
|
953
|
+
# single call.
|
954
|
+
#
|
955
|
+
# @option params [String] :next_token
|
956
|
+
# The token for the next set of results. A previous call generates this
|
957
|
+
# token.
|
958
|
+
#
|
959
|
+
# @return [Types::ListCentralizationRulesForOrganizationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
960
|
+
#
|
961
|
+
# * {Types::ListCentralizationRulesForOrganizationOutput#centralization_rule_summaries #centralization_rule_summaries} => Array<Types::CentralizationRuleSummary>
|
962
|
+
# * {Types::ListCentralizationRulesForOrganizationOutput#next_token #next_token} => String
|
963
|
+
#
|
964
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
965
|
+
#
|
966
|
+
# @example Request syntax with placeholder values
|
967
|
+
#
|
968
|
+
# resp = client.list_centralization_rules_for_organization({
|
969
|
+
# rule_name_prefix: "ListCentralizationRulesForOrganizationInputRuleNamePrefixString",
|
970
|
+
# all_regions: false,
|
971
|
+
# max_results: 1,
|
972
|
+
# next_token: "NextToken",
|
973
|
+
# })
|
974
|
+
#
|
975
|
+
# @example Response structure
|
976
|
+
#
|
977
|
+
# resp.centralization_rule_summaries #=> Array
|
978
|
+
# resp.centralization_rule_summaries[0].rule_name #=> String
|
979
|
+
# resp.centralization_rule_summaries[0].rule_arn #=> String
|
980
|
+
# resp.centralization_rule_summaries[0].creator_account_id #=> String
|
981
|
+
# resp.centralization_rule_summaries[0].created_time_stamp #=> Integer
|
982
|
+
# resp.centralization_rule_summaries[0].created_region #=> String
|
983
|
+
# resp.centralization_rule_summaries[0].last_update_time_stamp #=> Integer
|
984
|
+
# resp.centralization_rule_summaries[0].rule_health #=> String, one of "Healthy", "Unhealthy", "Provisioning"
|
985
|
+
# resp.centralization_rule_summaries[0].failure_reason #=> String, one of "TRUSTED_ACCESS_NOT_ENABLED", "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION", "INTERNAL_SERVER_ERROR"
|
986
|
+
# resp.centralization_rule_summaries[0].destination_account_id #=> String
|
987
|
+
# resp.centralization_rule_summaries[0].destination_region #=> String
|
988
|
+
# resp.next_token #=> String
|
989
|
+
#
|
990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListCentralizationRulesForOrganization AWS API Documentation
|
991
|
+
#
|
992
|
+
# @overload list_centralization_rules_for_organization(params = {})
|
993
|
+
# @param [Hash] params ({})
|
994
|
+
def list_centralization_rules_for_organization(params = {}, options = {})
|
995
|
+
req = build_request(:list_centralization_rules_for_organization, params)
|
996
|
+
req.send_request(options)
|
997
|
+
end
|
998
|
+
|
787
999
|
# Returns a list of telemetry configurations for Amazon Web Services
|
788
1000
|
# resources supported by telemetry config. For more information, see
|
789
1001
|
# [Auditing CloudWatch telemetry configurations][1].
|
@@ -1200,6 +1412,68 @@ module Aws::ObservabilityAdmin
|
|
1200
1412
|
req.send_request(options)
|
1201
1413
|
end
|
1202
1414
|
|
1415
|
+
# Updates an existing centralization rule that applies across an Amazon
|
1416
|
+
# Web Services Organization. This operation can only be called by the
|
1417
|
+
# organization's management account or a delegated administrator
|
1418
|
+
# account.
|
1419
|
+
#
|
1420
|
+
# @option params [required, String] :rule_identifier
|
1421
|
+
# The identifier (name or ARN) of the organization centralization rule
|
1422
|
+
# to update.
|
1423
|
+
#
|
1424
|
+
# @option params [required, Types::CentralizationRule] :rule
|
1425
|
+
# The configuration details for the organization-wide centralization
|
1426
|
+
# rule, including the source configuration and the destination
|
1427
|
+
# configuration to centralize telemetry data across the organization.
|
1428
|
+
#
|
1429
|
+
# @return [Types::UpdateCentralizationRuleForOrganizationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1430
|
+
#
|
1431
|
+
# * {Types::UpdateCentralizationRuleForOrganizationOutput#rule_arn #rule_arn} => String
|
1432
|
+
#
|
1433
|
+
# @example Request syntax with placeholder values
|
1434
|
+
#
|
1435
|
+
# resp = client.update_centralization_rule_for_organization({
|
1436
|
+
# rule_identifier: "RuleIdentifier", # required
|
1437
|
+
# rule: { # required
|
1438
|
+
# source: { # required
|
1439
|
+
# regions: ["Region"], # required
|
1440
|
+
# scope: "SourceFilterString",
|
1441
|
+
# source_logs_configuration: {
|
1442
|
+
# log_group_selection_criteria: "LogsFilterString", # required
|
1443
|
+
# encrypted_log_group_strategy: "ALLOW", # required, accepts ALLOW, SKIP
|
1444
|
+
# },
|
1445
|
+
# },
|
1446
|
+
# destination: { # required
|
1447
|
+
# region: "Region", # required
|
1448
|
+
# account: "AccountIdentifier",
|
1449
|
+
# destination_logs_configuration: {
|
1450
|
+
# logs_encryption_configuration: {
|
1451
|
+
# encryption_strategy: "CUSTOMER_MANAGED", # required, accepts CUSTOMER_MANAGED, AWS_OWNED
|
1452
|
+
# kms_key_arn: "ResourceArn",
|
1453
|
+
# encryption_conflict_resolution_strategy: "ALLOW", # accepts ALLOW, SKIP
|
1454
|
+
# },
|
1455
|
+
# backup_configuration: {
|
1456
|
+
# region: "Region", # required
|
1457
|
+
# kms_key_arn: "ResourceArn",
|
1458
|
+
# },
|
1459
|
+
# },
|
1460
|
+
# },
|
1461
|
+
# },
|
1462
|
+
# })
|
1463
|
+
#
|
1464
|
+
# @example Response structure
|
1465
|
+
#
|
1466
|
+
# resp.rule_arn #=> String
|
1467
|
+
#
|
1468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/UpdateCentralizationRuleForOrganization AWS API Documentation
|
1469
|
+
#
|
1470
|
+
# @overload update_centralization_rule_for_organization(params = {})
|
1471
|
+
# @param [Hash] params ({})
|
1472
|
+
def update_centralization_rule_for_organization(params = {}, options = {})
|
1473
|
+
req = build_request(:update_centralization_rule_for_organization, params)
|
1474
|
+
req.send_request(options)
|
1475
|
+
end
|
1476
|
+
|
1203
1477
|
# Updates an existing telemetry rule in your account.
|
1204
1478
|
#
|
1205
1479
|
# @option params [required, String] :rule_identifier
|
@@ -1318,7 +1592,7 @@ module Aws::ObservabilityAdmin
|
|
1318
1592
|
tracer: tracer
|
1319
1593
|
)
|
1320
1594
|
context[:gem_name] = 'aws-sdk-observabilityadmin'
|
1321
|
-
context[:gem_version] = '1.
|
1595
|
+
context[:gem_version] = '1.13.0'
|
1322
1596
|
Seahorse::Client::Request.new(handlers, context)
|
1323
1597
|
end
|
1324
1598
|
|