operationLevelMetricsConfig

@JvmName(name = "frtsdlwxvxxmwvca")
suspend fun operationLevelMetricsConfig(value: Output<OperationLevelMetricsConfigEnumValueArgs>)
@JvmName(name = "gviiilqrckffpvpl")
suspend fun operationLevelMetricsConfig(value: OperationLevelMetricsConfigEnumValueArgs?)

Parameters

value

Controls how operation metrics will be emitted to CloudWatch. Operation metrics include:

  • Requests: The number of times a specified GraphQL operation was called.

  • GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL operation.

Metrics will be recorded by API ID and operation name. You can set the value to ENABLED or DISABLED.


@JvmName(name = "wsvmxlrdaswlhtvy")
suspend fun operationLevelMetricsConfig(argument: suspend OperationLevelMetricsConfigEnumValueArgsBuilder.() -> Unit)

Parameters

argument

Controls how operation metrics will be emitted to CloudWatch. Operation metrics include:

  • Requests: The number of times a specified GraphQL operation was called.

  • GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL operation.

Metrics will be recorded by API ID and operation name. You can set the value to ENABLED or DISABLED.