CloudWatchApplicationSignals / Client / start_discovery
start_discovery#
- CloudWatchApplicationSignals.Client.start_discovery()#
Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service- linked role has the following permissions:
xray:GetServiceGraphlogs:StartQuerylogs:GetQueryResultscloudwatch:GetMetricDatacloudwatch:ListMetricstag:GetResourcesautoscaling:DescribeAutoScalingGroups
After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals.
See also: AWS API Documentation
Request Syntax
response = client.start_discovery()
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
CloudWatchApplicationSignals.Client.exceptions.ValidationExceptionCloudWatchApplicationSignals.Client.exceptions.ThrottlingExceptionCloudWatchApplicationSignals.Client.exceptions.AccessDeniedException