@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:21.424Z") @Stability(value=Experimental) public interface IApi extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IApi.Jsii$Default
Internal default implementation for
IApi. |
static class |
IApi.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApiEndpoint()
(experimental) The default endpoint for an API.
|
String |
getApiId()
(experimental) The identifier of this API Gateway API.
|
Metric |
metric(String metricName)
(experimental) Return the given named metric for this Api Gateway.
|
Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this Api Gateway.
|
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.
|
getNode@Stability(value=Experimental) @NotNull String getApiEndpoint()
@Stability(value=Experimental) @NotNull String getApiId()
@Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
Default: - average over 5 minutes
metricName - This parameter is required.props - @Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName)
Default: - average over 5 minutes
metricName - This parameter is required.@Stability(value=Experimental) @NotNull Metric metricClientError(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricClientError()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricCount(@Nullable MetricOptions props)
Default: - SampleCount over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricCount()
Default: - SampleCount over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricDataProcessed(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricDataProcessed()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricIntegrationLatency(@Nullable MetricOptions props)
Default: - no statistic
props - @Stability(value=Experimental) @NotNull Metric metricIntegrationLatency()
Default: - no statistic
@Stability(value=Experimental) @NotNull Metric metricLatency(@Nullable MetricOptions props)
The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
props - @Stability(value=Experimental) @NotNull Metric metricLatency()
The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
@Stability(value=Experimental) @NotNull Metric metricServerError(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricServerError()
Default: - sum over 5 minutes
Copyright © 2021. All rights reserved.