File Explorer

/var/runtime/node_modules/@aws-sdk/client-codepipeline/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.7 KB · 1010 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 CodePipelineServiceException = require('./models/CodePipelineServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "codepipeline",    });};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 CodePipelineClient 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.defaultCodePipelineHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AcknowledgeJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "AcknowledgeJob", {})    .n("CodePipelineClient", "AcknowledgeJobCommand")    .sc(schemas_0.AcknowledgeJob$)    .build() {} class AcknowledgeThirdPartyJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "AcknowledgeThirdPartyJob", {})    .n("CodePipelineClient", "AcknowledgeThirdPartyJobCommand")    .sc(schemas_0.AcknowledgeThirdPartyJob$)    .build() {} class CreateCustomActionTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "CreateCustomActionType", {})    .n("CodePipelineClient", "CreateCustomActionTypeCommand")    .sc(schemas_0.CreateCustomActionType$)    .build() {} class CreatePipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "CreatePipeline", {})    .n("CodePipelineClient", "CreatePipelineCommand")    .sc(schemas_0.CreatePipeline$)    .build() {} class DeleteCustomActionTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "DeleteCustomActionType", {})    .n("CodePipelineClient", "DeleteCustomActionTypeCommand")    .sc(schemas_0.DeleteCustomActionType$)    .build() {} class DeletePipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "DeletePipeline", {})    .n("CodePipelineClient", "DeletePipelineCommand")    .sc(schemas_0.DeletePipeline$)    .build() {} class DeleteWebhookCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "DeleteWebhook", {})    .n("CodePipelineClient", "DeleteWebhookCommand")    .sc(schemas_0.DeleteWebhook$)    .build() {} class DeregisterWebhookWithThirdPartyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "DeregisterWebhookWithThirdParty", {})    .n("CodePipelineClient", "DeregisterWebhookWithThirdPartyCommand")    .sc(schemas_0.DeregisterWebhookWithThirdParty$)    .build() {} class DisableStageTransitionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "DisableStageTransition", {})    .n("CodePipelineClient", "DisableStageTransitionCommand")    .sc(schemas_0.DisableStageTransition$)    .build() {} class EnableStageTransitionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "EnableStageTransition", {})    .n("CodePipelineClient", "EnableStageTransitionCommand")    .sc(schemas_0.EnableStageTransition$)    .build() {} class GetActionTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "GetActionType", {})    .n("CodePipelineClient", "GetActionTypeCommand")    .sc(schemas_0.GetActionType$)    .build() {} class GetJobDetailsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "GetJobDetails", {})    .n("CodePipelineClient", "GetJobDetailsCommand")    .sc(schemas_0.GetJobDetails$)    .build() {} class GetPipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "GetPipeline", {})    .n("CodePipelineClient", "GetPipelineCommand")    .sc(schemas_0.GetPipeline$)    .build() {} class GetPipelineExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "GetPipelineExecution", {})    .n("CodePipelineClient", "GetPipelineExecutionCommand")    .sc(schemas_0.GetPipelineExecution$)    .build() {} class GetPipelineStateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "GetPipelineState", {})    .n("CodePipelineClient", "GetPipelineStateCommand")    .sc(schemas_0.GetPipelineState$)    .build() {} class GetThirdPartyJobDetailsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "GetThirdPartyJobDetails", {})    .n("CodePipelineClient", "GetThirdPartyJobDetailsCommand")    .sc(schemas_0.GetThirdPartyJobDetails$)    .build() {} class ListActionExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListActionExecutions", {})    .n("CodePipelineClient", "ListActionExecutionsCommand")    .sc(schemas_0.ListActionExecutions$)    .build() {} class ListActionTypesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListActionTypes", {})    .n("CodePipelineClient", "ListActionTypesCommand")    .sc(schemas_0.ListActionTypes$)    .build() {} class ListDeployActionExecutionTargetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListDeployActionExecutionTargets", {})    .n("CodePipelineClient", "ListDeployActionExecutionTargetsCommand")    .sc(schemas_0.ListDeployActionExecutionTargets$)    .build() {} class ListPipelineExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListPipelineExecutions", {})    .n("CodePipelineClient", "ListPipelineExecutionsCommand")    .sc(schemas_0.ListPipelineExecutions$)    .build() {} class ListPipelinesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListPipelines", {})    .n("CodePipelineClient", "ListPipelinesCommand")    .sc(schemas_0.ListPipelines$)    .build() {} class ListRuleExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListRuleExecutions", {})    .n("CodePipelineClient", "ListRuleExecutionsCommand")    .sc(schemas_0.ListRuleExecutions$)    .build() {} class ListRuleTypesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListRuleTypes", {})    .n("CodePipelineClient", "ListRuleTypesCommand")    .sc(schemas_0.ListRuleTypes$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListTagsForResource", {})    .n("CodePipelineClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ListWebhooksCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "ListWebhooks", {})    .n("CodePipelineClient", "ListWebhooksCommand")    .sc(schemas_0.ListWebhooks$)    .build() {} class OverrideStageConditionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "OverrideStageCondition", {})    .n("CodePipelineClient", "OverrideStageConditionCommand")    .sc(schemas_0.OverrideStageCondition$)    .build() {} class PollForJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PollForJobs", {})    .n("CodePipelineClient", "PollForJobsCommand")    .sc(schemas_0.PollForJobs$)    .build() {} class PollForThirdPartyJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PollForThirdPartyJobs", {})    .n("CodePipelineClient", "PollForThirdPartyJobsCommand")    .sc(schemas_0.PollForThirdPartyJobs$)    .build() {} class PutActionRevisionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PutActionRevision", {})    .n("CodePipelineClient", "PutActionRevisionCommand")    .sc(schemas_0.PutActionRevision$)    .build() {} class PutApprovalResultCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PutApprovalResult", {})    .n("CodePipelineClient", "PutApprovalResultCommand")    .sc(schemas_0.PutApprovalResult$)    .build() {} class PutJobFailureResultCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PutJobFailureResult", {})    .n("CodePipelineClient", "PutJobFailureResultCommand")    .sc(schemas_0.PutJobFailureResult$)    .build() {} class PutJobSuccessResultCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PutJobSuccessResult", {})    .n("CodePipelineClient", "PutJobSuccessResultCommand")    .sc(schemas_0.PutJobSuccessResult$)    .build() {} class PutThirdPartyJobFailureResultCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PutThirdPartyJobFailureResult", {})    .n("CodePipelineClient", "PutThirdPartyJobFailureResultCommand")    .sc(schemas_0.PutThirdPartyJobFailureResult$)    .build() {} class PutThirdPartyJobSuccessResultCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PutThirdPartyJobSuccessResult", {})    .n("CodePipelineClient", "PutThirdPartyJobSuccessResultCommand")    .sc(schemas_0.PutThirdPartyJobSuccessResult$)    .build() {} class PutWebhookCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "PutWebhook", {})    .n("CodePipelineClient", "PutWebhookCommand")    .sc(schemas_0.PutWebhook$)    .build() {} class RegisterWebhookWithThirdPartyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "RegisterWebhookWithThirdParty", {})    .n("CodePipelineClient", "RegisterWebhookWithThirdPartyCommand")    .sc(schemas_0.RegisterWebhookWithThirdParty$)    .build() {} class RetryStageExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "RetryStageExecution", {})    .n("CodePipelineClient", "RetryStageExecutionCommand")    .sc(schemas_0.RetryStageExecution$)    .build() {} class RollbackStageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "RollbackStage", {})    .n("CodePipelineClient", "RollbackStageCommand")    .sc(schemas_0.RollbackStage$)    .build() {} class StartPipelineExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "StartPipelineExecution", {})    .n("CodePipelineClient", "StartPipelineExecutionCommand")    .sc(schemas_0.StartPipelineExecution$)    .build() {} class StopPipelineExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "StopPipelineExecution", {})    .n("CodePipelineClient", "StopPipelineExecutionCommand")    .sc(schemas_0.StopPipelineExecution$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "TagResource", {})    .n("CodePipelineClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "UntagResource", {})    .n("CodePipelineClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateActionTypeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "UpdateActionType", {})    .n("CodePipelineClient", "UpdateActionTypeCommand")    .sc(schemas_0.UpdateActionType$)    .build() {} class UpdatePipelineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("CodePipeline_20150709", "UpdatePipeline", {})    .n("CodePipelineClient", "UpdatePipelineCommand")    .sc(schemas_0.UpdatePipeline$)    .build() {} const paginateListActionExecutions = core.createPaginator(CodePipelineClient, ListActionExecutionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListActionTypes = core.createPaginator(CodePipelineClient, ListActionTypesCommand, "nextToken", "nextToken", ""); const paginateListDeployActionExecutionTargets = core.createPaginator(CodePipelineClient, ListDeployActionExecutionTargetsCommand, "nextToken", "nextToken", "maxResults"); const paginateListPipelineExecutions = core.createPaginator(CodePipelineClient, ListPipelineExecutionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListPipelines = core.createPaginator(CodePipelineClient, ListPipelinesCommand, "nextToken", "nextToken", "maxResults"); const paginateListRuleExecutions = core.createPaginator(CodePipelineClient, ListRuleExecutionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListTagsForResource = core.createPaginator(CodePipelineClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults"); const paginateListWebhooks = core.createPaginator(CodePipelineClient, ListWebhooksCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    AcknowledgeJobCommand,    AcknowledgeThirdPartyJobCommand,    CreateCustomActionTypeCommand,    CreatePipelineCommand,    DeleteCustomActionTypeCommand,    DeletePipelineCommand,    DeleteWebhookCommand,    DeregisterWebhookWithThirdPartyCommand,    DisableStageTransitionCommand,    EnableStageTransitionCommand,    GetActionTypeCommand,    GetJobDetailsCommand,    GetPipelineCommand,    GetPipelineExecutionCommand,    GetPipelineStateCommand,    GetThirdPartyJobDetailsCommand,    ListActionExecutionsCommand,    ListActionTypesCommand,    ListDeployActionExecutionTargetsCommand,    ListPipelineExecutionsCommand,    ListPipelinesCommand,    ListRuleExecutionsCommand,    ListRuleTypesCommand,    ListTagsForResourceCommand,    ListWebhooksCommand,    OverrideStageConditionCommand,    PollForJobsCommand,    PollForThirdPartyJobsCommand,    PutActionRevisionCommand,    PutApprovalResultCommand,    PutJobFailureResultCommand,    PutJobSuccessResultCommand,    PutThirdPartyJobFailureResultCommand,    PutThirdPartyJobSuccessResultCommand,    PutWebhookCommand,    RegisterWebhookWithThirdPartyCommand,    RetryStageExecutionCommand,    RollbackStageCommand,    StartPipelineExecutionCommand,    StopPipelineExecutionCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateActionTypeCommand,    UpdatePipelineCommand,};const paginators = {    paginateListActionExecutions,    paginateListActionTypes,    paginateListDeployActionExecutionTargets,    paginateListPipelineExecutions,    paginateListPipelines,    paginateListRuleExecutions,    paginateListTagsForResource,    paginateListWebhooks,};class CodePipeline extends CodePipelineClient {}client.createAggregatedClient(commands, CodePipeline, { paginators }); const JobStatus = {    Created: "Created",    Dispatched: "Dispatched",    Failed: "Failed",    InProgress: "InProgress",    Queued: "Queued",    Succeeded: "Succeeded",    TimedOut: "TimedOut",};const ActionCategory = {    Approval: "Approval",    Build: "Build",    Compute: "Compute",    Deploy: "Deploy",    Invoke: "Invoke",    Source: "Source",    Test: "Test",};const ActionConfigurationPropertyType = {    Boolean: "Boolean",    Number: "Number",    String: "String",};const ActionOwner = {    AWS: "AWS",    Custom: "Custom",    ThirdParty: "ThirdParty",};const EnvironmentVariableType = {    PLAINTEXT: "PLAINTEXT",    SECRETS_MANAGER: "SECRETS_MANAGER",};const ActionExecutionStatus = {    Abandoned: "Abandoned",    Failed: "Failed",    InProgress: "InProgress",    Succeeded: "Succeeded",};const StartTimeRange = {    All: "All",    Latest: "Latest",};const ExecutorType = {    JobWorker: "JobWorker",    Lambda: "Lambda",};const ApprovalStatus = {    Approved: "Approved",    Rejected: "Rejected",};const ArtifactLocationType = {    S3: "S3",};const EncryptionKeyType = {    KMS: "KMS",};const ArtifactStoreType = {    S3: "S3",};const Result = {    FAIL: "FAIL",    RETRY: "RETRY",    ROLLBACK: "ROLLBACK",    SKIP: "SKIP",};const RuleCategory = {    Rule: "Rule",};const RuleOwner = {    AWS: "AWS",};const BlockerType = {    Schedule: "Schedule",};const ExecutionMode = {    PARALLEL: "PARALLEL",    QUEUED: "QUEUED",    SUPERSEDED: "SUPERSEDED",};const PipelineType = {    V1: "V1",    V2: "V2",};const StageRetryMode = {    ALL_ACTIONS: "ALL_ACTIONS",    FAILED_ACTIONS: "FAILED_ACTIONS",};const GitPullRequestEventType = {    CLOSED: "CLOSED",    OPEN: "OPEN",    UPDATED: "UPDATED",};const PipelineTriggerProviderType = {    CodeStarSourceConnection: "CodeStarSourceConnection",};const StageTransitionType = {    Inbound: "Inbound",    Outbound: "Outbound",};const ExecutionType = {    ROLLBACK: "ROLLBACK",    STANDARD: "STANDARD",};const PipelineExecutionStatus = {    Cancelled: "Cancelled",    Failed: "Failed",    InProgress: "InProgress",    Stopped: "Stopped",    Stopping: "Stopping",    Succeeded: "Succeeded",    Superseded: "Superseded",};const TriggerType = {    AutomatedRollback: "AutomatedRollback",    CloudWatchEvent: "CloudWatchEvent",    CreatePipeline: "CreatePipeline",    ManualRollback: "ManualRollback",    PollForSourceChanges: "PollForSourceChanges",    PutActionRevision: "PutActionRevision",    StartPipelineExecution: "StartPipelineExecution",    Webhook: "Webhook",    WebhookV2: "WebhookV2",};const ConditionExecutionStatus = {    Abandoned: "Abandoned",    Cancelled: "Cancelled",    Errored: "Errored",    Failed: "Failed",    InProgress: "InProgress",    Overridden: "Overridden",    Succeeded: "Succeeded",};const RuleExecutionStatus = {    Abandoned: "Abandoned",    Failed: "Failed",    InProgress: "InProgress",    Succeeded: "Succeeded",};const StageExecutionStatus = {    Cancelled: "Cancelled",    Failed: "Failed",    InProgress: "InProgress",    Skipped: "Skipped",    Stopped: "Stopped",    Stopping: "Stopping",    Succeeded: "Succeeded",};const RetryTrigger = {    AutomatedStageRetry: "AutomatedStageRetry",    ManualStageRetry: "ManualStageRetry",};const TargetFilterName = {    TARGET_STATUS: "TARGET_STATUS",};const RuleConfigurationPropertyType = {    Boolean: "Boolean",    Number: "Number",    String: "String",};const WebhookAuthenticationType = {    GITHUB_HMAC: "GITHUB_HMAC",    IP: "IP",    UNAUTHENTICATED: "UNAUTHENTICATED",};const ConditionType = {    BEFORE_ENTRY: "BEFORE_ENTRY",    ON_SUCCESS: "ON_SUCCESS",};const FailureType = {    ConfigurationError: "ConfigurationError",    JobFailed: "JobFailed",    PermissionError: "PermissionError",    RevisionOutOfSync: "RevisionOutOfSync",    RevisionUnavailable: "RevisionUnavailable",    SystemUnavailable: "SystemUnavailable",};const SourceRevisionType = {    COMMIT_ID: "COMMIT_ID",    IMAGE_DIGEST: "IMAGE_DIGEST",    S3_OBJECT_KEY: "S3_OBJECT_KEY",    S3_OBJECT_VERSION_ID: "S3_OBJECT_VERSION_ID",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.CodePipelineServiceException = CodePipelineServiceException.CodePipelineServiceException;exports.AcknowledgeJobCommand = AcknowledgeJobCommand;exports.AcknowledgeThirdPartyJobCommand = AcknowledgeThirdPartyJobCommand;exports.ActionCategory = ActionCategory;exports.ActionConfigurationPropertyType = ActionConfigurationPropertyType;exports.ActionExecutionStatus = ActionExecutionStatus;exports.ActionOwner = ActionOwner;exports.ApprovalStatus = ApprovalStatus;exports.ArtifactLocationType = ArtifactLocationType;exports.ArtifactStoreType = ArtifactStoreType;exports.BlockerType = BlockerType;exports.CodePipeline = CodePipeline;exports.CodePipelineClient = CodePipelineClient;exports.ConditionExecutionStatus = ConditionExecutionStatus;exports.ConditionType = ConditionType;exports.CreateCustomActionTypeCommand = CreateCustomActionTypeCommand;exports.CreatePipelineCommand = CreatePipelineCommand;exports.DeleteCustomActionTypeCommand = DeleteCustomActionTypeCommand;exports.DeletePipelineCommand = DeletePipelineCommand;exports.DeleteWebhookCommand = DeleteWebhookCommand;exports.DeregisterWebhookWithThirdPartyCommand = DeregisterWebhookWithThirdPartyCommand;exports.DisableStageTransitionCommand = DisableStageTransitionCommand;exports.EnableStageTransitionCommand = EnableStageTransitionCommand;exports.EncryptionKeyType = EncryptionKeyType;exports.EnvironmentVariableType = EnvironmentVariableType;exports.ExecutionMode = ExecutionMode;exports.ExecutionType = ExecutionType;exports.ExecutorType = ExecutorType;exports.FailureType = FailureType;exports.GetActionTypeCommand = GetActionTypeCommand;exports.GetJobDetailsCommand = GetJobDetailsCommand;exports.GetPipelineCommand = GetPipelineCommand;exports.GetPipelineExecutionCommand = GetPipelineExecutionCommand;exports.GetPipelineStateCommand = GetPipelineStateCommand;exports.GetThirdPartyJobDetailsCommand = GetThirdPartyJobDetailsCommand;exports.GitPullRequestEventType = GitPullRequestEventType;exports.JobStatus = JobStatus;exports.ListActionExecutionsCommand = ListActionExecutionsCommand;exports.ListActionTypesCommand = ListActionTypesCommand;exports.ListDeployActionExecutionTargetsCommand = ListDeployActionExecutionTargetsCommand;exports.ListPipelineExecutionsCommand = ListPipelineExecutionsCommand;exports.ListPipelinesCommand = ListPipelinesCommand;exports.ListRuleExecutionsCommand = ListRuleExecutionsCommand;exports.ListRuleTypesCommand = ListRuleTypesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListWebhooksCommand = ListWebhooksCommand;exports.OverrideStageConditionCommand = OverrideStageConditionCommand;exports.PipelineExecutionStatus = PipelineExecutionStatus;exports.PipelineTriggerProviderType = PipelineTriggerProviderType;exports.PipelineType = PipelineType;exports.PollForJobsCommand = PollForJobsCommand;exports.PollForThirdPartyJobsCommand = PollForThirdPartyJobsCommand;exports.PutActionRevisionCommand = PutActionRevisionCommand;exports.PutApprovalResultCommand = PutApprovalResultCommand;exports.PutJobFailureResultCommand = PutJobFailureResultCommand;exports.PutJobSuccessResultCommand = PutJobSuccessResultCommand;exports.PutThirdPartyJobFailureResultCommand = PutThirdPartyJobFailureResultCommand;exports.PutThirdPartyJobSuccessResultCommand = PutThirdPartyJobSuccessResultCommand;exports.PutWebhookCommand = PutWebhookCommand;exports.RegisterWebhookWithThirdPartyCommand = RegisterWebhookWithThirdPartyCommand;exports.Result = Result;exports.RetryStageExecutionCommand = RetryStageExecutionCommand;exports.RetryTrigger = RetryTrigger;exports.RollbackStageCommand = RollbackStageCommand;exports.RuleCategory = RuleCategory;exports.RuleConfigurationPropertyType = RuleConfigurationPropertyType;exports.RuleExecutionStatus = RuleExecutionStatus;exports.RuleOwner = RuleOwner;exports.SourceRevisionType = SourceRevisionType;exports.StageExecutionStatus = StageExecutionStatus;exports.StageRetryMode = StageRetryMode;exports.StageTransitionType = StageTransitionType;exports.StartPipelineExecutionCommand = StartPipelineExecutionCommand;exports.StartTimeRange = StartTimeRange;exports.StopPipelineExecutionCommand = StopPipelineExecutionCommand;exports.TagResourceCommand = TagResourceCommand;exports.TargetFilterName = TargetFilterName;exports.TriggerType = TriggerType;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateActionTypeCommand = UpdateActionTypeCommand;exports.UpdatePipelineCommand = UpdatePipelineCommand;exports.WebhookAuthenticationType = WebhookAuthenticationType;exports.paginateListActionExecutions = paginateListActionExecutions;exports.paginateListActionTypes = paginateListActionTypes;exports.paginateListDeployActionExecutionTargets = paginateListDeployActionExecutionTargets;exports.paginateListPipelineExecutions = paginateListPipelineExecutions;exports.paginateListPipelines = paginateListPipelines;exports.paginateListRuleExecutions = paginateListRuleExecutions;exports.paginateListTagsForResource = paginateListTagsForResource;exports.paginateListWebhooks = paginateListWebhooks;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];});