diff --git a/API.md b/API.md index 2f01e375..ec8b982a 100644 --- a/API.md +++ b/API.md @@ -53135,9 +53135,15 @@ public metricInvocationCount(): Metric | MathExpression ##### `metricInvocationRate` ```typescript -public metricInvocationRate(): Metric | MathExpression +public metricInvocationRate(rateComputationMethod?: RateComputationMethod): Metric | MathExpression ``` +###### `rateComputationMethod`Optional + +- *Type:* RateComputationMethod + +--- + ##### `metricLatencyInMillis` ```typescript @@ -53702,9 +53708,15 @@ public metricInvocationCount(): Metric | MathExpression ##### `metricInvocationRate` ```typescript -public metricInvocationRate(): Metric | MathExpression +public metricInvocationRate(rateComputationMethod?: RateComputationMethod): Metric | MathExpression ``` +###### `rateComputationMethod`Optional + +- *Type:* RateComputationMethod + +--- + ##### `metricLatencyInMillis` ```typescript @@ -54355,9 +54367,15 @@ public metricRequestCount(): Metric | MathExpression ##### `metricRequestRate` ```typescript -public metricRequestRate(): Metric | MathExpression +public metricRequestRate(rateComputationMethod?: RateComputationMethod): Metric | MathExpression ``` +###### `rateComputationMethod`Optional + +- *Type:* RateComputationMethod + +--- + ##### ~~`metricTps`~~ ```typescript @@ -56731,9 +56749,15 @@ public metricRequestCount(): Metric | MathExpression ##### `metricRequestRate` ```typescript -public metricRequestRate(): Metric | MathExpression +public metricRequestRate(rateComputationMethod?: RateComputationMethod): Metric | MathExpression ``` +###### `rateComputationMethod`Optional + +- *Type:* RateComputationMethod + +--- + ##### ~~`metricRequestTps`~~ ```typescript @@ -66046,9 +66070,15 @@ public metricInvocationCount(): Metric | MathExpression ##### `metricInvocationRate` ```typescript -public metricInvocationRate(): Metric | MathExpression +public metricInvocationRate(rateComputationMethod?: RateComputationMethod): Metric | MathExpression ``` +###### `rateComputationMethod`Optional + +- *Type:* RateComputationMethod + +--- + ##### `metricLatencyInMillis` ```typescript @@ -69583,9 +69613,15 @@ public metricSearchLatencyP99InMillis(): Metric | MathExpression ##### `metricSearchRate` ```typescript -public metricSearchRate(): Metric | MathExpression +public metricSearchRate(rateComputationMethod?: RateComputationMethod): Metric | MathExpression ``` +###### `rateComputationMethod`Optional + +- *Type:* RateComputationMethod + +--- + ##### ~~`metricTps`~~ ```typescript diff --git a/lib/monitoring/aws-apigateway/ApiGatewayMetricFactory.ts b/lib/monitoring/aws-apigateway/ApiGatewayMetricFactory.ts index 6ec4ced0..b35a5ac2 100644 --- a/lib/monitoring/aws-apigateway/ApiGatewayMetricFactory.ts +++ b/lib/monitoring/aws-apigateway/ApiGatewayMetricFactory.ts @@ -67,19 +67,13 @@ export class ApiGatewayMetricFactory extends BaseMetricFactory