UNPKG

@aws-lambda-powertools/tracer

Version:
49 lines 1.75 kB
import { EnvironmentVariablesService as CommonEnvironmentVariablesService } from '@aws-lambda-powertools/commons'; import type { ConfigServiceInterface } from '../types/ConfigServiceInterface.js'; declare class EnvironmentVariablesService extends CommonEnvironmentVariablesService implements ConfigServiceInterface { private awsExecutionEnv; private samLocalVariable; private tracerCaptureErrorVariable; private tracerCaptureHTTPsRequestsVariable; private tracerCaptureResponseVariable; private tracingEnabledVariable; /** * It returns the value of the AWS_EXECUTION_ENV environment variable. * * @returns {string} */ getAwsExecutionEnv(): string; /** * It returns the value of the POWERTOOLS_TRACER_CAPTURE_HTTPS_REQUESTS environment variable. * * @returns {string} */ getCaptureHTTPsRequests(): string; /** * It returns the value of the AWS_SAM_LOCAL environment variable. * * @returns {string} */ getSamLocal(): string; /** * It returns the value of the POWERTOOLS_TRACER_CAPTURE_ERROR environment variable. * * @returns {string} */ getTracingCaptureError(): string; /** * It returns the value of the POWERTOOLS_TRACER_CAPTURE_RESPONSE environment variable. * * @returns {string} */ getTracingCaptureResponse(): string; /** * It returns the value of the POWERTOOLS_TRACE_ENABLED environment variable. * * @returns {string} */ getTracingEnabled(): string; } declare const environmentVariablesService: EnvironmentVariablesService; export { EnvironmentVariablesService, environmentVariablesService }; //# sourceMappingURL=EnvironmentVariablesService.d.ts.map