Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Proton

import { Proton } from "https://aws-api.deno.dev/v0.4/services/proton.ts?docs=full";
class Proton {
constructor(apiFactory: client.ApiFactory);
async acceptEnvironmentAccountConnection(params: AcceptEnvironmentAccountConnectionInput, opts?: client.RequestOptions): Promise<AcceptEnvironmentAccountConnectionOutput>;
async cancelComponentDeployment(params: CancelComponentDeploymentInput, opts?: client.RequestOptions): Promise<CancelComponentDeploymentOutput>;
async cancelEnvironmentDeployment(params: CancelEnvironmentDeploymentInput, opts?: client.RequestOptions): Promise<CancelEnvironmentDeploymentOutput>;
async cancelServiceInstanceDeployment(params: CancelServiceInstanceDeploymentInput, opts?: client.RequestOptions): Promise<CancelServiceInstanceDeploymentOutput>;
async cancelServicePipelineDeployment(params: CancelServicePipelineDeploymentInput, opts?: client.RequestOptions): Promise<CancelServicePipelineDeploymentOutput>;
async createComponent(params: CreateComponentInput, opts?: client.RequestOptions): Promise<CreateComponentOutput>;
async createEnvironment(params: CreateEnvironmentInput, opts?: client.RequestOptions): Promise<CreateEnvironmentOutput>;
async createEnvironmentAccountConnection(params: CreateEnvironmentAccountConnectionInput, opts?: client.RequestOptions): Promise<CreateEnvironmentAccountConnectionOutput>;
async createEnvironmentTemplate(params: CreateEnvironmentTemplateInput, opts?: client.RequestOptions): Promise<CreateEnvironmentTemplateOutput>;
async createEnvironmentTemplateVersion(params: CreateEnvironmentTemplateVersionInput, opts?: client.RequestOptions): Promise<CreateEnvironmentTemplateVersionOutput>;
async createRepository(params: CreateRepositoryInput, opts?: client.RequestOptions): Promise<CreateRepositoryOutput>;
async createService(params: CreateServiceInput, opts?: client.RequestOptions): Promise<CreateServiceOutput>;
async createServiceTemplate(params: CreateServiceTemplateInput, opts?: client.RequestOptions): Promise<CreateServiceTemplateOutput>;
async createServiceTemplateVersion(params: CreateServiceTemplateVersionInput, opts?: client.RequestOptions): Promise<CreateServiceTemplateVersionOutput>;
async createTemplateSyncConfig(params: CreateTemplateSyncConfigInput, opts?: client.RequestOptions): Promise<CreateTemplateSyncConfigOutput>;
async deleteComponent(params: DeleteComponentInput, opts?: client.RequestOptions): Promise<DeleteComponentOutput>;
async deleteEnvironment(params: DeleteEnvironmentInput, opts?: client.RequestOptions): Promise<DeleteEnvironmentOutput>;
async deleteEnvironmentAccountConnection(params: DeleteEnvironmentAccountConnectionInput, opts?: client.RequestOptions): Promise<DeleteEnvironmentAccountConnectionOutput>;
async deleteEnvironmentTemplate(params: DeleteEnvironmentTemplateInput, opts?: client.RequestOptions): Promise<DeleteEnvironmentTemplateOutput>;
async deleteEnvironmentTemplateVersion(params: DeleteEnvironmentTemplateVersionInput, opts?: client.RequestOptions): Promise<DeleteEnvironmentTemplateVersionOutput>;
async deleteRepository(params: DeleteRepositoryInput, opts?: client.RequestOptions): Promise<DeleteRepositoryOutput>;
async deleteService(params: DeleteServiceInput, opts?: client.RequestOptions): Promise<DeleteServiceOutput>;
async deleteServiceTemplate(params: DeleteServiceTemplateInput, opts?: client.RequestOptions): Promise<DeleteServiceTemplateOutput>;
async deleteServiceTemplateVersion(params: DeleteServiceTemplateVersionInput, opts?: client.RequestOptions): Promise<DeleteServiceTemplateVersionOutput>;
async deleteTemplateSyncConfig(params: DeleteTemplateSyncConfigInput, opts?: client.RequestOptions): Promise<DeleteTemplateSyncConfigOutput>;
async getAccountSettings(opts?: client.RequestOptions): Promise<GetAccountSettingsOutput>;
async getComponent(params: GetComponentInput, opts?: client.RequestOptions): Promise<GetComponentOutput>;
async getEnvironment(params: GetEnvironmentInput, opts?: client.RequestOptions): Promise<GetEnvironmentOutput>;
async getEnvironmentAccountConnection(params: GetEnvironmentAccountConnectionInput, opts?: client.RequestOptions): Promise<GetEnvironmentAccountConnectionOutput>;
async getEnvironmentTemplate(params: GetEnvironmentTemplateInput, opts?: client.RequestOptions): Promise<GetEnvironmentTemplateOutput>;
async getEnvironmentTemplateVersion(params: GetEnvironmentTemplateVersionInput, opts?: client.RequestOptions): Promise<GetEnvironmentTemplateVersionOutput>;
async getRepository(params: GetRepositoryInput, opts?: client.RequestOptions): Promise<GetRepositoryOutput>;
async getRepositorySyncStatus(params: GetRepositorySyncStatusInput, opts?: client.RequestOptions): Promise<GetRepositorySyncStatusOutput>;
async getResourcesSummary(opts?: client.RequestOptions): Promise<GetResourcesSummaryOutput>;
async getService(params: GetServiceInput, opts?: client.RequestOptions): Promise<GetServiceOutput>;
async getServiceInstance(params: GetServiceInstanceInput, opts?: client.RequestOptions): Promise<GetServiceInstanceOutput>;
async getServiceTemplate(params: GetServiceTemplateInput, opts?: client.RequestOptions): Promise<GetServiceTemplateOutput>;
async getServiceTemplateVersion(params: GetServiceTemplateVersionInput, opts?: client.RequestOptions): Promise<GetServiceTemplateVersionOutput>;
async getTemplateSyncConfig(params: GetTemplateSyncConfigInput, opts?: client.RequestOptions): Promise<GetTemplateSyncConfigOutput>;
async getTemplateSyncStatus(params: GetTemplateSyncStatusInput, opts?: client.RequestOptions): Promise<GetTemplateSyncStatusOutput>;
async listComponentOutputs(params: ListComponentOutputsInput, opts?: client.RequestOptions): Promise<ListComponentOutputsOutput>;
async listComponentProvisionedResources(params: ListComponentProvisionedResourcesInput, opts?: client.RequestOptions): Promise<ListComponentProvisionedResourcesOutput>;
async listComponents(params?: ListComponentsInput, opts?: client.RequestOptions): Promise<ListComponentsOutput>;
async listEnvironmentAccountConnections(params: ListEnvironmentAccountConnectionsInput, opts?: client.RequestOptions): Promise<ListEnvironmentAccountConnectionsOutput>;
async listEnvironmentOutputs(params: ListEnvironmentOutputsInput, opts?: client.RequestOptions): Promise<ListEnvironmentOutputsOutput>;
async listEnvironmentProvisionedResources(params: ListEnvironmentProvisionedResourcesInput, opts?: client.RequestOptions): Promise<ListEnvironmentProvisionedResourcesOutput>;
async listEnvironments(params?: ListEnvironmentsInput, opts?: client.RequestOptions): Promise<ListEnvironmentsOutput>;
async listEnvironmentTemplates(params?: ListEnvironmentTemplatesInput, opts?: client.RequestOptions): Promise<ListEnvironmentTemplatesOutput>;
async listEnvironmentTemplateVersions(params: ListEnvironmentTemplateVersionsInput, opts?: client.RequestOptions): Promise<ListEnvironmentTemplateVersionsOutput>;
async listRepositories(params?: ListRepositoriesInput, opts?: client.RequestOptions): Promise<ListRepositoriesOutput>;
async listRepositorySyncDefinitions(params: ListRepositorySyncDefinitionsInput, opts?: client.RequestOptions): Promise<ListRepositorySyncDefinitionsOutput>;
async listServiceInstanceOutputs(params: ListServiceInstanceOutputsInput, opts?: client.RequestOptions): Promise<ListServiceInstanceOutputsOutput>;
async listServiceInstanceProvisionedResources(params: ListServiceInstanceProvisionedResourcesInput, opts?: client.RequestOptions): Promise<ListServiceInstanceProvisionedResourcesOutput>;
async listServiceInstances(params?: ListServiceInstancesInput, opts?: client.RequestOptions): Promise<ListServiceInstancesOutput>;
async listServicePipelineOutputs(params: ListServicePipelineOutputsInput, opts?: client.RequestOptions): Promise<ListServicePipelineOutputsOutput>;
async listServicePipelineProvisionedResources(params: ListServicePipelineProvisionedResourcesInput, opts?: client.RequestOptions): Promise<ListServicePipelineProvisionedResourcesOutput>;
async listServices(params?: ListServicesInput, opts?: client.RequestOptions): Promise<ListServicesOutput>;
async listServiceTemplates(params?: ListServiceTemplatesInput, opts?: client.RequestOptions): Promise<ListServiceTemplatesOutput>;
async listServiceTemplateVersions(params: ListServiceTemplateVersionsInput, opts?: client.RequestOptions): Promise<ListServiceTemplateVersionsOutput>;
async listTagsForResource(params: ListTagsForResourceInput, opts?: client.RequestOptions): Promise<ListTagsForResourceOutput>;
async notifyResourceDeploymentStatusChange(params: NotifyResourceDeploymentStatusChangeInput, opts?: client.RequestOptions): Promise<void>;
async rejectEnvironmentAccountConnection(params: RejectEnvironmentAccountConnectionInput, opts?: client.RequestOptions): Promise<RejectEnvironmentAccountConnectionOutput>;
async tagResource(params: TagResourceInput, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceInput, opts?: client.RequestOptions): Promise<void>;
async updateAccountSettings(params?: UpdateAccountSettingsInput, opts?: client.RequestOptions): Promise<UpdateAccountSettingsOutput>;
async updateComponent(params: UpdateComponentInput, opts?: client.RequestOptions): Promise<UpdateComponentOutput>;
async updateEnvironment(params: UpdateEnvironmentInput, opts?: client.RequestOptions): Promise<UpdateEnvironmentOutput>;
async updateEnvironmentAccountConnection(params: UpdateEnvironmentAccountConnectionInput, opts?: client.RequestOptions): Promise<UpdateEnvironmentAccountConnectionOutput>;
async updateEnvironmentTemplate(params: UpdateEnvironmentTemplateInput, opts?: client.RequestOptions): Promise<UpdateEnvironmentTemplateOutput>;
async updateEnvironmentTemplateVersion(params: UpdateEnvironmentTemplateVersionInput, opts?: client.RequestOptions): Promise<UpdateEnvironmentTemplateVersionOutput>;
async updateService(params: UpdateServiceInput, opts?: client.RequestOptions): Promise<UpdateServiceOutput>;
async updateServiceInstance(params: UpdateServiceInstanceInput, opts?: client.RequestOptions): Promise<UpdateServiceInstanceOutput>;
async updateServicePipeline(params: UpdateServicePipelineInput, opts?: client.RequestOptions): Promise<UpdateServicePipelineOutput>;
async updateServiceTemplate(params: UpdateServiceTemplateInput, opts?: client.RequestOptions): Promise<UpdateServiceTemplateOutput>;
async updateServiceTemplateVersion(params: UpdateServiceTemplateVersionInput, opts?: client.RequestOptions): Promise<UpdateServiceTemplateVersionOutput>;
async updateTemplateSyncConfig(params: UpdateTemplateSyncConfigInput, opts?: client.RequestOptions): Promise<UpdateTemplateSyncConfigOutput>;
async waitForComponentDeleted(params: GetComponentInput, opts?: client.RequestOptions): Promise<Error | GetComponentOutput>;
async waitForComponentDeployed(params: GetComponentInput, opts?: client.RequestOptions): Promise<GetComponentOutput>;
async waitForEnvironmentDeployed(params: GetEnvironmentInput, opts?: client.RequestOptions): Promise<GetEnvironmentOutput>;
async waitForEnvironmentTemplateVersionRegistered(params: GetEnvironmentTemplateVersionInput, opts?: client.RequestOptions): Promise<GetEnvironmentTemplateVersionOutput>;
async waitForServiceCreated(params: GetServiceInput, opts?: client.RequestOptions): Promise<GetServiceOutput>;
async waitForServiceDeleted(params: GetServiceInput, opts?: client.RequestOptions): Promise<Error | GetServiceOutput>;
async waitForServiceInstanceDeployed(params: GetServiceInstanceInput, opts?: client.RequestOptions): Promise<GetServiceInstanceOutput>;
async waitForServicePipelineDeployed(params: GetServiceInput, opts?: client.RequestOptions): Promise<GetServiceOutput>;
async waitForServiceTemplateVersionRegistered(params: GetServiceTemplateVersionInput, opts?: client.RequestOptions): Promise<GetServiceTemplateVersionOutput>;
async waitForServiceUpdated(params: GetServiceInput, opts?: client.RequestOptions): Promise<GetServiceOutput>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Proton(apiFactory: client.ApiFactory)
[src]

§Methods

§

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.

For more information, see Environment account connections in the Proton User guide.

§

Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS deployment status).

