@aws-sdk/client-proton 3.264.0 → 3.266.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/README.md +45 -34
- package/dist-cjs/Proton.js +15 -0
- package/dist-cjs/commands/GetResourcesSummaryCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +19 -3
- package/dist-cjs/protocols/Aws_json1_0.js +93 -3
- package/dist-es/Proton.js +15 -0
- package/dist-es/commands/GetResourcesSummaryCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_json1_0.js +88 -1
- package/dist-types/Proton.d.ts +82 -51
- package/dist-types/ProtonClient.d.ts +48 -36
- package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +6 -5
- package/dist-types/commands/GetResourcesSummaryCommand.d.ts +46 -0
- package/dist-types/commands/ListServiceInstancesCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +109 -17
- package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
- package/dist-types/ts3.4/Proton.d.ts +17 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetResourcesSummaryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -9,46 +9,54 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Proton Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the
|
|
12
|
+
<p>This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the
|
|
13
|
+
<a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Operations.html">actions</a> and <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Types.html">data types</a> for the Proton
|
|
14
|
+
service.</p>
|
|
13
15
|
<p>The documentation for each action shows the Query API request parameters and the XML response.</p>
|
|
14
|
-
<p>Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html">Amazon Web Services Command Line Interface User
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<i>update</i>
|
|
16
|
+
<p>Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html">Amazon Web Services Command Line Interface User
|
|
17
|
+
Guide</a>.</p>
|
|
18
|
+
<p>The Proton service is a two-pronged automation framework. Administrators create service templates to provide
|
|
19
|
+
standardized infrastructure and deployment tooling for serverless and container based applications. Developers, in
|
|
20
|
+
turn, select from the available service templates to automate their application or service deployments.</p>
|
|
21
|
+
<p>Because administrators define the infrastructure and tooling that Proton deploys and manages, they need
|
|
22
|
+
permissions to use all of the listed API operations.</p>
|
|
23
|
+
<p>When developers select a specific infrastructure and tooling set, Proton deploys their applications. To
|
|
24
|
+
monitor their applications that are running on Proton, developers need permissions to the service
|
|
25
|
+
<i>create</i>, <i>list</i>, <i>update</i> and <i>delete</i>
|
|
26
|
+
API operations and the service instance <i>list</i> and <i>update</i> API
|
|
27
|
+
operations.</p>
|
|
24
28
|
<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>
|
|
25
29
|
<p>
|
|
26
30
|
<b>Ensuring Idempotency</b>
|
|
27
31
|
</p>
|
|
28
|
-
<p>When you make a mutating API request, the request typically returns a result before the asynchronous workflows
|
|
29
|
-
Operations might also time out or encounter other server issues before they're
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
<p>When you make a mutating API request, the request typically returns a result before the asynchronous workflows
|
|
33
|
+
of the operation are complete. Operations might also time out or encounter other server issues before they're
|
|
34
|
+
complete, even if the request already returned a result. This might make it difficult to determine whether the
|
|
35
|
+
request succeeded. Moreover, you might need to retry the request multiple times to ensure that the operation
|
|
36
|
+
completes successfully. However, if the original request and the subsequent retries are successful, the operation
|
|
37
|
+
occurs multiple times. This means that you might create more resources than you intended.</p>
|
|
33
38
|
<p>
|
|
34
|
-
<i>Idempotency</i> ensures that an API request action completes no more than one time. With an
|
|
35
|
-
original request action completes successfully, any subsequent retries complete
|
|
36
|
-
result might contain updated information, such as
|
|
39
|
+
<i>Idempotency</i> ensures that an API request action completes no more than one time. With an
|
|
40
|
+
idempotent request, if the original request action completes successfully, any subsequent retries complete
|
|
41
|
+
successfully without performing any further actions. However, the result might contain updated information, such as
|
|
42
|
+
the current creation status.</p>
|
|
37
43
|
<p>The following lists of APIs are grouped according to methods that ensure idempotency.</p>
|
|
38
44
|
<p>
|
|
39
45
|
<b>Idempotent create APIs with a client token</b>
|
|
40
46
|
</p>
|
|
41
|
-
<p>The API actions in this list support idempotency with the use of a <i>client token</i>. The
|
|
42
|
-
also support idempotency using a client token. A client token is a unique,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
<p>The API actions in this list support idempotency with the use of a <i>client token</i>. The
|
|
48
|
+
corresponding Amazon Web Services CLI commands also support idempotency using a client token. A client token is a unique,
|
|
49
|
+
case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions,
|
|
50
|
+
specify a client token in the request. We recommend that you <i>don't</i> reuse the same client token
|
|
51
|
+
for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically
|
|
52
|
+
provided by SDKs.</p>
|
|
46
53
|
<p>Given a request action that has succeeded:</p>
|
|
47
|
-
<p>If you retry the request using the same client token and the same parameters, the retry succeeds without
|
|
48
|
-
than returning the original resource detail data in the response.</p>
|
|
49
|
-
<p>If you retry the request using the same client token, but one or more of the parameters are different, the retry
|
|
50
|
-
<code>ValidationException</code> with an <code>IdempotentParameterMismatch</code> error.</p>
|
|
51
|
-
<p>Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new
|
|
54
|
+
<p>If you retry the request using the same client token and the same parameters, the retry succeeds without
|
|
55
|
+
performing any further actions other than returning the original resource detail data in the response.</p>
|
|
56
|
+
<p>If you retry the request using the same client token, but one or more of the parameters are different, the retry
|
|
57
|
+
throws a <code>ValidationException</code> with an <code>IdempotentParameterMismatch</code> error.</p>
|
|
58
|
+
<p>Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new
|
|
59
|
+
resource is created.</p>
|
|
52
60
|
<p>If the original resource is deleted and you retry the request, a new resource is created.</p>
|
|
53
61
|
<p>Idempotent create APIs with a client token:</p>
|
|
54
62
|
<ul>
|
|
@@ -66,8 +74,9 @@ than returning the original resource detail data in the response.</p>
|
|
|
66
74
|
<b>Idempotent create APIs</b>
|
|
67
75
|
</p>
|
|
68
76
|
<p>Given a request action that has succeeded:</p>
|
|
69
|
-
<p>If you retry the request with an API from this group, and the original resource <i>hasn't</i> been
|
|
70
|
-
without performing any further actions other than returning the original resource detail
|
|
77
|
+
<p>If you retry the request with an API from this group, and the original resource <i>hasn't</i> been
|
|
78
|
+
modified, the retry succeeds without performing any further actions other than returning the original resource detail
|
|
79
|
+
data in the response.</p>
|
|
71
80
|
<p>If the original resource has been modified, the retry throws a <code>ConflictException</code>.</p>
|
|
72
81
|
<p>If you retry with different input parameters, the retry throws a <code>ValidationException</code> with an
|
|
73
82
|
<code>IdempotentParameterMismatch</code> error.</p>
|
|
@@ -90,7 +99,8 @@ without performing any further actions other than returning the original resourc
|
|
|
90
99
|
<b>Idempotent delete APIs</b>
|
|
91
100
|
</p>
|
|
92
101
|
<p>Given a request action that has succeeded:</p>
|
|
93
|
-
<p>When you retry the request with an API from this group and the resource was deleted, its metadata is returned in
|
|
102
|
+
<p>When you retry the request with an API from this group and the resource was deleted, its metadata is returned in
|
|
103
|
+
the response.</p>
|
|
94
104
|
<p>If you retry and the resource doesn't exist, the response is empty.</p>
|
|
95
105
|
<p>In both cases, the retry succeeds.</p>
|
|
96
106
|
<p>Idempotent delete APIs:</p>
|
|
@@ -115,8 +125,9 @@ without performing any further actions other than returning the original resourc
|
|
|
115
125
|
<b>Asynchronous idempotent delete APIs</b>
|
|
116
126
|
</p>
|
|
117
127
|
<p>Given a request action that has succeeded:</p>
|
|
118
|
-
<p>If you retry the request with an API from this group, if the original request delete operation status is
|
|
119
|
-
retry returns the resource detail data in the response without performing any
|
|
128
|
+
<p>If you retry the request with an API from this group, if the original request delete operation status is
|
|
129
|
+
<code>DELETE_IN_PROGRESS</code>, the retry returns the resource detail data in the response without performing any
|
|
130
|
+
further actions.</p>
|
|
120
131
|
<p>If the original request delete operation is complete, a retry returns an empty response.</p>
|
|
121
132
|
<p>Asynchronous idempotent delete APIs:</p>
|
|
122
133
|
<ul>
|
package/dist-cjs/Proton.js
CHANGED
|
@@ -34,6 +34,7 @@ const GetEnvironmentTemplateCommand_1 = require("./commands/GetEnvironmentTempla
|
|
|
34
34
|
const GetEnvironmentTemplateVersionCommand_1 = require("./commands/GetEnvironmentTemplateVersionCommand");
|
|
35
35
|
const GetRepositoryCommand_1 = require("./commands/GetRepositoryCommand");
|
|
36
36
|
const GetRepositorySyncStatusCommand_1 = require("./commands/GetRepositorySyncStatusCommand");
|
|
37
|
+
const GetResourcesSummaryCommand_1 = require("./commands/GetResourcesSummaryCommand");
|
|
37
38
|
const GetServiceCommand_1 = require("./commands/GetServiceCommand");
|
|
38
39
|
const GetServiceInstanceCommand_1 = require("./commands/GetServiceInstanceCommand");
|
|
39
40
|
const GetServiceTemplateCommand_1 = require("./commands/GetServiceTemplateCommand");
|
|
@@ -540,6 +541,20 @@ class Proton extends ProtonClient_1.ProtonClient {
|
|
|
540
541
|
return this.send(command, optionsOrCb);
|
|
541
542
|
}
|
|
542
543
|
}
|
|
544
|
+
getResourcesSummary(args, optionsOrCb, cb) {
|
|
545
|
+
const command = new GetResourcesSummaryCommand_1.GetResourcesSummaryCommand(args);
|
|
546
|
+
if (typeof optionsOrCb === "function") {
|
|
547
|
+
this.send(command, optionsOrCb);
|
|
548
|
+
}
|
|
549
|
+
else if (typeof cb === "function") {
|
|
550
|
+
if (typeof optionsOrCb !== "object")
|
|
551
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
552
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
553
|
+
}
|
|
554
|
+
else {
|
|
555
|
+
return this.send(command, optionsOrCb);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
543
558
|
getService(args, optionsOrCb, cb) {
|
|
544
559
|
const command = new GetServiceCommand_1.GetServiceCommand(args);
|
|
545
560
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResourcesSummaryCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class GetResourcesSummaryCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetResourcesSummaryCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ProtonClient";
|
|
28
|
+
const commandName = "GetResourcesSummaryCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetResourcesSummaryInputFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetResourcesSummaryOutputFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0GetResourcesSummaryCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0GetResourcesSummaryCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetResourcesSummaryCommand = GetResourcesSummaryCommand;
|
|
@@ -34,6 +34,7 @@ tslib_1.__exportStar(require("./GetEnvironmentTemplateCommand"), exports);
|
|
|
34
34
|
tslib_1.__exportStar(require("./GetEnvironmentTemplateVersionCommand"), exports);
|
|
35
35
|
tslib_1.__exportStar(require("./GetRepositoryCommand"), exports);
|
|
36
36
|
tslib_1.__exportStar(require("./GetRepositorySyncStatusCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./GetResourcesSummaryCommand"), exports);
|
|
37
38
|
tslib_1.__exportStar(require("./GetServiceCommand"), exports);
|
|
38
39
|
tslib_1.__exportStar(require("./GetServiceInstanceCommand"), exports);
|
|
39
40
|
tslib_1.__exportStar(require("./GetServiceTemplateCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://proton-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://proton-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://proton.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://proton.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListComponentOutputsInputFilterSensitiveLog = exports.CancelServicePipelineDeploymentOutputFilterSensitiveLog = exports.ServicePipelineFilterSensitiveLog = exports.CancelServicePipelineDeploymentInputFilterSensitiveLog = exports.CancelServiceInstanceDeploymentOutputFilterSensitiveLog = exports.ServiceInstanceFilterSensitiveLog = exports.CancelServiceInstanceDeploymentInputFilterSensitiveLog = exports.CancelEnvironmentDeploymentOutputFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.CancelEnvironmentDeploymentInputFilterSensitiveLog = exports.CancelComponentDeploymentOutputFilterSensitiveLog = exports.ComponentFilterSensitiveLog = exports.CancelComponentDeploymentInputFilterSensitiveLog = exports.UpdateAccountSettingsOutputFilterSensitiveLog = exports.UpdateAccountSettingsInputFilterSensitiveLog = exports.RepositoryBranchInputFilterSensitiveLog = exports.GetAccountSettingsOutputFilterSensitiveLog = exports.GetAccountSettingsInputFilterSensitiveLog = exports.AccountSettingsFilterSensitiveLog = exports.RepositoryBranchFilterSensitiveLog = exports.AcceptEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.EnvironmentAccountConnectionFilterSensitiveLog = exports.AcceptEnvironmentAccountConnectionInputFilterSensitiveLog = exports.ServiceTemplateSupportedComponentSourceType = exports.ServiceStatus = exports.SortOrder = exports.ListServiceInstancesSortBy = exports.ListServiceInstancesFilterBy = exports.ResourceDeploymentStatus = exports.ResourceSyncStatus = exports.TemplateType = exports.RepositorySyncStatus = exports.SyncType = exports.TemplateVersionStatus = exports.TemplateVersionSourceInput = exports.DeploymentUpdateType = exports.EnvironmentAccountConnectionRequesterAccountType = exports.ComponentDeploymentUpdateType = exports.ServiceQuotaExceededException = exports.ProvisionedResourceEngine = exports.Provisioning = exports.DeploymentStatus = exports.RepositoryProvider = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = exports.EnvironmentAccountConnectionStatus = void 0;
|
|
4
4
|
exports.DeleteEnvironmentTemplateInputFilterSensitiveLog = exports.CreateEnvironmentTemplateOutputFilterSensitiveLog = exports.EnvironmentTemplateFilterSensitiveLog = exports.CreateEnvironmentTemplateInputFilterSensitiveLog = exports.UpdateEnvironmentOutputFilterSensitiveLog = exports.UpdateEnvironmentInputFilterSensitiveLog = exports.ListEnvironmentsOutputFilterSensitiveLog = exports.EnvironmentSummaryFilterSensitiveLog = exports.ListEnvironmentsInputFilterSensitiveLog = exports.EnvironmentTemplateFilterFilterSensitiveLog = exports.GetEnvironmentOutputFilterSensitiveLog = exports.GetEnvironmentInputFilterSensitiveLog = exports.DeleteEnvironmentOutputFilterSensitiveLog = exports.DeleteEnvironmentInputFilterSensitiveLog = exports.CreateEnvironmentOutputFilterSensitiveLog = exports.CreateEnvironmentInputFilterSensitiveLog = exports.ListEnvironmentProvisionedResourcesOutputFilterSensitiveLog = exports.ListEnvironmentProvisionedResourcesInputFilterSensitiveLog = exports.ListEnvironmentOutputsOutputFilterSensitiveLog = exports.ListEnvironmentOutputsInputFilterSensitiveLog = exports.UpdateEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.UpdateEnvironmentAccountConnectionInputFilterSensitiveLog = exports.RejectEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.RejectEnvironmentAccountConnectionInputFilterSensitiveLog = exports.ListEnvironmentAccountConnectionsOutputFilterSensitiveLog = exports.EnvironmentAccountConnectionSummaryFilterSensitiveLog = exports.ListEnvironmentAccountConnectionsInputFilterSensitiveLog = exports.GetEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.GetEnvironmentAccountConnectionInputFilterSensitiveLog = exports.DeleteEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.DeleteEnvironmentAccountConnectionInputFilterSensitiveLog = exports.CreateEnvironmentAccountConnectionOutputFilterSensitiveLog = exports.CreateEnvironmentAccountConnectionInputFilterSensitiveLog = exports.UpdateComponentOutputFilterSensitiveLog = exports.UpdateComponentInputFilterSensitiveLog = exports.ListComponentsOutputFilterSensitiveLog = exports.ComponentSummaryFilterSensitiveLog = exports.ListComponentsInputFilterSensitiveLog = exports.GetComponentOutputFilterSensitiveLog = exports.GetComponentInputFilterSensitiveLog = exports.DeleteComponentOutputFilterSensitiveLog = exports.DeleteComponentInputFilterSensitiveLog = exports.CreateComponentOutputFilterSensitiveLog = exports.CreateComponentInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ListComponentProvisionedResourcesOutputFilterSensitiveLog = exports.ProvisionedResourceFilterSensitiveLog = exports.ListComponentProvisionedResourcesInputFilterSensitiveLog = exports.ListComponentOutputsOutputFilterSensitiveLog = exports.OutputFilterSensitiveLog = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.UpdateTemplateSyncConfigOutputFilterSensitiveLog = exports.UpdateTemplateSyncConfigInputFilterSensitiveLog = exports.GetTemplateSyncConfigOutputFilterSensitiveLog = exports.GetTemplateSyncConfigInputFilterSensitiveLog = exports.DeleteTemplateSyncConfigOutputFilterSensitiveLog = exports.DeleteTemplateSyncConfigInputFilterSensitiveLog = exports.CreateTemplateSyncConfigOutputFilterSensitiveLog = exports.TemplateSyncConfigFilterSensitiveLog = exports.CreateTemplateSyncConfigInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.UpdateServiceTemplateVersionOutputFilterSensitiveLog = exports.UpdateServiceTemplateVersionInputFilterSensitiveLog = exports.ListServiceTemplateVersionsOutputFilterSensitiveLog = exports.ServiceTemplateVersionSummaryFilterSensitiveLog = void 0;
|
|
5
|
+
exports.ListRepositoriesInputFilterSensitiveLog = exports.GetRepositoryOutputFilterSensitiveLog = exports.GetRepositoryInputFilterSensitiveLog = exports.DeleteRepositoryOutputFilterSensitiveLog = exports.DeleteRepositoryInputFilterSensitiveLog = exports.CreateRepositoryOutputFilterSensitiveLog = exports.RepositoryFilterSensitiveLog = exports.CreateRepositoryInputFilterSensitiveLog = exports.NotifyResourceDeploymentStatusChangeOutputFilterSensitiveLog = exports.NotifyResourceDeploymentStatusChangeInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ListRepositorySyncDefinitionsOutputFilterSensitiveLog = exports.RepositorySyncDefinitionFilterSensitiveLog = exports.ListRepositorySyncDefinitionsInputFilterSensitiveLog = exports.GetTemplateSyncStatusOutputFilterSensitiveLog = exports.ResourceSyncAttemptFilterSensitiveLog = exports.ResourceSyncEventFilterSensitiveLog = exports.RevisionFilterSensitiveLog = exports.GetTemplateSyncStatusInputFilterSensitiveLog = exports.GetResourcesSummaryOutputFilterSensitiveLog = exports.CountsSummaryFilterSensitiveLog = exports.ResourceCountsSummaryFilterSensitiveLog = exports.GetResourcesSummaryInputFilterSensitiveLog = exports.GetRepositorySyncStatusOutputFilterSensitiveLog = exports.RepositorySyncAttemptFilterSensitiveLog = exports.RepositorySyncEventFilterSensitiveLog = exports.GetRepositorySyncStatusInputFilterSensitiveLog = exports.UpdateEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.UpdateEnvironmentTemplateVersionInputFilterSensitiveLog = exports.ListEnvironmentTemplateVersionsOutputFilterSensitiveLog = exports.EnvironmentTemplateVersionSummaryFilterSensitiveLog = exports.ListEnvironmentTemplateVersionsInputFilterSensitiveLog = exports.GetEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.GetEnvironmentTemplateVersionInputFilterSensitiveLog = exports.DeleteEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.DeleteEnvironmentTemplateVersionInputFilterSensitiveLog = exports.CreateEnvironmentTemplateVersionOutputFilterSensitiveLog = exports.EnvironmentTemplateVersionFilterSensitiveLog = exports.CreateEnvironmentTemplateVersionInputFilterSensitiveLog = exports.TemplateVersionSourceInputFilterSensitiveLog = exports.S3ObjectSourceFilterSensitiveLog = exports.UpdateEnvironmentTemplateOutputFilterSensitiveLog = exports.UpdateEnvironmentTemplateInputFilterSensitiveLog = exports.ListEnvironmentTemplatesOutputFilterSensitiveLog = exports.EnvironmentTemplateSummaryFilterSensitiveLog = exports.ListEnvironmentTemplatesInputFilterSensitiveLog = exports.GetEnvironmentTemplateOutputFilterSensitiveLog = exports.GetEnvironmentTemplateInputFilterSensitiveLog = exports.DeleteEnvironmentTemplateOutputFilterSensitiveLog = void 0;
|
|
6
|
+
exports.DeleteServiceTemplateVersionInputFilterSensitiveLog = exports.CreateServiceTemplateVersionOutputFilterSensitiveLog = exports.ServiceTemplateVersionFilterSensitiveLog = exports.CompatibleEnvironmentTemplateFilterSensitiveLog = exports.CreateServiceTemplateVersionInputFilterSensitiveLog = exports.CompatibleEnvironmentTemplateInputFilterSensitiveLog = exports.UpdateServiceTemplateOutputFilterSensitiveLog = exports.UpdateServiceTemplateInputFilterSensitiveLog = exports.ListServiceTemplatesOutputFilterSensitiveLog = exports.ServiceTemplateSummaryFilterSensitiveLog = exports.ListServiceTemplatesInputFilterSensitiveLog = exports.GetServiceTemplateOutputFilterSensitiveLog = exports.GetServiceTemplateInputFilterSensitiveLog = exports.DeleteServiceTemplateOutputFilterSensitiveLog = exports.DeleteServiceTemplateInputFilterSensitiveLog = exports.CreateServiceTemplateOutputFilterSensitiveLog = exports.ServiceTemplateFilterSensitiveLog = exports.CreateServiceTemplateInputFilterSensitiveLog = exports.UpdateServiceOutputFilterSensitiveLog = exports.UpdateServiceInputFilterSensitiveLog = exports.ListServicesOutputFilterSensitiveLog = exports.ServiceSummaryFilterSensitiveLog = exports.ListServicesInputFilterSensitiveLog = exports.GetServiceOutputFilterSensitiveLog = exports.GetServiceInputFilterSensitiveLog = exports.DeleteServiceOutputFilterSensitiveLog = exports.DeleteServiceInputFilterSensitiveLog = exports.CreateServiceOutputFilterSensitiveLog = exports.ServiceFilterSensitiveLog = exports.CreateServiceInputFilterSensitiveLog = exports.UpdateServicePipelineOutputFilterSensitiveLog = exports.UpdateServicePipelineInputFilterSensitiveLog = exports.ListServicePipelineProvisionedResourcesOutputFilterSensitiveLog = exports.ListServicePipelineProvisionedResourcesInputFilterSensitiveLog = exports.ListServicePipelineOutputsOutputFilterSensitiveLog = exports.ListServicePipelineOutputsInputFilterSensitiveLog = exports.UpdateServiceInstanceOutputFilterSensitiveLog = exports.UpdateServiceInstanceInputFilterSensitiveLog = exports.ListServiceInstancesOutputFilterSensitiveLog = exports.ServiceInstanceSummaryFilterSensitiveLog = exports.ListServiceInstancesInputFilterSensitiveLog = exports.ListServiceInstancesFilterFilterSensitiveLog = exports.GetServiceInstanceOutputFilterSensitiveLog = exports.GetServiceInstanceInputFilterSensitiveLog = exports.ListServiceInstanceProvisionedResourcesOutputFilterSensitiveLog = exports.ListServiceInstanceProvisionedResourcesInputFilterSensitiveLog = exports.ListServiceInstanceOutputsOutputFilterSensitiveLog = exports.ListServiceInstanceOutputsInputFilterSensitiveLog = exports.ListRepositoriesOutputFilterSensitiveLog = exports.RepositorySummaryFilterSensitiveLog = void 0;
|
|
7
|
+
exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.UpdateTemplateSyncConfigOutputFilterSensitiveLog = exports.UpdateTemplateSyncConfigInputFilterSensitiveLog = exports.GetTemplateSyncConfigOutputFilterSensitiveLog = exports.GetTemplateSyncConfigInputFilterSensitiveLog = exports.DeleteTemplateSyncConfigOutputFilterSensitiveLog = exports.DeleteTemplateSyncConfigInputFilterSensitiveLog = exports.CreateTemplateSyncConfigOutputFilterSensitiveLog = exports.TemplateSyncConfigFilterSensitiveLog = exports.CreateTemplateSyncConfigInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.UpdateServiceTemplateVersionOutputFilterSensitiveLog = exports.UpdateServiceTemplateVersionInputFilterSensitiveLog = exports.ListServiceTemplateVersionsOutputFilterSensitiveLog = exports.ServiceTemplateVersionSummaryFilterSensitiveLog = exports.ListServiceTemplateVersionsInputFilterSensitiveLog = exports.GetServiceTemplateVersionOutputFilterSensitiveLog = exports.GetServiceTemplateVersionInputFilterSensitiveLog = exports.DeleteServiceTemplateVersionOutputFilterSensitiveLog = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
const ProtonServiceException_1 = require("./ProtonServiceException");
|
|
10
10
|
var EnvironmentAccountConnectionStatus;
|
|
@@ -728,6 +728,22 @@ const GetRepositorySyncStatusOutputFilterSensitiveLog = (obj) => ({
|
|
|
728
728
|
...obj,
|
|
729
729
|
});
|
|
730
730
|
exports.GetRepositorySyncStatusOutputFilterSensitiveLog = GetRepositorySyncStatusOutputFilterSensitiveLog;
|
|
731
|
+
const GetResourcesSummaryInputFilterSensitiveLog = (obj) => ({
|
|
732
|
+
...obj,
|
|
733
|
+
});
|
|
734
|
+
exports.GetResourcesSummaryInputFilterSensitiveLog = GetResourcesSummaryInputFilterSensitiveLog;
|
|
735
|
+
const ResourceCountsSummaryFilterSensitiveLog = (obj) => ({
|
|
736
|
+
...obj,
|
|
737
|
+
});
|
|
738
|
+
exports.ResourceCountsSummaryFilterSensitiveLog = ResourceCountsSummaryFilterSensitiveLog;
|
|
739
|
+
const CountsSummaryFilterSensitiveLog = (obj) => ({
|
|
740
|
+
...obj,
|
|
741
|
+
});
|
|
742
|
+
exports.CountsSummaryFilterSensitiveLog = CountsSummaryFilterSensitiveLog;
|
|
743
|
+
const GetResourcesSummaryOutputFilterSensitiveLog = (obj) => ({
|
|
744
|
+
...obj,
|
|
745
|
+
});
|
|
746
|
+
exports.GetResourcesSummaryOutputFilterSensitiveLog = GetResourcesSummaryOutputFilterSensitiveLog;
|
|
731
747
|
const GetTemplateSyncStatusInputFilterSensitiveLog = (obj) => ({
|
|
732
748
|
...obj,
|
|
733
749
|
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.serializeAws_json1_0ListRepositoriesCommand = exports.serializeAws_json1_0ListEnvironmentTemplateVersionsCommand = exports.serializeAws_json1_0ListEnvironmentTemplatesCommand = exports.serializeAws_json1_0ListEnvironmentsCommand = exports.serializeAws_json1_0ListEnvironmentProvisionedResourcesCommand = exports.serializeAws_json1_0ListEnvironmentOutputsCommand = exports.serializeAws_json1_0ListEnvironmentAccountConnectionsCommand = exports.serializeAws_json1_0ListComponentsCommand = exports.serializeAws_json1_0ListComponentProvisionedResourcesCommand = exports.serializeAws_json1_0ListComponentOutputsCommand = exports.serializeAws_json1_0GetTemplateSyncStatusCommand = exports.serializeAws_json1_0GetTemplateSyncConfigCommand = exports.serializeAws_json1_0GetServiceTemplateVersionCommand = exports.serializeAws_json1_0GetServiceTemplateCommand = exports.serializeAws_json1_0GetServiceInstanceCommand = exports.serializeAws_json1_0GetServiceCommand = exports.serializeAws_json1_0GetResourcesSummaryCommand = exports.serializeAws_json1_0GetRepositorySyncStatusCommand = exports.serializeAws_json1_0GetRepositoryCommand = exports.serializeAws_json1_0GetEnvironmentTemplateVersionCommand = exports.serializeAws_json1_0GetEnvironmentTemplateCommand = exports.serializeAws_json1_0GetEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0GetEnvironmentCommand = exports.serializeAws_json1_0GetComponentCommand = exports.serializeAws_json1_0GetAccountSettingsCommand = exports.serializeAws_json1_0DeleteTemplateSyncConfigCommand = exports.serializeAws_json1_0DeleteServiceTemplateVersionCommand = exports.serializeAws_json1_0DeleteServiceTemplateCommand = exports.serializeAws_json1_0DeleteServiceCommand = exports.serializeAws_json1_0DeleteRepositoryCommand = exports.serializeAws_json1_0DeleteEnvironmentTemplateVersionCommand = exports.serializeAws_json1_0DeleteEnvironmentTemplateCommand = exports.serializeAws_json1_0DeleteEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0DeleteEnvironmentCommand = exports.serializeAws_json1_0DeleteComponentCommand = exports.serializeAws_json1_0CreateTemplateSyncConfigCommand = exports.serializeAws_json1_0CreateServiceTemplateVersionCommand = exports.serializeAws_json1_0CreateServiceTemplateCommand = exports.serializeAws_json1_0CreateServiceCommand = exports.serializeAws_json1_0CreateRepositoryCommand = exports.serializeAws_json1_0CreateEnvironmentTemplateVersionCommand = exports.serializeAws_json1_0CreateEnvironmentTemplateCommand = exports.serializeAws_json1_0CreateEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0CreateEnvironmentCommand = exports.serializeAws_json1_0CreateComponentCommand = exports.serializeAws_json1_0CancelServicePipelineDeploymentCommand = exports.serializeAws_json1_0CancelServiceInstanceDeploymentCommand = exports.serializeAws_json1_0CancelEnvironmentDeploymentCommand = exports.serializeAws_json1_0CancelComponentDeploymentCommand = exports.serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_0DeleteServiceTemplateVersionCommand = exports.deserializeAws_json1_0DeleteServiceTemplateCommand = exports.deserializeAws_json1_0DeleteServiceCommand = exports.deserializeAws_json1_0DeleteRepositoryCommand = exports.deserializeAws_json1_0DeleteEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0DeleteEnvironmentTemplateCommand = exports.deserializeAws_json1_0DeleteEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0DeleteEnvironmentCommand = exports.deserializeAws_json1_0DeleteComponentCommand = exports.deserializeAws_json1_0CreateTemplateSyncConfigCommand = exports.deserializeAws_json1_0CreateServiceTemplateVersionCommand = exports.deserializeAws_json1_0CreateServiceTemplateCommand = exports.deserializeAws_json1_0CreateServiceCommand = exports.deserializeAws_json1_0CreateRepositoryCommand = exports.deserializeAws_json1_0CreateEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0CreateEnvironmentTemplateCommand = exports.deserializeAws_json1_0CreateEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0CreateEnvironmentCommand = exports.deserializeAws_json1_0CreateComponentCommand = exports.deserializeAws_json1_0CancelServicePipelineDeploymentCommand = exports.deserializeAws_json1_0CancelServiceInstanceDeploymentCommand = exports.deserializeAws_json1_0CancelEnvironmentDeploymentCommand = exports.deserializeAws_json1_0CancelComponentDeploymentCommand = exports.deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0UpdateTemplateSyncConfigCommand = exports.serializeAws_json1_0UpdateServiceTemplateVersionCommand = exports.serializeAws_json1_0UpdateServiceTemplateCommand = exports.serializeAws_json1_0UpdateServicePipelineCommand = exports.serializeAws_json1_0UpdateServiceInstanceCommand = exports.serializeAws_json1_0UpdateServiceCommand = exports.serializeAws_json1_0UpdateEnvironmentTemplateVersionCommand = exports.serializeAws_json1_0UpdateEnvironmentTemplateCommand = exports.serializeAws_json1_0UpdateEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0UpdateEnvironmentCommand = exports.serializeAws_json1_0UpdateComponentCommand = exports.serializeAws_json1_0UpdateAccountSettingsCommand = exports.serializeAws_json1_0UntagResourceCommand = exports.serializeAws_json1_0TagResourceCommand = exports.serializeAws_json1_0RejectEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand = exports.serializeAws_json1_0ListTagsForResourceCommand = exports.serializeAws_json1_0ListServiceTemplateVersionsCommand = exports.serializeAws_json1_0ListServiceTemplatesCommand = exports.serializeAws_json1_0ListServicesCommand = exports.serializeAws_json1_0ListServicePipelineProvisionedResourcesCommand = exports.serializeAws_json1_0ListServicePipelineOutputsCommand = exports.serializeAws_json1_0ListServiceInstancesCommand = exports.serializeAws_json1_0ListServiceInstanceProvisionedResourcesCommand = exports.serializeAws_json1_0ListServiceInstanceOutputsCommand = exports.serializeAws_json1_0ListRepositorySyncDefinitionsCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_0UpdateServiceTemplateCommand = exports.deserializeAws_json1_0UpdateServicePipelineCommand = exports.deserializeAws_json1_0UpdateServiceInstanceCommand = exports.deserializeAws_json1_0UpdateServiceCommand = exports.deserializeAws_json1_0UpdateEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0UpdateEnvironmentTemplateCommand = exports.deserializeAws_json1_0UpdateEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0UpdateEnvironmentCommand = exports.deserializeAws_json1_0UpdateComponentCommand = exports.deserializeAws_json1_0UpdateAccountSettingsCommand = exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0RejectEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListServiceTemplateVersionsCommand = exports.deserializeAws_json1_0ListServiceTemplatesCommand = exports.deserializeAws_json1_0ListServicesCommand = exports.deserializeAws_json1_0ListServicePipelineProvisionedResourcesCommand = exports.deserializeAws_json1_0ListServicePipelineOutputsCommand = exports.deserializeAws_json1_0ListServiceInstancesCommand = exports.deserializeAws_json1_0ListServiceInstanceProvisionedResourcesCommand = exports.deserializeAws_json1_0ListServiceInstanceOutputsCommand = exports.deserializeAws_json1_0ListRepositorySyncDefinitionsCommand = exports.deserializeAws_json1_0ListRepositoriesCommand = exports.deserializeAws_json1_0ListEnvironmentTemplateVersionsCommand = exports.deserializeAws_json1_0ListEnvironmentTemplatesCommand = exports.deserializeAws_json1_0ListEnvironmentsCommand = exports.deserializeAws_json1_0ListEnvironmentProvisionedResourcesCommand = exports.deserializeAws_json1_0ListEnvironmentOutputsCommand = exports.deserializeAws_json1_0ListEnvironmentAccountConnectionsCommand = exports.deserializeAws_json1_0ListComponentsCommand = exports.deserializeAws_json1_0ListComponentProvisionedResourcesCommand = exports.deserializeAws_json1_0ListComponentOutputsCommand = exports.deserializeAws_json1_0GetTemplateSyncStatusCommand = exports.deserializeAws_json1_0GetTemplateSyncConfigCommand = exports.deserializeAws_json1_0GetServiceTemplateVersionCommand = exports.deserializeAws_json1_0GetServiceTemplateCommand = exports.deserializeAws_json1_0GetServiceInstanceCommand = exports.deserializeAws_json1_0GetServiceCommand = exports.deserializeAws_json1_0GetResourcesSummaryCommand = exports.deserializeAws_json1_0GetRepositorySyncStatusCommand = exports.deserializeAws_json1_0GetRepositoryCommand = exports.deserializeAws_json1_0GetEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0GetEnvironmentTemplateCommand = exports.deserializeAws_json1_0GetEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0GetEnvironmentCommand = exports.deserializeAws_json1_0GetComponentCommand = exports.deserializeAws_json1_0GetAccountSettingsCommand = exports.deserializeAws_json1_0DeleteTemplateSyncConfigCommand = void 0;
|
|
6
|
+
exports.deserializeAws_json1_0UpdateTemplateSyncConfigCommand = exports.deserializeAws_json1_0UpdateServiceTemplateVersionCommand = void 0;
|
|
6
7
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
9
|
const uuid_1 = require("uuid");
|
|
@@ -338,6 +339,16 @@ const serializeAws_json1_0GetRepositorySyncStatusCommand = async (input, context
|
|
|
338
339
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
339
340
|
};
|
|
340
341
|
exports.serializeAws_json1_0GetRepositorySyncStatusCommand = serializeAws_json1_0GetRepositorySyncStatusCommand;
|
|
342
|
+
const serializeAws_json1_0GetResourcesSummaryCommand = async (input, context) => {
|
|
343
|
+
const headers = {
|
|
344
|
+
"content-type": "application/x-amz-json-1.0",
|
|
345
|
+
"x-amz-target": "AwsProton20200720.GetResourcesSummary",
|
|
346
|
+
};
|
|
347
|
+
let body;
|
|
348
|
+
body = JSON.stringify(serializeAws_json1_0GetResourcesSummaryInput(input, context));
|
|
349
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
350
|
+
};
|
|
351
|
+
exports.serializeAws_json1_0GetResourcesSummaryCommand = serializeAws_json1_0GetResourcesSummaryCommand;
|
|
341
352
|
const serializeAws_json1_0GetServiceCommand = async (input, context) => {
|
|
342
353
|
const headers = {
|
|
343
354
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -2366,6 +2377,49 @@ const deserializeAws_json1_0GetRepositorySyncStatusCommandError = async (output,
|
|
|
2366
2377
|
});
|
|
2367
2378
|
}
|
|
2368
2379
|
};
|
|
2380
|
+
const deserializeAws_json1_0GetResourcesSummaryCommand = async (output, context) => {
|
|
2381
|
+
if (output.statusCode >= 300) {
|
|
2382
|
+
return deserializeAws_json1_0GetResourcesSummaryCommandError(output, context);
|
|
2383
|
+
}
|
|
2384
|
+
const data = await parseBody(output.body, context);
|
|
2385
|
+
let contents = {};
|
|
2386
|
+
contents = deserializeAws_json1_0GetResourcesSummaryOutput(data, context);
|
|
2387
|
+
const response = {
|
|
2388
|
+
$metadata: deserializeMetadata(output),
|
|
2389
|
+
...contents,
|
|
2390
|
+
};
|
|
2391
|
+
return Promise.resolve(response);
|
|
2392
|
+
};
|
|
2393
|
+
exports.deserializeAws_json1_0GetResourcesSummaryCommand = deserializeAws_json1_0GetResourcesSummaryCommand;
|
|
2394
|
+
const deserializeAws_json1_0GetResourcesSummaryCommandError = async (output, context) => {
|
|
2395
|
+
const parsedOutput = {
|
|
2396
|
+
...output,
|
|
2397
|
+
body: await parseErrorBody(output.body, context),
|
|
2398
|
+
};
|
|
2399
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2400
|
+
switch (errorCode) {
|
|
2401
|
+
case "AccessDeniedException":
|
|
2402
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2403
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2404
|
+
case "InternalServerException":
|
|
2405
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2406
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2407
|
+
case "ThrottlingException":
|
|
2408
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2409
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2410
|
+
case "ValidationException":
|
|
2411
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2412
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2413
|
+
default:
|
|
2414
|
+
const parsedBody = parsedOutput.body;
|
|
2415
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2416
|
+
output,
|
|
2417
|
+
parsedBody,
|
|
2418
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2419
|
+
errorCode,
|
|
2420
|
+
});
|
|
2421
|
+
}
|
|
2422
|
+
};
|
|
2369
2423
|
const deserializeAws_json1_0GetServiceCommand = async (output, context) => {
|
|
2370
2424
|
if (output.statusCode >= 300) {
|
|
2371
2425
|
return deserializeAws_json1_0GetServiceCommandError(output, context);
|
|
@@ -4679,6 +4733,9 @@ const serializeAws_json1_0GetRepositorySyncStatusInput = (input, context) => {
|
|
|
4679
4733
|
...(input.syncType != null && { syncType: input.syncType }),
|
|
4680
4734
|
};
|
|
4681
4735
|
};
|
|
4736
|
+
const serializeAws_json1_0GetResourcesSummaryInput = (input, context) => {
|
|
4737
|
+
return {};
|
|
4738
|
+
};
|
|
4682
4739
|
const serializeAws_json1_0GetServiceInput = (input, context) => {
|
|
4683
4740
|
return {
|
|
4684
4741
|
...(input.name != null && { name: input.name }),
|
|
@@ -5203,6 +5260,25 @@ const deserializeAws_json1_0ConflictException = (output, context) => {
|
|
|
5203
5260
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
5204
5261
|
};
|
|
5205
5262
|
};
|
|
5263
|
+
const deserializeAws_json1_0CountsSummary = (output, context) => {
|
|
5264
|
+
return {
|
|
5265
|
+
components: output.components != null ? deserializeAws_json1_0ResourceCountsSummary(output.components, context) : undefined,
|
|
5266
|
+
environmentTemplates: output.environmentTemplates != null
|
|
5267
|
+
? deserializeAws_json1_0ResourceCountsSummary(output.environmentTemplates, context)
|
|
5268
|
+
: undefined,
|
|
5269
|
+
environments: output.environments != null
|
|
5270
|
+
? deserializeAws_json1_0ResourceCountsSummary(output.environments, context)
|
|
5271
|
+
: undefined,
|
|
5272
|
+
pipelines: output.pipelines != null ? deserializeAws_json1_0ResourceCountsSummary(output.pipelines, context) : undefined,
|
|
5273
|
+
serviceInstances: output.serviceInstances != null
|
|
5274
|
+
? deserializeAws_json1_0ResourceCountsSummary(output.serviceInstances, context)
|
|
5275
|
+
: undefined,
|
|
5276
|
+
serviceTemplates: output.serviceTemplates != null
|
|
5277
|
+
? deserializeAws_json1_0ResourceCountsSummary(output.serviceTemplates, context)
|
|
5278
|
+
: undefined,
|
|
5279
|
+
services: output.services != null ? deserializeAws_json1_0ResourceCountsSummary(output.services, context) : undefined,
|
|
5280
|
+
};
|
|
5281
|
+
};
|
|
5206
5282
|
const deserializeAws_json1_0CreateComponentOutput = (output, context) => {
|
|
5207
5283
|
return {
|
|
5208
5284
|
component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
|
|
@@ -5571,6 +5647,11 @@ const deserializeAws_json1_0GetRepositorySyncStatusOutput = (output, context) =>
|
|
|
5571
5647
|
latestSync: output.latestSync != null ? deserializeAws_json1_0RepositorySyncAttempt(output.latestSync, context) : undefined,
|
|
5572
5648
|
};
|
|
5573
5649
|
};
|
|
5650
|
+
const deserializeAws_json1_0GetResourcesSummaryOutput = (output, context) => {
|
|
5651
|
+
return {
|
|
5652
|
+
counts: output.counts != null ? deserializeAws_json1_0CountsSummary(output.counts, context) : undefined,
|
|
5653
|
+
};
|
|
5654
|
+
};
|
|
5574
5655
|
const deserializeAws_json1_0GetServiceInstanceOutput = (output, context) => {
|
|
5575
5656
|
return {
|
|
5576
5657
|
serviceInstance: output.serviceInstance != null
|
|
@@ -5889,6 +5970,15 @@ const deserializeAws_json1_0RepositorySyncEvents = (output, context) => {
|
|
|
5889
5970
|
});
|
|
5890
5971
|
return retVal;
|
|
5891
5972
|
};
|
|
5973
|
+
const deserializeAws_json1_0ResourceCountsSummary = (output, context) => {
|
|
5974
|
+
return {
|
|
5975
|
+
behindMajor: (0, smithy_client_1.expectInt32)(output.behindMajor),
|
|
5976
|
+
behindMinor: (0, smithy_client_1.expectInt32)(output.behindMinor),
|
|
5977
|
+
failed: (0, smithy_client_1.expectInt32)(output.failed),
|
|
5978
|
+
total: (0, smithy_client_1.expectInt32)(output.total),
|
|
5979
|
+
upToDate: (0, smithy_client_1.expectInt32)(output.upToDate),
|
|
5980
|
+
};
|
|
5981
|
+
};
|
|
5892
5982
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
5893
5983
|
return {
|
|
5894
5984
|
message: (0, smithy_client_1.expectString)(output.message),
|
package/dist-es/Proton.js
CHANGED
|
@@ -31,6 +31,7 @@ import { GetEnvironmentTemplateCommand, } from "./commands/GetEnvironmentTemplat
|
|
|
31
31
|
import { GetEnvironmentTemplateVersionCommand, } from "./commands/GetEnvironmentTemplateVersionCommand";
|
|
32
32
|
import { GetRepositoryCommand, } from "./commands/GetRepositoryCommand";
|
|
33
33
|
import { GetRepositorySyncStatusCommand, } from "./commands/GetRepositorySyncStatusCommand";
|
|
34
|
+
import { GetResourcesSummaryCommand, } from "./commands/GetResourcesSummaryCommand";
|
|
34
35
|
import { GetServiceCommand } from "./commands/GetServiceCommand";
|
|
35
36
|
import { GetServiceInstanceCommand, } from "./commands/GetServiceInstanceCommand";
|
|
36
37
|
import { GetServiceTemplateCommand, } from "./commands/GetServiceTemplateCommand";
|
|
@@ -537,6 +538,20 @@ export class Proton extends ProtonClient {
|
|
|
537
538
|
return this.send(command, optionsOrCb);
|
|
538
539
|
}
|
|
539
540
|
}
|
|
541
|
+
getResourcesSummary(args, optionsOrCb, cb) {
|
|
542
|
+
const command = new GetResourcesSummaryCommand(args);
|
|
543
|
+
if (typeof optionsOrCb === "function") {
|
|
544
|
+
this.send(command, optionsOrCb);
|
|
545
|
+
}
|
|
546
|
+
else if (typeof cb === "function") {
|
|
547
|
+
if (typeof optionsOrCb !== "object")
|
|
548
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
549
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
550
|
+
}
|
|
551
|
+
else {
|
|
552
|
+
return this.send(command, optionsOrCb);
|
|
553
|
+
}
|
|
554
|
+
}
|
|
540
555
|
getService(args, optionsOrCb, cb) {
|
|
541
556
|
const command = new GetServiceCommand(args);
|
|
542
557
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetResourcesSummaryInputFilterSensitiveLog, GetResourcesSummaryOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0GetResourcesSummaryCommand, serializeAws_json1_0GetResourcesSummaryCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class GetResourcesSummaryCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetResourcesSummaryCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ProtonClient";
|
|
25
|
+
const commandName = "GetResourcesSummaryCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetResourcesSummaryInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetResourcesSummaryOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0GetResourcesSummaryCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0GetResourcesSummaryCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -31,6 +31,7 @@ export * from "./GetEnvironmentTemplateCommand";
|
|
|
31
31
|
export * from "./GetEnvironmentTemplateVersionCommand";
|
|
32
32
|
export * from "./GetRepositoryCommand";
|
|
33
33
|
export * from "./GetRepositorySyncStatusCommand";
|
|
34
|
+
export * from "./GetResourcesSummaryCommand";
|
|
34
35
|
export * from "./GetServiceCommand";
|
|
35
36
|
export * from "./GetServiceInstanceCommand";
|
|
36
37
|
export * from "./GetServiceTemplateCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://proton-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://proton-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://proton.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://proton.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -615,6 +615,18 @@ export const RepositorySyncAttemptFilterSensitiveLog = (obj) => ({
|
|
|
615
615
|
export const GetRepositorySyncStatusOutputFilterSensitiveLog = (obj) => ({
|
|
616
616
|
...obj,
|
|
617
617
|
});
|
|
618
|
+
export const GetResourcesSummaryInputFilterSensitiveLog = (obj) => ({
|
|
619
|
+
...obj,
|
|
620
|
+
});
|
|
621
|
+
export const ResourceCountsSummaryFilterSensitiveLog = (obj) => ({
|
|
622
|
+
...obj,
|
|
623
|
+
});
|
|
624
|
+
export const CountsSummaryFilterSensitiveLog = (obj) => ({
|
|
625
|
+
...obj,
|
|
626
|
+
});
|
|
627
|
+
export const GetResourcesSummaryOutputFilterSensitiveLog = (obj) => ({
|
|
628
|
+
...obj,
|
|
629
|
+
});
|
|
618
630
|
export const GetTemplateSyncStatusInputFilterSensitiveLog = (obj) => ({
|
|
619
631
|
...obj,
|
|
620
632
|
});
|