@aws-sdk/client-proton 3.303.0 → 3.308.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 +64 -0
- package/dist-cjs/Proton.js +120 -0
- package/dist-cjs/commands/CreateServiceInstanceCommand.js +46 -0
- package/dist-cjs/commands/CreateServiceSyncConfigCommand.js +45 -0
- package/dist-cjs/commands/DeleteServiceSyncConfigCommand.js +45 -0
- package/dist-cjs/commands/GetServiceInstanceSyncStatusCommand.js +45 -0
- package/dist-cjs/commands/GetServiceSyncBlockerSummaryCommand.js +45 -0
- package/dist-cjs/commands/GetServiceSyncConfigCommand.js +45 -0
- package/dist-cjs/commands/UpdateServiceSyncBlockerCommand.js +45 -0
- package/dist-cjs/commands/UpdateServiceSyncConfigCommand.js +45 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +25 -7
- package/dist-cjs/protocols/Aws_json1_0.js +671 -27
- package/dist-es/Proton.js +120 -0
- package/dist-es/commands/CreateServiceInstanceCommand.js +42 -0
- package/dist-es/commands/CreateServiceSyncConfigCommand.js +41 -0
- package/dist-es/commands/DeleteServiceSyncConfigCommand.js +41 -0
- package/dist-es/commands/GetServiceInstanceSyncStatusCommand.js +41 -0
- package/dist-es/commands/GetServiceSyncBlockerSummaryCommand.js +41 -0
- package/dist-es/commands/GetServiceSyncConfigCommand.js +41 -0
- package/dist-es/commands/UpdateServiceSyncBlockerCommand.js +41 -0
- package/dist-es/commands/UpdateServiceSyncConfigCommand.js +41 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +20 -4
- package/dist-es/protocols/Aws_json1_0.js +651 -23
- package/dist-types/Proton.d.ts +172 -75
- package/dist-types/ProtonClient.d.ts +10 -2
- package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +10 -7
- package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +10 -7
- package/dist-types/commands/CreateComponentCommand.d.ts +1 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +4 -3
- package/dist-types/commands/CreateServiceInstanceCommand.d.ts +92 -0
- package/dist-types/commands/CreateServiceSyncConfigCommand.d.ts +86 -0
- package/dist-types/commands/CreateServiceTemplateCommand.d.ts +6 -5
- package/dist-types/commands/CreateServiceTemplateVersionCommand.d.ts +3 -2
- package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +8 -6
- package/dist-types/commands/DeleteServiceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteServiceSyncConfigCommand.d.ts +81 -0
- package/dist-types/commands/DeleteServiceTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DeleteServiceTemplateVersionCommand.d.ts +9 -6
- package/dist-types/commands/GetResourcesSummaryCommand.d.ts +13 -9
- package/dist-types/commands/GetServiceInstanceCommand.d.ts +2 -1
- package/dist-types/commands/GetServiceInstanceSyncStatusCommand.d.ts +79 -0
- package/dist-types/commands/GetServiceSyncBlockerSummaryCommand.d.ts +79 -0
- package/dist-types/commands/GetServiceSyncConfigCommand.d.ts +78 -0
- package/dist-types/commands/ListServiceInstancesCommand.d.ts +2 -2
- 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 +4 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UpdateComponentCommand.d.ts +1 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +4 -2
- package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +5 -3
- package/dist-types/commands/UpdateServicePipelineCommand.d.ts +14 -8
- package/dist-types/commands/UpdateServiceSyncBlockerCommand.d.ts +82 -0
- package/dist-types/commands/UpdateServiceSyncConfigCommand.d.ts +85 -0
- package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -2
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +623 -148
- package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
- package/dist-types/ts3.4/Proton.d.ts +136 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateServiceInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateServiceSyncConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteServiceSyncConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetServiceInstanceSyncStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetServiceSyncBlockerSummaryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetServiceSyncConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateServiceSyncBlockerCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateServiceSyncConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +126 -9
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
- package/package.json +30 -30
package/dist-es/Proton.js
CHANGED
|
@@ -10,6 +10,8 @@ import { CreateEnvironmentTemplateCommand, } from "./commands/CreateEnvironmentT
|
|
|
10
10
|
import { CreateEnvironmentTemplateVersionCommand, } from "./commands/CreateEnvironmentTemplateVersionCommand";
|
|
11
11
|
import { CreateRepositoryCommand, } from "./commands/CreateRepositoryCommand";
|
|
12
12
|
import { CreateServiceCommand, } from "./commands/CreateServiceCommand";
|
|
13
|
+
import { CreateServiceInstanceCommand, } from "./commands/CreateServiceInstanceCommand";
|
|
14
|
+
import { CreateServiceSyncConfigCommand, } from "./commands/CreateServiceSyncConfigCommand";
|
|
13
15
|
import { CreateServiceTemplateCommand, } from "./commands/CreateServiceTemplateCommand";
|
|
14
16
|
import { CreateServiceTemplateVersionCommand, } from "./commands/CreateServiceTemplateVersionCommand";
|
|
15
17
|
import { CreateTemplateSyncConfigCommand, } from "./commands/CreateTemplateSyncConfigCommand";
|
|
@@ -20,6 +22,7 @@ import { DeleteEnvironmentTemplateCommand, } from "./commands/DeleteEnvironmentT
|
|
|
20
22
|
import { DeleteEnvironmentTemplateVersionCommand, } from "./commands/DeleteEnvironmentTemplateVersionCommand";
|
|
21
23
|
import { DeleteRepositoryCommand, } from "./commands/DeleteRepositoryCommand";
|
|
22
24
|
import { DeleteServiceCommand, } from "./commands/DeleteServiceCommand";
|
|
25
|
+
import { DeleteServiceSyncConfigCommand, } from "./commands/DeleteServiceSyncConfigCommand";
|
|
23
26
|
import { DeleteServiceTemplateCommand, } from "./commands/DeleteServiceTemplateCommand";
|
|
24
27
|
import { DeleteServiceTemplateVersionCommand, } from "./commands/DeleteServiceTemplateVersionCommand";
|
|
25
28
|
import { DeleteTemplateSyncConfigCommand, } from "./commands/DeleteTemplateSyncConfigCommand";
|
|
@@ -34,6 +37,9 @@ import { GetRepositorySyncStatusCommand, } from "./commands/GetRepositorySyncSta
|
|
|
34
37
|
import { GetResourcesSummaryCommand, } from "./commands/GetResourcesSummaryCommand";
|
|
35
38
|
import { GetServiceCommand } from "./commands/GetServiceCommand";
|
|
36
39
|
import { GetServiceInstanceCommand, } from "./commands/GetServiceInstanceCommand";
|
|
40
|
+
import { GetServiceInstanceSyncStatusCommand, } from "./commands/GetServiceInstanceSyncStatusCommand";
|
|
41
|
+
import { GetServiceSyncBlockerSummaryCommand, } from "./commands/GetServiceSyncBlockerSummaryCommand";
|
|
42
|
+
import { GetServiceSyncConfigCommand, } from "./commands/GetServiceSyncConfigCommand";
|
|
37
43
|
import { GetServiceTemplateCommand, } from "./commands/GetServiceTemplateCommand";
|
|
38
44
|
import { GetServiceTemplateVersionCommand, } from "./commands/GetServiceTemplateVersionCommand";
|
|
39
45
|
import { GetTemplateSyncConfigCommand, } from "./commands/GetTemplateSyncConfigCommand";
|
|
@@ -71,6 +77,8 @@ import { UpdateEnvironmentTemplateVersionCommand, } from "./commands/UpdateEnvir
|
|
|
71
77
|
import { UpdateServiceCommand, } from "./commands/UpdateServiceCommand";
|
|
72
78
|
import { UpdateServiceInstanceCommand, } from "./commands/UpdateServiceInstanceCommand";
|
|
73
79
|
import { UpdateServicePipelineCommand, } from "./commands/UpdateServicePipelineCommand";
|
|
80
|
+
import { UpdateServiceSyncBlockerCommand, } from "./commands/UpdateServiceSyncBlockerCommand";
|
|
81
|
+
import { UpdateServiceSyncConfigCommand, } from "./commands/UpdateServiceSyncConfigCommand";
|
|
74
82
|
import { UpdateServiceTemplateCommand, } from "./commands/UpdateServiceTemplateCommand";
|
|
75
83
|
import { UpdateServiceTemplateVersionCommand, } from "./commands/UpdateServiceTemplateVersionCommand";
|
|
76
84
|
import { UpdateTemplateSyncConfigCommand, } from "./commands/UpdateTemplateSyncConfigCommand";
|
|
@@ -244,6 +252,34 @@ export class Proton extends ProtonClient {
|
|
|
244
252
|
return this.send(command, optionsOrCb);
|
|
245
253
|
}
|
|
246
254
|
}
|
|
255
|
+
createServiceInstance(args, optionsOrCb, cb) {
|
|
256
|
+
const command = new CreateServiceInstanceCommand(args);
|
|
257
|
+
if (typeof optionsOrCb === "function") {
|
|
258
|
+
this.send(command, optionsOrCb);
|
|
259
|
+
}
|
|
260
|
+
else if (typeof cb === "function") {
|
|
261
|
+
if (typeof optionsOrCb !== "object")
|
|
262
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
+
}
|
|
265
|
+
else {
|
|
266
|
+
return this.send(command, optionsOrCb);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
createServiceSyncConfig(args, optionsOrCb, cb) {
|
|
270
|
+
const command = new CreateServiceSyncConfigCommand(args);
|
|
271
|
+
if (typeof optionsOrCb === "function") {
|
|
272
|
+
this.send(command, optionsOrCb);
|
|
273
|
+
}
|
|
274
|
+
else if (typeof cb === "function") {
|
|
275
|
+
if (typeof optionsOrCb !== "object")
|
|
276
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
return this.send(command, optionsOrCb);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
247
283
|
createServiceTemplate(args, optionsOrCb, cb) {
|
|
248
284
|
const command = new CreateServiceTemplateCommand(args);
|
|
249
285
|
if (typeof optionsOrCb === "function") {
|
|
@@ -384,6 +420,20 @@ export class Proton extends ProtonClient {
|
|
|
384
420
|
return this.send(command, optionsOrCb);
|
|
385
421
|
}
|
|
386
422
|
}
|
|
423
|
+
deleteServiceSyncConfig(args, optionsOrCb, cb) {
|
|
424
|
+
const command = new DeleteServiceSyncConfigCommand(args);
|
|
425
|
+
if (typeof optionsOrCb === "function") {
|
|
426
|
+
this.send(command, optionsOrCb);
|
|
427
|
+
}
|
|
428
|
+
else if (typeof cb === "function") {
|
|
429
|
+
if (typeof optionsOrCb !== "object")
|
|
430
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
431
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
432
|
+
}
|
|
433
|
+
else {
|
|
434
|
+
return this.send(command, optionsOrCb);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
387
437
|
deleteServiceTemplate(args, optionsOrCb, cb) {
|
|
388
438
|
const command = new DeleteServiceTemplateCommand(args);
|
|
389
439
|
if (typeof optionsOrCb === "function") {
|
|
@@ -580,6 +630,48 @@ export class Proton extends ProtonClient {
|
|
|
580
630
|
return this.send(command, optionsOrCb);
|
|
581
631
|
}
|
|
582
632
|
}
|
|
633
|
+
getServiceInstanceSyncStatus(args, optionsOrCb, cb) {
|
|
634
|
+
const command = new GetServiceInstanceSyncStatusCommand(args);
|
|
635
|
+
if (typeof optionsOrCb === "function") {
|
|
636
|
+
this.send(command, optionsOrCb);
|
|
637
|
+
}
|
|
638
|
+
else if (typeof cb === "function") {
|
|
639
|
+
if (typeof optionsOrCb !== "object")
|
|
640
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
641
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
642
|
+
}
|
|
643
|
+
else {
|
|
644
|
+
return this.send(command, optionsOrCb);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
getServiceSyncBlockerSummary(args, optionsOrCb, cb) {
|
|
648
|
+
const command = new GetServiceSyncBlockerSummaryCommand(args);
|
|
649
|
+
if (typeof optionsOrCb === "function") {
|
|
650
|
+
this.send(command, optionsOrCb);
|
|
651
|
+
}
|
|
652
|
+
else if (typeof cb === "function") {
|
|
653
|
+
if (typeof optionsOrCb !== "object")
|
|
654
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
655
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
656
|
+
}
|
|
657
|
+
else {
|
|
658
|
+
return this.send(command, optionsOrCb);
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
getServiceSyncConfig(args, optionsOrCb, cb) {
|
|
662
|
+
const command = new GetServiceSyncConfigCommand(args);
|
|
663
|
+
if (typeof optionsOrCb === "function") {
|
|
664
|
+
this.send(command, optionsOrCb);
|
|
665
|
+
}
|
|
666
|
+
else if (typeof cb === "function") {
|
|
667
|
+
if (typeof optionsOrCb !== "object")
|
|
668
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
669
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
670
|
+
}
|
|
671
|
+
else {
|
|
672
|
+
return this.send(command, optionsOrCb);
|
|
673
|
+
}
|
|
674
|
+
}
|
|
583
675
|
getServiceTemplate(args, optionsOrCb, cb) {
|
|
584
676
|
const command = new GetServiceTemplateCommand(args);
|
|
585
677
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1098,6 +1190,34 @@ export class Proton extends ProtonClient {
|
|
|
1098
1190
|
return this.send(command, optionsOrCb);
|
|
1099
1191
|
}
|
|
1100
1192
|
}
|
|
1193
|
+
updateServiceSyncBlocker(args, optionsOrCb, cb) {
|
|
1194
|
+
const command = new UpdateServiceSyncBlockerCommand(args);
|
|
1195
|
+
if (typeof optionsOrCb === "function") {
|
|
1196
|
+
this.send(command, optionsOrCb);
|
|
1197
|
+
}
|
|
1198
|
+
else if (typeof cb === "function") {
|
|
1199
|
+
if (typeof optionsOrCb !== "object")
|
|
1200
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1201
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1202
|
+
}
|
|
1203
|
+
else {
|
|
1204
|
+
return this.send(command, optionsOrCb);
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
updateServiceSyncConfig(args, optionsOrCb, cb) {
|
|
1208
|
+
const command = new UpdateServiceSyncConfigCommand(args);
|
|
1209
|
+
if (typeof optionsOrCb === "function") {
|
|
1210
|
+
this.send(command, optionsOrCb);
|
|
1211
|
+
}
|
|
1212
|
+
else if (typeof cb === "function") {
|
|
1213
|
+
if (typeof optionsOrCb !== "object")
|
|
1214
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1215
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1216
|
+
}
|
|
1217
|
+
else {
|
|
1218
|
+
return this.send(command, optionsOrCb);
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1101
1221
|
updateServiceTemplate(args, optionsOrCb, cb) {
|
|
1102
1222
|
const command = new UpdateServiceTemplateCommand(args);
|
|
1103
1223
|
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 { CreateServiceInstanceInputFilterSensitiveLog, CreateServiceInstanceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0CreateServiceInstanceCommand, serializeAws_json1_0CreateServiceInstanceCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class CreateServiceInstanceCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateServiceInstanceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ProtonClient";
|
|
25
|
+
const commandName = "CreateServiceInstanceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateServiceInstanceInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateServiceInstanceOutputFilterSensitiveLog,
|
|
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_0CreateServiceInstanceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0CreateServiceInstanceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { deserializeAws_json1_0CreateServiceSyncConfigCommand, serializeAws_json1_0CreateServiceSyncConfigCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
+
export class CreateServiceSyncConfigCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateServiceSyncConfigCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ProtonClient";
|
|
24
|
+
const commandName = "CreateServiceSyncConfigCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_json1_0CreateServiceSyncConfigCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_json1_0CreateServiceSyncConfigCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { deserializeAws_json1_0DeleteServiceSyncConfigCommand, serializeAws_json1_0DeleteServiceSyncConfigCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
+
export class DeleteServiceSyncConfigCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteServiceSyncConfigCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ProtonClient";
|
|
24
|
+
const commandName = "DeleteServiceSyncConfigCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_json1_0DeleteServiceSyncConfigCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_json1_0DeleteServiceSyncConfigCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { deserializeAws_json1_0GetServiceInstanceSyncStatusCommand, serializeAws_json1_0GetServiceInstanceSyncStatusCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
+
export class GetServiceInstanceSyncStatusCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetServiceInstanceSyncStatusCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ProtonClient";
|
|
24
|
+
const commandName = "GetServiceInstanceSyncStatusCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_json1_0GetServiceInstanceSyncStatusCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_json1_0GetServiceInstanceSyncStatusCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { deserializeAws_json1_0GetServiceSyncBlockerSummaryCommand, serializeAws_json1_0GetServiceSyncBlockerSummaryCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
+
export class GetServiceSyncBlockerSummaryCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetServiceSyncBlockerSummaryCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ProtonClient";
|
|
24
|
+
const commandName = "GetServiceSyncBlockerSummaryCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_json1_0GetServiceSyncBlockerSummaryCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_json1_0GetServiceSyncBlockerSummaryCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { deserializeAws_json1_0GetServiceSyncConfigCommand, serializeAws_json1_0GetServiceSyncConfigCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
+
export class GetServiceSyncConfigCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetServiceSyncConfigCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ProtonClient";
|
|
24
|
+
const commandName = "GetServiceSyncConfigCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_json1_0GetServiceSyncConfigCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_json1_0GetServiceSyncConfigCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { deserializeAws_json1_0UpdateServiceSyncBlockerCommand, serializeAws_json1_0UpdateServiceSyncBlockerCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
+
export class UpdateServiceSyncBlockerCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateServiceSyncBlockerCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ProtonClient";
|
|
24
|
+
const commandName = "UpdateServiceSyncBlockerCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_json1_0UpdateServiceSyncBlockerCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_json1_0UpdateServiceSyncBlockerCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { deserializeAws_json1_0UpdateServiceSyncConfigCommand, serializeAws_json1_0UpdateServiceSyncConfigCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
+
export class UpdateServiceSyncConfigCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateServiceSyncConfigCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ProtonClient";
|
|
24
|
+
const commandName = "UpdateServiceSyncConfigCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_json1_0UpdateServiceSyncConfigCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_json1_0UpdateServiceSyncConfigCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -10,6 +10,8 @@ export * from "./CreateEnvironmentTemplateCommand";
|
|
|
10
10
|
export * from "./CreateEnvironmentTemplateVersionCommand";
|
|
11
11
|
export * from "./CreateRepositoryCommand";
|
|
12
12
|
export * from "./CreateServiceCommand";
|
|
13
|
+
export * from "./CreateServiceInstanceCommand";
|
|
14
|
+
export * from "./CreateServiceSyncConfigCommand";
|
|
13
15
|
export * from "./CreateServiceTemplateCommand";
|
|
14
16
|
export * from "./CreateServiceTemplateVersionCommand";
|
|
15
17
|
export * from "./CreateTemplateSyncConfigCommand";
|
|
@@ -20,6 +22,7 @@ export * from "./DeleteEnvironmentTemplateCommand";
|
|
|
20
22
|
export * from "./DeleteEnvironmentTemplateVersionCommand";
|
|
21
23
|
export * from "./DeleteRepositoryCommand";
|
|
22
24
|
export * from "./DeleteServiceCommand";
|
|
25
|
+
export * from "./DeleteServiceSyncConfigCommand";
|
|
23
26
|
export * from "./DeleteServiceTemplateCommand";
|
|
24
27
|
export * from "./DeleteServiceTemplateVersionCommand";
|
|
25
28
|
export * from "./DeleteTemplateSyncConfigCommand";
|
|
@@ -34,6 +37,9 @@ export * from "./GetRepositorySyncStatusCommand";
|
|
|
34
37
|
export * from "./GetResourcesSummaryCommand";
|
|
35
38
|
export * from "./GetServiceCommand";
|
|
36
39
|
export * from "./GetServiceInstanceCommand";
|
|
40
|
+
export * from "./GetServiceInstanceSyncStatusCommand";
|
|
41
|
+
export * from "./GetServiceSyncBlockerSummaryCommand";
|
|
42
|
+
export * from "./GetServiceSyncConfigCommand";
|
|
37
43
|
export * from "./GetServiceTemplateCommand";
|
|
38
44
|
export * from "./GetServiceTemplateVersionCommand";
|
|
39
45
|
export * from "./GetTemplateSyncConfigCommand";
|
|
@@ -71,6 +77,8 @@ export * from "./UpdateEnvironmentTemplateVersionCommand";
|
|
|
71
77
|
export * from "./UpdateServiceCommand";
|
|
72
78
|
export * from "./UpdateServiceInstanceCommand";
|
|
73
79
|
export * from "./UpdateServicePipelineCommand";
|
|
80
|
+
export * from "./UpdateServiceSyncBlockerCommand";
|
|
81
|
+
export * from "./UpdateServiceSyncConfigCommand";
|
|
74
82
|
export * from "./UpdateServiceTemplateCommand";
|
|
75
83
|
export * from "./UpdateServiceTemplateVersionCommand";
|
|
76
84
|
export * from "./UpdateTemplateSyncConfigCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const q = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://proton-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://proton-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://proton.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://proton.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -144,6 +144,7 @@ export const TemplateVersionStatus = {
|
|
|
144
144
|
REGISTRATION_IN_PROGRESS: "REGISTRATION_IN_PROGRESS",
|
|
145
145
|
};
|
|
146
146
|
export const SyncType = {
|
|
147
|
+
SERVICE_SYNC: "SERVICE_SYNC",
|
|
147
148
|
TEMPLATE_SYNC: "TEMPLATE_SYNC",
|
|
148
149
|
};
|
|
149
150
|
export const RepositorySyncStatus = {
|
|
@@ -153,16 +154,16 @@ export const RepositorySyncStatus = {
|
|
|
153
154
|
QUEUED: "QUEUED",
|
|
154
155
|
SUCCEEDED: "SUCCEEDED",
|
|
155
156
|
};
|
|
156
|
-
export const TemplateType = {
|
|
157
|
-
ENVIRONMENT: "ENVIRONMENT",
|
|
158
|
-
SERVICE: "SERVICE",
|
|
159
|
-
};
|
|
160
157
|
export const ResourceSyncStatus = {
|
|
161
158
|
FAILED: "FAILED",
|
|
162
159
|
INITIATED: "INITIATED",
|
|
163
160
|
IN_PROGRESS: "IN_PROGRESS",
|
|
164
161
|
SUCCEEDED: "SUCCEEDED",
|
|
165
162
|
};
|
|
163
|
+
export const TemplateType = {
|
|
164
|
+
ENVIRONMENT: "ENVIRONMENT",
|
|
165
|
+
SERVICE: "SERVICE",
|
|
166
|
+
};
|
|
166
167
|
export const ResourceDeploymentStatus = {
|
|
167
168
|
FAILED: "FAILED",
|
|
168
169
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -209,6 +210,13 @@ export const ServiceStatus = {
|
|
|
209
210
|
UPDATE_FAILED_CLEANUP_IN_PROGRESS: "UPDATE_FAILED_CLEANUP_IN_PROGRESS",
|
|
210
211
|
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
211
212
|
};
|
|
213
|
+
export const BlockerStatus = {
|
|
214
|
+
ACTIVE: "ACTIVE",
|
|
215
|
+
RESOLVED: "RESOLVED",
|
|
216
|
+
};
|
|
217
|
+
export const BlockerType = {
|
|
218
|
+
AUTOMATED: "AUTOMATED",
|
|
219
|
+
};
|
|
212
220
|
export const ServiceTemplateSupportedComponentSourceType = {
|
|
213
221
|
DIRECTLY_DEFINED: "DIRECTLY_DEFINED",
|
|
214
222
|
};
|
|
@@ -440,6 +448,14 @@ export const ListServiceInstanceOutputsOutputFilterSensitiveLog = (obj) => ({
|
|
|
440
448
|
...obj,
|
|
441
449
|
...(obj.outputs && { outputs: SENSITIVE_STRING }),
|
|
442
450
|
});
|
|
451
|
+
export const CreateServiceInstanceInputFilterSensitiveLog = (obj) => ({
|
|
452
|
+
...obj,
|
|
453
|
+
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
454
|
+
});
|
|
455
|
+
export const CreateServiceInstanceOutputFilterSensitiveLog = (obj) => ({
|
|
456
|
+
...obj,
|
|
457
|
+
...(obj.serviceInstance && { serviceInstance: ServiceInstanceFilterSensitiveLog(obj.serviceInstance) }),
|
|
458
|
+
});
|
|
443
459
|
export const GetServiceInstanceOutputFilterSensitiveLog = (obj) => ({
|
|
444
460
|
...obj,
|
|
445
461
|
...(obj.serviceInstance && { serviceInstance: ServiceInstanceFilterSensitiveLog(obj.serviceInstance) }),
|