import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AcceptEnvironmentAccountConnectionCommand , AcceptEnvironmentAccountConnectionCommandInput , AcceptEnvironmentAccountConnectionCommandOutput , } from "./commands/AcceptEnvironmentAccountConnectionCommand" ; import { CancelEnvironmentDeploymentCommand , CancelEnvironmentDeploymentCommandInput , CancelEnvironmentDeploymentCommandOutput , } from "./commands/CancelEnvironmentDeploymentCommand" ; import { CancelServiceInstanceDeploymentCommand , CancelServiceInstanceDeploymentCommandInput , CancelServiceInstanceDeploymentCommandOutput , } from "./commands/CancelServiceInstanceDeploymentCommand" ; import { CancelServicePipelineDeploymentCommand , CancelServicePipelineDeploymentCommandInput , CancelServicePipelineDeploymentCommandOutput , } from "./commands/CancelServicePipelineDeploymentCommand" ; import { CreateEnvironmentAccountConnectionCommand , CreateEnvironmentAccountConnectionCommandInput , CreateEnvironmentAccountConnectionCommandOutput , } from "./commands/CreateEnvironmentAccountConnectionCommand" ; import { CreateEnvironmentCommand , CreateEnvironmentCommandInput , CreateEnvironmentCommandOutput , } from "./commands/CreateEnvironmentCommand" ; import { CreateEnvironmentTemplateCommand , CreateEnvironmentTemplateCommandInput , CreateEnvironmentTemplateCommandOutput , } from "./commands/CreateEnvironmentTemplateCommand" ; import { CreateEnvironmentTemplateVersionCommand , CreateEnvironmentTemplateVersionCommandInput , CreateEnvironmentTemplateVersionCommandOutput , } from "./commands/CreateEnvironmentTemplateVersionCommand" ; import { CreateRepositoryCommand , CreateRepositoryCommandInput , CreateRepositoryCommandOutput , } from "./commands/CreateRepositoryCommand" ; import { CreateServiceCommand , CreateServiceCommandInput , CreateServiceCommandOutput , } from "./commands/CreateServiceCommand" ; import { CreateServiceTemplateCommand , CreateServiceTemplateCommandInput , CreateServiceTemplateCommandOutput , } from "./commands/CreateServiceTemplateCommand" ; import { CreateServiceTemplateVersionCommand , CreateServiceTemplateVersionCommandInput , CreateServiceTemplateVersionCommandOutput , } from "./commands/CreateServiceTemplateVersionCommand" ; import { CreateTemplateSyncConfigCommand , CreateTemplateSyncConfigCommandInput , CreateTemplateSyncConfigCommandOutput , } from "./commands/CreateTemplateSyncConfigCommand" ; import { DeleteEnvironmentAccountConnectionCommand , DeleteEnvironmentAccountConnectionCommandInput , DeleteEnvironmentAccountConnectionCommandOutput , } from "./commands/DeleteEnvironmentAccountConnectionCommand" ; import { DeleteEnvironmentCommand , DeleteEnvironmentCommandInput , DeleteEnvironmentCommandOutput , } from "./commands/DeleteEnvironmentCommand" ; import { DeleteEnvironmentTemplateCommand , DeleteEnvironmentTemplateCommandInput , DeleteEnvironmentTemplateCommandOutput , } from "./commands/DeleteEnvironmentTemplateCommand" ; import { DeleteEnvironmentTemplateVersionCommand , DeleteEnvironmentTemplateVersionCommandInput , DeleteEnvironmentTemplateVersionCommandOutput , } from "./commands/DeleteEnvironmentTemplateVersionCommand" ; import { DeleteRepositoryCommand , DeleteRepositoryCommandInput , DeleteRepositoryCommandOutput , } from "./commands/DeleteRepositoryCommand" ; import { DeleteServiceCommand , DeleteServiceCommandInput , DeleteServiceCommandOutput , } from "./commands/DeleteServiceCommand" ; import { DeleteServiceTemplateCommand , DeleteServiceTemplateCommandInput , DeleteServiceTemplateCommandOutput , } from "./commands/DeleteServiceTemplateCommand" ; import { DeleteServiceTemplateVersionCommand , DeleteServiceTemplateVersionCommandInput , DeleteServiceTemplateVersionCommandOutput , } from "./commands/DeleteServiceTemplateVersionCommand" ; import { DeleteTemplateSyncConfigCommand , DeleteTemplateSyncConfigCommandInput , DeleteTemplateSyncConfigCommandOutput , } from "./commands/DeleteTemplateSyncConfigCommand" ; import { GetAccountSettingsCommand , GetAccountSettingsCommandInput , GetAccountSettingsCommandOutput , } from "./commands/GetAccountSettingsCommand" ; import { GetEnvironmentAccountConnectionCommand , GetEnvironmentAccountConnectionCommandInput , GetEnvironmentAccountConnectionCommandOutput , } from "./commands/GetEnvironmentAccountConnectionCommand" ; import { GetEnvironmentCommand , GetEnvironmentCommandInput , GetEnvironmentCommandOutput , } from "./commands/GetEnvironmentCommand" ; import { GetEnvironmentTemplateCommand , GetEnvironmentTemplateCommandInput , GetEnvironmentTemplateCommandOutput , } from "./commands/GetEnvironmentTemplateCommand" ; import { GetEnvironmentTemplateVersionCommand , GetEnvironmentTemplateVersionCommandInput , GetEnvironmentTemplateVersionCommandOutput , } from "./commands/GetEnvironmentTemplateVersionCommand" ; import { GetRepositoryCommand , GetRepositoryCommandInput , GetRepositoryCommandOutput , } from "./commands/GetRepositoryCommand" ; import { GetRepositorySyncStatusCommand , GetRepositorySyncStatusCommandInput , GetRepositorySyncStatusCommandOutput , } from "./commands/GetRepositorySyncStatusCommand" ; import { GetServiceCommand , GetServiceCommandInput , GetServiceCommandOutput } from "./commands/GetServiceCommand" ; import { GetServiceInstanceCommand , GetServiceInstanceCommandInput , GetServiceInstanceCommandOutput , } from "./commands/GetServiceInstanceCommand" ; import { GetServiceTemplateCommand , GetServiceTemplateCommandInput , GetServiceTemplateCommandOutput , } from "./commands/GetServiceTemplateCommand" ; import { GetServiceTemplateVersionCommand , GetServiceTemplateVersionCommandInput , GetServiceTemplateVersionCommandOutput , } from "./commands/GetServiceTemplateVersionCommand" ; import { GetTemplateSyncConfigCommand , GetTemplateSyncConfigCommandInput , GetTemplateSyncConfigCommandOutput , } from "./commands/GetTemplateSyncConfigCommand" ; import { GetTemplateSyncStatusCommand , GetTemplateSyncStatusCommandInput , GetTemplateSyncStatusCommandOutput , } from "./commands/GetTemplateSyncStatusCommand" ; import { ListEnvironmentAccountConnectionsCommand , ListEnvironmentAccountConnectionsCommandInput , ListEnvironmentAccountConnectionsCommandOutput , } from "./commands/ListEnvironmentAccountConnectionsCommand" ; import { ListEnvironmentOutputsCommand , ListEnvironmentOutputsCommandInput , ListEnvironmentOutputsCommandOutput , } from "./commands/ListEnvironmentOutputsCommand" ; import { ListEnvironmentProvisionedResourcesCommand , ListEnvironmentProvisionedResourcesCommandInput , ListEnvironmentProvisionedResourcesCommandOutput , } from "./commands/ListEnvironmentProvisionedResourcesCommand" ; import { ListEnvironmentsCommand , ListEnvironmentsCommandInput , ListEnvironmentsCommandOutput , } from "./commands/ListEnvironmentsCommand" ; import { ListEnvironmentTemplatesCommand , ListEnvironmentTemplatesCommandInput , ListEnvironmentTemplatesCommandOutput , } from "./commands/ListEnvironmentTemplatesCommand" ; import { ListEnvironmentTemplateVersionsCommand , ListEnvironmentTemplateVersionsCommandInput , ListEnvironmentTemplateVersionsCommandOutput , } from "./commands/ListEnvironmentTemplateVersionsCommand" ; import { ListRepositoriesCommand , ListRepositoriesCommandInput , ListRepositoriesCommandOutput , } from "./commands/ListRepositoriesCommand" ; import { ListRepositorySyncDefinitionsCommand , ListRepositorySyncDefinitionsCommandInput , ListRepositorySyncDefinitionsCommandOutput , } from "./commands/ListRepositorySyncDefinitionsCommand" ; import { ListServiceInstanceOutputsCommand , ListServiceInstanceOutputsCommandInput , ListServiceInstanceOutputsCommandOutput , } from "./commands/ListServiceInstanceOutputsCommand" ; import { ListServiceInstanceProvisionedResourcesCommand , ListServiceInstanceProvisionedResourcesCommandInput , ListServiceInstanceProvisionedResourcesCommandOutput , } from "./commands/ListServiceInstanceProvisionedResourcesCommand" ; import { ListServiceInstancesCommand , ListServiceInstancesCommandInput , ListServiceInstancesCommandOutput , } from "./commands/ListServiceInstancesCommand" ; import { ListServicePipelineOutputsCommand , ListServicePipelineOutputsCommandInput , ListServicePipelineOutputsCommandOutput , } from "./commands/ListServicePipelineOutputsCommand" ; import { ListServicePipelineProvisionedResourcesCommand , ListServicePipelineProvisionedResourcesCommandInput , ListServicePipelineProvisionedResourcesCommandOutput , } from "./commands/ListServicePipelineProvisionedResourcesCommand" ; import { ListServicesCommand , ListServicesCommandInput , ListServicesCommandOutput , } from "./commands/ListServicesCommand" ; import { ListServiceTemplatesCommand , ListServiceTemplatesCommandInput , ListServiceTemplatesCommandOutput , } from "./commands/ListServiceTemplatesCommand" ; import { ListServiceTemplateVersionsCommand , ListServiceTemplateVersionsCommandInput , ListServiceTemplateVersionsCommandOutput , } from "./commands/ListServiceTemplateVersionsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { NotifyResourceDeploymentStatusChangeCommand , NotifyResourceDeploymentStatusChangeCommandInput , NotifyResourceDeploymentStatusChangeCommandOutput , } from "./commands/NotifyResourceDeploymentStatusChangeCommand" ; import { RejectEnvironmentAccountConnectionCommand , RejectEnvironmentAccountConnectionCommandInput , RejectEnvironmentAccountConnectionCommandOutput , } from "./commands/RejectEnvironmentAccountConnectionCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAccountSettingsCommand , UpdateAccountSettingsCommandInput , UpdateAccountSettingsCommandOutput , } from "./commands/UpdateAccountSettingsCommand" ; import { UpdateEnvironmentAccountConnectionCommand , UpdateEnvironmentAccountConnectionCommandInput , UpdateEnvironmentAccountConnectionCommandOutput , } from "./commands/UpdateEnvironmentAccountConnectionCommand" ; import { UpdateEnvironmentCommand , UpdateEnvironmentCommandInput , UpdateEnvironmentCommandOutput , } from "./commands/UpdateEnvironmentCommand" ; import { UpdateEnvironmentTemplateCommand , UpdateEnvironmentTemplateCommandInput , UpdateEnvironmentTemplateCommandOutput , } from "./commands/UpdateEnvironmentTemplateCommand" ; import { UpdateEnvironmentTemplateVersionCommand , UpdateEnvironmentTemplateVersionCommandInput , UpdateEnvironmentTemplateVersionCommandOutput , } from "./commands/UpdateEnvironmentTemplateVersionCommand" ; import { UpdateServiceCommand , UpdateServiceCommandInput , UpdateServiceCommandOutput , } from "./commands/UpdateServiceCommand" ; import { UpdateServiceInstanceCommand , UpdateServiceInstanceCommandInput , UpdateServiceInstanceCommandOutput , } from "./commands/UpdateServiceInstanceCommand" ; import { UpdateServicePipelineCommand , UpdateServicePipelineCommandInput , UpdateServicePipelineCommandOutput , } from "./commands/UpdateServicePipelineCommand" ; import { UpdateServiceTemplateCommand , UpdateServiceTemplateCommandInput , UpdateServiceTemplateCommandOutput , } from "./commands/UpdateServiceTemplateCommand" ; import { UpdateServiceTemplateVersionCommand , UpdateServiceTemplateVersionCommandInput , UpdateServiceTemplateVersionCommandOutput , } from "./commands/UpdateServiceTemplateVersionCommand" ; import { UpdateTemplateSyncConfigCommand , UpdateTemplateSyncConfigCommandInput , UpdateTemplateSyncConfigCommandOutput , } from "./commands/UpdateTemplateSyncConfigCommand" ; import { ProtonClient } from "./ProtonClient" ; /**
 * <p>This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the
 *     <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Operations.html">actions</a> and <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Types.html">data types</a> for the Proton
 *    service.</p>
 *          <p>The documentation for each action shows the Query API request parameters and the XML response.</p>
 *          <p>Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html">Amazon Web Services Command Line Interface User
 *     Guide</a>.</p>
 *          <p>The Proton service is a two-pronged automation framework. Administrators create service templates to provide
 *    standardized infrastructure and deployment tooling for serverless and container based applications. Developers, in
 *    turn, select from the available service templates to automate their application or service deployments.</p>
 *          <p>Because administrators define the infrastructure and tooling that Proton deploys and manages, they need
 *    permissions to use all of the listed API operations.</p>
 *          <p>When developers select a specific infrastructure and tooling set, Proton deploys their applications. To
 *    monitor their applications that are running on Proton, developers need permissions to the service
 *     <i>create</i>, <i>list</i>, <i>update</i> and <i>delete</i>
 *    API operations and the service instance <i>list</i> and <i>update</i> API
 *    operations.</p>
 *          <p>To learn more about Proton administration, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/Welcome.html">Proton Administrator Guide</a>.</p>
 *          <p>To learn more about deploying serverless and containerized applications on Proton, see the <a href="https://docs.aws.amazon.com/proton/latest/userguide/Welcome.html">Proton User Guide</a>.</p>
 *          <p>
 *             <b>Ensuring Idempotency</b>
 *          </p>
 *          <p>When you make a mutating API request, the request typically returns a result before the asynchronous workflows
 *    of the operation are complete. Operations might also time out or encounter other server issues before they're
 *    complete, even if the request already returned a result. This might make it difficult to determine whether the
 *    request succeeded. Moreover, you might need to retry the request multiple times to ensure that the operation
 *    completes successfully. However, if the original request and the subsequent retries are successful, the operation
 *    occurs multiple times. This means that you might create more resources than you intended.</p>
 *          <p>
 *             <i>Idempotency</i> ensures that an API request action completes no more than one time. With an
 *    idempotent request, if the original request action completes successfully, any subsequent retries complete
 *    successfully without performing any further actions. However, the result might contain updated information, such as
 *    the current creation status.</p>
 *          <p>The following lists of APIs are grouped according to methods that ensure idempotency.</p>
 *          <p>
 *             <b>Idempotent create APIs with a client token</b>
 *          </p>
 *          <p>The API actions in this list support idempotency with the use of a <i>client token</i>. The
 *    corresponding Amazon Web Services CLI commands also support idempotency using a client token. A client token is a unique,
 *    case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions,
 *    specify a client token in the request. We recommend that you <i>don't</i> reuse the same client token
 *    for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically
 *    provided by SDKs.</p>
 *          <p>Given a request action that has succeeded:</p>
 *          <p>If you retry the request using the same client token and the same parameters, the retry succeeds without
 *    performing any further actions other than returning the original resource detail data in the response.</p>
 *          <p>If you retry the request using the same client token, but one or more of the parameters are different, the retry
 *    throws a <code>ValidationException</code> with an <code>IdempotentParameterMismatch</code> error.</p>
 *          <p>Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new
 *    resource is created.</p>
 *          <p>If the original resource is deleted and you retry the request, a new resource is created.</p>
 *          <p>Idempotent create APIs with a client token:</p>
 *          <ul>
 *             <li>
 *                <p>CreateEnvironmentTemplateVersion</p>
 *             </li>
 *             <li>
 *                <p>CreateServiceTemplateVersion</p>
 *             </li>
 *             <li>
 *                <p>CreateEnvironmentAccountConnection</p>
 *             </li>
 *          </ul>
 *          <p>
 *             <b>Idempotent create APIs</b>
 *          </p>
 *          <p>Given a request action that has succeeded:</p>
 *          <p>If you retry the request with an API from this group, and the original resource <i>hasn't</i> been
 *    modified, the retry succeeds without performing any further actions other than returning the original resource detail
 *    data in the response.</p>
 *          <p>If the original resource has been modified, the retry throws a <code>ConflictException</code>.</p>
 *          <p>If you retry with different input parameters, the retry throws a <code>ValidationException</code> with an
 *     <code>IdempotentParameterMismatch</code> error.</p>
 *          <p>Idempotent create APIs:</p>
 *          <ul>
 *             <li>
 *                <p>CreateEnvironmentTemplate</p>
 *             </li>
 *             <li>
 *                <p>CreateServiceTemplate</p>
 *             </li>
 *             <li>
 *                <p>CreateEnvironment</p>
 *             </li>
 *             <li>
 *                <p>CreateService</p>
 *             </li>
 *          </ul>
 *          <p>
 *             <b>Idempotent delete APIs</b>
 *          </p>
 *          <p>Given a request action that has succeeded:</p>
 *          <p>When you retry the request with an API from this group and the resource was deleted, its metadata is returned in
 *    the response.</p>
 *          <p>If you retry and the resource doesn't exist, the response is empty.</p>
 *          <p>In both cases, the retry succeeds.</p>
 *          <p>Idempotent delete APIs:</p>
 *          <ul>
 *             <li>
 *                <p>DeleteEnvironmentTemplate</p>
 *             </li>
 *             <li>
 *                <p>DeleteEnvironmentTemplateVersion</p>
 *             </li>
 *             <li>
 *                <p>DeleteServiceTemplate</p>
 *             </li>
 *             <li>
 *                <p>DeleteServiceTemplateVersion</p>
 *             </li>
 *             <li>
 *                <p>DeleteEnvironmentAccountConnection</p>
 *             </li>
 *          </ul>
 *          <p>
 *             <b>Asynchronous idempotent delete APIs</b>
 *          </p>
 *          <p>Given a request action that has succeeded:</p>
 *          <p>If you retry the request with an API from this group, if the original request delete operation status is
 *     <code>DELETE_IN_PROGRESS</code>, the retry returns the resource detail data in the response without performing any
 *    further actions.</p>
 *          <p>If the original request delete operation is complete, a retry returns an empty response.</p>
 *          <p>Asynchronous idempotent delete APIs:</p>
 *          <ul>
 *             <li>
 *                <p>DeleteEnvironment</p>
 *             </li>
 *             <li>
 *                <p>DeleteService</p>
 *             </li>
 *          </ul>
 */ export class Proton extends ProtonClient { /**
     * <p>In a management account, an environment account connection request is accepted. When the environment account connection request is accepted,
     *    Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
     *     connections</a> in the <i>Proton Administrator guide</i>.</p>
     */ public acceptEnvironmentAccountConnection ( args , options ? ) ; public acceptEnvironmentAccountConnection ( args , cb ) ; public acceptEnvironmentAccountConnection ( args , options , cb ) ; public acceptEnvironmentAccountConnection ( args , optionsOrCb ? , cb ? ) { const command = new AcceptEnvironmentAccountConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attempts to cancel an environment deployment on an <a>UpdateEnvironment</a> action, if the deployment is <code>IN_PROGRESS</code>.
     *    For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-update.html">Update an environment</a> in the
     *     <i>Proton Administrator guide</i>.</p>
     *          <p>The following list includes potential cancellation scenarios.</p>
     *          <ul>
     *             <li>
     *                <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
     *             </li>
     *             <li>
     *                <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
     *             </li>
     *             <li>
     *                <p>If the current <a>UpdateEnvironment</a> action succeeds before the cancellation attempt starts, the resulting deployment state is
     *       <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
     *             </li>
     *          </ul>
     */ public cancelEnvironmentDeployment ( args , options ? ) ; public cancelEnvironmentDeployment ( args , cb ) ; public cancelEnvironmentDeployment ( args , options , cb ) ; public cancelEnvironmentDeployment ( args , optionsOrCb ? , cb ? ) { const command = new CancelEnvironmentDeploymentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attempts to cancel a service instance deployment on an <a>UpdateServiceInstance</a> action, if the deployment is
     *     <code>IN_PROGRESS</code>. For more information, see <i>Update a service instance</i> in the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-svc-instance-update.html">Proton Administrator guide</a> or the <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-instance-update.html">Proton User guide</a>.</p>
     *          <p>The following list includes potential cancellation scenarios.</p>
     *          <ul>
     *             <li>
     *                <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
     *             </li>
     *             <li>
     *                <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
     *             </li>
     *             <li>
     *                <p>If the current <a>UpdateServiceInstance</a> action succeeds before the cancellation attempt starts, the resulting deployment
     *      state is <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
     *             </li>
     *          </ul>
     */ public cancelServiceInstanceDeployment ( args , options ? ) ; public cancelServiceInstanceDeployment ( args , cb ) ; public cancelServiceInstanceDeployment ( args , options , cb ) ; public cancelServiceInstanceDeployment ( args , optionsOrCb ? , cb ? ) { const command = new CancelServiceInstanceDeploymentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attempts to cancel a service pipeline deployment on an <a>UpdateServicePipeline</a> action, if the deployment is
     *     <code>IN_PROGRESS</code>. For more information, see <i>Update a service pipeline</i> in the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-svc-pipeline-update.html">Proton Administrator guide</a> or the <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-pipeline-update.html">Proton User guide</a>.</p>
     *          <p>The following list includes potential cancellation scenarios.</p>
     *          <ul>
     *             <li>
     *                <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
     *             </li>
     *             <li>
     *                <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
     *             </li>
     *             <li>
     *                <p>If the current <a>UpdateServicePipeline</a> action succeeds before the cancellation attempt starts, the resulting deployment
     *      state is <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
     *             </li>
     *          </ul>
     */ public cancelServicePipelineDeployment ( args , options ? ) ; public cancelServicePipelineDeployment ( args , cb ) ; public cancelServicePipelineDeployment ( args , options , cb ) ; public cancelServicePipelineDeployment ( args , optionsOrCb ? , cb ? ) { const command = new CancelServicePipelineDeploymentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can
     *    be shared across services.</p>
     *          <p class="title">
     *             <b>You can provision environments using the following methods:</b>
     *          </p>
     *          <ul>
     *             <li>
     *                <p>Standard provisioning: Proton makes direct calls to provision your resources.</p>
     *             </li>
     *             <li>
     *                <p>Pull request provisioning: Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your
     *      IaC engine uses to provision resources.</p>
     *             </li>
     *          </ul>
     *          <p>For more information, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html">Environments</a> in the
     *     <i>Proton Administrator Guide.</i>
     *          </p>
     */ public createEnvironment ( args , options ? ) ; public createEnvironment ( args , cb ) ; public createEnvironment ( args , options , cb ) ; public createEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new CreateEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the
     *    environment account from a management account.</p>
     *          <p>An environment account connection is a secure bi-directional connection between a <i>management account</i> and an
     *     <i>environment account</i> that maintains authorization and permissions. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account connections</a> in the <i>Proton Administrator
     *     guide</i>.</p>
     */ public createEnvironmentAccountConnection ( args , options ? ) ; public createEnvironmentAccountConnection ( args , cb ) ; public createEnvironmentAccountConnection ( args , options , cb ) ; public createEnvironmentAccountConnection ( args , optionsOrCb ? , cb ? ) { const command = new CreateEnvironmentAccountConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create an environment template for Proton. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-templates.html">Environment Templates</a> in the <i>Proton Administrator Guide</i>.</p>
     *          <p>You can create an environment template in one of the two following ways:</p>
     *          <ul>
     *             <li>
     *                <p>Register and publish a <i>standard</i> environment template that instructs Proton to deploy and manage environment
     *      infrastructure.</p>
     *             </li>
     *             <li>
     *                <p>Register and publish a <i>customer managed</i> environment template that connects Proton to your existing provisioned
     *      infrastructure that you manage. Proton <i>doesn't</i> manage your existing provisioned infrastructure. To create an environment
     *      template for customer provisioned and managed infrastructure, include the <code>provisioning</code> parameter and set the value to
     *       <code>CUSTOMER_MANAGED</code>. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/template-create.html">Register and publish an environment template</a> in the <i>Proton Administrator Guide</i>.</p>
     *             </li>
     *          </ul>
     */ public createEnvironmentTemplate ( args , options ? ) ; public createEnvironmentTemplate ( args , cb ) ; public createEnvironmentTemplate ( args , options , cb ) ; public createEnvironmentTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateEnvironmentTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create a new major or minor version of an environment template. A major version of an environment template is a version that
     *     <i>isn't</i> backwards compatible. A minor version of an environment template is a version that's backwards compatible within its
     *    major version.</p>
     */ public createEnvironmentTemplateVersion ( args , options ? ) ; public createEnvironmentTemplateVersion ( args , cb ) ; public createEnvironmentTemplateVersion ( args , options , cb ) ; public createEnvironmentTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreateEnvironmentTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create and register a link to a repository that can be used with pull request provisioning or template sync configurations. For more
     *    information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html">Template bundles</a> and <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html">Template sync configurations</a> in the <i>Proton
     *     Administrator Guide</i>.</p>
     */ public createRepository ( args , options ? ) ; public createRepository ( args , cb ) ; public createRepository ( args , options , cb ) ; public createRepository ( args , optionsOrCb ? , cb ? ) { const command = new CreateRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and
     *    pipeline. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-services.html">Services</a> in the
     *     <i>Proton Administrator Guide</i> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-service.html">Services</a>
     *    in the <i>Proton User Guide</i>.</p>
     */ public createService ( args , options ? ) ; public createService ( args , cb ) ; public createService ( args , options , cb ) ; public createService ( args , optionsOrCb ? , cb ? ) { const command = new CreateServiceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CICD service
     *    pipeline. Developers, in turn, select the service template from Proton. If the selected service template includes a service pipeline definition,
     *    they provide a link to their source code repository. Proton then deploys and manages the infrastructure defined by the selected service
     *    template. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/managing-svc-templates.html">Service
     *     Templates</a> in the <i>Proton Administrator Guide</i>.</p>
     */ public createServiceTemplate ( args , options ? ) ; public createServiceTemplate ( args , cb ) ; public createServiceTemplate ( args , options , cb ) ; public createServiceTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateServiceTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create a new major or minor version of a service template. A major version of a service template is a version that <i>isn't</i>
     *    backward compatible. A minor version of a service template is a version that's backward compatible within its major version.</p>
     */ public createServiceTemplateVersion ( args , options ? ) ; public createServiceTemplateVersion ( args , cb ) ; public createServiceTemplateVersion ( args , options , cb ) ; public createServiceTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreateServiceTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Set up a template for automated template version creation. When a commit is pushed to your registered <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Repository.html">repository</a>, Proton checks for changes to your repository template bundles. If it
     *    detects a template bundle change, a new minor or major version of its template is created, if the version doesn’t already exist. For more
     *    information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html">Template sync configurations</a> in
     *    the <i>Proton Administrator Guide</i>.</p>
     */ public createTemplateSyncConfig ( args , options ? ) ; public createTemplateSyncConfig ( args , cb ) ; public createTemplateSyncConfig ( args , options , cb ) ; public createTemplateSyncConfig ( args , optionsOrCb ? , cb ? ) { const command = new CreateTemplateSyncConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete an environment.</p>
     */ public deleteEnvironment ( args , options ? ) ; public deleteEnvironment ( args , cb ) ; public deleteEnvironment ( args , options , cb ) ; public deleteEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>In an environment account, delete an environment account connection.</p>
     *          <p>After you delete an environment account connection that’s in use by an Proton environment, Proton <i>can’t</i> manage the
     *    environment infrastructure resources until a new environment account connection is accepted for the environment account and associated environment.
     *    You're responsible for cleaning up provisioned resources that remain without an environment connection.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
     *     connections</a> in the <i>Proton Administrator guide</i>.</p>
     */ public deleteEnvironmentAccountConnection ( args , options ? ) ; public deleteEnvironmentAccountConnection ( args , cb ) ; public deleteEnvironmentAccountConnection ( args , options , cb ) ; public deleteEnvironmentAccountConnection ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEnvironmentAccountConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>If no other major or minor versions of an environment template exist, delete the environment template.</p>
     */ public deleteEnvironmentTemplate ( args , options ? ) ; public deleteEnvironmentTemplate ( args , cb ) ; public deleteEnvironmentTemplate ( args , options , cb ) ; public deleteEnvironmentTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEnvironmentTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>If no other minor versions of an environment template exist, delete a major version of the environment template if it's not the
     *     <code>Recommended</code> version. Delete the <code>Recommended</code> version of the environment template if no other major versions or minor
     *    versions of the environment template exist. A major version of an environment template is a version that's not backward compatible.</p>
     *          <p>Delete a minor version of an environment template if it <i>isn't</i> the <code>Recommended</code> version. Delete a
     *     <code>Recommended</code> minor version of the environment template if no other minor versions of the environment template exist. A minor version
     *    of an environment template is a version that's backward compatible.</p>
     */ public deleteEnvironmentTemplateVersion ( args , options ? ) ; public deleteEnvironmentTemplateVersion ( args , cb ) ; public deleteEnvironmentTemplateVersion ( args , options , cb ) ; public deleteEnvironmentTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEnvironmentTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>De-register and unlink your repository.</p>
     */ public deleteRepository ( args , options ? ) ; public deleteRepository ( args , cb ) ; public deleteRepository ( args , options , cb ) ; public deleteRepository ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete a service.</p>
     */ public deleteService ( args , options ? ) ; public deleteService ( args , cb ) ; public deleteService ( args , options , cb ) ; public deleteService ( args , optionsOrCb ? , cb ? ) { const command = new DeleteServiceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>If no other major or minor versions of the service template exist, delete the service template.</p>
     */ public deleteServiceTemplate ( args , options ? ) ; public deleteServiceTemplate ( args , cb ) ; public deleteServiceTemplate ( args , options , cb ) ; public deleteServiceTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteServiceTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>If no other minor versions of a service template exist, delete a major version of the service template if it's not the
     *     <code>Recommended</code> version. Delete the <code>Recommended</code> version of the service template if no other major versions or minor versions
     *    of the service template exist. A major version of a service template is a version that <i>isn't</i> backwards compatible.</p>
     *          <p>Delete a minor version of a service template if it's not the <code>Recommended</code> version. Delete a <code>Recommended</code> minor version
     *    of the service template if no other minor versions of the service template exist. A minor version of a service template is a version that's
     *    backwards compatible.</p>
     */ public deleteServiceTemplateVersion ( args , options ? ) ; public deleteServiceTemplateVersion ( args , cb ) ; public deleteServiceTemplateVersion ( args , options , cb ) ; public deleteServiceTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new DeleteServiceTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete a template sync configuration.</p>
     */ public deleteTemplateSyncConfig ( args , options ? ) ; public deleteTemplateSyncConfig ( args , cb ) ; public deleteTemplateSyncConfig ( args , options , cb ) ; public deleteTemplateSyncConfig ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTemplateSyncConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get detail data for the Proton pipeline service role.</p>
     */ public getAccountSettings ( args , options ? ) ; public getAccountSettings ( args , cb ) ; public getAccountSettings ( args , options , cb ) ; public getAccountSettings ( args , optionsOrCb ? , cb ? ) { const command = new GetAccountSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get detail data for an environment.</p>
     */ public getEnvironment ( args , options ? ) ; public getEnvironment ( args , cb ) ; public getEnvironment ( args , options , cb ) ; public getEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new GetEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>In an environment account, view the detail data for an environment account connection.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
     *     connections</a> in the <i>Proton Administrator guide</i>.</p>
     */ public getEnvironmentAccountConnection ( args , options ? ) ; public getEnvironmentAccountConnection ( args , cb ) ; public getEnvironmentAccountConnection ( args , options , cb ) ; public getEnvironmentAccountConnection ( args , optionsOrCb ? , cb ? ) { const command = new GetEnvironmentAccountConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get detail data for an environment template.</p>
     */ public getEnvironmentTemplate ( args , options ? ) ; public getEnvironmentTemplate ( args , cb ) ; public getEnvironmentTemplate ( args , options , cb ) ; public getEnvironmentTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetEnvironmentTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>View detail data for a major or minor version of an environment template.</p>
     */ public getEnvironmentTemplateVersion ( args , options ? ) ; public getEnvironmentTemplateVersion ( args , cb ) ; public getEnvironmentTemplateVersion ( args , options , cb ) ; public getEnvironmentTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new GetEnvironmentTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get detail data for a repository.</p>
     */ public getRepository ( args , options ? ) ; public getRepository ( args , cb ) ; public getRepository ( args , options , cb ) ; public getRepository ( args , optionsOrCb ? , cb ? ) { const command = new GetRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get the repository sync status.</p>
     */ public getRepositorySyncStatus ( args , options ? ) ; public getRepositorySyncStatus ( args , cb ) ; public getRepositorySyncStatus ( args , options , cb ) ; public getRepositorySyncStatus ( args , optionsOrCb ? , cb ? ) { const command = new GetRepositorySyncStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get detail data for a service.</p>
     */ public getService ( args , options ? ) ; public getService ( args , cb ) ; public getService ( args , options , cb ) ; public getService ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get detail data for a service instance. A service instance is an instantiation of service template, which is running in a specific
     *    environment.</p>
     */ public getServiceInstance ( args , options ? ) ; public getServiceInstance ( args , cb ) ; public getServiceInstance ( args , options , cb ) ; public getServiceInstance ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get detail data for a service template.</p>
     */ public getServiceTemplate ( args , options ? ) ; public getServiceTemplate ( args , cb ) ; public getServiceTemplate ( args , options , cb ) ; public getServiceTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>View detail data for a major or minor version of a service template.</p>
     */ public getServiceTemplateVersion ( args , options ? ) ; public getServiceTemplateVersion ( args , cb ) ; public getServiceTemplateVersion ( args , options , cb ) ; public getServiceTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get detail data for a template sync configuration.</p>
     */ public getTemplateSyncConfig ( args , options ? ) ; public getTemplateSyncConfig ( args , cb ) ; public getTemplateSyncConfig ( args , options , cb ) ; public getTemplateSyncConfig ( args , optionsOrCb ? , cb ? ) { const command = new GetTemplateSyncConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get the status of a template sync.</p>
     */ public getTemplateSyncStatus ( args , options ? ) ; public getTemplateSyncStatus ( args , cb ) ; public getTemplateSyncStatus ( args , options , cb ) ; public getTemplateSyncStatus ( args , optionsOrCb ? , cb ? ) { const command = new GetTemplateSyncStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>View a list of environment account connections.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
     *     connections</a> in the <i>Proton Administrator guide</i>.</p>
     */ public listEnvironmentAccountConnections ( args , options ? ) ; public listEnvironmentAccountConnections ( args , cb ) ; public listEnvironmentAccountConnections ( args , options , cb ) ; public listEnvironmentAccountConnections ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentAccountConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List the infrastructure as code outputs for your environment.</p>
     */ public listEnvironmentOutputs ( args , options ? ) ; public listEnvironmentOutputs ( args , cb ) ; public listEnvironmentOutputs ( args , options , cb ) ; public listEnvironmentOutputs ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentOutputsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List the provisioned resources for your environment.</p>
     */ public listEnvironmentProvisionedResources ( args , options ? ) ; public listEnvironmentProvisionedResources ( args , cb ) ; public listEnvironmentProvisionedResources ( args , options , cb ) ; public listEnvironmentProvisionedResources ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentProvisionedResourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List environments with detail data summaries.</p>
     */ public listEnvironments ( args , options ? ) ; public listEnvironments ( args , cb ) ; public listEnvironments ( args , options , cb ) ; public listEnvironments ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List environment templates.</p>
     */ public listEnvironmentTemplates ( args , options ? ) ; public listEnvironmentTemplates ( args , cb ) ; public listEnvironmentTemplates ( args , options , cb ) ; public listEnvironmentTemplates ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentTemplatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List major or minor versions of an environment template with detail data.</p>
     */ public listEnvironmentTemplateVersions ( args , options ? ) ; public listEnvironmentTemplateVersions ( args , cb ) ; public listEnvironmentTemplateVersions ( args , options , cb ) ; public listEnvironmentTemplateVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListEnvironmentTemplateVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List repositories with detail data.</p>
     */ public listRepositories ( args , options ? ) ; public listRepositories ( args , cb ) ; public listRepositories ( args , options , cb ) ; public listRepositories ( args , optionsOrCb ? , cb ? ) { const command = new ListRepositoriesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List repository sync definitions with detail data.</p>
     */ public listRepositorySyncDefinitions ( args , options ? ) ; public listRepositorySyncDefinitions ( args , cb ) ; public listRepositorySyncDefinitions ( args , options , cb ) ; public listRepositorySyncDefinitions ( args , optionsOrCb ? , cb ? ) { const command = new ListRepositorySyncDefinitionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>View a list service instance infrastructure as code outputs with detail data.</p>
     */ public listServiceInstanceOutputs ( args , options ? ) ; public listServiceInstanceOutputs ( args , cb ) ; public listServiceInstanceOutputs ( args , options , cb ) ; public listServiceInstanceOutputs ( args , optionsOrCb ? , cb ? ) { const command = new ListServiceInstanceOutputsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List provisioned resources for a service instance with details.</p>
     */ public listServiceInstanceProvisionedResources ( args , options ? ) ; public listServiceInstanceProvisionedResources ( args , cb ) ; public listServiceInstanceProvisionedResources ( args , options , cb ) ; public listServiceInstanceProvisionedResources ( args , optionsOrCb ? , cb ? ) { const command = new ListServiceInstanceProvisionedResourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List service instances with summaries of detail data.</p>
     */ public listServiceInstances ( args , options ? ) ; public listServiceInstances ( args , cb ) ; public listServiceInstances ( args , options , cb ) ; public listServiceInstances ( args , optionsOrCb ? , cb ? ) { const command = new ListServiceInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>View a list service pipeline infrastructure as code outputs with detail.</p>
     */ public listServicePipelineOutputs ( args , options ? ) ; public listServicePipelineOutputs ( args , cb ) ; public listServicePipelineOutputs ( args , options , cb ) ; public listServicePipelineOutputs ( args , optionsOrCb ? , cb ? ) { const command = new ListServicePipelineOutputsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List provisioned resources for a service and pipeline with details.</p>
     */ public listServicePipelineProvisionedResources ( args , options ? ) ; public listServicePipelineProvisionedResources ( args , cb ) ; public listServicePipelineProvisionedResources ( args , options , cb ) ; public listServicePipelineProvisionedResources ( args , optionsOrCb ? , cb ? ) { const command = new ListServicePipelineProvisionedResourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List services with summaries of detail data.</p>
     */ public listServices ( args , options ? ) ; public listServices ( args , cb ) ; public listServices ( args , options , cb ) ; public listServices ( args , optionsOrCb ? , cb ? ) { const command = new ListServicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List service templates with detail data.</p>
     */ public listServiceTemplates ( args , options ? ) ; public listServiceTemplates ( args , cb ) ; public listServiceTemplates ( args , options , cb ) ; public listServiceTemplates ( args , optionsOrCb ? , cb ? ) { const command = new ListServiceTemplatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List major or minor versions of a service template with detail data.</p>
     */ public listServiceTemplateVersions ( args , options ? ) ; public listServiceTemplateVersions ( args , cb ) ; public listServiceTemplateVersions ( args , options , cb ) ; public listServiceTemplateVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListServiceTemplateVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List tags for a resource. For more information, see <i>Proton resources and tagging</i> in the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/resources.html">Proton Administrator Guide</a> or <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton User Guide</a>.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Notify Proton of status changes to a provisioned resource when you use pull request provisioning. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html">Template bundles</a>.</p>
     *          <important>
     *             <p>Provisioning by pull request is currently in feature preview and is
     *     only usable with Terraform based Proton Templates. To learn more about
     *     <a href="https://aws.amazon.com/service-terms">Amazon Web Services Feature Preview terms</a>, see section 2 on Beta and
     *     Previews.</p>
     *          </important>
     */ public notifyResourceDeploymentStatusChange ( args , options ? ) ; public notifyResourceDeploymentStatusChange ( args , cb ) ; public notifyResourceDeploymentStatusChange ( args , options , cb ) ; public notifyResourceDeploymentStatusChange ( args , optionsOrCb ? , cb ? ) { const command = new NotifyResourceDeploymentStatusChangeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>In a management account, reject an environment account connection from another environment account.</p>
     *          <p>After you reject an environment account connection request, you <i>won’t</i> be able to accept or use the rejected environment
     *    account connection.</p>
     *          <p>You <i>can’t</i> reject an environment account connection that is connected to an environment.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
     *     connections</a> in the <i>Proton Administrator guide</i>.</p>
     */ public rejectEnvironmentAccountConnection ( args , options ? ) ; public rejectEnvironmentAccountConnection ( args , cb ) ; public rejectEnvironmentAccountConnection ( args , options , cb ) ; public rejectEnvironmentAccountConnection ( args , optionsOrCb ? , cb ? ) { const command = new RejectEnvironmentAccountConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Tag a resource. For more information, see <i>Proton resources and tagging</i> in the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/resources.html">Proton Administrator Guide</a> or <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton User Guide</a>.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Remove a tag from a resource. For more information, see <i>Proton resources and tagging</i> in the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/resources.html">Proton Administrator Guide</a> or <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton User Guide</a>.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update the Proton service pipeline role or repository settings.</p>
     */ public updateAccountSettings ( args , options ? ) ; public updateAccountSettings ( args , cb ) ; public updateAccountSettings ( args , options , cb ) ; public updateAccountSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAccountSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update an environment.</p>
     *          <p>If the environment is associated with an environment account connection, <i>don't</i> update or include the
     *     <code>protonServiceRoleArn</code> and <code>provisioningRepository</code> parameter to update or connect to an environment account
     *    connection.</p>
     *          <p>You can only update to a new environment account connection if it was created in the same environment account that the current environment
     *    account connection was created in and is associated with the current environment.</p>
     *          <p>If the environment <i>isn't</i> associated with an environment account connection, <i>don't</i> update or include
     *    the <code>environmentAccountConnectionId</code> parameter to update or connect to an environment account connection.</p>
     *          <p>You can update either the <code>environmentAccountConnectionId</code> or <code>protonServiceRoleArn</code> parameter and value. You can’t
     *    update both.</p>
     *          <p>If the environment was provisioned with pull request provisioning, include the <code>provisioningRepository</code> parameter and omit the
     *     <code>protonServiceRoleArn</code> and <code>environmentAccountConnectionId</code> parameters.</p>
     *          <p>If the environment wasn't provisioned with pull request provisioning, omit the <code>provisioningRepository</code> parameter.</p>
     *          <p>There are four modes for updating an environment as described in the following. The <code>deploymentType</code> field defines the mode.</p>
     *          <dl>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>NONE</code>
     *                </p>
     *                <p>In this mode, a deployment <i>doesn't</i> occur. Only the requested metadata parameters are updated.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>CURRENT_VERSION</code>
     *                </p>
     *                <p>In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated.
     *        <i>Don’t</i> include minor or major version parameters when you use this <code>deployment-type</code>.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>MINOR_VERSION</code>
     *                </p>
     *                <p>In this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version
     *       in use, by default. You can also specify a different minor version of the current major version in use.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>MAJOR_VERSION</code>
     *                </p>
     *                <p>In this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current
     *       template, by default. You can also specify a different major version that's higher than the major version in use and a minor version
     *       (optional).</p>
     *             </dd>
     *          </dl>
     */ public updateEnvironment ( args , options ? ) ; public updateEnvironment ( args , cb ) ; public updateEnvironment ( args , options , cb ) ; public updateEnvironment ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEnvironmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>In an environment account, update an environment account connection to use a new IAM role.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
     *     connections</a> in the <i>Proton Administrator guide</i>.</p>
     */ public updateEnvironmentAccountConnection ( args , options ? ) ; public updateEnvironmentAccountConnection ( args , cb ) ; public updateEnvironmentAccountConnection ( args , options , cb ) ; public updateEnvironmentAccountConnection ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEnvironmentAccountConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update an environment template.</p>
     */ public updateEnvironmentTemplate ( args , options ? ) ; public updateEnvironmentTemplate ( args , cb ) ; public updateEnvironmentTemplate ( args , options , cb ) ; public updateEnvironmentTemplate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEnvironmentTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update a major or minor version of an environment template.</p>
     */ public updateEnvironmentTemplateVersion ( args , options ? ) ; public updateEnvironmentTemplateVersion ( args , cb ) ; public updateEnvironmentTemplateVersion ( args , options , cb ) ; public updateEnvironmentTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEnvironmentTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Edit a service description or use a spec to add and delete service instances.</p>
     *          <note>
     *             <p>Existing service instances and the service pipeline <i>can't</i> be edited using this API. They can only be deleted.</p>
     *          </note>
     *          <p>Use the <code>description</code> parameter to modify the description.</p>
     *          <p>Edit the <code>spec</code> parameter to add or delete instances.</p>
     */ public updateService ( args , options ? ) ; public updateService ( args , cb ) ; public updateService ( args , options , cb ) ; public updateService ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServiceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update a service instance.</p>
     *          <p>There are four modes for updating a service instance as described in the following. The <code>deploymentType</code> field defines the
     *    mode.</p>
     *          <dl>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>NONE</code>
     *                </p>
     *                <p>In this mode, a deployment <i>doesn't</i> occur. Only the requested metadata parameters are updated.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>CURRENT_VERSION</code>
     *                </p>
     *                <p>In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated.
     *        <i>Don’t</i> include minor or major version parameters when you use this <code>deployment-type</code>.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>MINOR_VERSION</code>
     *                </p>
     *                <p>In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major
     *       version in use, by default. You can also specify a different minor version of the current major version in use.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>MAJOR_VERSION</code>
     *                </p>
     *                <p>In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current
     *       template, by default. You can also specify a different major version that is higher than the major version in use and a minor version
     *       (optional).</p>
     *             </dd>
     *          </dl>
     */ public updateServiceInstance ( args , options ? ) ; public updateServiceInstance ( args , cb ) ; public updateServiceInstance ( args , options , cb ) ; public updateServiceInstance ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServiceInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update the service pipeline.</p>
     *          <p>There are four modes for updating a service pipeline as described in the following. The <code>deploymentType</code> field defines the
     *    mode.</p>
     *          <dl>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>NONE</code>
     *                </p>
     *                <p>In this mode, a deployment <i>doesn't</i> occur. Only the requested metadata parameters are updated.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>CURRENT_VERSION</code>
     *                </p>
     *                <p>In this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated.
     *        <i>Don’t</i> include minor or major version parameters when you use this <code>deployment-type</code>.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>MINOR_VERSION</code>
     *                </p>
     *                <p>In this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major
     *       version in use, by default. You can also specify a different minor version of the current major version in use.</p>
     *             </dd>
     *             <dt/>
     *             <dd>
     *                <p>
     *                   <code>MAJOR_VERSION</code>
     *                </p>
     *                <p>In this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current
     *       template by default. You can also specify a different major version that is higher than the major version in use and a minor version
     *       (optional).</p>
     *             </dd>
     *          </dl>
     */ public updateServicePipeline ( args , options ? ) ; public updateServicePipeline ( args , cb ) ; public updateServicePipeline ( args , options , cb ) ; public updateServicePipeline ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServicePipelineCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update a service template.</p>
     */ public updateServiceTemplate ( args , options ? ) ; public updateServiceTemplate ( args , cb ) ; public updateServiceTemplate ( args , options , cb ) ; public updateServiceTemplate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServiceTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update a major or minor version of a service template.</p>
     */ public updateServiceTemplateVersion ( args , options ? ) ; public updateServiceTemplateVersion ( args , cb ) ; public updateServiceTemplateVersion ( args , options , cb ) ; public updateServiceTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServiceTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update template sync configuration parameters, except for the <code>templateName</code> and <code>templateType</code>.</p>
     */ public updateTemplateSyncConfig ( args , options ? ) ; public updateTemplateSyncConfig ( args , cb ) ; public updateTemplateSyncConfig ( args , options , cb ) ; public updateTemplateSyncConfig ( args , optionsOrCb ? , cb ? ) { const command = new UpdateTemplateSyncConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }