Skip to content

Commit bedb9af

Browse files
author
awstools
committed
feat(client-proton): This release adds an option to delete pipeline provisioning repositories using the UpdateAccountSettings API
1 parent 0c9782d commit bedb9af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+384
-348
lines changed

clients/client-proton/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ listed API operations.</p>
2121
running on Proton, developers need permissions to the service <i>create</i>, <i>list</i>,
2222
<i>update</i> and <i>delete</i> API operations and the service instance <i>list</i> and
2323
<i>update</i> API operations.</p>
24-
<p>To learn more about Proton administration, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/Welcome.html">Proton
25-
Administrator Guide</a>.</p>
26-
<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>
24+
<p>To learn more about Proton, see the <a href="https://docs.aws.amazon.com/proton/latest/userguide/Welcome.html">Proton User Guide</a>.</p>
2725
<p>
2826
<b>Ensuring Idempotency</b>
2927
</p>

clients/client-proton/src/Proton.ts

Lines changed: 78 additions & 71 deletions
Large diffs are not rendered by default.

clients/client-proton/src/ProtonClient.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -603,9 +603,7 @@ export interface ProtonClientResolvedConfig extends ProtonClientResolvedConfigTy
603603
* running on Proton, developers need permissions to the service <i>create</i>, <i>list</i>,
604604
* <i>update</i> and <i>delete</i> API operations and the service instance <i>list</i> and
605605
* <i>update</i> API operations.</p>
606-
* <p>To learn more about Proton administration, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/Welcome.html">Proton
607-
* Administrator Guide</a>.</p>
608-
* <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>
606+
* <p>To learn more about Proton, see the <a href="https://docs.aws.amazon.com/proton/latest/userguide/Welcome.html">Proton User Guide</a>.</p>
609607
* <p>
610608
* <b>Ensuring Idempotency</b>
611609
* </p>

clients/client-proton/src/commands/AcceptEnvironmentAccountConnectionCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export interface AcceptEnvironmentAccountConnectionCommandOutput
3232
/**
3333
* <p>In a management account, an environment account connection request is accepted. When the environment account connection request is accepted, Proton
3434
* can use the associated IAM role to provision environment infrastructure resources in the associated environment account.</p>
35-
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
36-
* connections</a> in the <i>Proton Administrator guide</i>.</p>
35+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html">Environment account
36+
* connections</a> in the <i>Proton User guide</i>.</p>
3737
* @example
3838
* Use a bare-bones client and the command you need to make an API call.
3939
* ```javascript

clients/client-proton/src/commands/CancelComponentDeploymentCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface CancelComponentDeploymentCommandOutput extends CancelComponentD
3030
/**
3131
* <p>Attempts to cancel a component deployment (for a component that is in the <code>IN_PROGRESS</code> deployment status).</p>
3232
* <p>For more information about components, see
33-
* <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
34-
* <i>Proton Administrator Guide</i>.</p>
33+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
34+
* <i>Proton User Guide</i>.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

clients/client-proton/src/commands/CancelEnvironmentDeploymentCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export interface CancelEnvironmentDeploymentCommandOutput extends CancelEnvironm
2929

3030
/**
3131
* <p>Attempts to cancel an environment deployment on an <a>UpdateEnvironment</a> action, if the deployment is <code>IN_PROGRESS</code>. For more
32-
* information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-update.html">Update an environment</a> in the <i>Proton
33-
* Administrator guide</i>.</p>
32+
* information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-env-update.html">Update an environment</a> in the <i>Proton
33+
* User guide</i>.</p>
3434
* <p>The following list includes potential cancellation scenarios.</p>
3535
* <ul>
3636
* <li>

clients/client-proton/src/commands/CancelServiceInstanceDeploymentCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export interface CancelServiceInstanceDeploymentCommandOutput
3131

3232
/**
3333
* <p>Attempts to cancel a service instance deployment on an <a>UpdateServiceInstance</a> action, if the deployment is <code>IN_PROGRESS</code>.
34-
* 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>
34+
* For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-svc-instance-update.html">Update a service instance</a> in the
35+
* <i>Proton User guide</i>.</p>
3536
* <p>The following list includes potential cancellation scenarios.</p>
3637
* <ul>
3738
* <li>

clients/client-proton/src/commands/CancelServicePipelineDeploymentCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export interface CancelServicePipelineDeploymentCommandOutput
3131

3232
/**
3333
* <p>Attempts to cancel a service pipeline deployment on an <a>UpdateServicePipeline</a> action, if the deployment is <code>IN_PROGRESS</code>.
34-
* 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>
34+
* For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-svc-pipeline-update.html">Update a service pipeline</a> in the
35+
* <i>Proton User guide</i>.</p>
3536
* <p>The following list includes potential cancellation scenarios.</p>
3637
* <ul>
3738
* <li>

clients/client-proton/src/commands/CreateComponentCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface CreateComponentCommandOutput extends CreateComponentOutput, __M
3030
/**
3131
* <p>Create an Proton component. A component is an infrastructure extension for a service instance.</p>
3232
* <p>For more information about components, see
33-
* <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
34-
* <i>Proton Administrator Guide</i>.</p>
33+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
34+
* <i>Proton User Guide</i>.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

clients/client-proton/src/commands/CreateEnvironmentAccountConnectionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface CreateEnvironmentAccountConnectionCommandOutput
3333
* <p>Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment
3434
* account from a management account.</p>
3535
* <p>An environment account connection is a secure bi-directional connection between a <i>management account</i> and an <i>environment
36-
* 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
36+
* account</i> that maintains authorization and permissions. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html">Environment account connections</a> in the <i>Proton User
3737
* guide</i>.</p>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.

clients/client-proton/src/commands/CreateEnvironmentCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
4242
* engine uses to provision resources.</p>
4343
* </li>
4444
* </ul>
45-
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html">Environments</a> and <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-works-prov-methods.html">Provisioning methods</a> in the <i>Proton Administrator
45+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html">Environments</a> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html">Provisioning methods</a> in the <i>Proton User
4646
* Guide</i>.</p>
4747
* @example
4848
* Use a bare-bones client and the command you need to make an API call.

clients/client-proton/src/commands/CreateEnvironmentTemplateCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface CreateEnvironmentTemplateCommandInput extends CreateEnvironment
2828
export interface CreateEnvironmentTemplateCommandOutput extends CreateEnvironmentTemplateOutput, __MetadataBearer {}
2929

3030
/**
31-
* <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>
31+
* <p>Create an environment template for Proton. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-templates.html">Environment Templates</a> in the <i>Proton User Guide</i>.</p>
3232
* <p>You can create an environment template in one of the two following ways:</p>
3333
* <ul>
3434
* <li>
@@ -39,8 +39,8 @@ export interface CreateEnvironmentTemplateCommandOutput extends CreateEnvironmen
3939
* <p>Register and publish a <i>customer managed</i> environment template that connects Proton to your existing provisioned
4040
* infrastructure that you manage. Proton <i>doesn't</i> manage your existing provisioned infrastructure. To create an environment
4141
* template for customer provisioned and managed infrastructure, include the <code>provisioning</code> parameter and set the value to
42-
* <code>CUSTOMER_MANAGED</code>. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/template-create.html">Register
43-
* and publish an environment template</a> in the <i>Proton Administrator Guide</i>.</p>
42+
* <code>CUSTOMER_MANAGED</code>. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/template-create.html">Register
43+
* and publish an environment template</a> in the <i>Proton User Guide</i>.</p>
4444
* </li>
4545
* </ul>
4646
* @example

clients/client-proton/src/commands/CreateRepositoryCommand.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ export interface CreateRepositoryCommandInput extends CreateRepositoryInput {}
2828
export interface CreateRepositoryCommandOutput extends CreateRepositoryOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Create and register a link to a repository that can be used with self-managed provisioning (infrastructure or pipelines) or for template sync
32-
* configurations. When you create a repository link, Proton creates a <a href="https://docs.aws.amazon.com/proton/latest/adminguide/using-service-linked-roles.html">service-linked role</a> for you.</p>
33-
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-works-prov-methods.html#ag-works-prov-methods-self">Self-managed provisioning</a>, <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html">Template bundles</a>, and
34-
* <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html">Template sync configurations</a> in the <i>Proton
35-
* Administrator Guide</i>.</p>
31+
* <p>Create and register a link to a repository. Proton uses the link to repeatedly access the repository, to either push to it (self-managed
32+
* provisioning) or pull from it (template sync). You can share a linked repository across multiple resources (like environments using self-managed
33+
* provisioning, or synced templates). When you create a repository link, Proton creates a <a href="https://docs.aws.amazon.com/proton/latest/userguide/using-service-linked-roles.html">service-linked role</a> for you.</p>
34+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self">Self-managed provisioning</a>, <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-template-authoring.html#ag-template-bundles">Template bundles</a>, and
35+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-template-sync-configs.html">Template sync configurations</a> in the <i>Proton
36+
* User Guide</i>.</p>
3637
* @example
3738
* Use a bare-bones client and the command you need to make an API call.
3839
* ```javascript

clients/client-proton/src/commands/CreateServiceCommand.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ export interface CreateServiceCommandOutput extends CreateServiceOutput, __Metad
2929

3030
/**
3131
* <p>Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and pipeline.
32-
* For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-services.html">Services</a> in the <i>Proton
33-
* Administrator Guide</i> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-service.html">Services</a> in the <i>Proton
34-
* User Guide</i>.</p>
32+
* For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-services.html">Services</a> in the <i>Proton User
33+
* Guide</i>.</p>
3534
* @example
3635
* Use a bare-bones client and the command you need to make an API call.
3736
* ```javascript

clients/client-proton/src/commands/CreateServiceTemplateCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export interface CreateServiceTemplateCommandOutput extends CreateServiceTemplat
3131
* <p>Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CI/CD service pipeline.
3232
* Developers, in turn, select the service template from Proton. If the selected service template includes a service pipeline definition, they provide a
3333
* link to their source code repository. Proton then deploys and manages the infrastructure defined by the selected service template. For more
34-
* information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/managing-svc-templates.html">Service Templates</a> in the
35-
* <i>Proton Administrator Guide</i>.</p>
34+
* information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-templates.html">Proton templates</a> in the <i>Proton User
35+
* Guide</i>.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

clients/client-proton/src/commands/CreateTemplateSyncConfigCommand.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ export interface CreateTemplateSyncConfigCommandInput extends CreateTemplateSync
2828
export interface CreateTemplateSyncConfigCommandOutput extends CreateTemplateSyncConfigOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Set up a template to create new template versions automatically. 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
32-
* 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 <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html">Template sync configurations</a> in the <i>Proton
33-
* Administrator Guide</i>.</p>
31+
* <p>Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has been
32+
* registered with Proton. For more information, see <a>CreateRepository</a>.</p>
33+
* <p>When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template bundle
34+
* change, a new major or minor 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/userguide/ag-template-sync-configs.html">Template sync configurations</a> in the <i>Proton User
35+
* Guide</i>.</p>
3436
* @example
3537
* Use a bare-bones client and the command you need to make an API call.
3638
* ```javascript

clients/client-proton/src/commands/DeleteComponentCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface DeleteComponentCommandOutput extends DeleteComponentOutput, __M
3030
/**
3131
* <p>Delete an Proton component resource.</p>
3232
* <p>For more information about components, see
33-
* <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
34-
* <i>Proton Administrator Guide</i>.</p>
33+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
34+
* <i>Proton User Guide</i>.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

clients/client-proton/src/commands/DeleteEnvironmentAccountConnectionCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export interface DeleteEnvironmentAccountConnectionCommandOutput
3434
* <p>After you delete an environment account connection that’s in use by an Proton environment, Proton <i>can’t</i> manage the
3535
* environment infrastructure resources until a new environment account connection is accepted for the environment account and associated environment. You're
3636
* responsible for cleaning up provisioned resources that remain without an environment connection.</p>
37-
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html">Environment account
38-
* connections</a> in the <i>Proton Administrator guide</i>.</p>
37+
* <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html">Environment account
38+
* connections</a> in the <i>Proton User guide</i>.</p>
3939
* @example
4040
* Use a bare-bones client and the command you need to make an API call.
4141
* ```javascript

clients/client-proton/src/commands/DeleteServiceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export interface DeleteServiceCommandOutput extends DeleteServiceOutput, __Metad
3232
* <note>
3333
* <p>You can't delete a service if it has any service instances that have components attached to them.</p>
3434
* <p>For more information about components, see
35-
* <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
36-
* <i>Proton Administrator Guide</i>.</p>
35+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
36+
* <i>Proton User Guide</i>.</p>
3737
* </note>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.

clients/client-proton/src/commands/GetAccountSettingsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface GetAccountSettingsCommandInput extends GetAccountSettingsInput
2828
export interface GetAccountSettingsCommandOutput extends GetAccountSettingsOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Get detail data for the Proton pipeline service role.</p>
31+
* <p>Get detail data for Proton account-wide settings.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-proton/src/commands/GetComponentCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
3030
/**
3131
* <p>Get detailed data for a component.</p>
3232
* <p>For more information about components, see
33-
* <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html">Proton components</a> in the
34-
* <i>Proton Administrator Guide</i>.</p>
33+
* <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
34+
* <i>Proton User Guide</i>.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

0 commit comments

Comments
 (0)