@aws-cdk/metrics-facade-alpha 2.261.0-alpha.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.
- package/.jsii +1 -0
- package/.jsii.gz +0 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +50 -0
- package/LICENSE +201 -0
- package/NOTICE +2 -0
- package/README.md +123 -0
- package/awslint.json +4 -0
- package/eslint-suppressions.json +2 -0
- package/jest.config.js +2 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/services/aws-amazonmq/.jsiirc.json +16 -0
- package/lib/services/aws-amazonmq/index.d.ts +1 -0
- package/lib/services/aws-amazonmq/index.js +17 -0
- package/lib/services/aws-amazonmq/metrics.generated.d.ts +141 -0
- package/lib/services/aws-amazonmq/metrics.generated.js +316 -0
- package/lib/services/aws-apigateway/.jsiirc.json +16 -0
- package/lib/services/aws-apigateway/index.d.ts +1 -0
- package/lib/services/aws-apigateway/index.js +17 -0
- package/lib/services/aws-apigateway/metrics.generated.d.ts +358 -0
- package/lib/services/aws-apigateway/metrics.generated.js +589 -0
- package/lib/services/aws-apigatewayv2/.jsiirc.json +16 -0
- package/lib/services/aws-apigatewayv2/index.d.ts +1 -0
- package/lib/services/aws-apigatewayv2/index.js +17 -0
- package/lib/services/aws-apigatewayv2/metrics.generated.d.ts +441 -0
- package/lib/services/aws-apigatewayv2/metrics.generated.js +779 -0
- package/lib/services/aws-appstream/.jsiirc.json +16 -0
- package/lib/services/aws-appstream/index.d.ts +1 -0
- package/lib/services/aws-appstream/index.js +17 -0
- package/lib/services/aws-appstream/metrics.generated.d.ts +255 -0
- package/lib/services/aws-appstream/metrics.generated.js +487 -0
- package/lib/services/aws-appsync/.jsiirc.json +16 -0
- package/lib/services/aws-appsync/index.d.ts +1 -0
- package/lib/services/aws-appsync/index.js +17 -0
- package/lib/services/aws-appsync/metrics.generated.d.ts +51 -0
- package/lib/services/aws-appsync/metrics.generated.js +106 -0
- package/lib/services/aws-autoscaling/.jsiirc.json +16 -0
- package/lib/services/aws-autoscaling/index.d.ts +1 -0
- package/lib/services/aws-autoscaling/index.js +17 -0
- package/lib/services/aws-autoscaling/metrics.generated.d.ts +86 -0
- package/lib/services/aws-autoscaling/metrics.generated.js +184 -0
- package/lib/services/aws-bedrock/.jsiirc.json +16 -0
- package/lib/services/aws-bedrock/index.d.ts +1 -0
- package/lib/services/aws-bedrock/index.js +17 -0
- package/lib/services/aws-bedrock/metrics.generated.d.ts +312 -0
- package/lib/services/aws-bedrock/metrics.generated.js +563 -0
- package/lib/services/aws-cloudfront/.jsiirc.json +16 -0
- package/lib/services/aws-cloudfront/index.d.ts +1 -0
- package/lib/services/aws-cloudfront/index.js +17 -0
- package/lib/services/aws-cloudfront/metrics.generated.d.ts +80 -0
- package/lib/services/aws-cloudfront/metrics.generated.js +157 -0
- package/lib/services/aws-cloudwatch/.jsiirc.json +16 -0
- package/lib/services/aws-cloudwatch/index.d.ts +1 -0
- package/lib/services/aws-cloudwatch/index.js +17 -0
- package/lib/services/aws-cloudwatch/metrics.generated.d.ts +56 -0
- package/lib/services/aws-cloudwatch/metrics.generated.js +114 -0
- package/lib/services/aws-codebuild/.jsiirc.json +16 -0
- package/lib/services/aws-codebuild/index.d.ts +1 -0
- package/lib/services/aws-codebuild/index.js +17 -0
- package/lib/services/aws-codebuild/metrics.generated.d.ts +62 -0
- package/lib/services/aws-codebuild/metrics.generated.js +128 -0
- package/lib/services/aws-codepipeline/.jsiirc.json +16 -0
- package/lib/services/aws-codepipeline/index.d.ts +1 -0
- package/lib/services/aws-codepipeline/index.js +17 -0
- package/lib/services/aws-codepipeline/metrics.generated.d.ts +27 -0
- package/lib/services/aws-codepipeline/metrics.generated.js +76 -0
- package/lib/services/aws-cognito/.jsiirc.json +16 -0
- package/lib/services/aws-cognito/index.d.ts +1 -0
- package/lib/services/aws-cognito/index.js +17 -0
- package/lib/services/aws-cognito/metrics.generated.d.ts +49 -0
- package/lib/services/aws-cognito/metrics.generated.js +93 -0
- package/lib/services/aws-datasync/.jsiirc.json +16 -0
- package/lib/services/aws-datasync/index.d.ts +1 -0
- package/lib/services/aws-datasync/index.js +17 -0
- package/lib/services/aws-datasync/metrics.generated.d.ts +138 -0
- package/lib/services/aws-datasync/metrics.generated.js +274 -0
- package/lib/services/aws-dax/.jsiirc.json +16 -0
- package/lib/services/aws-dax/index.d.ts +1 -0
- package/lib/services/aws-dax/index.js +17 -0
- package/lib/services/aws-dax/metrics.generated.d.ts +105 -0
- package/lib/services/aws-dax/metrics.generated.js +258 -0
- package/lib/services/aws-dms/.jsiirc.json +16 -0
- package/lib/services/aws-dms/index.d.ts +1 -0
- package/lib/services/aws-dms/index.js +17 -0
- package/lib/services/aws-dms/metrics.generated.d.ts +268 -0
- package/lib/services/aws-dms/metrics.generated.js +569 -0
- package/lib/services/aws-docdb/.jsiirc.json +16 -0
- package/lib/services/aws-docdb/index.d.ts +1 -0
- package/lib/services/aws-docdb/index.js +17 -0
- package/lib/services/aws-docdb/metrics.generated.d.ts +63 -0
- package/lib/services/aws-docdb/metrics.generated.js +134 -0
- package/lib/services/aws-dynamodb/.jsiirc.json +16 -0
- package/lib/services/aws-dynamodb/index.d.ts +1 -0
- package/lib/services/aws-dynamodb/index.js +17 -0
- package/lib/services/aws-dynamodb/metrics.generated.d.ts +444 -0
- package/lib/services/aws-dynamodb/metrics.generated.js +734 -0
- package/lib/services/aws-ec2/.jsiirc.json +16 -0
- package/lib/services/aws-ec2/index.d.ts +1 -0
- package/lib/services/aws-ec2/index.js +17 -0
- package/lib/services/aws-ec2/metrics.generated.d.ts +1226 -0
- package/lib/services/aws-ec2/metrics.generated.js +2434 -0
- package/lib/services/aws-ecs/.jsiirc.json +16 -0
- package/lib/services/aws-ecs/index.d.ts +1 -0
- package/lib/services/aws-ecs/index.js +17 -0
- package/lib/services/aws-ecs/metrics.generated.d.ts +105 -0
- package/lib/services/aws-ecs/metrics.generated.js +185 -0
- package/lib/services/aws-efs/.jsiirc.json +16 -0
- package/lib/services/aws-efs/index.d.ts +1 -0
- package/lib/services/aws-efs/index.js +17 -0
- package/lib/services/aws-efs/metrics.generated.d.ts +130 -0
- package/lib/services/aws-efs/metrics.generated.js +235 -0
- package/lib/services/aws-eks/.jsiirc.json +16 -0
- package/lib/services/aws-eks/index.d.ts +1 -0
- package/lib/services/aws-eks/index.js +17 -0
- package/lib/services/aws-eks/metrics.generated.d.ts +146 -0
- package/lib/services/aws-eks/metrics.generated.js +324 -0
- package/lib/services/aws-elasticache/.jsiirc.json +16 -0
- package/lib/services/aws-elasticache/index.d.ts +1 -0
- package/lib/services/aws-elasticache/index.js +17 -0
- package/lib/services/aws-elasticache/metrics.generated.d.ts +1729 -0
- package/lib/services/aws-elasticache/metrics.generated.js +3969 -0
- package/lib/services/aws-elasticbeanstalk/.jsiirc.json +16 -0
- package/lib/services/aws-elasticbeanstalk/index.d.ts +1 -0
- package/lib/services/aws-elasticbeanstalk/index.js +17 -0
- package/lib/services/aws-elasticbeanstalk/metrics.generated.d.ts +68 -0
- package/lib/services/aws-elasticbeanstalk/metrics.generated.js +142 -0
- package/lib/services/aws-elasticloadbalancing/.jsiirc.json +16 -0
- package/lib/services/aws-elasticloadbalancing/index.d.ts +1 -0
- package/lib/services/aws-elasticloadbalancing/index.js +17 -0
- package/lib/services/aws-elasticloadbalancing/metrics.generated.d.ts +231 -0
- package/lib/services/aws-elasticloadbalancing/metrics.generated.js +479 -0
- package/lib/services/aws-elasticloadbalancingv2/.jsiirc.json +16 -0
- package/lib/services/aws-elasticloadbalancingv2/index.d.ts +1 -0
- package/lib/services/aws-elasticloadbalancingv2/index.js +17 -0
- package/lib/services/aws-elasticloadbalancingv2/metrics.generated.d.ts +1110 -0
- package/lib/services/aws-elasticloadbalancingv2/metrics.generated.js +2168 -0
- package/lib/services/aws-emr/.jsiirc.json +16 -0
- package/lib/services/aws-emr/index.d.ts +1 -0
- package/lib/services/aws-emr/index.js +17 -0
- package/lib/services/aws-emr/metrics.generated.d.ts +333 -0
- package/lib/services/aws-emr/metrics.generated.js +764 -0
- package/lib/services/aws-events/.jsiirc.json +16 -0
- package/lib/services/aws-events/index.d.ts +1 -0
- package/lib/services/aws-events/index.js +17 -0
- package/lib/services/aws-events/metrics.generated.d.ts +75 -0
- package/lib/services/aws-events/metrics.generated.js +162 -0
- package/lib/services/aws-fsx/.jsiirc.json +16 -0
- package/lib/services/aws-fsx/index.d.ts +1 -0
- package/lib/services/aws-fsx/index.js +17 -0
- package/lib/services/aws-fsx/metrics.generated.d.ts +134 -0
- package/lib/services/aws-fsx/metrics.generated.js +296 -0
- package/lib/services/aws-gamelift/.jsiirc.json +16 -0
- package/lib/services/aws-gamelift/index.d.ts +1 -0
- package/lib/services/aws-gamelift/index.js +17 -0
- package/lib/services/aws-gamelift/metrics.generated.d.ts +80 -0
- package/lib/services/aws-gamelift/metrics.generated.js +170 -0
- package/lib/services/aws-iot/.jsiirc.json +16 -0
- package/lib/services/aws-iot/index.d.ts +1 -0
- package/lib/services/aws-iot/index.js +17 -0
- package/lib/services/aws-iot/metrics.generated.d.ts +62 -0
- package/lib/services/aws-iot/metrics.generated.js +128 -0
- package/lib/services/aws-kinesis/.jsiirc.json +16 -0
- package/lib/services/aws-kinesis/index.d.ts +1 -0
- package/lib/services/aws-kinesis/index.js +17 -0
- package/lib/services/aws-kinesis/metrics.generated.d.ts +110 -0
- package/lib/services/aws-kinesis/metrics.generated.js +240 -0
- package/lib/services/aws-kinesisanalytics/.jsiirc.json +16 -0
- package/lib/services/aws-kinesisanalytics/index.d.ts +1 -0
- package/lib/services/aws-kinesisanalytics/index.js +17 -0
- package/lib/services/aws-kinesisanalytics/metrics.generated.d.ts +39 -0
- package/lib/services/aws-kinesisanalytics/metrics.generated.js +78 -0
- package/lib/services/aws-kinesisfirehose/.jsiirc.json +16 -0
- package/lib/services/aws-kinesisfirehose/index.d.ts +1 -0
- package/lib/services/aws-kinesisfirehose/index.js +17 -0
- package/lib/services/aws-kinesisfirehose/metrics.generated.d.ts +182 -0
- package/lib/services/aws-kinesisfirehose/metrics.generated.js +408 -0
- package/lib/services/aws-kinesisvideo/.jsiirc.json +16 -0
- package/lib/services/aws-kinesisvideo/index.d.ts +1 -0
- package/lib/services/aws-kinesisvideo/index.js +17 -0
- package/lib/services/aws-kinesisvideo/metrics.generated.d.ts +86 -0
- package/lib/services/aws-kinesisvideo/metrics.generated.js +184 -0
- package/lib/services/aws-kms/.jsiirc.json +16 -0
- package/lib/services/aws-kms/index.d.ts +1 -0
- package/lib/services/aws-kms/index.js +17 -0
- package/lib/services/aws-kms/metrics.generated.d.ts +44 -0
- package/lib/services/aws-kms/metrics.generated.js +86 -0
- package/lib/services/aws-lambda/.jsiirc.json +16 -0
- package/lib/services/aws-lambda/index.d.ts +1 -0
- package/lib/services/aws-lambda/index.js +17 -0
- package/lib/services/aws-lambda/metrics.generated.d.ts +395 -0
- package/lib/services/aws-lambda/metrics.generated.js +801 -0
- package/lib/services/aws-lex/.jsiirc.json +16 -0
- package/lib/services/aws-lex/index.d.ts +1 -0
- package/lib/services/aws-lex/index.js +17 -0
- package/lib/services/aws-lex/metrics.generated.d.ts +95 -0
- package/lib/services/aws-lex/metrics.generated.js +192 -0
- package/lib/services/aws-logs/.jsiirc.json +16 -0
- package/lib/services/aws-logs/index.d.ts +1 -0
- package/lib/services/aws-logs/index.js +17 -0
- package/lib/services/aws-logs/metrics.generated.d.ts +110 -0
- package/lib/services/aws-logs/metrics.generated.js +240 -0
- package/lib/services/aws-mediaconvert/.jsiirc.json +16 -0
- package/lib/services/aws-mediaconvert/index.d.ts +1 -0
- package/lib/services/aws-mediaconvert/index.js +17 -0
- package/lib/services/aws-mediaconvert/metrics.generated.d.ts +87 -0
- package/lib/services/aws-mediaconvert/metrics.generated.js +190 -0
- package/lib/services/aws-medialive/.jsiirc.json +16 -0
- package/lib/services/aws-medialive/index.d.ts +1 -0
- package/lib/services/aws-medialive/index.js +17 -0
- package/lib/services/aws-medialive/metrics.generated.d.ts +121 -0
- package/lib/services/aws-medialive/metrics.generated.js +261 -0
- package/lib/services/aws-mediapackage/.jsiirc.json +16 -0
- package/lib/services/aws-mediapackage/index.d.ts +1 -0
- package/lib/services/aws-mediapackage/index.js +17 -0
- package/lib/services/aws-mediapackage/metrics.generated.d.ts +51 -0
- package/lib/services/aws-mediapackage/metrics.generated.js +106 -0
- package/lib/services/aws-mediastore/.jsiirc.json +16 -0
- package/lib/services/aws-mediastore/index.d.ts +1 -0
- package/lib/services/aws-mediastore/index.js +17 -0
- package/lib/services/aws-mediastore/metrics.generated.d.ts +79 -0
- package/lib/services/aws-mediastore/metrics.generated.js +163 -0
- package/lib/services/aws-memorydb/.jsiirc.json +16 -0
- package/lib/services/aws-memorydb/index.d.ts +1 -0
- package/lib/services/aws-memorydb/index.js +17 -0
- package/lib/services/aws-memorydb/metrics.generated.d.ts +236 -0
- package/lib/services/aws-memorydb/metrics.generated.js +534 -0
- package/lib/services/aws-neptune/.jsiirc.json +16 -0
- package/lib/services/aws-neptune/index.d.ts +1 -0
- package/lib/services/aws-neptune/index.js +17 -0
- package/lib/services/aws-neptune/metrics.generated.d.ts +116 -0
- package/lib/services/aws-neptune/metrics.generated.js +254 -0
- package/lib/services/aws-opsworks/.jsiirc.json +16 -0
- package/lib/services/aws-opsworks/index.d.ts +1 -0
- package/lib/services/aws-opsworks/index.js +17 -0
- package/lib/services/aws-opsworks/metrics.generated.d.ts +376 -0
- package/lib/services/aws-opsworks/metrics.generated.js +788 -0
- package/lib/services/aws-qldb/.jsiirc.json +16 -0
- package/lib/services/aws-qldb/index.d.ts +1 -0
- package/lib/services/aws-qldb/index.js +17 -0
- package/lib/services/aws-qldb/metrics.generated.d.ts +93 -0
- package/lib/services/aws-qldb/metrics.generated.js +204 -0
- package/lib/services/aws-quicksight/.jsiirc.json +16 -0
- package/lib/services/aws-quicksight/index.d.ts +1 -0
- package/lib/services/aws-quicksight/index.js +17 -0
- package/lib/services/aws-quicksight/metrics.generated.d.ts +217 -0
- package/lib/services/aws-quicksight/metrics.generated.js +394 -0
- package/lib/services/aws-rds/.jsiirc.json +16 -0
- package/lib/services/aws-rds/index.d.ts +1 -0
- package/lib/services/aws-rds/index.js +17 -0
- package/lib/services/aws-rds/metrics.generated.d.ts +189 -0
- package/lib/services/aws-rds/metrics.generated.js +388 -0
- package/lib/services/aws-redshift/.jsiirc.json +16 -0
- package/lib/services/aws-redshift/index.d.ts +1 -0
- package/lib/services/aws-redshift/index.js +17 -0
- package/lib/services/aws-redshift/metrics.generated.d.ts +594 -0
- package/lib/services/aws-redshift/metrics.generated.js +911 -0
- package/lib/services/aws-route53/.jsiirc.json +16 -0
- package/lib/services/aws-route53/index.d.ts +1 -0
- package/lib/services/aws-route53/index.js +17 -0
- package/lib/services/aws-route53/metrics.generated.d.ts +74 -0
- package/lib/services/aws-route53/metrics.generated.js +156 -0
- package/lib/services/aws-route53resolver/.jsiirc.json +16 -0
- package/lib/services/aws-route53resolver/index.d.ts +1 -0
- package/lib/services/aws-route53resolver/index.js +17 -0
- package/lib/services/aws-route53resolver/metrics.generated.d.ts +51 -0
- package/lib/services/aws-route53resolver/metrics.generated.js +106 -0
- package/lib/services/aws-s3/.jsiirc.json +16 -0
- package/lib/services/aws-s3/index.d.ts +1 -0
- package/lib/services/aws-s3/index.js +17 -0
- package/lib/services/aws-s3/metrics.generated.d.ts +58 -0
- package/lib/services/aws-s3/metrics.generated.js +103 -0
- package/lib/services/aws-sagemaker/.jsiirc.json +16 -0
- package/lib/services/aws-sagemaker/index.d.ts +1 -0
- package/lib/services/aws-sagemaker/index.js +17 -0
- package/lib/services/aws-sagemaker/metrics.generated.d.ts +73 -0
- package/lib/services/aws-sagemaker/metrics.generated.js +149 -0
- package/lib/services/aws-servicecatalog/.jsiirc.json +16 -0
- package/lib/services/aws-servicecatalog/index.d.ts +1 -0
- package/lib/services/aws-servicecatalog/index.js +17 -0
- package/lib/services/aws-servicecatalog/metrics.generated.d.ts +39 -0
- package/lib/services/aws-servicecatalog/metrics.generated.js +78 -0
- package/lib/services/aws-ses/.jsiirc.json +16 -0
- package/lib/services/aws-ses/index.d.ts +1 -0
- package/lib/services/aws-ses/index.js +17 -0
- package/lib/services/aws-ses/metrics.generated.d.ts +162 -0
- package/lib/services/aws-ses/metrics.generated.js +356 -0
- package/lib/services/aws-sns/.jsiirc.json +16 -0
- package/lib/services/aws-sns/index.d.ts +1 -0
- package/lib/services/aws-sns/index.js +17 -0
- package/lib/services/aws-sns/metrics.generated.d.ts +130 -0
- package/lib/services/aws-sns/metrics.generated.js +203 -0
- package/lib/services/aws-sqs/.jsiirc.json +16 -0
- package/lib/services/aws-sqs/index.d.ts +1 -0
- package/lib/services/aws-sqs/index.js +17 -0
- package/lib/services/aws-sqs/metrics.generated.d.ts +87 -0
- package/lib/services/aws-sqs/metrics.generated.js +190 -0
- package/lib/services/aws-stepfunctions/.jsiirc.json +16 -0
- package/lib/services/aws-stepfunctions/index.d.ts +1 -0
- package/lib/services/aws-stepfunctions/index.js +17 -0
- package/lib/services/aws-stepfunctions/metrics.generated.d.ts +159 -0
- package/lib/services/aws-stepfunctions/metrics.generated.js +318 -0
- package/lib/services/aws-synthetics/.jsiirc.json +16 -0
- package/lib/services/aws-synthetics/index.d.ts +1 -0
- package/lib/services/aws-synthetics/index.js +17 -0
- package/lib/services/aws-synthetics/metrics.generated.d.ts +80 -0
- package/lib/services/aws-synthetics/metrics.generated.js +170 -0
- package/lib/services/aws-timestream/.jsiirc.json +16 -0
- package/lib/services/aws-timestream/index.d.ts +1 -0
- package/lib/services/aws-timestream/index.js +17 -0
- package/lib/services/aws-timestream/metrics.generated.d.ts +54 -0
- package/lib/services/aws-timestream/metrics.generated.js +88 -0
- package/lib/services/aws-transfer/.jsiirc.json +16 -0
- package/lib/services/aws-transfer/index.d.ts +1 -0
- package/lib/services/aws-transfer/index.js +17 -0
- package/lib/services/aws-transfer/metrics.generated.d.ts +45 -0
- package/lib/services/aws-transfer/metrics.generated.js +92 -0
- package/lib/services/aws-workspaces/.jsiirc.json +16 -0
- package/lib/services/aws-workspaces/index.d.ts +1 -0
- package/lib/services/aws-workspaces/index.js +17 -0
- package/lib/services/aws-workspaces/metrics.generated.d.ts +836 -0
- package/lib/services/aws-workspaces/metrics.generated.js +1724 -0
- package/lib/services/index.d.ts +62 -0
- package/lib/services/index.js +99 -0
- package/package.json +189 -0
- package/rosetta/_generated.ts-fixture +6 -0
- package/rosetta/default.ts-fixture +5 -0
- package/scripts/config.d.ts +6 -0
- package/scripts/config.js +9 -0
- package/scripts/gen.d.ts +1 -0
- package/scripts/gen.js +133 -0
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
import * as cloudwatch from "aws-cdk-lib/aws-cloudwatch";
|
|
2
|
+
import { IApiRef } from "aws-cdk-lib/aws-apigatewayv2";
|
|
3
|
+
/**
|
|
4
|
+
* CloudWatch metrics facade for AWS/ApiGateway
|
|
5
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
6
|
+
* for selected resources if available.
|
|
7
|
+
*
|
|
8
|
+
* @stability external
|
|
9
|
+
*/
|
|
10
|
+
export declare abstract class ApiGatewayMetrics {
|
|
11
|
+
/**
|
|
12
|
+
* Create ApiIdMetrics from a Api reference
|
|
13
|
+
*/
|
|
14
|
+
static fromApi(ref: IApiRef): ApiGatewayMetrics.ApiIdMetrics;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace ApiGatewayMetrics {
|
|
17
|
+
/**
|
|
18
|
+
* Metrics for dimension set: ApiId {ApiId}
|
|
19
|
+
*
|
|
20
|
+
* @stability external
|
|
21
|
+
*/
|
|
22
|
+
class ApiIdMetrics {
|
|
23
|
+
private readonly dimensions;
|
|
24
|
+
constructor(props: ApiGatewayMetrics.ApiIdMetricsProps);
|
|
25
|
+
/**
|
|
26
|
+
* Sum of the 4xx metric
|
|
27
|
+
*
|
|
28
|
+
* @default - Sum over 5 minutes
|
|
29
|
+
*/
|
|
30
|
+
_4xx(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
31
|
+
/**
|
|
32
|
+
* Sum of the 5xx metric
|
|
33
|
+
*
|
|
34
|
+
* @default - Sum over 5 minutes
|
|
35
|
+
*/
|
|
36
|
+
_5xx(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
37
|
+
/**
|
|
38
|
+
* Sum of the Count metric
|
|
39
|
+
*
|
|
40
|
+
* @default - Sum over 5 minutes
|
|
41
|
+
*/
|
|
42
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
43
|
+
/**
|
|
44
|
+
* Average of the IntegrationLatency metric
|
|
45
|
+
*
|
|
46
|
+
* @default - Average over 5 minutes
|
|
47
|
+
*/
|
|
48
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
49
|
+
/**
|
|
50
|
+
* Average of the Latency metric
|
|
51
|
+
*
|
|
52
|
+
* @default - Average over 5 minutes
|
|
53
|
+
*/
|
|
54
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
55
|
+
/**
|
|
56
|
+
* Sum of the IntegrationError metric
|
|
57
|
+
*
|
|
58
|
+
* @default - Sum over 5 minutes
|
|
59
|
+
*/
|
|
60
|
+
integrationError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
61
|
+
/**
|
|
62
|
+
* Sum of the DataProcessed metric
|
|
63
|
+
*
|
|
64
|
+
* @default - Sum over 5 minutes
|
|
65
|
+
*/
|
|
66
|
+
dataProcessed(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
67
|
+
/**
|
|
68
|
+
* Sum of the ConnectCount metric
|
|
69
|
+
*
|
|
70
|
+
* @default - Sum over 5 minutes
|
|
71
|
+
*/
|
|
72
|
+
connectCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
73
|
+
/**
|
|
74
|
+
* Sum of the MessageCount metric
|
|
75
|
+
*
|
|
76
|
+
* @default - Sum over 5 minutes
|
|
77
|
+
*/
|
|
78
|
+
messageCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
79
|
+
/**
|
|
80
|
+
* Sum of the ClientError metric
|
|
81
|
+
*
|
|
82
|
+
* @default - Sum over 5 minutes
|
|
83
|
+
*/
|
|
84
|
+
clientError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
85
|
+
/**
|
|
86
|
+
* Sum of the ExecutionError metric
|
|
87
|
+
*
|
|
88
|
+
* @default - Sum over 5 minutes
|
|
89
|
+
*/
|
|
90
|
+
executionError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Dimensions for ApiIdMetrics
|
|
94
|
+
*
|
|
95
|
+
* @struct
|
|
96
|
+
* @stability external
|
|
97
|
+
*/
|
|
98
|
+
interface ApiIdMetricsProps {
|
|
99
|
+
/**
|
|
100
|
+
* The ApiId dimension
|
|
101
|
+
*/
|
|
102
|
+
readonly apiId: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Metrics for dimension set: Stage {ApiName, Stage}
|
|
106
|
+
*
|
|
107
|
+
* @stability external
|
|
108
|
+
*/
|
|
109
|
+
class StageMetrics {
|
|
110
|
+
private readonly dimensions;
|
|
111
|
+
constructor(props: ApiGatewayMetrics.StageMetricsProps);
|
|
112
|
+
/**
|
|
113
|
+
* Sum of the Count metric
|
|
114
|
+
*
|
|
115
|
+
* @default - Sum over 5 minutes
|
|
116
|
+
*/
|
|
117
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
118
|
+
/**
|
|
119
|
+
* Average of the IntegrationLatency metric
|
|
120
|
+
*
|
|
121
|
+
* @default - Average over 5 minutes
|
|
122
|
+
*/
|
|
123
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
124
|
+
/**
|
|
125
|
+
* Average of the Latency metric
|
|
126
|
+
*
|
|
127
|
+
* @default - Average over 5 minutes
|
|
128
|
+
*/
|
|
129
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
130
|
+
/**
|
|
131
|
+
* Sum of the 4XXError metric
|
|
132
|
+
*
|
|
133
|
+
* @default - Sum over 5 minutes
|
|
134
|
+
*/
|
|
135
|
+
_4xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
136
|
+
/**
|
|
137
|
+
* Sum of the 5XXError metric
|
|
138
|
+
*
|
|
139
|
+
* @default - Sum over 5 minutes
|
|
140
|
+
*/
|
|
141
|
+
_5xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
142
|
+
/**
|
|
143
|
+
* Sum of the CacheHitCount metric
|
|
144
|
+
*
|
|
145
|
+
* @default - Sum over 5 minutes
|
|
146
|
+
*/
|
|
147
|
+
cacheHitCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
148
|
+
/**
|
|
149
|
+
* Sum of the CacheMissCount metric
|
|
150
|
+
*
|
|
151
|
+
* @default - Sum over 5 minutes
|
|
152
|
+
*/
|
|
153
|
+
cacheMissCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Dimensions for StageMetrics
|
|
157
|
+
*
|
|
158
|
+
* @struct
|
|
159
|
+
* @stability external
|
|
160
|
+
*/
|
|
161
|
+
interface StageMetricsProps {
|
|
162
|
+
/**
|
|
163
|
+
* The ApiName dimension
|
|
164
|
+
*/
|
|
165
|
+
readonly apiName: string;
|
|
166
|
+
/**
|
|
167
|
+
* The Stage dimension
|
|
168
|
+
*/
|
|
169
|
+
readonly stage: string;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Metrics for dimension set: ApiName {ApiName}
|
|
173
|
+
*
|
|
174
|
+
* @stability external
|
|
175
|
+
*/
|
|
176
|
+
class ApiNameMetrics {
|
|
177
|
+
private readonly dimensions;
|
|
178
|
+
constructor(props: ApiGatewayMetrics.ApiNameMetricsProps);
|
|
179
|
+
/**
|
|
180
|
+
* Sum of the Count metric
|
|
181
|
+
*
|
|
182
|
+
* @default - Sum over 5 minutes
|
|
183
|
+
*/
|
|
184
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
185
|
+
/**
|
|
186
|
+
* Average of the IntegrationLatency metric
|
|
187
|
+
*
|
|
188
|
+
* @default - Average over 5 minutes
|
|
189
|
+
*/
|
|
190
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
191
|
+
/**
|
|
192
|
+
* Average of the Latency metric
|
|
193
|
+
*
|
|
194
|
+
* @default - Average over 5 minutes
|
|
195
|
+
*/
|
|
196
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
197
|
+
/**
|
|
198
|
+
* Sum of the 4XXError metric
|
|
199
|
+
*
|
|
200
|
+
* @default - Sum over 5 minutes
|
|
201
|
+
*/
|
|
202
|
+
_4xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
203
|
+
/**
|
|
204
|
+
* Sum of the 5XXError metric
|
|
205
|
+
*
|
|
206
|
+
* @default - Sum over 5 minutes
|
|
207
|
+
*/
|
|
208
|
+
_5xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
209
|
+
/**
|
|
210
|
+
* Sum of the CacheHitCount metric
|
|
211
|
+
*
|
|
212
|
+
* @default - Sum over 5 minutes
|
|
213
|
+
*/
|
|
214
|
+
cacheHitCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
215
|
+
/**
|
|
216
|
+
* Sum of the CacheMissCount metric
|
|
217
|
+
*
|
|
218
|
+
* @default - Sum over 5 minutes
|
|
219
|
+
*/
|
|
220
|
+
cacheMissCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Dimensions for ApiNameMetrics
|
|
224
|
+
*
|
|
225
|
+
* @struct
|
|
226
|
+
* @stability external
|
|
227
|
+
*/
|
|
228
|
+
interface ApiNameMetricsProps {
|
|
229
|
+
/**
|
|
230
|
+
* The ApiName dimension
|
|
231
|
+
*/
|
|
232
|
+
readonly apiName: string;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Metrics for dimension set: Method {ApiName, Method, Resource, Stage}
|
|
236
|
+
*
|
|
237
|
+
* @stability external
|
|
238
|
+
*/
|
|
239
|
+
class MethodMetrics {
|
|
240
|
+
private readonly dimensions;
|
|
241
|
+
constructor(props: ApiGatewayMetrics.MethodMetricsProps);
|
|
242
|
+
/**
|
|
243
|
+
* Sum of the Count metric
|
|
244
|
+
*
|
|
245
|
+
* @default - Sum over 5 minutes
|
|
246
|
+
*/
|
|
247
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
248
|
+
/**
|
|
249
|
+
* Average of the IntegrationLatency metric
|
|
250
|
+
*
|
|
251
|
+
* @default - Average over 5 minutes
|
|
252
|
+
*/
|
|
253
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
254
|
+
/**
|
|
255
|
+
* Average of the Latency metric
|
|
256
|
+
*
|
|
257
|
+
* @default - Average over 5 minutes
|
|
258
|
+
*/
|
|
259
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
260
|
+
/**
|
|
261
|
+
* Sum of the 4XXError metric
|
|
262
|
+
*
|
|
263
|
+
* @default - Sum over 5 minutes
|
|
264
|
+
*/
|
|
265
|
+
_4xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
266
|
+
/**
|
|
267
|
+
* Sum of the 5XXError metric
|
|
268
|
+
*
|
|
269
|
+
* @default - Sum over 5 minutes
|
|
270
|
+
*/
|
|
271
|
+
_5xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
272
|
+
/**
|
|
273
|
+
* Sum of the CacheHitCount metric
|
|
274
|
+
*
|
|
275
|
+
* @default - Sum over 5 minutes
|
|
276
|
+
*/
|
|
277
|
+
cacheHitCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
278
|
+
/**
|
|
279
|
+
* Sum of the CacheMissCount metric
|
|
280
|
+
*
|
|
281
|
+
* @default - Sum over 5 minutes
|
|
282
|
+
*/
|
|
283
|
+
cacheMissCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Dimensions for MethodMetrics
|
|
287
|
+
*
|
|
288
|
+
* @struct
|
|
289
|
+
* @stability external
|
|
290
|
+
*/
|
|
291
|
+
interface MethodMetricsProps {
|
|
292
|
+
/**
|
|
293
|
+
* The ApiName dimension
|
|
294
|
+
*/
|
|
295
|
+
readonly apiName: string;
|
|
296
|
+
/**
|
|
297
|
+
* The Method dimension
|
|
298
|
+
*/
|
|
299
|
+
readonly method: string;
|
|
300
|
+
/**
|
|
301
|
+
* The Resource dimension
|
|
302
|
+
*/
|
|
303
|
+
readonly resource: string;
|
|
304
|
+
/**
|
|
305
|
+
* The Stage dimension
|
|
306
|
+
*/
|
|
307
|
+
readonly stage: string;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Metrics for dimension set: StagePerApiId {ApiId, Stage}
|
|
311
|
+
*
|
|
312
|
+
* @stability external
|
|
313
|
+
*/
|
|
314
|
+
class StagePerApiIdMetrics {
|
|
315
|
+
private readonly dimensions;
|
|
316
|
+
constructor(props: ApiGatewayMetrics.StagePerApiIdMetricsProps);
|
|
317
|
+
/**
|
|
318
|
+
* Sum of the Count metric
|
|
319
|
+
*
|
|
320
|
+
* @default - Sum over 5 minutes
|
|
321
|
+
*/
|
|
322
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
323
|
+
/**
|
|
324
|
+
* Average of the IntegrationLatency metric
|
|
325
|
+
*
|
|
326
|
+
* @default - Average over 5 minutes
|
|
327
|
+
*/
|
|
328
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
329
|
+
/**
|
|
330
|
+
* Average of the Latency metric
|
|
331
|
+
*
|
|
332
|
+
* @default - Average over 5 minutes
|
|
333
|
+
*/
|
|
334
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
335
|
+
/**
|
|
336
|
+
* Sum of the 4XXError metric
|
|
337
|
+
*
|
|
338
|
+
* @default - Sum over 5 minutes
|
|
339
|
+
*/
|
|
340
|
+
_4xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
341
|
+
/**
|
|
342
|
+
* Sum of the 5XXError metric
|
|
343
|
+
*
|
|
344
|
+
* @default - Sum over 5 minutes
|
|
345
|
+
*/
|
|
346
|
+
_5xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
347
|
+
/**
|
|
348
|
+
* Sum of the CacheHitCount metric
|
|
349
|
+
*
|
|
350
|
+
* @default - Sum over 5 minutes
|
|
351
|
+
*/
|
|
352
|
+
cacheHitCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
353
|
+
/**
|
|
354
|
+
* Sum of the CacheMissCount metric
|
|
355
|
+
*
|
|
356
|
+
* @default - Sum over 5 minutes
|
|
357
|
+
*/
|
|
358
|
+
cacheMissCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* Dimensions for StagePerApiIdMetrics
|
|
362
|
+
*
|
|
363
|
+
* @struct
|
|
364
|
+
* @stability external
|
|
365
|
+
*/
|
|
366
|
+
interface StagePerApiIdMetricsProps {
|
|
367
|
+
/**
|
|
368
|
+
* The ApiId dimension
|
|
369
|
+
*/
|
|
370
|
+
readonly apiId: string;
|
|
371
|
+
/**
|
|
372
|
+
* The Stage dimension
|
|
373
|
+
*/
|
|
374
|
+
readonly stage: string;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Metrics for dimension set: RoutePerApiId {ApiId, Stage, Route}
|
|
378
|
+
*
|
|
379
|
+
* @stability external
|
|
380
|
+
*/
|
|
381
|
+
class RoutePerApiIdMetrics {
|
|
382
|
+
private readonly dimensions;
|
|
383
|
+
constructor(props: ApiGatewayMetrics.RoutePerApiIdMetricsProps);
|
|
384
|
+
/**
|
|
385
|
+
* Average of the IntegrationLatency metric
|
|
386
|
+
*
|
|
387
|
+
* @default - Average over 5 minutes
|
|
388
|
+
*/
|
|
389
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
390
|
+
/**
|
|
391
|
+
* Sum of the IntegrationError metric
|
|
392
|
+
*
|
|
393
|
+
* @default - Sum over 5 minutes
|
|
394
|
+
*/
|
|
395
|
+
integrationError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
396
|
+
/**
|
|
397
|
+
* Sum of the ConnectCount metric
|
|
398
|
+
*
|
|
399
|
+
* @default - Sum over 5 minutes
|
|
400
|
+
*/
|
|
401
|
+
connectCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
402
|
+
/**
|
|
403
|
+
* Sum of the MessageCount metric
|
|
404
|
+
*
|
|
405
|
+
* @default - Sum over 5 minutes
|
|
406
|
+
*/
|
|
407
|
+
messageCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
408
|
+
/**
|
|
409
|
+
* Sum of the ClientError metric
|
|
410
|
+
*
|
|
411
|
+
* @default - Sum over 5 minutes
|
|
412
|
+
*/
|
|
413
|
+
clientError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
414
|
+
/**
|
|
415
|
+
* Sum of the ExecutionError metric
|
|
416
|
+
*
|
|
417
|
+
* @default - Sum over 5 minutes
|
|
418
|
+
*/
|
|
419
|
+
executionError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Dimensions for RoutePerApiIdMetrics
|
|
423
|
+
*
|
|
424
|
+
* @struct
|
|
425
|
+
* @stability external
|
|
426
|
+
*/
|
|
427
|
+
interface RoutePerApiIdMetricsProps {
|
|
428
|
+
/**
|
|
429
|
+
* The ApiId dimension
|
|
430
|
+
*/
|
|
431
|
+
readonly apiId: string;
|
|
432
|
+
/**
|
|
433
|
+
* The Stage dimension
|
|
434
|
+
*/
|
|
435
|
+
readonly stage: string;
|
|
436
|
+
/**
|
|
437
|
+
* The Route dimension
|
|
438
|
+
*/
|
|
439
|
+
readonly route: string;
|
|
440
|
+
}
|
|
441
|
+
}
|