aws-sdk-observabilityadmin 1.52.0 → 1.54.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-observabilityadmin/client.rb +826 -6
- data/lib/aws-sdk-observabilityadmin/client_api.rb +730 -0
- data/lib/aws-sdk-observabilityadmin/types.rb +1793 -33
- data/lib/aws-sdk-observabilityadmin.rb +1 -1
- data/sig/client.rbs +272 -0
- data/sig/params.rbs +8 -0
- data/sig/types.rbs +538 -0
- metadata +3 -3
|
@@ -520,6 +520,9 @@ module Aws::ObservabilityAdmin
|
|
|
520
520
|
# source_metrics_configuration: {
|
|
521
521
|
# metrics_selection_criteria: "MetricsFilterString",
|
|
522
522
|
# },
|
|
523
|
+
# source_profiles_configuration: {
|
|
524
|
+
# profiles_selection_criteria: "ProfilesFilterString",
|
|
525
|
+
# },
|
|
523
526
|
# source_context_graph_configuration: {
|
|
524
527
|
# },
|
|
525
528
|
# },
|
|
@@ -551,6 +554,11 @@ module Aws::ObservabilityAdmin
|
|
|
551
554
|
# region: "Region", # required
|
|
552
555
|
# },
|
|
553
556
|
# },
|
|
557
|
+
# destination_profiles_configuration: {
|
|
558
|
+
# backup_configuration: {
|
|
559
|
+
# region: "Region", # required
|
|
560
|
+
# },
|
|
561
|
+
# },
|
|
554
562
|
# },
|
|
555
563
|
# },
|
|
556
564
|
# tags: {
|
|
@@ -571,6 +579,82 @@ module Aws::ObservabilityAdmin
|
|
|
571
579
|
req.send_request(options)
|
|
572
580
|
end
|
|
573
581
|
|
|
582
|
+
# Creates a connector to a third-party cloud provider. With a connector,
|
|
583
|
+
# you can discover resources in the provider and collect their
|
|
584
|
+
# telemetry. Currently, Microsoft Azure is the only supported provider.
|
|
585
|
+
#
|
|
586
|
+
# @option params [required, Types::ConnectorConfiguration] :connector_configuration
|
|
587
|
+
# The configuration for connecting to the third-party cloud provider.
|
|
588
|
+
#
|
|
589
|
+
# @option params [required, String] :role_arn
|
|
590
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Identity and
|
|
591
|
+
# Access Management (IAM) role that CloudWatch assumes to get
|
|
592
|
+
# credentials for the third-party cloud provider. The role must trust
|
|
593
|
+
# the Amazon CloudWatch Observability Admin service principal,
|
|
594
|
+
# `observabilityadmin.amazonaws.com`. The role must also allow
|
|
595
|
+
# `sts:GetWebIdentityToken` for the provider's token exchange audience.
|
|
596
|
+
#
|
|
597
|
+
# @option params [required, String] :name
|
|
598
|
+
# The name of the connector. The name must be unique in the account and
|
|
599
|
+
# Region (case-sensitive). If another connector already uses the name,
|
|
600
|
+
# the request fails with a `ConflictException`.
|
|
601
|
+
#
|
|
602
|
+
# The name can contain letters, digits, hyphens (-), underscores (\_)
|
|
603
|
+
# and periods (.), and must start with a letter.
|
|
604
|
+
#
|
|
605
|
+
# @option params [Hash<String,String>] :tags
|
|
606
|
+
# The tags that you want to apply to the connector.
|
|
607
|
+
#
|
|
608
|
+
# @option params [String] :client_token
|
|
609
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
610
|
+
# operation completes no more than one time. If you use an Amazon Web
|
|
611
|
+
# Services SDK, the SDK generates this value and reuses it on retries.
|
|
612
|
+
# If this token matches a previous request with the same parameters, the
|
|
613
|
+
# service returns the connector from the first request without an error.
|
|
614
|
+
# If you use the same token with different parameters, including
|
|
615
|
+
# different tags, the service returns a `ValidationException`. This
|
|
616
|
+
# operation is idempotent when you use the same token and parameters.
|
|
617
|
+
#
|
|
618
|
+
# @return [Types::CreateConnectorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
619
|
+
#
|
|
620
|
+
# * {Types::CreateConnectorOutput#connector #connector} => Types::Connector
|
|
621
|
+
#
|
|
622
|
+
# @example Request syntax with placeholder values
|
|
623
|
+
#
|
|
624
|
+
# resp = client.create_connector({
|
|
625
|
+
# connector_configuration: { # required
|
|
626
|
+
# azure: {
|
|
627
|
+
# tenant_identifier: "AzureTenantIdentifier", # required
|
|
628
|
+
# client_identifier: "AzureClientIdentifier", # required
|
|
629
|
+
# },
|
|
630
|
+
# },
|
|
631
|
+
# role_arn: "RoleArn", # required
|
|
632
|
+
# name: "ConnectorName", # required
|
|
633
|
+
# tags: {
|
|
634
|
+
# "TagKey" => "TagValue",
|
|
635
|
+
# },
|
|
636
|
+
# client_token: "ClientToken",
|
|
637
|
+
# })
|
|
638
|
+
#
|
|
639
|
+
# @example Response structure
|
|
640
|
+
#
|
|
641
|
+
# resp.connector.arn #=> String
|
|
642
|
+
# resp.connector.provider #=> String, one of "AZURE"
|
|
643
|
+
# resp.connector.connector_configuration.azure.tenant_identifier #=> String
|
|
644
|
+
# resp.connector.connector_configuration.azure.client_identifier #=> String
|
|
645
|
+
# resp.connector.role_arn #=> String
|
|
646
|
+
# resp.connector.name #=> String
|
|
647
|
+
# resp.connector.created_time_stamp #=> Integer
|
|
648
|
+
#
|
|
649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/CreateConnector AWS API Documentation
|
|
650
|
+
#
|
|
651
|
+
# @overload create_connector(params = {})
|
|
652
|
+
# @param [Hash] params ({})
|
|
653
|
+
def create_connector(params = {}, options = {})
|
|
654
|
+
req = build_request(:create_connector, params)
|
|
655
|
+
req.send_request(options)
|
|
656
|
+
end
|
|
657
|
+
|
|
574
658
|
# Creates a dataset integration for the caller's account in the current
|
|
575
659
|
# region and returns its ARN.
|
|
576
660
|
#
|
|
@@ -995,6 +1079,32 @@ module Aws::ObservabilityAdmin
|
|
|
995
1079
|
req.send_request(options)
|
|
996
1080
|
end
|
|
997
1081
|
|
|
1082
|
+
# Deletes a connector and its telemetry manifest.
|
|
1083
|
+
#
|
|
1084
|
+
# @option params [required, String] :connector_identifier
|
|
1085
|
+
# The connector to delete. Specify one of the following:
|
|
1086
|
+
#
|
|
1087
|
+
# * The Amazon Resource Name (ARN) of the connector
|
|
1088
|
+
#
|
|
1089
|
+
# * The ID of the connector
|
|
1090
|
+
#
|
|
1091
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1092
|
+
#
|
|
1093
|
+
# @example Request syntax with placeholder values
|
|
1094
|
+
#
|
|
1095
|
+
# resp = client.delete_connector({
|
|
1096
|
+
# connector_identifier: "ConnectorIdentifier", # required
|
|
1097
|
+
# })
|
|
1098
|
+
#
|
|
1099
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/DeleteConnector AWS API Documentation
|
|
1100
|
+
#
|
|
1101
|
+
# @overload delete_connector(params = {})
|
|
1102
|
+
# @param [Hash] params ({})
|
|
1103
|
+
def delete_connector(params = {}, options = {})
|
|
1104
|
+
req = build_request(:delete_connector, params)
|
|
1105
|
+
req.send_request(options)
|
|
1106
|
+
end
|
|
1107
|
+
|
|
998
1108
|
# Deletes a dataset integration for the caller's account in the current
|
|
999
1109
|
# region. This operation is idempotent; if you submit the same delete
|
|
1000
1110
|
# more than once, each call succeeds.
|
|
@@ -1165,6 +1275,7 @@ module Aws::ObservabilityAdmin
|
|
|
1165
1275
|
# resp.centralization_rule.source.source_logs_configuration.data_source_selection_criteria #=> String
|
|
1166
1276
|
# resp.centralization_rule.source.source_logs_configuration.encrypted_log_group_strategy #=> String, one of "ALLOW", "SKIP"
|
|
1167
1277
|
# resp.centralization_rule.source.source_metrics_configuration.metrics_selection_criteria #=> String
|
|
1278
|
+
# resp.centralization_rule.source.source_profiles_configuration.profiles_selection_criteria #=> String
|
|
1168
1279
|
# resp.centralization_rule.destination.region #=> String
|
|
1169
1280
|
# resp.centralization_rule.destination.account #=> String
|
|
1170
1281
|
# resp.centralization_rule.destination.destination_logs_configuration.logs_encryption_configuration.encryption_strategy #=> String, one of "CUSTOMER_MANAGED", "AWS_OWNED"
|
|
@@ -1178,6 +1289,7 @@ module Aws::ObservabilityAdmin
|
|
|
1178
1289
|
# resp.centralization_rule.destination.destination_logs_configuration.tag_propagation_configuration.tag_conflict_resolution_strategy #=> String, one of "IN_SYNC", "ADD_ONLY", "UPDATE_SYNC"
|
|
1179
1290
|
# resp.centralization_rule.destination.destination_logs_configuration.log_group_deletion_protection #=> String, one of "ENABLED"
|
|
1180
1291
|
# resp.centralization_rule.destination.destination_metrics_configuration.backup_configuration.region #=> String
|
|
1292
|
+
# resp.centralization_rule.destination.destination_profiles_configuration.backup_configuration.region #=> String
|
|
1181
1293
|
#
|
|
1182
1294
|
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetCentralizationRuleForOrganization AWS API Documentation
|
|
1183
1295
|
#
|
|
@@ -1188,6 +1300,163 @@ module Aws::ObservabilityAdmin
|
|
|
1188
1300
|
req.send_request(options)
|
|
1189
1301
|
end
|
|
1190
1302
|
|
|
1303
|
+
# Retrieves the details of a connector.
|
|
1304
|
+
#
|
|
1305
|
+
# @option params [required, String] :connector_identifier
|
|
1306
|
+
# The connector. Specify one of the following:
|
|
1307
|
+
#
|
|
1308
|
+
# * The Amazon Resource Name (ARN) of the connector
|
|
1309
|
+
#
|
|
1310
|
+
# * The ID of the connector
|
|
1311
|
+
#
|
|
1312
|
+
# @return [Types::GetConnectorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1313
|
+
#
|
|
1314
|
+
# * {Types::GetConnectorOutput#connector #connector} => Types::Connector
|
|
1315
|
+
#
|
|
1316
|
+
# @example Request syntax with placeholder values
|
|
1317
|
+
#
|
|
1318
|
+
# resp = client.get_connector({
|
|
1319
|
+
# connector_identifier: "ConnectorIdentifier", # required
|
|
1320
|
+
# })
|
|
1321
|
+
#
|
|
1322
|
+
# @example Response structure
|
|
1323
|
+
#
|
|
1324
|
+
# resp.connector.arn #=> String
|
|
1325
|
+
# resp.connector.provider #=> String, one of "AZURE"
|
|
1326
|
+
# resp.connector.connector_configuration.azure.tenant_identifier #=> String
|
|
1327
|
+
# resp.connector.connector_configuration.azure.client_identifier #=> String
|
|
1328
|
+
# resp.connector.role_arn #=> String
|
|
1329
|
+
# resp.connector.name #=> String
|
|
1330
|
+
# resp.connector.created_time_stamp #=> Integer
|
|
1331
|
+
#
|
|
1332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetConnector AWS API Documentation
|
|
1333
|
+
#
|
|
1334
|
+
# @overload get_connector(params = {})
|
|
1335
|
+
# @param [Hash] params ({})
|
|
1336
|
+
def get_connector(params = {}, options = {})
|
|
1337
|
+
req = build_request(:get_connector, params)
|
|
1338
|
+
req.send_request(options)
|
|
1339
|
+
end
|
|
1340
|
+
|
|
1341
|
+
# Retrieves the telemetry manifest of a connector and its current
|
|
1342
|
+
# version. If the connector has no telemetry manifest, this operation
|
|
1343
|
+
# returns a `ResourceNotFoundException`.
|
|
1344
|
+
#
|
|
1345
|
+
# @option params [required, String] :connector_identifier
|
|
1346
|
+
# The connector. Specify one of the following:
|
|
1347
|
+
#
|
|
1348
|
+
# * The Amazon Resource Name (ARN) of the connector
|
|
1349
|
+
#
|
|
1350
|
+
# * The ID of the connector
|
|
1351
|
+
#
|
|
1352
|
+
# @return [Types::GetConnectorTelemetryManifestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1353
|
+
#
|
|
1354
|
+
# * {Types::GetConnectorTelemetryManifestOutput#manifest #manifest} => Types::TelemetryManifest
|
|
1355
|
+
# * {Types::GetConnectorTelemetryManifestOutput#version #version} => Integer
|
|
1356
|
+
# * {Types::GetConnectorTelemetryManifestOutput#last_update_time_stamp #last_update_time_stamp} => Integer
|
|
1357
|
+
#
|
|
1358
|
+
# @example Request syntax with placeholder values
|
|
1359
|
+
#
|
|
1360
|
+
# resp = client.get_connector_telemetry_manifest({
|
|
1361
|
+
# connector_identifier: "ConnectorIdentifier", # required
|
|
1362
|
+
# })
|
|
1363
|
+
#
|
|
1364
|
+
# @example Response structure
|
|
1365
|
+
#
|
|
1366
|
+
# resp.manifest.source.azure #=> Array
|
|
1367
|
+
# resp.manifest.source.azure[0].telemetry_types #=> Array
|
|
1368
|
+
# resp.manifest.source.azure[0].telemetry_types[0] #=> String, one of "ResourceLogs", "Metrics", "FlowLogs"
|
|
1369
|
+
# resp.manifest.source.azure[0].scope.subscriptions.ids #=> Array
|
|
1370
|
+
# resp.manifest.source.azure[0].scope.subscriptions.ids[0] #=> String
|
|
1371
|
+
# resp.manifest.source.azure[0].scope.regions #=> Array
|
|
1372
|
+
# resp.manifest.source.azure[0].scope.regions[0] #=> String
|
|
1373
|
+
# resp.manifest.source.azure[0].scope.resource_types #=> Array
|
|
1374
|
+
# resp.manifest.source.azure[0].scope.resource_types[0] #=> String
|
|
1375
|
+
# resp.manifest.source.azure[0].scope.tag_filters #=> Array
|
|
1376
|
+
# resp.manifest.source.azure[0].scope.tag_filters[0].key #=> String
|
|
1377
|
+
# resp.manifest.source.azure[0].scope.tag_filters[0].values #=> Array
|
|
1378
|
+
# resp.manifest.source.azure[0].scope.tag_filters[0].values[0] #=> String
|
|
1379
|
+
# resp.manifest.source.azure[0].scope.resources #=> Array
|
|
1380
|
+
# resp.manifest.source.azure[0].scope.resources[0].region #=> String
|
|
1381
|
+
# resp.manifest.source.azure[0].scope.resources[0].resource_ids #=> Array
|
|
1382
|
+
# resp.manifest.source.azure[0].scope.resources[0].resource_ids[0] #=> String
|
|
1383
|
+
# resp.manifest.infrastructure.azure.subscription_id #=> String
|
|
1384
|
+
# resp.manifest.infrastructure.azure.event_hubs #=> Array
|
|
1385
|
+
# resp.manifest.infrastructure.azure.event_hubs[0].tier #=> String, one of "Standard", "Premium"
|
|
1386
|
+
# resp.manifest.infrastructure.azure.event_hubs[0].partition_count #=> Integer
|
|
1387
|
+
# resp.manifest.infrastructure.azure.flow_logs.customer_managed.storage_accounts #=> Array
|
|
1388
|
+
# resp.manifest.infrastructure.azure.flow_logs.customer_managed.storage_accounts[0].region #=> String
|
|
1389
|
+
# resp.manifest.infrastructure.azure.flow_logs.customer_managed.storage_accounts[0].storage_account_ids #=> Array
|
|
1390
|
+
# resp.manifest.infrastructure.azure.flow_logs.customer_managed.storage_accounts[0].storage_account_ids[0] #=> String
|
|
1391
|
+
# resp.manifest.infrastructure.azure.flow_logs.aws_managed.retention_days #=> Integer
|
|
1392
|
+
# resp.version #=> Integer
|
|
1393
|
+
# resp.last_update_time_stamp #=> Integer
|
|
1394
|
+
#
|
|
1395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetConnectorTelemetryManifest AWS API Documentation
|
|
1396
|
+
#
|
|
1397
|
+
# @overload get_connector_telemetry_manifest(params = {})
|
|
1398
|
+
# @param [Hash] params ({})
|
|
1399
|
+
def get_connector_telemetry_manifest(params = {}, options = {})
|
|
1400
|
+
req = build_request(:get_connector_telemetry_manifest, params)
|
|
1401
|
+
req.send_request(options)
|
|
1402
|
+
end
|
|
1403
|
+
|
|
1404
|
+
# Generates the artifacts that you use to create the infrastructure in
|
|
1405
|
+
# your cloud provider that delivers the telemetry declared in the
|
|
1406
|
+
# connector's telemetry manifest. This operation doesn't change any
|
|
1407
|
+
# resources in your cloud provider or in Amazon Web Services.
|
|
1408
|
+
#
|
|
1409
|
+
# @option params [required, String] :connector_identifier
|
|
1410
|
+
# The connector whose telemetry manifest you want to generate the setup
|
|
1411
|
+
# from. Specify one of the following:
|
|
1412
|
+
#
|
|
1413
|
+
# * The Amazon Resource Name (ARN) of the connector
|
|
1414
|
+
#
|
|
1415
|
+
# * The ID of the connector
|
|
1416
|
+
#
|
|
1417
|
+
# @option params [String] :format
|
|
1418
|
+
# The format of the setup artifacts. If you omit this value, the service
|
|
1419
|
+
# uses the default format for the connector's provider (`BICEP` for an
|
|
1420
|
+
# Azure connector). If the provider doesn't support the format, the
|
|
1421
|
+
# service returns a `ValidationException`.
|
|
1422
|
+
#
|
|
1423
|
+
# @return [Types::GetConnectorTelemetrySetupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1424
|
+
#
|
|
1425
|
+
# * {Types::GetConnectorTelemetrySetupOutput#artifacts #artifacts} => Array<Types::SetupArtifact>
|
|
1426
|
+
# * {Types::GetConnectorTelemetrySetupOutput#required_permissions_to_apply #required_permissions_to_apply} => Array<String>
|
|
1427
|
+
# * {Types::GetConnectorTelemetrySetupOutput#format #format} => String
|
|
1428
|
+
# * {Types::GetConnectorTelemetrySetupOutput#provider #provider} => String
|
|
1429
|
+
# * {Types::GetConnectorTelemetrySetupOutput#manifest_version #manifest_version} => Integer
|
|
1430
|
+
#
|
|
1431
|
+
# @example Request syntax with placeholder values
|
|
1432
|
+
#
|
|
1433
|
+
# resp = client.get_connector_telemetry_setup({
|
|
1434
|
+
# connector_identifier: "ConnectorIdentifier", # required
|
|
1435
|
+
# format: "BICEP", # accepts BICEP
|
|
1436
|
+
# })
|
|
1437
|
+
#
|
|
1438
|
+
# @example Response structure
|
|
1439
|
+
#
|
|
1440
|
+
# resp.artifacts #=> Array
|
|
1441
|
+
# resp.artifacts[0].file_name #=> String
|
|
1442
|
+
# resp.artifacts[0].content #=> String
|
|
1443
|
+
# resp.artifacts[0].format #=> String, one of "BICEP"
|
|
1444
|
+
# resp.artifacts[0].content_type #=> String
|
|
1445
|
+
# resp.required_permissions_to_apply #=> Array
|
|
1446
|
+
# resp.required_permissions_to_apply[0] #=> String
|
|
1447
|
+
# resp.format #=> String, one of "BICEP"
|
|
1448
|
+
# resp.provider #=> String, one of "AZURE"
|
|
1449
|
+
# resp.manifest_version #=> Integer
|
|
1450
|
+
#
|
|
1451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetConnectorTelemetrySetup AWS API Documentation
|
|
1452
|
+
#
|
|
1453
|
+
# @overload get_connector_telemetry_setup(params = {})
|
|
1454
|
+
# @param [Hash] params ({})
|
|
1455
|
+
def get_connector_telemetry_setup(params = {}, options = {})
|
|
1456
|
+
req = build_request(:get_connector_telemetry_setup, params)
|
|
1457
|
+
req.send_request(options)
|
|
1458
|
+
end
|
|
1459
|
+
|
|
1191
1460
|
# Returns the dataset integration for the caller's account in the
|
|
1192
1461
|
# current region.
|
|
1193
1462
|
#
|
|
@@ -1377,6 +1646,19 @@ module Aws::ObservabilityAdmin
|
|
|
1377
1646
|
# resp.pipeline.status_reason.description #=> String
|
|
1378
1647
|
# resp.pipeline.tags #=> Hash
|
|
1379
1648
|
# resp.pipeline.tags["String"] #=> String
|
|
1649
|
+
# resp.pipeline.last_refresh_time_stamp #=> Integer
|
|
1650
|
+
# resp.pipeline.source_progress.active #=> Integer
|
|
1651
|
+
# resp.pipeline.source_progress.total #=> Integer
|
|
1652
|
+
# resp.pipeline.configuration_summary.sources #=> Array
|
|
1653
|
+
# resp.pipeline.configuration_summary.sources[0].type #=> String
|
|
1654
|
+
# resp.pipeline.configuration_summary.data_sources #=> Array
|
|
1655
|
+
# resp.pipeline.configuration_summary.data_sources[0].name #=> String
|
|
1656
|
+
# resp.pipeline.configuration_summary.data_sources[0].type #=> String
|
|
1657
|
+
# resp.pipeline.configuration_summary.processors #=> Array
|
|
1658
|
+
# resp.pipeline.configuration_summary.processors[0] #=> String
|
|
1659
|
+
# resp.pipeline.configuration_summary.processor_count #=> Integer
|
|
1660
|
+
# resp.pipeline.configuration_summary.sinks #=> Array
|
|
1661
|
+
# resp.pipeline.configuration_summary.sinks[0] #=> String
|
|
1380
1662
|
#
|
|
1381
1663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetTelemetryPipeline AWS API Documentation
|
|
1382
1664
|
#
|
|
@@ -1582,6 +1864,52 @@ module Aws::ObservabilityAdmin
|
|
|
1582
1864
|
req.send_request(options)
|
|
1583
1865
|
end
|
|
1584
1866
|
|
|
1867
|
+
# Returns the details of a third-party telemetry enrichment, including
|
|
1868
|
+
# its status and source configuration.
|
|
1869
|
+
#
|
|
1870
|
+
# @option params [required, String] :telemetry_enrichment_identifier
|
|
1871
|
+
# The identifier of the enrichment to return. You can specify one of the
|
|
1872
|
+
# following:
|
|
1873
|
+
#
|
|
1874
|
+
# * The name of the enrichment.
|
|
1875
|
+
#
|
|
1876
|
+
# * The Amazon Resource Name (ARN) of the enrichment.
|
|
1877
|
+
#
|
|
1878
|
+
# @return [Types::GetThirdPartyTelemetryEnrichmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1879
|
+
#
|
|
1880
|
+
# * {Types::GetThirdPartyTelemetryEnrichmentOutput#arn #arn} => String
|
|
1881
|
+
# * {Types::GetThirdPartyTelemetryEnrichmentOutput#name #name} => String
|
|
1882
|
+
# * {Types::GetThirdPartyTelemetryEnrichmentOutput#status #status} => String
|
|
1883
|
+
# * {Types::GetThirdPartyTelemetryEnrichmentOutput#status_reason #status_reason} => String
|
|
1884
|
+
# * {Types::GetThirdPartyTelemetryEnrichmentOutput#telemetry_source_configuration #telemetry_source_configuration} => Types::TelemetrySourceConfigurationOutput
|
|
1885
|
+
# * {Types::GetThirdPartyTelemetryEnrichmentOutput#tags #tags} => Hash<String,String>
|
|
1886
|
+
#
|
|
1887
|
+
# @example Request syntax with placeholder values
|
|
1888
|
+
#
|
|
1889
|
+
# resp = client.get_third_party_telemetry_enrichment({
|
|
1890
|
+
# telemetry_enrichment_identifier: "ThirdPartyTelemetryEnrichmentIdentifier", # required
|
|
1891
|
+
# })
|
|
1892
|
+
#
|
|
1893
|
+
# @example Response structure
|
|
1894
|
+
#
|
|
1895
|
+
# resp.arn #=> String
|
|
1896
|
+
# resp.name #=> String
|
|
1897
|
+
# resp.status #=> String, one of "Initializing", "Running", "Stopped", "Impaired"
|
|
1898
|
+
# resp.status_reason #=> String
|
|
1899
|
+
# resp.telemetry_source_configuration.azure.aws_config_connector_arn #=> String
|
|
1900
|
+
# resp.telemetry_source_configuration.azure.service_linked_recorder_arn #=> String
|
|
1901
|
+
# resp.tags #=> Hash
|
|
1902
|
+
# resp.tags["String"] #=> String
|
|
1903
|
+
#
|
|
1904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetThirdPartyTelemetryEnrichment AWS API Documentation
|
|
1905
|
+
#
|
|
1906
|
+
# @overload get_third_party_telemetry_enrichment(params = {})
|
|
1907
|
+
# @param [Hash] params ({})
|
|
1908
|
+
def get_third_party_telemetry_enrichment(params = {}, options = {})
|
|
1909
|
+
req = build_request(:get_third_party_telemetry_enrichment, params)
|
|
1910
|
+
req.send_request(options)
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1585
1913
|
# Lists all centralization rules in your organization. This operation
|
|
1586
1914
|
# can only be called by the organization's management account or a
|
|
1587
1915
|
# delegated administrator account.
|
|
@@ -1645,6 +1973,50 @@ module Aws::ObservabilityAdmin
|
|
|
1645
1973
|
req.send_request(options)
|
|
1646
1974
|
end
|
|
1647
1975
|
|
|
1976
|
+
# Lists the connectors in the account and Region. This operation returns
|
|
1977
|
+
# results in pages. To get the next page, pass the returned `NextToken`
|
|
1978
|
+
# in the next call. We recommend that you use pagination to ensure that
|
|
1979
|
+
# the operation returns quickly and successfully.
|
|
1980
|
+
#
|
|
1981
|
+
# @option params [Integer] :max_results
|
|
1982
|
+
# The maximum number of connectors to return in one call. The default is
|
|
1983
|
+
# 100.
|
|
1984
|
+
#
|
|
1985
|
+
# @option params [String] :next_token
|
|
1986
|
+
# The token for the next page of results, returned by a previous call.
|
|
1987
|
+
#
|
|
1988
|
+
# @return [Types::ListConnectorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1989
|
+
#
|
|
1990
|
+
# * {Types::ListConnectorsOutput#connector_summaries #connector_summaries} => Array<Types::ConnectorSummary>
|
|
1991
|
+
# * {Types::ListConnectorsOutput#next_token #next_token} => String
|
|
1992
|
+
#
|
|
1993
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1994
|
+
#
|
|
1995
|
+
# @example Request syntax with placeholder values
|
|
1996
|
+
#
|
|
1997
|
+
# resp = client.list_connectors({
|
|
1998
|
+
# max_results: 1,
|
|
1999
|
+
# next_token: "ConnectorNextToken",
|
|
2000
|
+
# })
|
|
2001
|
+
#
|
|
2002
|
+
# @example Response structure
|
|
2003
|
+
#
|
|
2004
|
+
# resp.connector_summaries #=> Array
|
|
2005
|
+
# resp.connector_summaries[0].arn #=> String
|
|
2006
|
+
# resp.connector_summaries[0].provider #=> String, one of "AZURE"
|
|
2007
|
+
# resp.connector_summaries[0].name #=> String
|
|
2008
|
+
# resp.connector_summaries[0].created_time_stamp #=> Integer
|
|
2009
|
+
# resp.next_token #=> String
|
|
2010
|
+
#
|
|
2011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListConnectors AWS API Documentation
|
|
2012
|
+
#
|
|
2013
|
+
# @overload list_connectors(params = {})
|
|
2014
|
+
# @param [Hash] params ({})
|
|
2015
|
+
def list_connectors(params = {}, options = {})
|
|
2016
|
+
req = build_request(:list_connectors, params)
|
|
2017
|
+
req.send_request(options)
|
|
2018
|
+
end
|
|
2019
|
+
|
|
1648
2020
|
# Returns the dataset integrations in your account.
|
|
1649
2021
|
#
|
|
1650
2022
|
# @option params [Integer] :max_results
|
|
@@ -1881,6 +2253,129 @@ module Aws::ObservabilityAdmin
|
|
|
1881
2253
|
req.send_request(options)
|
|
1882
2254
|
end
|
|
1883
2255
|
|
|
2256
|
+
# Lists resources in your cloud provider that the connector can access,
|
|
2257
|
+
# such as management groups, subscriptions, resource types, Regions,
|
|
2258
|
+
# resources, and Event Hubs. Use the results to build a telemetry
|
|
2259
|
+
# manifest. This operation returns results in pages. To get the next
|
|
2260
|
+
# page, pass the returned `NextToken` in the next call. We recommend
|
|
2261
|
+
# that you use pagination to ensure that the operation returns quickly
|
|
2262
|
+
# and successfully.
|
|
2263
|
+
#
|
|
2264
|
+
# @option params [required, String] :connector_identifier
|
|
2265
|
+
# The connector to use for the query. Specify one of the following:
|
|
2266
|
+
#
|
|
2267
|
+
# * The Amazon Resource Name (ARN) of the connector
|
|
2268
|
+
#
|
|
2269
|
+
# * The ID of the connector
|
|
2270
|
+
#
|
|
2271
|
+
# @option params [required, Types::ConnectorQuery] :selector
|
|
2272
|
+
# What to list: one cloud provider, and one type of resource in that
|
|
2273
|
+
# provider.
|
|
2274
|
+
#
|
|
2275
|
+
# @option params [Integer] :max_results
|
|
2276
|
+
# The maximum number of results to return in one call. For an
|
|
2277
|
+
# `EventHubs` query, a page can contain more results than this value.
|
|
2278
|
+
#
|
|
2279
|
+
# @option params [String] :next_token
|
|
2280
|
+
# The token for the next page of results, returned by a previous call.
|
|
2281
|
+
#
|
|
2282
|
+
# @return [Types::ListResourcesByConnectorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2283
|
+
#
|
|
2284
|
+
# * {Types::ListResourcesByConnectorOutput#results #results} => Types::ConnectorQueryResults
|
|
2285
|
+
# * {Types::ListResourcesByConnectorOutput#next_token #next_token} => String
|
|
2286
|
+
#
|
|
2287
|
+
# @example Request syntax with placeholder values
|
|
2288
|
+
#
|
|
2289
|
+
# resp = client.list_resources_by_connector({
|
|
2290
|
+
# connector_identifier: "ConnectorIdentifier", # required
|
|
2291
|
+
# selector: { # required
|
|
2292
|
+
# azure: {
|
|
2293
|
+
# management_groups: {
|
|
2294
|
+
# parent_management_group_id: "AzureManagementGroupId",
|
|
2295
|
+
# },
|
|
2296
|
+
# subscriptions: {
|
|
2297
|
+
# management_group_id: "AzureManagementGroupId",
|
|
2298
|
+
# },
|
|
2299
|
+
# resource_types: {
|
|
2300
|
+
# scope: {
|
|
2301
|
+
# management_group_id: "AzureManagementGroupId",
|
|
2302
|
+
# subscription_ids: ["AzureSubscriptionId"],
|
|
2303
|
+
# },
|
|
2304
|
+
# },
|
|
2305
|
+
# regions: {
|
|
2306
|
+
# scope: {
|
|
2307
|
+
# management_group_id: "AzureManagementGroupId",
|
|
2308
|
+
# subscription_ids: ["AzureSubscriptionId"],
|
|
2309
|
+
# },
|
|
2310
|
+
# },
|
|
2311
|
+
# resource_ids: {
|
|
2312
|
+
# scope: {
|
|
2313
|
+
# management_group_id: "AzureManagementGroupId",
|
|
2314
|
+
# subscription_ids: ["AzureSubscriptionId"],
|
|
2315
|
+
# },
|
|
2316
|
+
# resource_type: "AzureResourceType",
|
|
2317
|
+
# region: "AzureRegion",
|
|
2318
|
+
# tag_filters: [
|
|
2319
|
+
# {
|
|
2320
|
+
# key: "TagFilterKey", # required
|
|
2321
|
+
# values: ["TagFilterValue"], # required
|
|
2322
|
+
# },
|
|
2323
|
+
# ],
|
|
2324
|
+
# },
|
|
2325
|
+
# event_hubs: {
|
|
2326
|
+
# scope: {
|
|
2327
|
+
# management_group_id: "AzureManagementGroupId",
|
|
2328
|
+
# subscription_ids: ["AzureSubscriptionId"],
|
|
2329
|
+
# },
|
|
2330
|
+
# namespace_name: "AzureEventHubNamespaceName",
|
|
2331
|
+
# region: "AzureRegion",
|
|
2332
|
+
# },
|
|
2333
|
+
# },
|
|
2334
|
+
# },
|
|
2335
|
+
# max_results: 1,
|
|
2336
|
+
# next_token: "ConnectorNextToken",
|
|
2337
|
+
# })
|
|
2338
|
+
#
|
|
2339
|
+
# @example Response structure
|
|
2340
|
+
#
|
|
2341
|
+
# resp.results.azure.management_groups #=> Array
|
|
2342
|
+
# resp.results.azure.management_groups[0].id #=> String
|
|
2343
|
+
# resp.results.azure.management_groups[0].name #=> String
|
|
2344
|
+
# resp.results.azure.management_groups[0].display_name #=> String
|
|
2345
|
+
# resp.results.azure.subscriptions #=> Array
|
|
2346
|
+
# resp.results.azure.subscriptions[0].subscription_id #=> String
|
|
2347
|
+
# resp.results.azure.subscriptions[0].display_name #=> String
|
|
2348
|
+
# resp.results.azure.subscriptions[0].state #=> String
|
|
2349
|
+
# resp.results.azure.subscriptions[0].management_group_id #=> String
|
|
2350
|
+
# resp.results.azure.resource_types #=> Array
|
|
2351
|
+
# resp.results.azure.resource_types[0] #=> String
|
|
2352
|
+
# resp.results.azure.regions #=> Array
|
|
2353
|
+
# resp.results.azure.regions[0] #=> String
|
|
2354
|
+
# resp.results.azure.resource_ids #=> Array
|
|
2355
|
+
# resp.results.azure.resource_ids[0].resource_id #=> String
|
|
2356
|
+
# resp.results.azure.resource_ids[0].resource_type #=> String
|
|
2357
|
+
# resp.results.azure.resource_ids[0].region #=> String
|
|
2358
|
+
# resp.results.azure.resource_ids[0].subscription_id #=> String
|
|
2359
|
+
# resp.results.azure.resource_ids[0].tags #=> Hash
|
|
2360
|
+
# resp.results.azure.resource_ids[0].tags["AzureResourceTagKey"] #=> String
|
|
2361
|
+
# resp.results.azure.event_hubs #=> Array
|
|
2362
|
+
# resp.results.azure.event_hubs[0].resource_id #=> String
|
|
2363
|
+
# resp.results.azure.event_hubs[0].event_hub_name #=> String
|
|
2364
|
+
# resp.results.azure.event_hubs[0].namespace_name #=> String
|
|
2365
|
+
# resp.results.azure.event_hubs[0].fully_qualified_namespace #=> String
|
|
2366
|
+
# resp.results.azure.event_hubs[0].region #=> String
|
|
2367
|
+
# resp.results.azure.event_hubs[0].subscription_id #=> String
|
|
2368
|
+
# resp.next_token #=> String
|
|
2369
|
+
#
|
|
2370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListResourcesByConnector AWS API Documentation
|
|
2371
|
+
#
|
|
2372
|
+
# @overload list_resources_by_connector(params = {})
|
|
2373
|
+
# @param [Hash] params ({})
|
|
2374
|
+
def list_resources_by_connector(params = {}, options = {})
|
|
2375
|
+
req = build_request(:list_resources_by_connector, params)
|
|
2376
|
+
req.send_request(options)
|
|
2377
|
+
end
|
|
2378
|
+
|
|
1884
2379
|
# Lists all S3 Table integrations in your account. We recommend using
|
|
1885
2380
|
# pagination to ensure that the operation returns quickly and
|
|
1886
2381
|
# successfully.
|
|
@@ -1924,7 +2419,8 @@ module Aws::ObservabilityAdmin
|
|
|
1924
2419
|
end
|
|
1925
2420
|
|
|
1926
2421
|
# Lists all tags attached to the specified resource. Supports telemetry
|
|
1927
|
-
# rule resources
|
|
2422
|
+
# rule resources, telemetry pipeline resources, and third-party
|
|
2423
|
+
# telemetry enrichment resources.
|
|
1928
2424
|
#
|
|
1929
2425
|
# @option params [required, String] :resource_arn
|
|
1930
2426
|
# The Amazon Resource Name (ARN) of the telemetry rule resource whose
|
|
@@ -2125,6 +2621,179 @@ module Aws::ObservabilityAdmin
|
|
|
2125
2621
|
req.send_request(options)
|
|
2126
2622
|
end
|
|
2127
2623
|
|
|
2624
|
+
# Returns a summary of each third-party telemetry enrichment in your
|
|
2625
|
+
# account and Region. To get the full configuration of an enrichment,
|
|
2626
|
+
# use `GetThirdPartyTelemetryEnrichment`. The results are paginated. To
|
|
2627
|
+
# get the next page of results, use `NextToken`.
|
|
2628
|
+
#
|
|
2629
|
+
# @option params [String] :status
|
|
2630
|
+
# Returns only the enrichments that have this status. Valid values:
|
|
2631
|
+
#
|
|
2632
|
+
# * `Initializing` - CloudWatch is setting up the enrichment. Some
|
|
2633
|
+
# telemetry can be enriched before setup completes.
|
|
2634
|
+
#
|
|
2635
|
+
# * `Running` - The enrichment is active.
|
|
2636
|
+
#
|
|
2637
|
+
# * `Stopped` - The enrichment is stopped.
|
|
2638
|
+
#
|
|
2639
|
+
# * `Impaired` - The enrichment has a problem. `StatusReason` describes
|
|
2640
|
+
# the problem.
|
|
2641
|
+
#
|
|
2642
|
+
# @option params [String] :telemetry_source
|
|
2643
|
+
# Returns only the enrichments for this third-party telemetry source.
|
|
2644
|
+
#
|
|
2645
|
+
# @option params [Integer] :max_results
|
|
2646
|
+
# The maximum number of results to return in a single call. If you omit
|
|
2647
|
+
# this parameter, the operation returns up to 100 results.
|
|
2648
|
+
#
|
|
2649
|
+
# @option params [String] :next_token
|
|
2650
|
+
# The token for the next set of results. A previous call generates this
|
|
2651
|
+
# token. If you omit this parameter, the operation returns the first
|
|
2652
|
+
# page of results.
|
|
2653
|
+
#
|
|
2654
|
+
# @return [Types::ListThirdPartyTelemetryEnrichmentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2655
|
+
#
|
|
2656
|
+
# * {Types::ListThirdPartyTelemetryEnrichmentsOutput#telemetry_enrichments #telemetry_enrichments} => Array<Types::ThirdPartyTelemetryEnrichmentSummary>
|
|
2657
|
+
# * {Types::ListThirdPartyTelemetryEnrichmentsOutput#next_token #next_token} => String
|
|
2658
|
+
#
|
|
2659
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2660
|
+
#
|
|
2661
|
+
# @example Request syntax with placeholder values
|
|
2662
|
+
#
|
|
2663
|
+
# resp = client.list_third_party_telemetry_enrichments({
|
|
2664
|
+
# status: "Initializing", # accepts Initializing, Running, Stopped, Impaired
|
|
2665
|
+
# telemetry_source: "Azure", # accepts Azure
|
|
2666
|
+
# max_results: 1,
|
|
2667
|
+
# next_token: "NextToken",
|
|
2668
|
+
# })
|
|
2669
|
+
#
|
|
2670
|
+
# @example Response structure
|
|
2671
|
+
#
|
|
2672
|
+
# resp.telemetry_enrichments #=> Array
|
|
2673
|
+
# resp.telemetry_enrichments[0].name #=> String
|
|
2674
|
+
# resp.telemetry_enrichments[0].telemetry_source #=> String, one of "Azure"
|
|
2675
|
+
# resp.telemetry_enrichments[0].status #=> String, one of "Initializing", "Running", "Stopped", "Impaired"
|
|
2676
|
+
# resp.next_token #=> String
|
|
2677
|
+
#
|
|
2678
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListThirdPartyTelemetryEnrichments AWS API Documentation
|
|
2679
|
+
#
|
|
2680
|
+
# @overload list_third_party_telemetry_enrichments(params = {})
|
|
2681
|
+
# @param [Hash] params ({})
|
|
2682
|
+
def list_third_party_telemetry_enrichments(params = {}, options = {})
|
|
2683
|
+
req = build_request(:list_third_party_telemetry_enrichments, params)
|
|
2684
|
+
req.send_request(options)
|
|
2685
|
+
end
|
|
2686
|
+
|
|
2687
|
+
# Creates or replaces the telemetry manifest of a connector. The
|
|
2688
|
+
# telemetry manifest declares which resources in your cloud provider to
|
|
2689
|
+
# collect telemetry from and which telemetry types to collect. To avoid
|
|
2690
|
+
# overwriting changes made by another caller, specify `ExpectedVersion`.
|
|
2691
|
+
#
|
|
2692
|
+
# @option params [required, String] :connector_identifier
|
|
2693
|
+
# The connector. Specify one of the following:
|
|
2694
|
+
#
|
|
2695
|
+
# * The Amazon Resource Name (ARN) of the connector
|
|
2696
|
+
#
|
|
2697
|
+
# * The ID of the connector
|
|
2698
|
+
#
|
|
2699
|
+
# @option params [required, Types::TelemetryManifest] :manifest
|
|
2700
|
+
# The telemetry manifest.
|
|
2701
|
+
#
|
|
2702
|
+
# @option params [Integer] :expected_version
|
|
2703
|
+
# The version of the telemetry manifest that you expect to replace, as
|
|
2704
|
+
# returned by `GetConnectorTelemetryManifest`. Omit this value when you
|
|
2705
|
+
# create the first telemetry manifest. If the value doesn't match the
|
|
2706
|
+
# current version, the request fails with a `ConflictException`.
|
|
2707
|
+
#
|
|
2708
|
+
# @option params [String] :client_token
|
|
2709
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
2710
|
+
# operation completes no more than one time. If you use an Amazon Web
|
|
2711
|
+
# Services SDK, the SDK generates this value and reuses it on retries.
|
|
2712
|
+
# If this token matches a previous request with the same telemetry
|
|
2713
|
+
# manifest, the service returns the stored version without an error. If
|
|
2714
|
+
# you use the same token with a different telemetry manifest, the
|
|
2715
|
+
# service returns a `ValidationException`. This operation is idempotent
|
|
2716
|
+
# when you use the same token and parameters.
|
|
2717
|
+
#
|
|
2718
|
+
# @return [Types::PutConnectorTelemetryManifestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2719
|
+
#
|
|
2720
|
+
# * {Types::PutConnectorTelemetryManifestOutput#version #version} => Integer
|
|
2721
|
+
#
|
|
2722
|
+
# @example Request syntax with placeholder values
|
|
2723
|
+
#
|
|
2724
|
+
# resp = client.put_connector_telemetry_manifest({
|
|
2725
|
+
# connector_identifier: "ConnectorIdentifier", # required
|
|
2726
|
+
# manifest: { # required
|
|
2727
|
+
# source: { # required
|
|
2728
|
+
# azure: [
|
|
2729
|
+
# {
|
|
2730
|
+
# telemetry_types: ["ResourceLogs"], # required, accepts ResourceLogs, Metrics, FlowLogs
|
|
2731
|
+
# scope: { # required
|
|
2732
|
+
# subscriptions: {
|
|
2733
|
+
# all: {
|
|
2734
|
+
# },
|
|
2735
|
+
# ids: ["AzureSubscriptionId"],
|
|
2736
|
+
# },
|
|
2737
|
+
# regions: ["AzureRegion"],
|
|
2738
|
+
# resource_types: ["AzureResourceType"],
|
|
2739
|
+
# tag_filters: [
|
|
2740
|
+
# {
|
|
2741
|
+
# key: "TagFilterKey", # required
|
|
2742
|
+
# values: ["TagFilterValue"], # required
|
|
2743
|
+
# },
|
|
2744
|
+
# ],
|
|
2745
|
+
# resources: [
|
|
2746
|
+
# {
|
|
2747
|
+
# region: "AzureRegion", # required
|
|
2748
|
+
# resource_ids: ["ManifestAzureResourceId"], # required
|
|
2749
|
+
# },
|
|
2750
|
+
# ],
|
|
2751
|
+
# },
|
|
2752
|
+
# },
|
|
2753
|
+
# ],
|
|
2754
|
+
# },
|
|
2755
|
+
# infrastructure: {
|
|
2756
|
+
# azure: {
|
|
2757
|
+
# subscription_id: "AzureSubscriptionId",
|
|
2758
|
+
# event_hubs: [
|
|
2759
|
+
# {
|
|
2760
|
+
# tier: "Standard", # required, accepts Standard, Premium
|
|
2761
|
+
# partition_count: 1, # required
|
|
2762
|
+
# },
|
|
2763
|
+
# ],
|
|
2764
|
+
# flow_logs: {
|
|
2765
|
+
# customer_managed: {
|
|
2766
|
+
# storage_accounts: [ # required
|
|
2767
|
+
# {
|
|
2768
|
+
# region: "AzureRegion", # required
|
|
2769
|
+
# storage_account_ids: ["AzureStorageAccountId"], # required
|
|
2770
|
+
# },
|
|
2771
|
+
# ],
|
|
2772
|
+
# },
|
|
2773
|
+
# aws_managed: {
|
|
2774
|
+
# retention_days: 1, # required
|
|
2775
|
+
# },
|
|
2776
|
+
# },
|
|
2777
|
+
# },
|
|
2778
|
+
# },
|
|
2779
|
+
# },
|
|
2780
|
+
# expected_version: 1,
|
|
2781
|
+
# client_token: "ClientToken",
|
|
2782
|
+
# })
|
|
2783
|
+
#
|
|
2784
|
+
# @example Response structure
|
|
2785
|
+
#
|
|
2786
|
+
# resp.version #=> Integer
|
|
2787
|
+
#
|
|
2788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/PutConnectorTelemetryManifest AWS API Documentation
|
|
2789
|
+
#
|
|
2790
|
+
# @overload put_connector_telemetry_manifest(params = {})
|
|
2791
|
+
# @param [Hash] params ({})
|
|
2792
|
+
def put_connector_telemetry_manifest(params = {}, options = {})
|
|
2793
|
+
req = build_request(:put_connector_telemetry_manifest, params)
|
|
2794
|
+
req.send_request(options)
|
|
2795
|
+
end
|
|
2796
|
+
|
|
2128
2797
|
# Enables the resource tags for telemetry feature for your account,
|
|
2129
2798
|
# which enhances telemetry data with additional resource metadata from
|
|
2130
2799
|
# Resource Explorer to provide richer context for monitoring and
|
|
@@ -2226,6 +2895,103 @@ module Aws::ObservabilityAdmin
|
|
|
2226
2895
|
req.send_request(options)
|
|
2227
2896
|
end
|
|
2228
2897
|
|
|
2898
|
+
# Starts a refresh of an external-cloud telemetry pipeline. The refresh
|
|
2899
|
+
# re-reads the connector's telemetry manifest and re-discovers the
|
|
2900
|
+
# sources in scope.
|
|
2901
|
+
#
|
|
2902
|
+
# The pipeline must be in the `ACTIVE` or `UPDATE_FAILED` state, with no
|
|
2903
|
+
# refresh already running. You can use `GetTelemetryPipeline` to track
|
|
2904
|
+
# the refresh.
|
|
2905
|
+
#
|
|
2906
|
+
# @option params [required, String] :pipeline_identifier
|
|
2907
|
+
# The Amazon Resource Name (ARN) of the telemetry pipeline to refresh.
|
|
2908
|
+
#
|
|
2909
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2910
|
+
#
|
|
2911
|
+
# @example Request syntax with placeholder values
|
|
2912
|
+
#
|
|
2913
|
+
# resp = client.start_telemetry_pipeline_refresh({
|
|
2914
|
+
# pipeline_identifier: "TelemetryPipelineIdentifier", # required
|
|
2915
|
+
# })
|
|
2916
|
+
#
|
|
2917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/StartTelemetryPipelineRefresh AWS API Documentation
|
|
2918
|
+
#
|
|
2919
|
+
# @overload start_telemetry_pipeline_refresh(params = {})
|
|
2920
|
+
# @param [Hash] params ({})
|
|
2921
|
+
def start_telemetry_pipeline_refresh(params = {}, options = {})
|
|
2922
|
+
req = build_request(:start_telemetry_pipeline_refresh, params)
|
|
2923
|
+
req.send_request(options)
|
|
2924
|
+
end
|
|
2925
|
+
|
|
2926
|
+
# Starts a third-party telemetry enrichment. An enrichment adds resource
|
|
2927
|
+
# metadata, such as tags, from a third-party telemetry source to the
|
|
2928
|
+
# telemetry that CloudWatch receives from the resources of that source.
|
|
2929
|
+
#
|
|
2930
|
+
# You specify an Amazon Web Services Config connector for your
|
|
2931
|
+
# third-party environment, such as a Microsoft Azure tenant. You can use
|
|
2932
|
+
# each connector for only one enrichment.
|
|
2933
|
+
#
|
|
2934
|
+
# To use this operation, you must have the
|
|
2935
|
+
# `config:PutThirdPartyServiceLinkedConfigurationRecorder` permission.
|
|
2936
|
+
# If the Amazon Web Services Config service-linked role does not exist
|
|
2937
|
+
# in your account, you must also have the `iam:CreateServiceLinkedRole`
|
|
2938
|
+
# permission.
|
|
2939
|
+
#
|
|
2940
|
+
# @option params [required, String] :name
|
|
2941
|
+
# A name for the enrichment. The name must be unique in your account and
|
|
2942
|
+
# Region. You can use the name instead of the ARN to identify the
|
|
2943
|
+
# enrichment in other operations.
|
|
2944
|
+
#
|
|
2945
|
+
# @option params [required, Types::TelemetrySourceConfigurationInput] :telemetry_source_configuration
|
|
2946
|
+
# The third-party telemetry source to collect resource metadata from.
|
|
2947
|
+
# Specify exactly one telemetry source.
|
|
2948
|
+
#
|
|
2949
|
+
# @option params [Hash<String,String>] :tags
|
|
2950
|
+
# The tags to associate with the enrichment resource.
|
|
2951
|
+
#
|
|
2952
|
+
# @return [Types::StartThirdPartyTelemetryEnrichmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2953
|
+
#
|
|
2954
|
+
# * {Types::StartThirdPartyTelemetryEnrichmentOutput#arn #arn} => String
|
|
2955
|
+
# * {Types::StartThirdPartyTelemetryEnrichmentOutput#name #name} => String
|
|
2956
|
+
# * {Types::StartThirdPartyTelemetryEnrichmentOutput#status #status} => String
|
|
2957
|
+
# * {Types::StartThirdPartyTelemetryEnrichmentOutput#status_reason #status_reason} => String
|
|
2958
|
+
# * {Types::StartThirdPartyTelemetryEnrichmentOutput#telemetry_source_configuration #telemetry_source_configuration} => Types::TelemetrySourceConfigurationOutput
|
|
2959
|
+
# * {Types::StartThirdPartyTelemetryEnrichmentOutput#tags #tags} => Hash<String,String>
|
|
2960
|
+
#
|
|
2961
|
+
# @example Request syntax with placeholder values
|
|
2962
|
+
#
|
|
2963
|
+
# resp = client.start_third_party_telemetry_enrichment({
|
|
2964
|
+
# name: "ThirdPartyTelemetryEnrichmentName", # required
|
|
2965
|
+
# telemetry_source_configuration: { # required
|
|
2966
|
+
# azure: {
|
|
2967
|
+
# aws_config_connector_arn: "AwsConfigConnectorArn", # required
|
|
2968
|
+
# },
|
|
2969
|
+
# },
|
|
2970
|
+
# tags: {
|
|
2971
|
+
# "TagKey" => "TagValue",
|
|
2972
|
+
# },
|
|
2973
|
+
# })
|
|
2974
|
+
#
|
|
2975
|
+
# @example Response structure
|
|
2976
|
+
#
|
|
2977
|
+
# resp.arn #=> String
|
|
2978
|
+
# resp.name #=> String
|
|
2979
|
+
# resp.status #=> String, one of "Initializing", "Running", "Stopped", "Impaired"
|
|
2980
|
+
# resp.status_reason #=> String
|
|
2981
|
+
# resp.telemetry_source_configuration.azure.aws_config_connector_arn #=> String
|
|
2982
|
+
# resp.telemetry_source_configuration.azure.service_linked_recorder_arn #=> String
|
|
2983
|
+
# resp.tags #=> Hash
|
|
2984
|
+
# resp.tags["String"] #=> String
|
|
2985
|
+
#
|
|
2986
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/StartThirdPartyTelemetryEnrichment AWS API Documentation
|
|
2987
|
+
#
|
|
2988
|
+
# @overload start_third_party_telemetry_enrichment(params = {})
|
|
2989
|
+
# @param [Hash] params ({})
|
|
2990
|
+
def start_third_party_telemetry_enrichment(params = {}, options = {})
|
|
2991
|
+
req = build_request(:start_third_party_telemetry_enrichment, params)
|
|
2992
|
+
req.send_request(options)
|
|
2993
|
+
end
|
|
2994
|
+
|
|
2229
2995
|
# Disables the resource tags for telemetry feature for your account,
|
|
2230
2996
|
# stopping the enhancement of telemetry data with additional resource
|
|
2231
2997
|
# metadata.
|
|
@@ -2275,8 +3041,53 @@ module Aws::ObservabilityAdmin
|
|
|
2275
3041
|
req.send_request(options)
|
|
2276
3042
|
end
|
|
2277
3043
|
|
|
2278
|
-
#
|
|
2279
|
-
#
|
|
3044
|
+
# Stops a third-party telemetry enrichment. CloudWatch stops adding
|
|
3045
|
+
# resource metadata from the third-party telemetry source to your
|
|
3046
|
+
# telemetry.
|
|
3047
|
+
#
|
|
3048
|
+
# To use this operation, you must have the
|
|
3049
|
+
# `config:DeleteServiceLinkedConfigurationRecorder` permission.
|
|
3050
|
+
#
|
|
3051
|
+
# @option params [required, String] :telemetry_enrichment_identifier
|
|
3052
|
+
# The identifier of the enrichment to stop. You can specify one of the
|
|
3053
|
+
# following:
|
|
3054
|
+
#
|
|
3055
|
+
# * The name of the enrichment.
|
|
3056
|
+
#
|
|
3057
|
+
# * The Amazon Resource Name (ARN) of the enrichment.
|
|
3058
|
+
#
|
|
3059
|
+
# @return [Types::StopThirdPartyTelemetryEnrichmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3060
|
+
#
|
|
3061
|
+
# * {Types::StopThirdPartyTelemetryEnrichmentOutput#name #name} => String
|
|
3062
|
+
# * {Types::StopThirdPartyTelemetryEnrichmentOutput#telemetry_source #telemetry_source} => String
|
|
3063
|
+
# * {Types::StopThirdPartyTelemetryEnrichmentOutput#status #status} => String
|
|
3064
|
+
# * {Types::StopThirdPartyTelemetryEnrichmentOutput#status_reason #status_reason} => String
|
|
3065
|
+
#
|
|
3066
|
+
# @example Request syntax with placeholder values
|
|
3067
|
+
#
|
|
3068
|
+
# resp = client.stop_third_party_telemetry_enrichment({
|
|
3069
|
+
# telemetry_enrichment_identifier: "ThirdPartyTelemetryEnrichmentIdentifier", # required
|
|
3070
|
+
# })
|
|
3071
|
+
#
|
|
3072
|
+
# @example Response structure
|
|
3073
|
+
#
|
|
3074
|
+
# resp.name #=> String
|
|
3075
|
+
# resp.telemetry_source #=> String, one of "Azure"
|
|
3076
|
+
# resp.status #=> String, one of "Initializing", "Running", "Stopped", "Impaired"
|
|
3077
|
+
# resp.status_reason #=> String
|
|
3078
|
+
#
|
|
3079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/StopThirdPartyTelemetryEnrichment AWS API Documentation
|
|
3080
|
+
#
|
|
3081
|
+
# @overload stop_third_party_telemetry_enrichment(params = {})
|
|
3082
|
+
# @param [Hash] params ({})
|
|
3083
|
+
def stop_third_party_telemetry_enrichment(params = {}, options = {})
|
|
3084
|
+
req = build_request(:stop_third_party_telemetry_enrichment, params)
|
|
3085
|
+
req.send_request(options)
|
|
3086
|
+
end
|
|
3087
|
+
|
|
3088
|
+
# Adds or updates tags for a resource. Supports telemetry rule
|
|
3089
|
+
# resources, telemetry pipeline resources, and third-party telemetry
|
|
3090
|
+
# enrichment resources.
|
|
2280
3091
|
#
|
|
2281
3092
|
# @option params [required, String] :resource_arn
|
|
2282
3093
|
# The Amazon Resource Name (ARN) of the telemetry rule resource to tag.
|
|
@@ -2354,8 +3165,9 @@ module Aws::ObservabilityAdmin
|
|
|
2354
3165
|
req.send_request(options)
|
|
2355
3166
|
end
|
|
2356
3167
|
|
|
2357
|
-
# Removes tags from a resource. Supports telemetry rule resources
|
|
2358
|
-
# telemetry pipeline resources
|
|
3168
|
+
# Removes tags from a resource. Supports telemetry rule resources,
|
|
3169
|
+
# telemetry pipeline resources, and third-party telemetry enrichment
|
|
3170
|
+
# resources.
|
|
2359
3171
|
#
|
|
2360
3172
|
# @option params [required, String] :resource_arn
|
|
2361
3173
|
# The Amazon Resource Name (ARN) of the telemetry rule resource to
|
|
@@ -2416,6 +3228,9 @@ module Aws::ObservabilityAdmin
|
|
|
2416
3228
|
# source_metrics_configuration: {
|
|
2417
3229
|
# metrics_selection_criteria: "MetricsFilterString",
|
|
2418
3230
|
# },
|
|
3231
|
+
# source_profiles_configuration: {
|
|
3232
|
+
# profiles_selection_criteria: "ProfilesFilterString",
|
|
3233
|
+
# },
|
|
2419
3234
|
# source_context_graph_configuration: {
|
|
2420
3235
|
# },
|
|
2421
3236
|
# },
|
|
@@ -2447,6 +3262,11 @@ module Aws::ObservabilityAdmin
|
|
|
2447
3262
|
# region: "Region", # required
|
|
2448
3263
|
# },
|
|
2449
3264
|
# },
|
|
3265
|
+
# destination_profiles_configuration: {
|
|
3266
|
+
# backup_configuration: {
|
|
3267
|
+
# region: "Region", # required
|
|
3268
|
+
# },
|
|
3269
|
+
# },
|
|
2450
3270
|
# },
|
|
2451
3271
|
# },
|
|
2452
3272
|
# })
|
|
@@ -2890,7 +3710,7 @@ module Aws::ObservabilityAdmin
|
|
|
2890
3710
|
tracer: tracer
|
|
2891
3711
|
)
|
|
2892
3712
|
context[:gem_name] = 'aws-sdk-observabilityadmin'
|
|
2893
|
-
context[:gem_version] = '1.
|
|
3713
|
+
context[:gem_version] = '1.54.0'
|
|
2894
3714
|
Seahorse::Client::Request.new(handlers, context)
|
|
2895
3715
|
end
|
|
2896
3716
|
|