@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-13T01:13:35.720Z") public interface IHttpApi extends IApi
Modifier and Type | Interface and Description |
---|---|
static interface |
IHttpApi.Jsii$Default
Internal default implementation for
IHttpApi . |
static class |
IHttpApi.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
VpcLink |
addVpcLink(VpcLinkProps options)
(experimental) Add a new VpcLink.
|
java.lang.String |
getHttpApiId()
Deprecated.
- use apiId instead
|
Metric |
metricClientError()
(experimental) Metric for the number of client-side errors captured in a given period.
|
Metric |
metricClientError(MetricOptions props)
(experimental) Metric for the number of client-side errors captured in a given period.
|
Metric |
metricCount()
(experimental) Metric for the total number API requests in a given period.
|
Metric |
metricCount(MetricOptions props)
(experimental) Metric for the total number API requests in a given period.
|
Metric |
metricDataProcessed()
(experimental) Metric for the amount of data processed in bytes.
|
Metric |
metricDataProcessed(MetricOptions props)
(experimental) Metric for the amount of data processed in bytes.
|
Metric |
metricIntegrationLatency()
(experimental) Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
|
Metric |
metricIntegrationLatency(MetricOptions props)
(experimental) Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.
|
Metric |
metricLatency()
(experimental) The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
Metric |
metricLatency(MetricOptions props)
(experimental) The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
Metric |
metricServerError()
(experimental) Metric for the number of server-side errors captured in a given period.
|
Metric |
metricServerError(MetricOptions props)
(experimental) Metric for the number of server-side errors captured in a given period.
|
getApiEndpoint, getApiId, metric, metric
applyRemovalPolicy, getEnv, getStack
getNode
@Deprecated java.lang.String getHttpApiId()
VpcLink addVpcLink(VpcLinkProps options)
options
- This parameter is required.Metric metricClientError(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricClientError()
Default: - sum over 5 minutes
Metric metricCount(MetricOptions props)
Default: - SampleCount over 5 minutes
props
- Metric metricCount()
Default: - SampleCount over 5 minutes
Metric metricDataProcessed(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricDataProcessed()
Default: - sum over 5 minutes
Metric metricIntegrationLatency(MetricOptions props)
Default: - no statistic
props
- Metric metricIntegrationLatency()
Default: - no statistic
Metric metricLatency(MetricOptions props)
The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
props
- Metric metricLatency()
The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
Metric metricServerError(MetricOptions props)
Default: - sum over 5 minutes
props
- Metric metricServerError()
Default: - sum over 5 minutes