For more information about components, see Proton components in the Proton User Guide.

§

Attempts to cancel an environment deployment on an "UpdateEnvironment" action, if the deployment is IN_PROGRESS. For more information, see Update an environment in the Proton User guide.

The following list includes potential cancellation scenarios.

  • If the cancellation attempt succeeds, the resulting deployment state is CANCELLED.
  • If the cancellation attempt fails, the resulting deployment state is FAILED.
  • If the current "UpdateEnvironment" action succeeds before the cancellation attempt starts, the resulting deployment state is SUCCEEDED and the cancellation attempt has no effect.
§

Attempts to cancel a service instance deployment on an "UpdateServiceInstance" action, if the deployment is IN_PROGRESS. For more information, see Update a service instance in the Proton User guide.

The following list includes potential cancellation scenarios.

  • If the cancellation attempt succeeds, the resulting deployment state is CANCELLED.
  • If the cancellation attempt fails, the resulting deployment state is FAILED.
  • If the current "UpdateServiceInstance" action succeeds before the cancellation attempt starts, the resulting deployment state is SUCCEEDED and the cancellation attempt has no effect.
§

Attempts to cancel a service pipeline deployment on an "UpdateServicePipeline" action, if the deployment is IN_PROGRESS. For more information, see Update a service pipeline in the Proton User guide.

