Class IGateway.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrockagentcore.IGateway.Jsii$Proxy
All Implemented Interfaces:
IGatewayRef, IGatewayRef.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IGateway, IGateway.Jsii$Default, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default
Enclosing interface:
IGateway

@Internal public static final class IGateway.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IGateway.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
  • Method Details

    • metric

      @Stability(Stable) @NotNull public final Metric metric(@NotNull String metricName)
      Return the given named metric for this gateway.

      Specified by:
      metric in interface IGateway
      Specified by:
      metric in interface IGateway.Jsii$Default
      Parameters:
      metricName - The name of the metric. This parameter is required.
    • metricDuration

      @Stability(Stable) @NotNull public final Metric metricDuration()
      Return a metric measuring the duration of requests for this gateway.

      The duration metric represents the total time elapsed between receiving the request and sending the final response token, representing complete end-to-end processing time.

      Default: - Average statistic over 5 minutes

      Specified by:
      metricDuration in interface IGateway
      Specified by:
      metricDuration in interface IGateway.Jsii$Default
    • metricInvocations

      @Stability(Stable) @NotNull public final Metric metricInvocations()
      Return a metric containing the total number of invocations for this gateway.

      This metric tracks all successful invocations of the gateway.

      Default: - Sum statistic over 5 minutes

      Specified by:
      metricInvocations in interface IGateway
      Specified by:
      metricInvocations in interface IGateway.Jsii$Default
    • metricLatency

      @Stability(Stable) @NotNull public final Metric metricLatency()
      Return a metric measuring the latency of requests for this gateway.

      The latency metric represents the time elapsed between when the service receives the request and when it begins sending the first response token.

      Default: - Average statistic over 5 minutes

      Specified by:
      metricLatency in interface IGateway
      Specified by:
      metricLatency in interface IGateway.Jsii$Default
    • metricSystemErrors

      @Stability(Stable) @NotNull public final Metric metricSystemErrors()
      Return a metric containing the number of system errors (5xx status code) for this gateway.

      This metric tracks internal server errors and system failures.

      Default: - Sum statistic over 5 minutes

      Specified by:
      metricSystemErrors in interface IGateway
      Specified by:
      metricSystemErrors in interface IGateway.Jsii$Default
    • metricTargetExecutionTime

      @Stability(Stable) @NotNull public final Metric metricTargetExecutionTime()
      Return a metric measuring the target execution time for this gateway.

      This metric helps determine the contribution of the target (Lambda, OpenAPI, etc.) to the total latency.

      Default: - Average statistic over 5 minutes

      Specified by:
      metricTargetExecutionTime in interface IGateway
      Specified by:
      metricTargetExecutionTime in interface IGateway.Jsii$Default
    • metricTargetType

      @Stability(Stable) @NotNull public final Metric metricTargetType(@NotNull String targetType)
      Return a metric containing the number of requests served by each target type for this gateway.

      Default: - Sum statistic over 5 minutes

      Specified by:
      metricTargetType in interface IGateway
      Specified by:
      metricTargetType in interface IGateway.Jsii$Default
      Parameters:
      targetType - The type of target (e.g., 'Lambda', 'OpenAPI', 'Smithy'). This parameter is required.
    • metricThrottles

      @Stability(Stable) @NotNull public final Metric metricThrottles()
      Return a metric containing the number of throttled requests (429 status code) for this gateway.

      This metric helps identify when the gateway is rate limiting requests.

      Default: - Sum statistic over 5 minutes

      Specified by:
      metricThrottles in interface IGateway
      Specified by:
      metricThrottles in interface IGateway.Jsii$Default
    • metricUserErrors

      @Stability(Stable) @NotNull public final Metric metricUserErrors()
      Return a metric containing the number of user errors (4xx status code, excluding 429) for this gateway.

      This metric tracks client errors like bad requests, unauthorized access, etc.

      Default: - Sum statistic over 5 minutes

      Specified by:
      metricUserErrors in interface IGateway
      Specified by:
      metricUserErrors in interface IGateway.Jsii$Default