ListResourceTelemetry
Returns a list of telemetry configurations for AWS resources supported by telemetry config. For more information, see Auditing CloudWatch telemetry configurations.
Request Syntax
POST /ListResourceTelemetry HTTP/1.1
Content-type: application/json
{
   "MaxResults": number,
   "NextToken": "string",
   "ResourceIdentifierPrefix": "string",
   "ResourceTags": { 
      "string" : "string" 
   },
   "ResourceTypes": [ "string" ],
   "TelemetryConfigurationState": { 
      "string" : "string" 
   }
}URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- MaxResults
- 
               A number field used to limit the number of results within the returned list. Type: Integer Valid Range: Minimum value of 1. Maximum value of 50. Required: No 
- NextToken
- 
               The token for the next set of items to return. A previous call generates this token. Type: String Required: No 
- ResourceIdentifierPrefix
- 
               A string used to filter resources which have a ResourceIdentifierstarting with theResourceIdentifierPrefix.Type: String Length Constraints: Minimum length of 3. Maximum length of 768. Required: No 
- ResourceTags
- 
               A key-value pair to filter resources based on tags associated with the resource. For more information about tags, see What are tags? Type: String to string map Map Entries: Maximum number of 50 items. Key Length Constraints: Minimum length of 1. Maximum length of 128. Key Pattern: ([\p{L}\p{Z}\p{N}_.:/=+\-@]*)Value Length Constraints: Minimum length of 0. Maximum length of 256. Value Pattern: ([\p{L}\p{Z}\p{N}_.:/=+\-@]*)Required: No 
- ResourceTypes
- 
               A list of resource types used to filter resources supported by telemetry config. If this parameter is provided, the resources will be returned in the same order used in the request. Type: Array of strings Array Members: Minimum number of 1 item. Maximum number of 9 items. Valid Values: AWS::EC2::Instance | AWS::EC2::VPC | AWS::Lambda::FunctionRequired: No 
- TelemetryConfigurationState
- 
               A key-value pair to filter resources based on the telemetry type and the state of the telemetry configuration. The key is the telemetry type and the value is the state. Type: String to string map Valid Keys: Logs | Metrics | TracesValid Values: Enabled | Disabled | NotApplicableRequired: No 
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
   "NextToken": "string",
   "TelemetryConfigurations": [ 
      { 
         "AccountIdentifier": "string",
         "LastUpdateTimeStamp": number,
         "ResourceIdentifier": "string",
         "ResourceTags": { 
            "string" : "string" 
         },
         "ResourceType": "string",
         "TelemetryConfigurationState": { 
            "string" : "string" 
         }
      }
   ]
}Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- NextToken
- 
               The token for the next set of items to return. A previous call generates this token. Type: String 
- TelemetryConfigurations
- 
               A list of telemetry configurations for AWS resources supported by telemetry config in the caller's account. Type: Array of TelemetryConfiguration objects 
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
- 
               Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for AWS resources in the IAM user guide. - amznErrorType
- 
                        The name of the exception. 
 HTTP Status Code: 400 
- InternalServerException
- 
               Indicates the request has failed to process because of an unknown server error, exception, or failure. - amznErrorType
- 
                        The name of the exception. 
 HTTP Status Code: 500 
- TooManyRequestsException
- 
               The request throughput limit was exceeded. HTTP Status Code: 429 
- ValidationException
- 
               Indicates input validation failed. Check your request parameters and retry the request. HTTP Status Code: 400 
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: