@aws-sdk/client-proton 3.33.0 → 3.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/cjs/package.json +39 -39
- package/dist/es/Proton.js +1 -124
- package/dist/es/Proton.js.map +1 -1
- package/dist/es/ProtonClient.js +1 -129
- package/dist/es/ProtonClient.js.map +1 -1
- package/dist/es/commands/AcceptEnvironmentAccountConnectionCommand.js +2 -31
- package/dist/es/commands/AcceptEnvironmentAccountConnectionCommand.js.map +1 -1
- package/dist/es/commands/CancelEnvironmentDeploymentCommand.js +2 -41
- package/dist/es/commands/CancelEnvironmentDeploymentCommand.js.map +1 -1
- package/dist/es/commands/CancelServiceInstanceDeploymentCommand.js +2 -41
- package/dist/es/commands/CancelServiceInstanceDeploymentCommand.js.map +1 -1
- package/dist/es/commands/CancelServicePipelineDeploymentCommand.js +2 -41
- package/dist/es/commands/CancelServicePipelineDeploymentCommand.js.map +1 -1
- package/dist/es/commands/CreateEnvironmentAccountConnectionCommand.js +2 -31
- package/dist/es/commands/CreateEnvironmentAccountConnectionCommand.js.map +1 -1
- package/dist/es/commands/CreateEnvironmentCommand.js +2 -30
- package/dist/es/commands/CreateEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/CreateEnvironmentTemplateCommand.js +2 -42
- package/dist/es/commands/CreateEnvironmentTemplateCommand.js.map +1 -1
- package/dist/es/commands/CreateEnvironmentTemplateVersionCommand.js +2 -29
- package/dist/es/commands/CreateEnvironmentTemplateVersionCommand.js.map +1 -1
- package/dist/es/commands/CreateServiceCommand.js +2 -29
- package/dist/es/commands/CreateServiceCommand.js.map +1 -1
- package/dist/es/commands/CreateServiceTemplateCommand.js +2 -31
- package/dist/es/commands/CreateServiceTemplateCommand.js.map +1 -1
- package/dist/es/commands/CreateServiceTemplateVersionCommand.js +2 -29
- package/dist/es/commands/CreateServiceTemplateVersionCommand.js.map +1 -1
- package/dist/es/commands/DeleteEnvironmentAccountConnectionCommand.js +2 -32
- package/dist/es/commands/DeleteEnvironmentAccountConnectionCommand.js.map +1 -1
- package/dist/es/commands/DeleteEnvironmentCommand.js +2 -27
- package/dist/es/commands/DeleteEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/DeleteEnvironmentTemplateCommand.js +2 -27
- package/dist/es/commands/DeleteEnvironmentTemplateCommand.js.map +1 -1
- package/dist/es/commands/DeleteEnvironmentTemplateVersionCommand.js +2 -33
- package/dist/es/commands/DeleteEnvironmentTemplateVersionCommand.js.map +1 -1
- package/dist/es/commands/DeleteServiceCommand.js +2 -27
- package/dist/es/commands/DeleteServiceCommand.js.map +1 -1
- package/dist/es/commands/DeleteServiceTemplateCommand.js +2 -27
- package/dist/es/commands/DeleteServiceTemplateCommand.js.map +1 -1
- package/dist/es/commands/DeleteServiceTemplateVersionCommand.js +2 -33
- package/dist/es/commands/DeleteServiceTemplateVersionCommand.js.map +1 -1
- package/dist/es/commands/GetAccountSettingsCommand.js +2 -27
- package/dist/es/commands/GetAccountSettingsCommand.js.map +1 -1
- package/dist/es/commands/GetEnvironmentAccountConnectionCommand.js +2 -29
- package/dist/es/commands/GetEnvironmentAccountConnectionCommand.js.map +1 -1
- package/dist/es/commands/GetEnvironmentCommand.js +2 -27
- package/dist/es/commands/GetEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/GetEnvironmentTemplateCommand.js +2 -27
- package/dist/es/commands/GetEnvironmentTemplateCommand.js.map +1 -1
- package/dist/es/commands/GetEnvironmentTemplateVersionCommand.js +2 -27
- package/dist/es/commands/GetEnvironmentTemplateVersionCommand.js.map +1 -1
- package/dist/es/commands/GetServiceCommand.js +2 -27
- package/dist/es/commands/GetServiceCommand.js.map +1 -1
- package/dist/es/commands/GetServiceInstanceCommand.js +2 -28
- package/dist/es/commands/GetServiceInstanceCommand.js.map +1 -1
- package/dist/es/commands/GetServiceTemplateCommand.js +2 -27
- package/dist/es/commands/GetServiceTemplateCommand.js.map +1 -1
- package/dist/es/commands/GetServiceTemplateVersionCommand.js +2 -27
- package/dist/es/commands/GetServiceTemplateVersionCommand.js.map +1 -1
- package/dist/es/commands/ListEnvironmentAccountConnectionsCommand.js +2 -29
- package/dist/es/commands/ListEnvironmentAccountConnectionsCommand.js.map +1 -1
- package/dist/es/commands/ListEnvironmentTemplateVersionsCommand.js +2 -27
- package/dist/es/commands/ListEnvironmentTemplateVersionsCommand.js.map +1 -1
- package/dist/es/commands/ListEnvironmentTemplatesCommand.js +2 -27
- package/dist/es/commands/ListEnvironmentTemplatesCommand.js.map +1 -1
- package/dist/es/commands/ListEnvironmentsCommand.js +2 -27
- package/dist/es/commands/ListEnvironmentsCommand.js.map +1 -1
- package/dist/es/commands/ListServiceInstancesCommand.js +2 -27
- package/dist/es/commands/ListServiceInstancesCommand.js.map +1 -1
- package/dist/es/commands/ListServiceTemplateVersionsCommand.js +2 -27
- package/dist/es/commands/ListServiceTemplateVersionsCommand.js.map +1 -1
- package/dist/es/commands/ListServiceTemplatesCommand.js +2 -27
- package/dist/es/commands/ListServiceTemplatesCommand.js.map +1 -1
- package/dist/es/commands/ListServicesCommand.js +2 -27
- package/dist/es/commands/ListServicesCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/RejectEnvironmentAccountConnectionCommand.js +2 -32
- package/dist/es/commands/RejectEnvironmentAccountConnectionCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -27
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateAccountSettingsCommand.js +2 -27
- package/dist/es/commands/UpdateAccountSettingsCommand.js.map +1 -1
- package/dist/es/commands/UpdateEnvironmentAccountConnectionCommand.js +2 -29
- package/dist/es/commands/UpdateEnvironmentAccountConnectionCommand.js.map +1 -1
- package/dist/es/commands/UpdateEnvironmentCommand.js +2 -72
- package/dist/es/commands/UpdateEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/UpdateEnvironmentTemplateCommand.js +2 -27
- package/dist/es/commands/UpdateEnvironmentTemplateCommand.js.map +1 -1
- package/dist/es/commands/UpdateEnvironmentTemplateVersionCommand.js +2 -27
- package/dist/es/commands/UpdateEnvironmentTemplateVersionCommand.js.map +1 -1
- package/dist/es/commands/UpdateServiceCommand.js +2 -33
- package/dist/es/commands/UpdateServiceCommand.js.map +1 -1
- package/dist/es/commands/UpdateServiceInstanceCommand.js +2 -65
- package/dist/es/commands/UpdateServiceInstanceCommand.js.map +1 -1
- package/dist/es/commands/UpdateServicePipelineCommand.js +2 -65
- package/dist/es/commands/UpdateServicePipelineCommand.js.map +1 -1
- package/dist/es/commands/UpdateServiceTemplateCommand.js +2 -27
- package/dist/es/commands/UpdateServiceTemplateCommand.js.map +1 -1
- package/dist/es/commands/UpdateServiceTemplateVersionCommand.js +2 -27
- package/dist/es/commands/UpdateServiceTemplateVersionCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -387
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/ListEnvironmentAccountConnectionsPaginator.js +16 -28
- package/dist/es/pagination/ListEnvironmentAccountConnectionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListEnvironmentTemplateVersionsPaginator.js +16 -28
- package/dist/es/pagination/ListEnvironmentTemplateVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListEnvironmentTemplatesPaginator.js +16 -28
- package/dist/es/pagination/ListEnvironmentTemplatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListEnvironmentsPaginator.js +16 -28
- package/dist/es/pagination/ListEnvironmentsPaginator.js.map +1 -1
- package/dist/es/pagination/ListServiceInstancesPaginator.js +16 -28
- package/dist/es/pagination/ListServiceInstancesPaginator.js.map +1 -1
- package/dist/es/pagination/ListServiceTemplateVersionsPaginator.js +16 -28
- package/dist/es/pagination/ListServiceTemplateVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListServiceTemplatesPaginator.js +16 -28
- package/dist/es/pagination/ListServiceTemplatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListServicesPaginator.js +16 -28
- package/dist/es/pagination/ListServicesPaginator.js.map +1 -1
- package/dist/es/pagination/ListTagsForResourcePaginator.js +16 -28
- package/dist/es/pagination/ListTagsForResourcePaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_0.js +1456 -1461
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/es/waiters/waitForEnvironmentDeployed.js +9 -18
- package/dist/es/waiters/waitForEnvironmentDeployed.js.map +1 -1
- package/dist/es/waiters/waitForEnvironmentTemplateVersionRegistered.js +10 -19
- package/dist/es/waiters/waitForEnvironmentTemplateVersionRegistered.js.map +1 -1
- package/dist/es/waiters/waitForServiceCreated.js +11 -20
- package/dist/es/waiters/waitForServiceCreated.js.map +1 -1
- package/dist/es/waiters/waitForServiceDeleted.js +9 -18
- package/dist/es/waiters/waitForServiceDeleted.js.map +1 -1
- package/dist/es/waiters/waitForServiceInstanceDeployed.js +9 -18
- package/dist/es/waiters/waitForServiceInstanceDeployed.js.map +1 -1
- package/dist/es/waiters/waitForServicePipelineDeployed.js +9 -18
- package/dist/es/waiters/waitForServicePipelineDeployed.js.map +1 -1
- package/dist/es/waiters/waitForServiceTemplateVersionRegistered.js +10 -19
- package/dist/es/waiters/waitForServiceTemplateVersionRegistered.js.map +1 -1
- package/dist/es/waiters/waitForServiceUpdated.js +12 -21
- package/dist/es/waiters/waitForServiceUpdated.js.map +1 -1
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,52 +3,13 @@ import { CancelEnvironmentDeploymentInput, CancelEnvironmentDeploymentOutput } f
|
|
|
3
3
|
import { deserializeAws_json1_0CancelEnvironmentDeploymentCommand, serializeAws_json1_0CancelEnvironmentDeploymentCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Attempts to cancel an environment deployment on an <a>UpdateEnvironment</a> action, if the deployment is
|
|
8
|
-
* <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>AWS Proton Administrator guide</i>.</p>
|
|
9
|
-
* <p>The following list includes potential cancellation scenarios.</p>
|
|
10
|
-
* <ul>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
|
|
13
|
-
* </li>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>If the current <a>UpdateEnvironment</a> action succeeds before the cancellation attempt starts, the resulting
|
|
19
|
-
* deployment state is <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* </ul>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { ProtonClient, CancelEnvironmentDeploymentCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
26
|
-
* // const { ProtonClient, CancelEnvironmentDeploymentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
27
|
-
* const client = new ProtonClient(config);
|
|
28
|
-
* const command = new CancelEnvironmentDeploymentCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link CancelEnvironmentDeploymentCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link CancelEnvironmentDeploymentCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
var CancelEnvironmentDeploymentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CancelEnvironmentDeploymentCommand = (function (_super) {
|
|
38
7
|
__extends(CancelEnvironmentDeploymentCommand, _super);
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
8
|
function CancelEnvironmentDeploymentCommand(input) {
|
|
42
|
-
var _this =
|
|
43
|
-
// Start section: command_constructor
|
|
44
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
45
10
|
_this.input = input;
|
|
46
11
|
return _this;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
CancelEnvironmentDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CancelEnvironmentDeploymentCommand.js","sourceRoot":"","sources":["../../../commands/CancelEnvironmentDeploymentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CancelEnvironmentDeploymentCommand.js","sourceRoot":"","sources":["../../../commands/CancelEnvironmentDeploymentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA6C7D;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;IAInE,CAAC;IAKD,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
|
|
@@ -3,52 +3,13 @@ import { CancelServiceInstanceDeploymentInput, CancelServiceInstanceDeploymentOu
|
|
|
3
3
|
import { deserializeAws_json1_0CancelServiceInstanceDeploymentCommand, serializeAws_json1_0CancelServiceInstanceDeploymentCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Attempts to cancel a service instance deployment on an <a>UpdateServiceInstance</a> action, if the deployment is
|
|
8
|
-
* <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">AWS Proton Administrator guide</a> or the <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-instance-update.html">AWS Proton User guide</a>.</p>
|
|
9
|
-
* <p>The following list includes potential cancellation scenarios.</p>
|
|
10
|
-
* <ul>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
|
|
13
|
-
* </li>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>If the current <a>UpdateServiceInstance</a> action succeeds before the cancellation attempt starts, the resulting
|
|
19
|
-
* deployment state is <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* </ul>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { ProtonClient, CancelServiceInstanceDeploymentCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
26
|
-
* // const { ProtonClient, CancelServiceInstanceDeploymentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
27
|
-
* const client = new ProtonClient(config);
|
|
28
|
-
* const command = new CancelServiceInstanceDeploymentCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link CancelServiceInstanceDeploymentCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link CancelServiceInstanceDeploymentCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
var CancelServiceInstanceDeploymentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CancelServiceInstanceDeploymentCommand = (function (_super) {
|
|
38
7
|
__extends(CancelServiceInstanceDeploymentCommand, _super);
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
8
|
function CancelServiceInstanceDeploymentCommand(input) {
|
|
42
|
-
var _this =
|
|
43
|
-
// Start section: command_constructor
|
|
44
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
45
10
|
_this.input = input;
|
|
46
11
|
return _this;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
CancelServiceInstanceDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CancelServiceInstanceDeploymentCommand.js","sourceRoot":"","sources":["../../../commands/CancelServiceInstanceDeploymentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oCAAoC,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AACjH,OAAO,EACL,4DAA4D,EAC5D,0DAA0D,GAC3D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CancelServiceInstanceDeploymentCommand.js","sourceRoot":"","sources":["../../../commands/CancelServiceInstanceDeploymentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oCAAoC,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AACjH,OAAO,EACL,4DAA4D,EAC5D,0DAA0D,GAC3D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+C7D;IAA4D,0DAI3D;IAIC,gDAAqB,KAAkD;QAAvE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6C;;IAIvE,CAAC;IAKD,kEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,wCAAwC,CAAC;QAC7D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oCAAoC,CAAC,kBAAkB;YAChF,wBAAwB,EAAE,qCAAqC,CAAC,kBAAkB;SACnF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,0DAAS,GAAjB,UACE,KAAkD,EAClD,OAAuB;QAEvB,OAAO,0DAA0D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAEO,4DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,4DAA4D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAIH,6CAAC;AAAD,CAAC,AA5DD,CAA4D,QAAQ,GA4DnE"}
|
|
@@ -3,52 +3,13 @@ import { CancelServicePipelineDeploymentInput, CancelServicePipelineDeploymentOu
|
|
|
3
3
|
import { deserializeAws_json1_0CancelServicePipelineDeploymentCommand, serializeAws_json1_0CancelServicePipelineDeploymentCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Attempts to cancel a service pipeline deployment on an <a>UpdateServicePipeline</a> action, if the deployment is
|
|
8
|
-
* <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">AWS Proton Administrator guide</a> or the <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-pipeline-update.html">AWS Proton User guide</a>.</p>
|
|
9
|
-
* <p>The following list includes potential cancellation scenarios.</p>
|
|
10
|
-
* <ul>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>If the cancellation attempt succeeds, the resulting deployment state is <code>CANCELLED</code>.</p>
|
|
13
|
-
* </li>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>If the cancellation attempt fails, the resulting deployment state is <code>FAILED</code>.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>If the current <a>UpdateServicePipeline</a> action succeeds before the cancellation attempt starts, the resulting
|
|
19
|
-
* deployment state is <code>SUCCEEDED</code> and the cancellation attempt has no effect.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* </ul>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { ProtonClient, CancelServicePipelineDeploymentCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
26
|
-
* // const { ProtonClient, CancelServicePipelineDeploymentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
27
|
-
* const client = new ProtonClient(config);
|
|
28
|
-
* const command = new CancelServicePipelineDeploymentCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link CancelServicePipelineDeploymentCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link CancelServicePipelineDeploymentCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
var CancelServicePipelineDeploymentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CancelServicePipelineDeploymentCommand = (function (_super) {
|
|
38
7
|
__extends(CancelServicePipelineDeploymentCommand, _super);
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
8
|
function CancelServicePipelineDeploymentCommand(input) {
|
|
42
|
-
var _this =
|
|
43
|
-
// Start section: command_constructor
|
|
44
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
45
10
|
_this.input = input;
|
|
46
11
|
return _this;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
CancelServicePipelineDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CancelServicePipelineDeploymentCommand.js","sourceRoot":"","sources":["../../../commands/CancelServicePipelineDeploymentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oCAAoC,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AACjH,OAAO,EACL,4DAA4D,EAC5D,0DAA0D,GAC3D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CancelServicePipelineDeploymentCommand.js","sourceRoot":"","sources":["../../../commands/CancelServicePipelineDeploymentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oCAAoC,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AACjH,OAAO,EACL,4DAA4D,EAC5D,0DAA0D,GAC3D,MAAM,0BAA0B,CAAC;AAClC,OAAO,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AAC;IACvF,CAAC;IAIH,6CAAC;AAAD,CAAC,AA5DD,CAA4D,QAAQ,GA4DnE"}
|
|
@@ -3,42 +3,13 @@ import { CreateEnvironmentAccountConnectionInput, CreateEnvironmentAccountConnec
|
|
|
3
3
|
import { deserializeAws_json1_0CreateEnvironmentAccountConnectionCommand, serializeAws_json1_0CreateEnvironmentAccountConnectionCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in
|
|
8
|
-
* the environment account from a management account.</p>
|
|
9
|
-
* <p>An environment account connection is a secure bi-directional connection between a <i>management account</i> and an
|
|
10
|
-
* <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
|
|
11
|
-
* <i>AWS Proton Administrator guide</i>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ProtonClient, CreateEnvironmentAccountConnectionCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
16
|
-
* // const { ProtonClient, CreateEnvironmentAccountConnectionCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
17
|
-
* const client = new ProtonClient(config);
|
|
18
|
-
* const command = new CreateEnvironmentAccountConnectionCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateEnvironmentAccountConnectionCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateEnvironmentAccountConnectionCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var CreateEnvironmentAccountConnectionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateEnvironmentAccountConnectionCommand = (function (_super) {
|
|
28
7
|
__extends(CreateEnvironmentAccountConnectionCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function CreateEnvironmentAccountConnectionCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
CreateEnvironmentAccountConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateEnvironmentAccountConnectionCommand.js","sourceRoot":"","sources":["../../../commands/CreateEnvironmentAccountConnectionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uCAAuC,EAAE,wCAAwC,EAAE,MAAM,oBAAoB,CAAC;AACvH,OAAO,EACL,+DAA+D,EAC/D,6DAA6D,GAC9D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateEnvironmentAccountConnectionCommand.js","sourceRoot":"","sources":["../../../commands/CreateEnvironmentAccountConnectionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uCAAuC,EAAE,wCAAwC,EAAE,MAAM,oBAAoB,CAAC;AACvH,OAAO,EACL,+DAA+D,EAC/D,6DAA6D,GAC9D,MAAM,0BAA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,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAIH,gDAAC;AAAD,CAAC,AA5DD,CAA+D,QAAQ,GA4DtE"}
|
|
@@ -3,41 +3,13 @@ import { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/model
|
|
|
3
3
|
import { deserializeAws_json1_0CreateEnvironmentCommand, serializeAws_json1_0CreateEnvironmentCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Deploy a new environment. An AWS Proton environment is created from an environment template that defines infrastructure and resources
|
|
8
|
-
* that can be shared across services. For more information, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html">Environments</a> in the <i>AWS Proton Administrator
|
|
9
|
-
* Guide.</i>
|
|
10
|
-
* </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ProtonClient, CreateEnvironmentCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
15
|
-
* // const { ProtonClient, CreateEnvironmentCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
16
|
-
* const client = new ProtonClient(config);
|
|
17
|
-
* const command = new CreateEnvironmentCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateEnvironmentCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateEnvironmentCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var CreateEnvironmentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateEnvironmentCommand = (function (_super) {
|
|
27
7
|
__extends(CreateEnvironmentCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function CreateEnvironmentCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
CreateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateEnvironmentCommand.js","sourceRoot":"","sources":["../../../commands/CreateEnvironmentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateEnvironmentCommand.js","sourceRoot":"","sources":["../../../commands/CreateEnvironmentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkC7D;IAA8C,4CAI7C;IAIC,kCAAqB,KAAoC;QAAzD,YAEE,iBAAO,SAER;QAJ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reateEnvironmentTemplateCommand, serializeAws_json1_0CreateEnvironmentTemplateCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Create an environment template for AWS Proton. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-templates.html">Environment Templates</a> in the <i>AWS Proton Administrator
|
|
8
|
-
* Guide</i>.</p>
|
|
9
|
-
* <p>You can create an environment template in one of the two following ways:</p>
|
|
10
|
-
* <ul>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>Register and publish a <i>standard</i> environment template that instructs AWS Proton to deploy and manage
|
|
13
|
-
* environment infrastructure.</p>
|
|
14
|
-
* </li>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>Register and publish a <i>customer managed</i> environment template that connects AWS Proton to your existing
|
|
17
|
-
* provisioned infrastructure that you manage. AWS Proton <i>doesn't</i> manage your existing provisioned
|
|
18
|
-
* infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the
|
|
19
|
-
* <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>
|
|
20
|
-
* in the <i>AWS Proton Administrator Guide</i>.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { ProtonClient, CreateEnvironmentTemplateCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
27
|
-
* // const { ProtonClient, CreateEnvironmentTemplateCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
28
|
-
* const client = new ProtonClient(config);
|
|
29
|
-
* const command = new CreateEnvironmentTemplateCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link CreateEnvironmentTemplateCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link CreateEnvironmentTemplateCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
var CreateEnvironmentTemplateCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateEnvironmentTemplateCommand = (function (_super) {
|
|
39
7
|
__extends(CreateEnvironmentTemplateCommand, _super);
|
|
40
|
-
// Start section: command_properties
|
|
41
|
-
// End section: command_properties
|
|
42
8
|
function CreateEnvironmentTemplateCommand(input) {
|
|
43
|
-
var _this =
|
|
44
|
-
// Start section: command_constructor
|
|
45
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
46
10
|
_this.input = input;
|
|
47
11
|
return _this;
|
|
48
|
-
// End section: command_constructor
|
|
49
12
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
13
|
CreateEnvironmentTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
54
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateEnvironmentTemplateCommand.js","sourceRoot":"","sources":["../../../commands/CreateEnvironmentTemplateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateEnvironmentTemplate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IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,40 +3,13 @@ import { CreateEnvironmentTemplateVersionInput, CreateEnvironmentTemplateVersion
|
|
|
3
3
|
import { deserializeAws_json1_0CreateEnvironmentTemplateVersionCommand, serializeAws_json1_0CreateEnvironmentTemplateVersionCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Create a new major or minor version of an environment template. A major version of an environment template is a version that
|
|
8
|
-
* <i>isn't</i> backwards compatible. A minor version of an environment template is a version that's backwards compatible
|
|
9
|
-
* within its major version.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ProtonClient, CreateEnvironmentTemplateVersionCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
14
|
-
* // const { ProtonClient, CreateEnvironmentTemplateVersionCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
15
|
-
* const client = new ProtonClient(config);
|
|
16
|
-
* const command = new CreateEnvironmentTemplateVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateEnvironmentTemplateVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateEnvironmentTemplateVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var CreateEnvironmentTemplateVersionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateEnvironmentTemplateVersionCommand = (function (_super) {
|
|
26
7
|
__extends(CreateEnvironmentTemplateVersionCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function CreateEnvironmentTemplateVersionCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
CreateEnvironmentTemplateVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateEnvironmentTemplateVersionCommand.js","sourceRoot":"","sources":["../../../commands/CreateEnvironmentTemplateVersionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EACL,6DAA6D,EAC7D,2DAA2D,GAC5D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateEnvironmentTemplateVersionCommand.js","sourceRoot":"","sources":["../../../commands/CreateEnvironmentTemplateVersionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,C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GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,6DAA6D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAIH,8CAAC;AAAD,CAAC,AA5DD,CAA6D,QAAQ,GA4DpE"}
|
|
@@ -3,40 +3,13 @@ import { CreateServiceInput, CreateServiceOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_0CreateServiceCommand, serializeAws_json1_0CreateServiceCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Create an AWS Proton service. An AWS Proton service is an instantiation of a service template and often includes several service instances
|
|
8
|
-
* and pipeline. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/adminguide/ag-services.html">Services</a> in
|
|
9
|
-
* the <i>AWS Proton Administrator Guide</i> and <a href="https://docs.aws.amazon.com/proton/latest/userguide/ug-service.html">Services</a> in the <i>AWS Proton User Guide</i>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ProtonClient, CreateServiceCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
14
|
-
* // const { ProtonClient, CreateServiceCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
15
|
-
* const client = new ProtonClient(config);
|
|
16
|
-
* const command = new CreateServiceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateServiceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateServiceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var CreateServiceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateServiceCommand = (function (_super) {
|
|
26
7
|
__extends(CreateServiceCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function CreateServiceCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
CreateServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateServiceCommand.js","sourceRoot":"","sources":["../../../commands/CreateServiceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateServiceCommand.js","sourceRoot":"","sources":["../../../commands/CreateServiceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAA0C,wCAI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iceTemplateOutput } from "../mode
|
|
|
3
3
|
import { deserializeAws_json1_0CreateServiceTemplateCommand, serializeAws_json1_0CreateServiceTemplateCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CICD
|
|
8
|
-
* service pipeline. Developers, in turn, select the service template from AWS Proton. If the selected service template includes a service
|
|
9
|
-
* pipeline definition, they provide a link to their source code repository. AWS Proton then deploys and manages the infrastructure defined by
|
|
10
|
-
* 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>AWS Proton Administrator
|
|
11
|
-
* Guide</i>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ProtonClient, CreateServiceTemplateCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
16
|
-
* // const { ProtonClient, CreateServiceTemplateCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
17
|
-
* const client = new ProtonClient(config);
|
|
18
|
-
* const command = new CreateServiceTemplateCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateServiceTemplateCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateServiceTemplateCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var CreateServiceTemplateCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateServiceTemplateCommand = (function (_super) {
|
|
28
7
|
__extends(CreateServiceTemplateCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function CreateServiceTemplateCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
CreateServiceTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateServiceTemplateCommand.js","sourceRoot":"","sources":["../../../commands/CreateServiceTemplateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateServiceTemplateCommand.js","sourceRoot":"","sources":["../../../commands/CreateServiceTemplateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAmC7D;IAAkD,gDAIjD;IAIC,sCAAqB,KAAwC;QAA7D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmC;;IAI7D,CAAC;IAKD,wDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,cAAc,CAAC;QAClC,IAAM,WAAW,GAAG,8BAA8B,CAAC;QACnD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gDAAS,GAAjB,UAAkB,KAAwC,EAAE,OAAuB;QACjF,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
|
|
@@ -3,40 +3,13 @@ import { CreateServiceTemplateVersionInput, CreateServiceTemplateVersionOutput }
|
|
|
3
3
|
import { deserializeAws_json1_0CreateServiceTemplateVersionCommand, serializeAws_json1_0CreateServiceTemplateVersionCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Create a new major or minor version of a service template. A major version of a service template is a version that
|
|
8
|
-
* <i>isn't</i> backwards compatible. A minor version of a service template is a version that's backwards compatible within
|
|
9
|
-
* its major version.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ProtonClient, CreateServiceTemplateVersionCommand } from "@aws-sdk/client-proton"; // ES Modules import
|
|
14
|
-
* // const { ProtonClient, CreateServiceTemplateVersionCommand } = require("@aws-sdk/client-proton"); // CommonJS import
|
|
15
|
-
* const client = new ProtonClient(config);
|
|
16
|
-
* const command = new CreateServiceTemplateVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateServiceTemplateVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateServiceTemplateVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ProtonClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var CreateServiceTemplateVersionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateServiceTemplateVersionCommand = (function (_super) {
|
|
26
7
|
__extends(CreateServiceTemplateVersionCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function CreateServiceTemplateVersionCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
CreateServiceTemplateVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateServiceTemplateVersionCommand.js","sourceRoot":"","sources":["../../../commands/CreateServiceTemplateVersionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateServiceTemplateVersionCommand.js","sourceRoot":"","sources":["../../../commands/CreateServiceTemplateVersionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAmC7D;IAAyD,uDAIxD;IAIC,6CAAqB,KAA+C;QAApE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0C;;IAIpE,CAAC;IAKD,+DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAyC,EACzC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CA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