The following list includes potential cancellation scenarios.

  • If the cancellation attempt succeeds, the resulting deployment state is CANCELLED.
  • If the cancellation attempt fails, the resulting deployment state is FAILED.
  • If the current "UpdateServicePipeline" action succeeds before the cancellation attempt starts, the resulting deployment state is SUCCEEDED and the cancellation attempt has no effect.
§
createComponent(params: CreateComponentInput, opts?: client.RequestOptions): Promise<CreateComponentOutput>
[src]

Create an Proton component. A component is an infrastructure extension for a service instance.

For more information about components, see Proton components in the Proton User Guide.

§

Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services.

You can provision environments using the following methods:

  • Amazon Web Services-managed provisioning: Proton makes direct calls to provision your resources.
  • Self-managed provisioning: Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC engine uses to provision resources.

For more information, see Environments and Provisioning methods in the Proton User Guide.

§

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.

An environment account connection is a secure bi-directional connection between a management account and an environment account that maintains authorization and permissions. For more information, see Environment account connections in the Proton User guide.

§

Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.

You can create an environment template in one of the two following ways:

  • Register and publish a standard environment template that instructs Proton to deploy and manage environment infrastructure.
  • Register and publish a customer managed environment template that connects Proton to your existing provisioned infrastructure that you manage. Proton doesn't manage your existing provisioned infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the provisioning parameter and set the value to CUSTOMER_MANAGED. For more information, see Register and publish an environment template in the Proton User Guide.
