@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,316 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AmazonMQMetrics = void 0;
|
|
37
|
+
/* eslint-disable @stylistic/max-len, eol-last */
|
|
38
|
+
const cloudwatch = __importStar(require("aws-cdk-lib/aws-cloudwatch"));
|
|
39
|
+
/**
|
|
40
|
+
* CloudWatch metrics facade for AWS/AmazonMQ
|
|
41
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
42
|
+
* for selected resources if available.
|
|
43
|
+
*
|
|
44
|
+
* @stability external
|
|
45
|
+
*/
|
|
46
|
+
class AmazonMQMetrics {
|
|
47
|
+
}
|
|
48
|
+
exports.AmazonMQMetrics = AmazonMQMetrics;
|
|
49
|
+
(function (AmazonMQMetrics) {
|
|
50
|
+
/**
|
|
51
|
+
* Metrics for dimension set: Broker {Broker}
|
|
52
|
+
*
|
|
53
|
+
* @stability external
|
|
54
|
+
*/
|
|
55
|
+
class BrokerMetrics {
|
|
56
|
+
dimensions;
|
|
57
|
+
constructor(props) {
|
|
58
|
+
this.dimensions = {
|
|
59
|
+
Broker: props.broker
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Average of the AckRate metric
|
|
64
|
+
*
|
|
65
|
+
* @default - Average over 5 minutes
|
|
66
|
+
*/
|
|
67
|
+
ackRate(options) {
|
|
68
|
+
return new cloudwatch.Metric({
|
|
69
|
+
namespace: "AWS/AmazonMQ",
|
|
70
|
+
metricName: "AckRate",
|
|
71
|
+
dimensionsMap: this.dimensions,
|
|
72
|
+
statistic: "Average",
|
|
73
|
+
...options
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Sum of the ChannelCount metric
|
|
78
|
+
*
|
|
79
|
+
* @default - Sum over 5 minutes
|
|
80
|
+
*/
|
|
81
|
+
channelCount(options) {
|
|
82
|
+
return new cloudwatch.Metric({
|
|
83
|
+
namespace: "AWS/AmazonMQ",
|
|
84
|
+
metricName: "ChannelCount",
|
|
85
|
+
dimensionsMap: this.dimensions,
|
|
86
|
+
statistic: "Sum",
|
|
87
|
+
...options
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Average of the ConfirmRate metric
|
|
92
|
+
*
|
|
93
|
+
* @default - Average over 5 minutes
|
|
94
|
+
*/
|
|
95
|
+
confirmRate(options) {
|
|
96
|
+
return new cloudwatch.Metric({
|
|
97
|
+
namespace: "AWS/AmazonMQ",
|
|
98
|
+
metricName: "ConfirmRate",
|
|
99
|
+
dimensionsMap: this.dimensions,
|
|
100
|
+
statistic: "Average",
|
|
101
|
+
...options
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Sum of the ConnectionCount metric
|
|
106
|
+
*
|
|
107
|
+
* @default - Sum over 5 minutes
|
|
108
|
+
*/
|
|
109
|
+
connectionCount(options) {
|
|
110
|
+
return new cloudwatch.Metric({
|
|
111
|
+
namespace: "AWS/AmazonMQ",
|
|
112
|
+
metricName: "ConnectionCount",
|
|
113
|
+
dimensionsMap: this.dimensions,
|
|
114
|
+
statistic: "Sum",
|
|
115
|
+
...options
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Sum of the ConsumerCount metric
|
|
120
|
+
*
|
|
121
|
+
* @default - Sum over 5 minutes
|
|
122
|
+
*/
|
|
123
|
+
consumerCount(options) {
|
|
124
|
+
return new cloudwatch.Metric({
|
|
125
|
+
namespace: "AWS/AmazonMQ",
|
|
126
|
+
metricName: "ConsumerCount",
|
|
127
|
+
dimensionsMap: this.dimensions,
|
|
128
|
+
statistic: "Sum",
|
|
129
|
+
...options
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Average of the CpuUtilization metric
|
|
134
|
+
*
|
|
135
|
+
* @default - Average over 5 minutes
|
|
136
|
+
*/
|
|
137
|
+
cpuUtilization(options) {
|
|
138
|
+
return new cloudwatch.Metric({
|
|
139
|
+
namespace: "AWS/AmazonMQ",
|
|
140
|
+
metricName: "CpuUtilization",
|
|
141
|
+
dimensionsMap: this.dimensions,
|
|
142
|
+
statistic: "Average",
|
|
143
|
+
...options
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Sum of the CurrentConnectionsCount metric
|
|
148
|
+
*
|
|
149
|
+
* @default - Sum over 5 minutes
|
|
150
|
+
*/
|
|
151
|
+
currentConnectionsCount(options) {
|
|
152
|
+
return new cloudwatch.Metric({
|
|
153
|
+
namespace: "AWS/AmazonMQ",
|
|
154
|
+
metricName: "CurrentConnectionsCount",
|
|
155
|
+
dimensionsMap: this.dimensions,
|
|
156
|
+
statistic: "Sum",
|
|
157
|
+
...options
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Sum of the ExchangeCount metric
|
|
162
|
+
*
|
|
163
|
+
* @default - Sum over 5 minutes
|
|
164
|
+
*/
|
|
165
|
+
exchangeCount(options) {
|
|
166
|
+
return new cloudwatch.Metric({
|
|
167
|
+
namespace: "AWS/AmazonMQ",
|
|
168
|
+
metricName: "ExchangeCount",
|
|
169
|
+
dimensionsMap: this.dimensions,
|
|
170
|
+
statistic: "Sum",
|
|
171
|
+
...options
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Sum of the MessageCount metric
|
|
176
|
+
*
|
|
177
|
+
* @default - Sum over 5 minutes
|
|
178
|
+
*/
|
|
179
|
+
messageCount(options) {
|
|
180
|
+
return new cloudwatch.Metric({
|
|
181
|
+
namespace: "AWS/AmazonMQ",
|
|
182
|
+
metricName: "MessageCount",
|
|
183
|
+
dimensionsMap: this.dimensions,
|
|
184
|
+
statistic: "Sum",
|
|
185
|
+
...options
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Sum of the MessageReadyCount metric
|
|
190
|
+
*
|
|
191
|
+
* @default - Sum over 5 minutes
|
|
192
|
+
*/
|
|
193
|
+
messageReadyCount(options) {
|
|
194
|
+
return new cloudwatch.Metric({
|
|
195
|
+
namespace: "AWS/AmazonMQ",
|
|
196
|
+
metricName: "MessageReadyCount",
|
|
197
|
+
dimensionsMap: this.dimensions,
|
|
198
|
+
statistic: "Sum",
|
|
199
|
+
...options
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Sum of the MessageUnacknowledgedCount metric
|
|
204
|
+
*
|
|
205
|
+
* @default - Sum over 5 minutes
|
|
206
|
+
*/
|
|
207
|
+
messageUnacknowledgedCount(options) {
|
|
208
|
+
return new cloudwatch.Metric({
|
|
209
|
+
namespace: "AWS/AmazonMQ",
|
|
210
|
+
metricName: "MessageUnacknowledgedCount",
|
|
211
|
+
dimensionsMap: this.dimensions,
|
|
212
|
+
statistic: "Sum",
|
|
213
|
+
...options
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Sum of the NetworkIn metric
|
|
218
|
+
*
|
|
219
|
+
* @default - Sum over 5 minutes
|
|
220
|
+
*/
|
|
221
|
+
networkIn(options) {
|
|
222
|
+
return new cloudwatch.Metric({
|
|
223
|
+
namespace: "AWS/AmazonMQ",
|
|
224
|
+
metricName: "NetworkIn",
|
|
225
|
+
dimensionsMap: this.dimensions,
|
|
226
|
+
statistic: "Sum",
|
|
227
|
+
...options
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Sum of the NetworkOut metric
|
|
232
|
+
*
|
|
233
|
+
* @default - Sum over 5 minutes
|
|
234
|
+
*/
|
|
235
|
+
networkOut(options) {
|
|
236
|
+
return new cloudwatch.Metric({
|
|
237
|
+
namespace: "AWS/AmazonMQ",
|
|
238
|
+
metricName: "NetworkOut",
|
|
239
|
+
dimensionsMap: this.dimensions,
|
|
240
|
+
statistic: "Sum",
|
|
241
|
+
...options
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Average of the PublishRate metric
|
|
246
|
+
*
|
|
247
|
+
* @default - Average over 5 minutes
|
|
248
|
+
*/
|
|
249
|
+
publishRate(options) {
|
|
250
|
+
return new cloudwatch.Metric({
|
|
251
|
+
namespace: "AWS/AmazonMQ",
|
|
252
|
+
metricName: "PublishRate",
|
|
253
|
+
dimensionsMap: this.dimensions,
|
|
254
|
+
statistic: "Average",
|
|
255
|
+
...options
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Sum of the QueueCount metric
|
|
260
|
+
*
|
|
261
|
+
* @default - Sum over 5 minutes
|
|
262
|
+
*/
|
|
263
|
+
queueCount(options) {
|
|
264
|
+
return new cloudwatch.Metric({
|
|
265
|
+
namespace: "AWS/AmazonMQ",
|
|
266
|
+
metricName: "QueueCount",
|
|
267
|
+
dimensionsMap: this.dimensions,
|
|
268
|
+
statistic: "Sum",
|
|
269
|
+
...options
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Sum of the TotalConsumerCount metric
|
|
274
|
+
*
|
|
275
|
+
* @default - Sum over 5 minutes
|
|
276
|
+
*/
|
|
277
|
+
totalConsumerCount(options) {
|
|
278
|
+
return new cloudwatch.Metric({
|
|
279
|
+
namespace: "AWS/AmazonMQ",
|
|
280
|
+
metricName: "TotalConsumerCount",
|
|
281
|
+
dimensionsMap: this.dimensions,
|
|
282
|
+
statistic: "Sum",
|
|
283
|
+
...options
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Sum of the TotalMessageCount metric
|
|
288
|
+
*
|
|
289
|
+
* @default - Sum over 5 minutes
|
|
290
|
+
*/
|
|
291
|
+
totalMessageCount(options) {
|
|
292
|
+
return new cloudwatch.Metric({
|
|
293
|
+
namespace: "AWS/AmazonMQ",
|
|
294
|
+
metricName: "TotalMessageCount",
|
|
295
|
+
dimensionsMap: this.dimensions,
|
|
296
|
+
statistic: "Sum",
|
|
297
|
+
...options
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Sum of the TotalProducerCount metric
|
|
302
|
+
*
|
|
303
|
+
* @default - Sum over 5 minutes
|
|
304
|
+
*/
|
|
305
|
+
totalProducerCount(options) {
|
|
306
|
+
return new cloudwatch.Metric({
|
|
307
|
+
namespace: "AWS/AmazonMQ",
|
|
308
|
+
metricName: "TotalProducerCount",
|
|
309
|
+
dimensionsMap: this.dimensions,
|
|
310
|
+
statistic: "Sum",
|
|
311
|
+
...options
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
AmazonMQMetrics.BrokerMetrics = BrokerMetrics;
|
|
316
|
+
})(AmazonMQMetrics || (exports.AmazonMQMetrics = AmazonMQMetrics = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": {
|
|
3
|
+
"java": {
|
|
4
|
+
"package": "software.amazon.awscdk.metricsfacade.alpha.services.apigateway"
|
|
5
|
+
},
|
|
6
|
+
"dotnet": {
|
|
7
|
+
"namespace": "Amazon.CDK.MetricsFacade.Alpha.AWS.ApiGateway"
|
|
8
|
+
},
|
|
9
|
+
"python": {
|
|
10
|
+
"module": "aws_cdk.metrics_facade_alpha.aws_apigateway"
|
|
11
|
+
},
|
|
12
|
+
"go": {
|
|
13
|
+
"packageName": "metricsfacadealphaawsapigateway"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './metrics.generated';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./metrics.generated"), exports);
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
import * as cloudwatch from "aws-cdk-lib/aws-cloudwatch";
|
|
2
|
+
/**
|
|
3
|
+
* CloudWatch metrics facade for AWS/ApiGateway
|
|
4
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
5
|
+
* for selected resources if available.
|
|
6
|
+
*
|
|
7
|
+
* @stability external
|
|
8
|
+
*/
|
|
9
|
+
export declare abstract class ApiGatewayMetrics {
|
|
10
|
+
}
|
|
11
|
+
export declare namespace ApiGatewayMetrics {
|
|
12
|
+
/**
|
|
13
|
+
* Metrics for dimension set: Stage {ApiName, Stage}
|
|
14
|
+
*
|
|
15
|
+
* @stability external
|
|
16
|
+
*/
|
|
17
|
+
class StageMetrics {
|
|
18
|
+
private readonly dimensions;
|
|
19
|
+
constructor(props: ApiGatewayMetrics.StageMetricsProps);
|
|
20
|
+
/**
|
|
21
|
+
* Sum of the 4XXError metric
|
|
22
|
+
*
|
|
23
|
+
* @default - Sum over 5 minutes
|
|
24
|
+
*/
|
|
25
|
+
_4xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
26
|
+
/**
|
|
27
|
+
* Sum of the 5XXError metric
|
|
28
|
+
*
|
|
29
|
+
* @default - Sum over 5 minutes
|
|
30
|
+
*/
|
|
31
|
+
_5xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
32
|
+
/**
|
|
33
|
+
* Sum of the CacheHitCount metric
|
|
34
|
+
*
|
|
35
|
+
* @default - Sum over 5 minutes
|
|
36
|
+
*/
|
|
37
|
+
cacheHitCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
38
|
+
/**
|
|
39
|
+
* Sum of the CacheMissCount metric
|
|
40
|
+
*
|
|
41
|
+
* @default - Sum over 5 minutes
|
|
42
|
+
*/
|
|
43
|
+
cacheMissCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
44
|
+
/**
|
|
45
|
+
* Sum of the Count metric
|
|
46
|
+
*
|
|
47
|
+
* @default - Sum over 5 minutes
|
|
48
|
+
*/
|
|
49
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
50
|
+
/**
|
|
51
|
+
* Average of the IntegrationLatency metric
|
|
52
|
+
*
|
|
53
|
+
* @default - Average over 5 minutes
|
|
54
|
+
*/
|
|
55
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
56
|
+
/**
|
|
57
|
+
* Average of the Latency metric
|
|
58
|
+
*
|
|
59
|
+
* @default - Average over 5 minutes
|
|
60
|
+
*/
|
|
61
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Dimensions for StageMetrics
|
|
65
|
+
*
|
|
66
|
+
* @struct
|
|
67
|
+
* @stability external
|
|
68
|
+
*/
|
|
69
|
+
interface StageMetricsProps {
|
|
70
|
+
/**
|
|
71
|
+
* The ApiName dimension
|
|
72
|
+
*/
|
|
73
|
+
readonly apiName: string;
|
|
74
|
+
/**
|
|
75
|
+
* The Stage dimension
|
|
76
|
+
*/
|
|
77
|
+
readonly stage: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Metrics for dimension set: ApiName {ApiName}
|
|
81
|
+
*
|
|
82
|
+
* @stability external
|
|
83
|
+
*/
|
|
84
|
+
class ApiNameMetrics {
|
|
85
|
+
private readonly dimensions;
|
|
86
|
+
constructor(props: ApiGatewayMetrics.ApiNameMetricsProps);
|
|
87
|
+
/**
|
|
88
|
+
* Sum of the 4XXError metric
|
|
89
|
+
*
|
|
90
|
+
* @default - Sum over 5 minutes
|
|
91
|
+
*/
|
|
92
|
+
_4xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
93
|
+
/**
|
|
94
|
+
* Sum of the 5XXError metric
|
|
95
|
+
*
|
|
96
|
+
* @default - Sum over 5 minutes
|
|
97
|
+
*/
|
|
98
|
+
_5xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
99
|
+
/**
|
|
100
|
+
* Sum of the CacheHitCount metric
|
|
101
|
+
*
|
|
102
|
+
* @default - Sum over 5 minutes
|
|
103
|
+
*/
|
|
104
|
+
cacheHitCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
105
|
+
/**
|
|
106
|
+
* Sum of the CacheMissCount metric
|
|
107
|
+
*
|
|
108
|
+
* @default - Sum over 5 minutes
|
|
109
|
+
*/
|
|
110
|
+
cacheMissCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
111
|
+
/**
|
|
112
|
+
* Sum of the Count metric
|
|
113
|
+
*
|
|
114
|
+
* @default - Sum over 5 minutes
|
|
115
|
+
*/
|
|
116
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
117
|
+
/**
|
|
118
|
+
* Average of the IntegrationLatency metric
|
|
119
|
+
*
|
|
120
|
+
* @default - Average over 5 minutes
|
|
121
|
+
*/
|
|
122
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
123
|
+
/**
|
|
124
|
+
* Average of the Latency metric
|
|
125
|
+
*
|
|
126
|
+
* @default - Average over 5 minutes
|
|
127
|
+
*/
|
|
128
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Dimensions for ApiNameMetrics
|
|
132
|
+
*
|
|
133
|
+
* @struct
|
|
134
|
+
* @stability external
|
|
135
|
+
*/
|
|
136
|
+
interface ApiNameMetricsProps {
|
|
137
|
+
/**
|
|
138
|
+
* The ApiName dimension
|
|
139
|
+
*/
|
|
140
|
+
readonly apiName: string;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Metrics for dimension set: Method {ApiName, Method, Resource, Stage}
|
|
144
|
+
*
|
|
145
|
+
* @stability external
|
|
146
|
+
*/
|
|
147
|
+
class MethodMetrics {
|
|
148
|
+
private readonly dimensions;
|
|
149
|
+
constructor(props: ApiGatewayMetrics.MethodMetricsProps);
|
|
150
|
+
/**
|
|
151
|
+
* Sum of the 4XXError metric
|
|
152
|
+
*
|
|
153
|
+
* @default - Sum over 5 minutes
|
|
154
|
+
*/
|
|
155
|
+
_4xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
156
|
+
/**
|
|
157
|
+
* Sum of the 5XXError metric
|
|
158
|
+
*
|
|
159
|
+
* @default - Sum over 5 minutes
|
|
160
|
+
*/
|
|
161
|
+
_5xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
162
|
+
/**
|
|
163
|
+
* Sum of the CacheHitCount metric
|
|
164
|
+
*
|
|
165
|
+
* @default - Sum over 5 minutes
|
|
166
|
+
*/
|
|
167
|
+
cacheHitCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
168
|
+
/**
|
|
169
|
+
* Sum of the CacheMissCount metric
|
|
170
|
+
*
|
|
171
|
+
* @default - Sum over 5 minutes
|
|
172
|
+
*/
|
|
173
|
+
cacheMissCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
174
|
+
/**
|
|
175
|
+
* Sum of the Count metric
|
|
176
|
+
*
|
|
177
|
+
* @default - Sum over 5 minutes
|
|
178
|
+
*/
|
|
179
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
180
|
+
/**
|
|
181
|
+
* Average of the IntegrationLatency metric
|
|
182
|
+
*
|
|
183
|
+
* @default - Average over 5 minutes
|
|
184
|
+
*/
|
|
185
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
186
|
+
/**
|
|
187
|
+
* Average of the Latency metric
|
|
188
|
+
*
|
|
189
|
+
* @default - Average over 5 minutes
|
|
190
|
+
*/
|
|
191
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Dimensions for MethodMetrics
|
|
195
|
+
*
|
|
196
|
+
* @struct
|
|
197
|
+
* @stability external
|
|
198
|
+
*/
|
|
199
|
+
interface MethodMetricsProps {
|
|
200
|
+
/**
|
|
201
|
+
* The ApiName dimension
|
|
202
|
+
*/
|
|
203
|
+
readonly apiName: string;
|
|
204
|
+
/**
|
|
205
|
+
* The Method dimension
|
|
206
|
+
*/
|
|
207
|
+
readonly method: string;
|
|
208
|
+
/**
|
|
209
|
+
* The Resource dimension
|
|
210
|
+
*/
|
|
211
|
+
readonly resource: string;
|
|
212
|
+
/**
|
|
213
|
+
* The Stage dimension
|
|
214
|
+
*/
|
|
215
|
+
readonly stage: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Metrics for dimension set: StagePerApiId {ApiId, Stage}
|
|
219
|
+
*
|
|
220
|
+
* @stability external
|
|
221
|
+
*/
|
|
222
|
+
class StagePerApiIdMetrics {
|
|
223
|
+
private readonly dimensions;
|
|
224
|
+
constructor(props: ApiGatewayMetrics.StagePerApiIdMetricsProps);
|
|
225
|
+
/**
|
|
226
|
+
* Sum of the 4XXError metric
|
|
227
|
+
*
|
|
228
|
+
* @default - Sum over 5 minutes
|
|
229
|
+
*/
|
|
230
|
+
_4xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
231
|
+
/**
|
|
232
|
+
* Sum of the 5XXError metric
|
|
233
|
+
*
|
|
234
|
+
* @default - Sum over 5 minutes
|
|
235
|
+
*/
|
|
236
|
+
_5xxError(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
237
|
+
/**
|
|
238
|
+
* Sum of the CacheHitCount metric
|
|
239
|
+
*
|
|
240
|
+
* @default - Sum over 5 minutes
|
|
241
|
+
*/
|
|
242
|
+
cacheHitCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
243
|
+
/**
|
|
244
|
+
* Sum of the CacheMissCount metric
|
|
245
|
+
*
|
|
246
|
+
* @default - Sum over 5 minutes
|
|
247
|
+
*/
|
|
248
|
+
cacheMissCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
249
|
+
/**
|
|
250
|
+
* Sum of the Count metric
|
|
251
|
+
*
|
|
252
|
+
* @default - Sum over 5 minutes
|
|
253
|
+
*/
|
|
254
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
255
|
+
/**
|
|
256
|
+
* Average of the IntegrationLatency metric
|
|
257
|
+
*
|
|
258
|
+
* @default - Average over 5 minutes
|
|
259
|
+
*/
|
|
260
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
261
|
+
/**
|
|
262
|
+
* Average of the Latency metric
|
|
263
|
+
*
|
|
264
|
+
* @default - Average over 5 minutes
|
|
265
|
+
*/
|
|
266
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Dimensions for StagePerApiIdMetrics
|
|
270
|
+
*
|
|
271
|
+
* @struct
|
|
272
|
+
* @stability external
|
|
273
|
+
*/
|
|
274
|
+
interface StagePerApiIdMetricsProps {
|
|
275
|
+
/**
|
|
276
|
+
* The ApiId dimension
|
|
277
|
+
*/
|
|
278
|
+
readonly apiId: string;
|
|
279
|
+
/**
|
|
280
|
+
* The Stage dimension
|
|
281
|
+
*/
|
|
282
|
+
readonly stage: string;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Metrics for dimension set: ApiId {ApiId}
|
|
286
|
+
*
|
|
287
|
+
* @stability external
|
|
288
|
+
*/
|
|
289
|
+
class ApiIdMetrics {
|
|
290
|
+
private readonly dimensions;
|
|
291
|
+
constructor(props: ApiGatewayMetrics.ApiIdMetricsProps);
|
|
292
|
+
/**
|
|
293
|
+
* Sum of the Count metric
|
|
294
|
+
*
|
|
295
|
+
* @default - Sum over 5 minutes
|
|
296
|
+
*/
|
|
297
|
+
count(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
298
|
+
/**
|
|
299
|
+
* Average of the IntegrationLatency metric
|
|
300
|
+
*
|
|
301
|
+
* @default - Average over 5 minutes
|
|
302
|
+
*/
|
|
303
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
304
|
+
/**
|
|
305
|
+
* Average of the Latency metric
|
|
306
|
+
*
|
|
307
|
+
* @default - Average over 5 minutes
|
|
308
|
+
*/
|
|
309
|
+
latency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Dimensions for ApiIdMetrics
|
|
313
|
+
*
|
|
314
|
+
* @struct
|
|
315
|
+
* @stability external
|
|
316
|
+
*/
|
|
317
|
+
interface ApiIdMetricsProps {
|
|
318
|
+
/**
|
|
319
|
+
* The ApiId dimension
|
|
320
|
+
*/
|
|
321
|
+
readonly apiId: string;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Metrics for dimension set: RoutePerApiId {ApiId, Stage, Route}
|
|
325
|
+
*
|
|
326
|
+
* @stability external
|
|
327
|
+
*/
|
|
328
|
+
class RoutePerApiIdMetrics {
|
|
329
|
+
private readonly dimensions;
|
|
330
|
+
constructor(props: ApiGatewayMetrics.RoutePerApiIdMetricsProps);
|
|
331
|
+
/**
|
|
332
|
+
* Average of the IntegrationLatency metric
|
|
333
|
+
*
|
|
334
|
+
* @default - Average over 5 minutes
|
|
335
|
+
*/
|
|
336
|
+
integrationLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Dimensions for RoutePerApiIdMetrics
|
|
340
|
+
*
|
|
341
|
+
* @struct
|
|
342
|
+
* @stability external
|
|
343
|
+
*/
|
|
344
|
+
interface RoutePerApiIdMetricsProps {
|
|
345
|
+
/**
|
|
346
|
+
* The ApiId dimension
|
|
347
|
+
*/
|
|
348
|
+
readonly apiId: string;
|
|
349
|
+
/**
|
|
350
|
+
* The Stage dimension
|
|
351
|
+
*/
|
|
352
|
+
readonly stage: string;
|
|
353
|
+
/**
|
|
354
|
+
* The Route dimension
|
|
355
|
+
*/
|
|
356
|
+
readonly route: string;
|
|
357
|
+
}
|
|
358
|
+
}
|