File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-observabilityadmin/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js35.6 KB · 891 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var ObservabilityAdminServiceException = require('./models/ObservabilityAdminServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "observabilityadmin",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class ObservabilityAdminClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultObservabilityAdminHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class CreateCentralizationRuleForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "CreateCentralizationRuleForOrganization", {})    .n("ObservabilityAdminClient", "CreateCentralizationRuleForOrganizationCommand")    .sc(schemas_0.CreateCentralizationRuleForOrganization$)    .build() {} class CreateS3TableIntegrationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "CreateS3TableIntegration", {})    .n("ObservabilityAdminClient", "CreateS3TableIntegrationCommand")    .sc(schemas_0.CreateS3TableIntegration$)    .build() {} class CreateTelemetryPipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "CreateTelemetryPipeline", {})    .n("ObservabilityAdminClient", "CreateTelemetryPipelineCommand")    .sc(schemas_0.CreateTelemetryPipeline$)    .build() {} class CreateTelemetryRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "CreateTelemetryRule", {})    .n("ObservabilityAdminClient", "CreateTelemetryRuleCommand")    .sc(schemas_0.CreateTelemetryRule$)    .build() {} class CreateTelemetryRuleForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "CreateTelemetryRuleForOrganization", {})    .n("ObservabilityAdminClient", "CreateTelemetryRuleForOrganizationCommand")    .sc(schemas_0.CreateTelemetryRuleForOrganization$)    .build() {} class DeleteCentralizationRuleForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "DeleteCentralizationRuleForOrganization", {})    .n("ObservabilityAdminClient", "DeleteCentralizationRuleForOrganizationCommand")    .sc(schemas_0.DeleteCentralizationRuleForOrganization$)    .build() {} class DeleteS3TableIntegrationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "DeleteS3TableIntegration", {})    .n("ObservabilityAdminClient", "DeleteS3TableIntegrationCommand")    .sc(schemas_0.DeleteS3TableIntegration$)    .build() {} class DeleteTelemetryPipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "DeleteTelemetryPipeline", {})    .n("ObservabilityAdminClient", "DeleteTelemetryPipelineCommand")    .sc(schemas_0.DeleteTelemetryPipeline$)    .build() {} class DeleteTelemetryRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "DeleteTelemetryRule", {})    .n("ObservabilityAdminClient", "DeleteTelemetryRuleCommand")    .sc(schemas_0.DeleteTelemetryRule$)    .build() {} class DeleteTelemetryRuleForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "DeleteTelemetryRuleForOrganization", {})    .n("ObservabilityAdminClient", "DeleteTelemetryRuleForOrganizationCommand")    .sc(schemas_0.DeleteTelemetryRuleForOrganization$)    .build() {} class GetCentralizationRuleForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "GetCentralizationRuleForOrganization", {})    .n("ObservabilityAdminClient", "GetCentralizationRuleForOrganizationCommand")    .sc(schemas_0.GetCentralizationRuleForOrganization$)    .build() {} class GetS3TableIntegrationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "GetS3TableIntegration", {})    .n("ObservabilityAdminClient", "GetS3TableIntegrationCommand")    .sc(schemas_0.GetS3TableIntegration$)    .build() {} class GetTelemetryEnrichmentStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "GetTelemetryEnrichmentStatus", {})    .n("ObservabilityAdminClient", "GetTelemetryEnrichmentStatusCommand")    .sc(schemas_0.GetTelemetryEnrichmentStatus$)    .build() {} class GetTelemetryEvaluationStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "GetTelemetryEvaluationStatus", {})    .n("ObservabilityAdminClient", "GetTelemetryEvaluationStatusCommand")    .sc(schemas_0.GetTelemetryEvaluationStatus$)    .build() {} class GetTelemetryEvaluationStatusForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "GetTelemetryEvaluationStatusForOrganization", {})    .n("ObservabilityAdminClient", "GetTelemetryEvaluationStatusForOrganizationCommand")    .sc(schemas_0.GetTelemetryEvaluationStatusForOrganization$)    .build() {} class GetTelemetryPipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "GetTelemetryPipeline", {})    .n("ObservabilityAdminClient", "GetTelemetryPipelineCommand")    .sc(schemas_0.GetTelemetryPipeline$)    .build() {} class GetTelemetryRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "GetTelemetryRule", {})    .n("ObservabilityAdminClient", "GetTelemetryRuleCommand")    .sc(schemas_0.GetTelemetryRule$)    .build() {} class GetTelemetryRuleForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "GetTelemetryRuleForOrganization", {})    .n("ObservabilityAdminClient", "GetTelemetryRuleForOrganizationCommand")    .sc(schemas_0.GetTelemetryRuleForOrganization$)    .build() {} class ListCentralizationRulesForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ListCentralizationRulesForOrganization", {})    .n("ObservabilityAdminClient", "ListCentralizationRulesForOrganizationCommand")    .sc(schemas_0.ListCentralizationRulesForOrganization$)    .build() {} class ListResourceTelemetryCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ListResourceTelemetry", {})    .n("ObservabilityAdminClient", "ListResourceTelemetryCommand")    .sc(schemas_0.ListResourceTelemetry$)    .build() {} class ListResourceTelemetryForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ListResourceTelemetryForOrganization", {})    .n("ObservabilityAdminClient", "ListResourceTelemetryForOrganizationCommand")    .sc(schemas_0.ListResourceTelemetryForOrganization$)    .build() {} class ListS3TableIntegrationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ListS3TableIntegrations", {})    .n("ObservabilityAdminClient", "ListS3TableIntegrationsCommand")    .sc(schemas_0.ListS3TableIntegrations$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ListTagsForResource", {})    .n("ObservabilityAdminClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ListTelemetryPipelinesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ListTelemetryPipelines", {})    .n("ObservabilityAdminClient", "ListTelemetryPipelinesCommand")    .sc(schemas_0.ListTelemetryPipelines$)    .build() {} class ListTelemetryRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ListTelemetryRules", {})    .n("ObservabilityAdminClient", "ListTelemetryRulesCommand")    .sc(schemas_0.ListTelemetryRules$)    .build() {} class ListTelemetryRulesForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ListTelemetryRulesForOrganization", {})    .n("ObservabilityAdminClient", "ListTelemetryRulesForOrganizationCommand")    .sc(schemas_0.ListTelemetryRulesForOrganization$)    .build() {} class StartTelemetryEnrichmentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "StartTelemetryEnrichment", {})    .n("ObservabilityAdminClient", "StartTelemetryEnrichmentCommand")    .sc(schemas_0.StartTelemetryEnrichment$)    .build() {} class StartTelemetryEvaluationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "StartTelemetryEvaluation", {})    .n("ObservabilityAdminClient", "StartTelemetryEvaluationCommand")    .sc(schemas_0.StartTelemetryEvaluation$)    .build() {} class StartTelemetryEvaluationForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "StartTelemetryEvaluationForOrganization", {})    .n("ObservabilityAdminClient", "StartTelemetryEvaluationForOrganizationCommand")    .sc(schemas_0.StartTelemetryEvaluationForOrganization$)    .build() {} class StopTelemetryEnrichmentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "StopTelemetryEnrichment", {})    .n("ObservabilityAdminClient", "StopTelemetryEnrichmentCommand")    .sc(schemas_0.StopTelemetryEnrichment$)    .build() {} class StopTelemetryEvaluationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "StopTelemetryEvaluation", {})    .n("ObservabilityAdminClient", "StopTelemetryEvaluationCommand")    .sc(schemas_0.StopTelemetryEvaluation$)    .build() {} class StopTelemetryEvaluationForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "StopTelemetryEvaluationForOrganization", {})    .n("ObservabilityAdminClient", "StopTelemetryEvaluationForOrganizationCommand")    .sc(schemas_0.StopTelemetryEvaluationForOrganization$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "TagResource", {})    .n("ObservabilityAdminClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class TestTelemetryPipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "TestTelemetryPipeline", {})    .n("ObservabilityAdminClient", "TestTelemetryPipelineCommand")    .sc(schemas_0.TestTelemetryPipeline$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "UntagResource", {})    .n("ObservabilityAdminClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateCentralizationRuleForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "UpdateCentralizationRuleForOrganization", {})    .n("ObservabilityAdminClient", "UpdateCentralizationRuleForOrganizationCommand")    .sc(schemas_0.UpdateCentralizationRuleForOrganization$)    .build() {} class UpdateTelemetryPipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "UpdateTelemetryPipeline", {})    .n("ObservabilityAdminClient", "UpdateTelemetryPipelineCommand")    .sc(schemas_0.UpdateTelemetryPipeline$)    .build() {} class UpdateTelemetryRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "UpdateTelemetryRule", {})    .n("ObservabilityAdminClient", "UpdateTelemetryRuleCommand")    .sc(schemas_0.UpdateTelemetryRule$)    .build() {} class UpdateTelemetryRuleForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "UpdateTelemetryRuleForOrganization", {})    .n("ObservabilityAdminClient", "UpdateTelemetryRuleForOrganizationCommand")    .sc(schemas_0.UpdateTelemetryRuleForOrganization$)    .build() {} class ValidateTelemetryPipelineConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ObservabilityAdmin", "ValidateTelemetryPipelineConfiguration", {})    .n("ObservabilityAdminClient", "ValidateTelemetryPipelineConfigurationCommand")    .sc(schemas_0.ValidateTelemetryPipelineConfiguration$)    .build() {} const paginateListCentralizationRulesForOrganization = core.createPaginator(ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); const paginateListResourceTelemetryForOrganization = core.createPaginator(ObservabilityAdminClient, ListResourceTelemetryForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); const paginateListResourceTelemetry = core.createPaginator(ObservabilityAdminClient, ListResourceTelemetryCommand, "NextToken", "NextToken", "MaxResults"); const paginateListS3TableIntegrations = core.createPaginator(ObservabilityAdminClient, ListS3TableIntegrationsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTelemetryPipelines = core.createPaginator(ObservabilityAdminClient, ListTelemetryPipelinesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTelemetryRulesForOrganization = core.createPaginator(ObservabilityAdminClient, ListTelemetryRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTelemetryRules = core.createPaginator(ObservabilityAdminClient, ListTelemetryRulesCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    CreateCentralizationRuleForOrganizationCommand,    CreateS3TableIntegrationCommand,    CreateTelemetryPipelineCommand,    CreateTelemetryRuleCommand,    CreateTelemetryRuleForOrganizationCommand,    DeleteCentralizationRuleForOrganizationCommand,    DeleteS3TableIntegrationCommand,    DeleteTelemetryPipelineCommand,    DeleteTelemetryRuleCommand,    DeleteTelemetryRuleForOrganizationCommand,    GetCentralizationRuleForOrganizationCommand,    GetS3TableIntegrationCommand,    GetTelemetryEnrichmentStatusCommand,    GetTelemetryEvaluationStatusCommand,    GetTelemetryEvaluationStatusForOrganizationCommand,    GetTelemetryPipelineCommand,    GetTelemetryRuleCommand,    GetTelemetryRuleForOrganizationCommand,    ListCentralizationRulesForOrganizationCommand,    ListResourceTelemetryCommand,    ListResourceTelemetryForOrganizationCommand,    ListS3TableIntegrationsCommand,    ListTagsForResourceCommand,    ListTelemetryPipelinesCommand,    ListTelemetryRulesCommand,    ListTelemetryRulesForOrganizationCommand,    StartTelemetryEnrichmentCommand,    StartTelemetryEvaluationCommand,    StartTelemetryEvaluationForOrganizationCommand,    StopTelemetryEnrichmentCommand,    StopTelemetryEvaluationCommand,    StopTelemetryEvaluationForOrganizationCommand,    TagResourceCommand,    TestTelemetryPipelineCommand,    UntagResourceCommand,    UpdateCentralizationRuleForOrganizationCommand,    UpdateTelemetryPipelineCommand,    UpdateTelemetryRuleCommand,    UpdateTelemetryRuleForOrganizationCommand,    ValidateTelemetryPipelineConfigurationCommand,};const paginators = {    paginateListCentralizationRulesForOrganization,    paginateListResourceTelemetry,    paginateListResourceTelemetryForOrganization,    paginateListS3TableIntegrations,    paginateListTelemetryPipelines,    paginateListTelemetryRules,    paginateListTelemetryRulesForOrganization,};class ObservabilityAdmin extends ObservabilityAdminClient {}client.createAggregatedClient(commands, ObservabilityAdmin, { paginators }); const Action = {    ALLOW: "ALLOW",    BLOCK: "BLOCK",    CAPTCHA: "CAPTCHA",    CHALLENGE: "CHALLENGE",    COUNT: "COUNT",    EXCLUDED_AS_COUNT: "EXCLUDED_AS_COUNT",};const CentralizationFailureReason = {    DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",    INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",    TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED",};const EncryptionConflictResolutionStrategy = {    ALLOW: "ALLOW",    SKIP: "SKIP",};const EncryptionStrategy = {    AWS_OWNED: "AWS_OWNED",    CUSTOMER_MANAGED: "CUSTOMER_MANAGED",};const EncryptedLogGroupStrategy = {    ALLOW: "ALLOW",    SKIP: "SKIP",};const RuleHealth = {    HEALTHY: "Healthy",    PROVISIONING: "Provisioning",    UNHEALTHY: "Unhealthy",};const SSEAlgorithm = {    SSE_KMS: "aws:kms",    SSE_S3: "AES256",};const DestinationType = {    CLOUDWATCH_LOGS: "cloud-watch-logs",};const OutputFormat = {    JSON: "json",    PLAIN: "plain",};const LogType = {    ACCESS: "ACCESS_LOGS",    APPLICATION: "APPLICATION_LOGS",    CONNECTION: "CONNECTION_LOGS",    SECURITY_FINDING: "SECURITY_FINDING_LOGS",    USAGE: "USAGE_LOGS",};const MskEnhancedMonitoringLevel = {    DEFAULT: "DEFAULT",    PER_BROKER: "PER_BROKER",    PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",    PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",};const FilterBehavior = {    DROP: "DROP",    KEEP: "KEEP",};const FilterRequirement = {    MEETS_ALL: "MEETS_ALL",    MEETS_ANY: "MEETS_ANY",};const WAFLogType = {    WAF_LOGS: "WAF_LOGS",};const ResourceType = {    AWS_BEDROCK_AGENTCORE_BROWSER: "AWS::BedrockAgentCore::Browser",    AWS_BEDROCK_AGENTCORE_CODE_INTERPRETER: "AWS::BedrockAgentCore::CodeInterpreter",    AWS_BEDROCK_AGENTCORE_GATEWAY: "AWS::BedrockAgentCore::Gateway",    AWS_BEDROCK_AGENTCORE_MEMORY: "AWS::BedrockAgentCore::Memory",    AWS_BEDROCK_AGENTCORE_RUNTIME: "AWS::BedrockAgentCore::Runtime",    AWS_BEDROCK_AGENTCORE_WORKLOAD_IDENTITY: "AWS::BedrockAgentCore::WorkloadIdentity",    AWS_CLOUDFRONT_DISTRIBUTION: "AWS::CloudFront::Distribution",    AWS_CLOUDTRAIL: "AWS::CloudTrail",    AWS_EC2_INSTANCE: "AWS::EC2::Instance",    AWS_EC2_VPC: "AWS::EC2::VPC",    AWS_EKS_CLUSTER: "AWS::EKS::Cluster",    AWS_ELB_LOADBALANCER: "AWS::ElasticLoadBalancingV2::LoadBalancer",    AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",    AWS_MSK_CLUSTER: "AWS::MSK::Cluster",    AWS_OTEL_ENRICHMENT: "AWS::CloudWatch::OTelEnrichment",    AWS_ROUTE53_RESOLVER_RESOLVER_ENDPOINT: "AWS::Route53Resolver::ResolverEndpoint",    AWS_SECURITY_HUB: "AWS::SecurityHub::Hub",    AWS_SECURITY_HUB_HUBV2: "AWS::SecurityHub::HubV2",    AWS_WAF_V2_WEB_ACL: "AWS::WAFv2::WebACL",};const TelemetrySourceType = {    EKS_API_LOGS: "EKS_API_LOGS",    EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",    EKS_AUTHENTICATOR_LOGS: "EKS_AUTHENTICATOR_LOGS",    EKS_CONTROLLER_MANAGER_LOGS: "EKS_CONTROLLER_MANAGER_LOGS",    EKS_SCHEDULER_LOGS: "EKS_SCHEDULER_LOGS",    ROUTE53_RESOLVER_QUERY_LOGS: "ROUTE53_RESOLVER_QUERY_LOGS",    VPC_FLOW_LOGS: "VPC_FLOW_LOGS",};const TelemetryType = {    LOGS: "Logs",    METRICS: "Metrics",    TRACES: "Traces",};const IntegrationStatus = {    ACTIVE: "ACTIVE",    DELETING: "DELETING",};const TelemetryEnrichmentStatus = {    IMPAIRED: "Impaired",    RUNNING: "Running",    STOPPED: "Stopped",};const Status = {    FAILED_START: "FAILED_START",    FAILED_STOP: "FAILED_STOP",    NOT_STARTED: "NOT_STARTED",    RUNNING: "RUNNING",    STARTING: "STARTING",    STOPPED: "STOPPED",    STOPPING: "STOPPING",};const TelemetryPipelineStatus = {    ACTIVE: "ACTIVE",    CREATE_FAILED: "CREATE_FAILED",    CREATING: "CREATING",    DELETING: "DELETING",    UPDATE_FAILED: "UPDATE_FAILED",    UPDATING: "UPDATING",};const TelemetryState = {    DISABLED: "Disabled",    ENABLED: "Enabled",    NOT_APPLICABLE: "NotApplicable",};const RecordFormat = {    JSON: "JSON",    STRING: "STRING",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.ObservabilityAdminServiceException = ObservabilityAdminServiceException.ObservabilityAdminServiceException;exports.Action = Action;exports.CentralizationFailureReason = CentralizationFailureReason;exports.CreateCentralizationRuleForOrganizationCommand = CreateCentralizationRuleForOrganizationCommand;exports.CreateS3TableIntegrationCommand = CreateS3TableIntegrationCommand;exports.CreateTelemetryPipelineCommand = CreateTelemetryPipelineCommand;exports.CreateTelemetryRuleCommand = CreateTelemetryRuleCommand;exports.CreateTelemetryRuleForOrganizationCommand = CreateTelemetryRuleForOrganizationCommand;exports.DeleteCentralizationRuleForOrganizationCommand = DeleteCentralizationRuleForOrganizationCommand;exports.DeleteS3TableIntegrationCommand = DeleteS3TableIntegrationCommand;exports.DeleteTelemetryPipelineCommand = DeleteTelemetryPipelineCommand;exports.DeleteTelemetryRuleCommand = DeleteTelemetryRuleCommand;exports.DeleteTelemetryRuleForOrganizationCommand = DeleteTelemetryRuleForOrganizationCommand;exports.DestinationType = DestinationType;exports.EncryptedLogGroupStrategy = EncryptedLogGroupStrategy;exports.EncryptionConflictResolutionStrategy = EncryptionConflictResolutionStrategy;exports.EncryptionStrategy = EncryptionStrategy;exports.FilterBehavior = FilterBehavior;exports.FilterRequirement = FilterRequirement;exports.GetCentralizationRuleForOrganizationCommand = GetCentralizationRuleForOrganizationCommand;exports.GetS3TableIntegrationCommand = GetS3TableIntegrationCommand;exports.GetTelemetryEnrichmentStatusCommand = GetTelemetryEnrichmentStatusCommand;exports.GetTelemetryEvaluationStatusCommand = GetTelemetryEvaluationStatusCommand;exports.GetTelemetryEvaluationStatusForOrganizationCommand = GetTelemetryEvaluationStatusForOrganizationCommand;exports.GetTelemetryPipelineCommand = GetTelemetryPipelineCommand;exports.GetTelemetryRuleCommand = GetTelemetryRuleCommand;exports.GetTelemetryRuleForOrganizationCommand = GetTelemetryRuleForOrganizationCommand;exports.IntegrationStatus = IntegrationStatus;exports.ListCentralizationRulesForOrganizationCommand = ListCentralizationRulesForOrganizationCommand;exports.ListResourceTelemetryCommand = ListResourceTelemetryCommand;exports.ListResourceTelemetryForOrganizationCommand = ListResourceTelemetryForOrganizationCommand;exports.ListS3TableIntegrationsCommand = ListS3TableIntegrationsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTelemetryPipelinesCommand = ListTelemetryPipelinesCommand;exports.ListTelemetryRulesCommand = ListTelemetryRulesCommand;exports.ListTelemetryRulesForOrganizationCommand = ListTelemetryRulesForOrganizationCommand;exports.LogType = LogType;exports.MskEnhancedMonitoringLevel = MskEnhancedMonitoringLevel;exports.ObservabilityAdmin = ObservabilityAdmin;exports.ObservabilityAdminClient = ObservabilityAdminClient;exports.OutputFormat = OutputFormat;exports.RecordFormat = RecordFormat;exports.ResourceType = ResourceType;exports.RuleHealth = RuleHealth;exports.SSEAlgorithm = SSEAlgorithm;exports.StartTelemetryEnrichmentCommand = StartTelemetryEnrichmentCommand;exports.StartTelemetryEvaluationCommand = StartTelemetryEvaluationCommand;exports.StartTelemetryEvaluationForOrganizationCommand = StartTelemetryEvaluationForOrganizationCommand;exports.Status = Status;exports.StopTelemetryEnrichmentCommand = StopTelemetryEnrichmentCommand;exports.StopTelemetryEvaluationCommand = StopTelemetryEvaluationCommand;exports.StopTelemetryEvaluationForOrganizationCommand = StopTelemetryEvaluationForOrganizationCommand;exports.TagResourceCommand = TagResourceCommand;exports.TelemetryEnrichmentStatus = TelemetryEnrichmentStatus;exports.TelemetryPipelineStatus = TelemetryPipelineStatus;exports.TelemetrySourceType = TelemetrySourceType;exports.TelemetryState = TelemetryState;exports.TelemetryType = TelemetryType;exports.TestTelemetryPipelineCommand = TestTelemetryPipelineCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateCentralizationRuleForOrganizationCommand = UpdateCentralizationRuleForOrganizationCommand;exports.UpdateTelemetryPipelineCommand = UpdateTelemetryPipelineCommand;exports.UpdateTelemetryRuleCommand = UpdateTelemetryRuleCommand;exports.UpdateTelemetryRuleForOrganizationCommand = UpdateTelemetryRuleForOrganizationCommand;exports.ValidateTelemetryPipelineConfigurationCommand = ValidateTelemetryPipelineConfigurationCommand;exports.WAFLogType = WAFLogType;exports.paginateListCentralizationRulesForOrganization = paginateListCentralizationRulesForOrganization;exports.paginateListResourceTelemetry = paginateListResourceTelemetry;exports.paginateListResourceTelemetryForOrganization = paginateListResourceTelemetryForOrganization;exports.paginateListS3TableIntegrations = paginateListS3TableIntegrations;exports.paginateListTelemetryPipelines = paginateListTelemetryPipelines;exports.paginateListTelemetryRules = paginateListTelemetryRules;exports.paginateListTelemetryRulesForOrganization = paginateListTelemetryRulesForOrganization;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});