§

Create a new major or minor version of an environment template. A major version of an environment template is a version that isn't backwards compatible. A minor version of an environment template is a version that's backwards compatible within its major version.

§
createRepository(params: CreateRepositoryInput, opts?: client.RequestOptions): Promise<CreateRepositoryOutput>
[src]

Create and register a link to a repository. Proton uses the link to repeatedly access the repository, to either push to it (self-managed provisioning) or pull from it (template sync). You can share a linked repository across multiple resources (like environments using self-managed provisioning, or synced templates). When you create a repository link, Proton creates a service-linked role for you.

For more information, see Self-managed provisioning, Template bundles, and Template sync configurations in the Proton User Guide.

§
createService(params: CreateServiceInput, opts?: client.RequestOptions): Promise<CreateServiceOutput>
[src]

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 Services in the Proton User Guide.

§

Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CI/CD 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 Proton templates in the Proton User Guide.

§

Create a new major or minor version of a service template. A major version of a service template is a version that isn't backward compatible. A minor version of a service template is a version that's backward compatible within its major version.

§

Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see "CreateRepository".

When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template bundle change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton User Guide.

§
deleteComponent(params: DeleteComponentInput, opts?: client.RequestOptions): Promise<DeleteComponentOutput>
[src]

Delete an Proton component resource.

