• Home
  • Dynatrace API
  • Configuration
  • AWS credentials
  • GET monitored services

AWS credentials API - GET monitored services

Lists AWS services that are monitored by an AWS configuration.

The request produces an application/json payload.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/aws/credentials/{id}/services
SaaShttps://{your-environment-id}.live.dynatrace.com/aws/credentials/{id}/services
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/aws/credentials/{id}/services

Authentication

To execute this request, you need an access token with `ReadConfig` (Read configuration) scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

The ID of the specified AWS credentials configuration.

pathrequired

Response

Response codes

CodeTypeDescription
200AwsMonitoredServicesDto

Success

Response body objects

The AwsMonitoredServicesDto object

ElementTypeDescription
metadataConfigurationMetadata

Metadata useful for debugging

servicesAwsSupportingServiceConfig[]

A list of AWS services to be monitored. Available services are listed by /aws/supportedServices operation.

For each service, a list of metrics and dimensions can be specified. A list of supported metrics and dimensions for a given service can be checked in documentation.

List of metrics can be skipped (set to null), resulting in recommended (default) set of metrics and dimensions being chosen for monitoring. For built-in services, adjusting the list of metrics is not supported, therefore it needs to be null.

The ConfigurationMetadata object

Metadata useful for debugging

ElementTypeDescription
configurationVersionsinteger[]

A sorted list of the version numbers of the configuration.

currentConfigurationVersionsstring[]

A sorted list of version numbers of the configuration.

clusterVersionstring

Dynatrace version.

The AwsSupportingServiceConfig object

A service to be monitored.

ElementTypeDescription
namestring

The name of the service. Valid supported service names can be discovered using /aws/supportedServices restAPI

monitoredMetricsAwsSupportingServiceMetric[]

A list of metrics to be monitored for this service. If the list is null then recommended list of metrics for this service will be monitored.

The AwsSupportingServiceMetric object

A metric of service to be monitored.

ElementTypeDescription
namestring

The name of the metric of the service.

statisticstring

The statistic (aggregation) to be used for the metric. AVG_MIN_MAX value is 3 statistics at once: AVERAGE, MINIMUM and MAXIMUM

The element can hold these values
  • AVERAGE
  • AVG_MIN_MAX
  • MAXIMUM
  • MINIMUM
  • SAMPLE_COUNT
  • SUM
dimensionsstring[]

A list of metric's dimensions names.

Response body JSON model

json
{ "metadata": { "configurationVersions": [ 4, 2 ], "currentConfigurationVersions": [ "1.0.4", "1.23" ], "clusterVersion": "1.192.1" }, "services": [ { "name": "string", "monitoredMetrics": [ { "name": "string", "statistic": "AVERAGE", "dimensions": [ "string" ] } ] } ] }
Related topics
  • Amazon Web Services Integrations

    Integrate Dynatrace on AWS