For more information about components, see Proton components in the Proton User Guide.

§

Delete an environment.

§

In an environment account, delete an environment account connection.

After you delete an environment account connection that’s in use by an Proton environment, Proton can’t 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.

For more information, see Environment account connections in the Proton User guide.

§

If no other major or minor versions of an environment template exist, delete the environment template.

§

If no other minor versions of an environment template exist, delete a major version of the environment template if it's not the Recommended version. Delete the Recommended 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.

Delete a minor version of an environment template if it isn't the Recommended version. Delete a Recommended 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.

§
deleteRepository(params: DeleteRepositoryInput, opts?: client.RequestOptions): Promise<DeleteRepositoryOutput>
[src]

De-register and unlink your repository.

§
deleteService(params: DeleteServiceInput, opts?: client.RequestOptions): Promise<DeleteServiceOutput>
[src]

Delete a service, with its instances and pipeline.

Note: You can't delete a service if it has any service instances that have components attached to them. For more information about components, see Proton components in the Proton User Guide.

§

If no other major or minor versions of the service template exist, delete the service template.

§

If no other minor versions of a service template exist, delete a major version of the service template if it's not the Recommended version. Delete the Recommended 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 isn't backwards compatible.

Delete a minor version of a service template if it's not the Recommended version. Delete a Recommended 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.

§

Delete a template sync configuration.

§
getAccountSettings(opts?: client.RequestOptions): Promise<GetAccountSettingsOutput>
[src]

Get detail data for Proton account-wide settings.

§
getComponent(params: GetComponentInput, opts?: client.RequestOptions): Promise<GetComponentOutput>
[src]

Get detailed data for a component.

For more information about components, see Proton components in the Proton User Guide.

§
getEnvironment(params: GetEnvironmentInput, opts?: client.RequestOptions): Promise<GetEnvironmentOutput>
[src]

Get detailed data for an environment.

§

In an environment account, get the detailed data for an environment account connection.

For more information, see Environment account connections in the Proton User guide.

§

Get detailed data for an environment template.

§

Get detailed data for a major or minor version of an environment template.

§
getRepository(params: GetRepositoryInput, opts?: client.RequestOptions): Promise<GetRepositoryOutput>
[src]

Get detail data for a linked repository.

§

Get the sync status of a repository used for Proton template sync. For more information about template sync, see .

Note: A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC). For more information about ABAC, see ABAC in the Proton User Guide.

§
getResourcesSummary(opts?: client.RequestOptions): Promise<GetResourcesSummaryOutput>
[src]

Get counts of Proton resources.

For infrastructure-provisioning resources (environments, services, service instances, pipelines), the action returns staleness counts. A resource is stale when it's behind the recommended version of the Proton template that it uses and it needs an update to become current.

The action returns staleness counts (counts of resources that are up-to-date, behind a template major version, or behind a template minor version), the total number of resources, and the number of resources that are in a failed state, grouped by resource type. Components, environments, and service templates are exceptions—see the components, environments, and serviceTemplates field descriptions.

For context, the action also returns the total number of each type of Proton template in the Amazon Web Services account.

For more information, see Proton dashboard in the Proton User Guide.

§
getService(params: GetServiceInput, opts?: client.RequestOptions): Promise<GetServiceOutput>
[src]

Get detailed data for a service.

§

Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.

§

Get detailed data for a service template.

§

Get detailed data for a major or minor version of a service template.

§

Get detail data for a template sync configuration.

§

Get the status of a template sync.

§

Get a list of component Infrastructure as Code (IaC) outputs.

For more information about components, see Proton components in the Proton User Guide.

§

List provisioned resources for a component with details.

For more information about components, see Proton components in the Proton User Guide.

§
listComponents(params?: ListComponentsInput, opts?: client.RequestOptions): Promise<ListComponentsOutput>
[src]

List components with summary data. You can filter the result list by environment, service, or a single service instance.

For more information about components, see Proton components in the Proton User Guide.

§

View a list of environment account connections.

For more information, see Environment account connections in the Proton User guide.

§

List the infrastructure as code outputs for your environment.

§

List the provisioned resources for your environment.

§
listEnvironments(params?: ListEnvironmentsInput, opts?: client.RequestOptions): Promise<ListEnvironmentsOutput>
[src]

List environments with detail data summaries.

§

List environment templates.

§

List major or minor versions of an environment template with detail data.

§
listRepositories(params?: ListRepositoriesInput, opts?: client.RequestOptions): Promise<ListRepositoriesOutput>
[src]

List linked repositories with detail data.

§

List repository sync definitions with detail data.

§

Get a list service of instance Infrastructure as Code (IaC) outputs.

§

List provisioned resources for a service instance with details.

§

List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.

§

Get a list of service pipeline Infrastructure as Code (IaC) outputs.

§

List provisioned resources for a service and pipeline with details.

§
listServices(params?: ListServicesInput, opts?: client.RequestOptions): Promise<ListServicesOutput>
[src]

List services with summaries of detail data.

§

List service templates with detail data.

§

List major or minor versions of a service template with detail data.

§

List tags for a resource. For more information, see Proton resources and tagging in the Proton User Guide.

§
notifyResourceDeploymentStatusChange(params: NotifyResourceDeploymentStatusChangeInput, opts?: client.RequestOptions): Promise<void>
[src]

Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.

For more information, see Self-managed provisioning in the Proton User Guide.

§

In a management account, reject an environment account connection from another environment account.

After you reject an environment account connection request, you can't accept or use the rejected environment account connection.

You can’t reject an environment account connection that's connected to an environment.

For more information, see Environment account connections in the Proton User guide.

§
tagResource(params: TagResourceInput, opts?: client.RequestOptions): Promise<void>
[src]

Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.

For more information, see Proton resources and tagging in the Proton User Guide.

§
untagResource(params: UntagResourceInput, opts?: client.RequestOptions): Promise<void>
[src]

Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.

For more information, see Proton resources and tagging in the Proton User Guide.

§

Update Proton settings that are used for multiple services in the Amazon Web Services account.

§
updateComponent(params: UpdateComponentInput, opts?: client.RequestOptions): Promise<UpdateComponentOutput>
[src]

Update a component.

There are a few modes for updating a component. The deploymentType field defines the mode.

Note: You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is IN_PROGRESS.

For more information about components, see Proton components in the Proton User Guide.

§

Update an environment.

If the environment is associated with an environment account connection, don't update or include the protonServiceRoleArn and provisioningRepository parameter to update or connect to an environment account connection.

You can only update to a new environment account connection if that connection was created in the same environment account that the current environment account connection was created in. The account connection must also be associated with the current environment.

If the environment isn't associated with an environment account connection, don't update or include the environmentAccountConnectionId parameter. You can't update or connect the environment to an environment account connection if it isn't already associated with an environment connection.

You can update either the environmentAccountConnectionId or protonServiceRoleArn parameter and value. You can’t update both.

If the environment was configured for Amazon Web Services-managed provisioning, omit the provisioningRepository parameter.

If the environment was configured for self-managed provisioning, specify the provisioningRepository parameter and omit the protonServiceRoleArn and environmentAccountConnectionId parameters.

For more information, see Environments and Provisioning methods in the Proton User Guide.

There are four modes for updating an environment. The deploymentType field defines the mode.
NONE

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

: CURRENT_VERSION In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type.
MINOR_VERSION

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.

: MAJOR_VERSION 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.

§

In an environment account, update an environment account connection to use a new IAM role.

For more information, see Environment account connections in the Proton User guide.

§

Update an environment template.

§

Update a major or minor version of an environment template.

§
updateService(params: UpdateServiceInput, opts?: client.RequestOptions): Promise<UpdateServiceOutput>
[src]

Edit a service description or use a spec to add and delete service instances.

Note: Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.

Use the description parameter to modify the description.

Edit the spec parameter to add or delete instances.

Note: You can't delete a service instance (remove it from the spec) if it has an attached component. For more information about components, see Proton components in the Proton User Guide.

§

Update a service instance.

There are a few modes for updating a service instance. The deploymentType field defines the mode.

Note: You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is IN_PROGRESS. For more information about components, see Proton components in the Proton User Guide.

§

Update the service pipeline.

There are four modes for updating a service pipeline. The deploymentType field defines the mode.
NONE

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

: CURRENT_VERSION In this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment-type.
MINOR_VERSION

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 specify a different minor version of the current major version in use.

: MAJOR_VERSION 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 specify a different major version that's higher than the major version in use and a minor version.

§

Update a service template.

§

Update a major or minor version of a service template.

§

Update template sync configuration parameters, except for the templateName and templateType. Repository details (branch, name, and provider) should be of a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see "CreateRepository".

§
waitForComponentDeleted(params: GetComponentInput, opts?: client.RequestOptions): Promise<Error | GetComponentOutput>
[src]

Wait until a Component is deleted. Use this after invoking DeleteComponent Checks state up to 999 times, 5 seconds apart (about 84 minutes max wait time).

§
waitForComponentDeployed(params: GetComponentInput, opts?: client.RequestOptions): Promise<GetComponentOutput>
[src]

Wait until a Component is deployed. Use this after invoking CreateComponent or UpdateComponent Checks state up to 999 times, 5 seconds apart (about 84 minutes max wait time).

§
waitForEnvironmentDeployed(params: GetEnvironmentInput, opts?: client.RequestOptions): Promise<GetEnvironmentOutput>
[src]

Wait until an Environment is deployed. Use this after invoking CreateEnvironment or UpdateEnvironment Checks state up to 999 times, 5 seconds apart (about 84 minutes max wait time).

§
waitForEnvironmentTemplateVersionRegistered(params: GetEnvironmentTemplateVersionInput, opts?: client.RequestOptions): Promise<GetEnvironmentTemplateVersionOutput>
[src]

Wait until an EnvironmentTemplateVersion is registered. Use this after invoking CreateEnvironmentTemplateVersion Checks state up to 150 times, 2 seconds apart (about 5 minutes max wait time).

§
waitForServiceCreated(params: GetServiceInput, opts?: client.RequestOptions): Promise<GetServiceOutput>
[src]

Wait until an Service has deployed its instances and possibly pipeline. Use this after invoking CreateService Checks state up to 999 times, 5 seconds apart (about 84 minutes max wait time).

§
waitForServiceDeleted(params: GetServiceInput, opts?: client.RequestOptions): Promise<Error | GetServiceOutput>
[src]

Wait until a Service, its instances, and possibly pipeline have been deleted after DeleteService is invoked Checks state up to 999 times, 5 seconds apart (about 84 minutes max wait time).

§
waitForServiceInstanceDeployed(params: GetServiceInstanceInput, opts?: client.RequestOptions): Promise<GetServiceInstanceOutput>
[src]

Wait until a ServiceInstance is deployed. Use this after invoking CreateService or UpdateServiceInstance Checks state up to 999 times, 5 seconds apart (about 84 minutes max wait time).

§
waitForServicePipelineDeployed(params: GetServiceInput, opts?: client.RequestOptions): Promise<GetServiceOutput>
[src]

Wait until an ServicePipeline is deployed. Use this after invoking CreateService or UpdateServicePipeline Checks state up to 360 times, 10 seconds apart (about 60 minutes max wait time).

§
waitForServiceTemplateVersionRegistered(params: GetServiceTemplateVersionInput, opts?: client.RequestOptions): Promise<GetServiceTemplateVersionOutput>
[src]

Wait until a ServiceTemplateVersion is registered. Use this after invoking CreateServiceTemplateVersion Checks state up to 150 times, 2 seconds apart (about 5 minutes max wait time).

§
waitForServiceUpdated(params: GetServiceInput, opts?: client.RequestOptions): Promise<GetServiceOutput>
[src]

Wait until a Service, its instances, and possibly pipeline have been deployed after UpdateService is invoked Checks state up to 999 times, 5 seconds apart (about 84 minutes max wait time).

§Static Properties