@aws-sdk/client-codecatalyst 3.928.0 → 3.929.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/dist-cjs/index.js +1472 -1749
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/CodeCatalystClient.js +2 -0
- package/dist-es/commands/CreateAccessTokenCommand.js +3 -10
- package/dist-es/commands/CreateDevEnvironmentCommand.js +3 -9
- package/dist-es/commands/CreateProjectCommand.js +3 -9
- package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +3 -9
- package/dist-es/commands/CreateSourceRepositoryCommand.js +3 -9
- package/dist-es/commands/DeleteAccessTokenCommand.js +3 -9
- package/dist-es/commands/DeleteDevEnvironmentCommand.js +3 -9
- package/dist-es/commands/DeleteProjectCommand.js +3 -9
- package/dist-es/commands/DeleteSourceRepositoryCommand.js +3 -9
- package/dist-es/commands/DeleteSpaceCommand.js +3 -9
- package/dist-es/commands/GetDevEnvironmentCommand.js +3 -9
- package/dist-es/commands/GetProjectCommand.js +3 -9
- package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +3 -9
- package/dist-es/commands/GetSourceRepositoryCommand.js +3 -9
- package/dist-es/commands/GetSpaceCommand.js +3 -9
- package/dist-es/commands/GetSubscriptionCommand.js +3 -9
- package/dist-es/commands/GetUserDetailsCommand.js +3 -9
- package/dist-es/commands/GetWorkflowCommand.js +3 -9
- package/dist-es/commands/GetWorkflowRunCommand.js +3 -9
- package/dist-es/commands/ListAccessTokensCommand.js +3 -9
- package/dist-es/commands/ListDevEnvironmentSessionsCommand.js +3 -9
- package/dist-es/commands/ListDevEnvironmentsCommand.js +3 -9
- package/dist-es/commands/ListEventLogsCommand.js +3 -9
- package/dist-es/commands/ListProjectsCommand.js +3 -9
- package/dist-es/commands/ListSourceRepositoriesCommand.js +3 -9
- package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +3 -9
- package/dist-es/commands/ListSpacesCommand.js +3 -9
- package/dist-es/commands/ListWorkflowRunsCommand.js +3 -9
- package/dist-es/commands/ListWorkflowsCommand.js +3 -9
- package/dist-es/commands/StartDevEnvironmentCommand.js +3 -9
- package/dist-es/commands/StartDevEnvironmentSessionCommand.js +3 -10
- package/dist-es/commands/StartWorkflowRunCommand.js +3 -9
- package/dist-es/commands/StopDevEnvironmentCommand.js +3 -9
- package/dist-es/commands/StopDevEnvironmentSessionCommand.js +3 -9
- package/dist-es/commands/UpdateDevEnvironmentCommand.js +3 -9
- package/dist-es/commands/UpdateProjectCommand.js +3 -9
- package/dist-es/commands/UpdateSpaceCommand.js +3 -9
- package/dist-es/commands/VerifySessionCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -14
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1383 -0
- package/dist-types/CodeCatalystClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +175 -0
- package/dist-types/ts3.4/CodeCatalystClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +181 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -1455
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -344
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -461
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListEventLogs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListEventLogsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "ListEventLogs", {})
|
|
17
13
|
.n("CodeCatalystClient", "ListEventLogsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListEventLogsCommand)
|
|
20
|
-
.de(de_ListEventLogsCommand)
|
|
14
|
+
.sc(ListEventLogs)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListProjects } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListProjectsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "ListProjects", {})
|
|
17
13
|
.n("CodeCatalystClient", "ListProjectsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListProjectsCommand)
|
|
20
|
-
.de(de_ListProjectsCommand)
|
|
14
|
+
.sc(ListProjects)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListSourceRepositories } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListSourceRepositoriesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "ListSourceRepositories", {})
|
|
17
13
|
.n("CodeCatalystClient", "ListSourceRepositoriesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListSourceRepositoriesCommand)
|
|
20
|
-
.de(de_ListSourceRepositoriesCommand)
|
|
14
|
+
.sc(ListSourceRepositories)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListSourceRepositoryBranches } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListSourceRepositoryBranchesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "ListSourceRepositoryBranches", {})
|
|
17
13
|
.n("CodeCatalystClient", "ListSourceRepositoryBranchesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListSourceRepositoryBranchesCommand)
|
|
20
|
-
.de(de_ListSourceRepositoryBranchesCommand)
|
|
14
|
+
.sc(ListSourceRepositoryBranches)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListSpaces } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListSpacesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "ListSpaces", {})
|
|
17
13
|
.n("CodeCatalystClient", "ListSpacesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListSpacesCommand)
|
|
20
|
-
.de(de_ListSpacesCommand)
|
|
14
|
+
.sc(ListSpaces)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListWorkflowRuns } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListWorkflowRunsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "ListWorkflowRuns", {})
|
|
17
13
|
.n("CodeCatalystClient", "ListWorkflowRunsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListWorkflowRunsCommand)
|
|
20
|
-
.de(de_ListWorkflowRunsCommand)
|
|
14
|
+
.sc(ListWorkflowRuns)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListWorkflows } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListWorkflowsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "ListWorkflows", {})
|
|
17
13
|
.n("CodeCatalystClient", "ListWorkflowsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListWorkflowsCommand)
|
|
20
|
-
.de(de_ListWorkflowsCommand)
|
|
14
|
+
.sc(ListWorkflows)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartDevEnvironment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartDevEnvironmentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "StartDevEnvironment", {})
|
|
17
13
|
.n("CodeCatalystClient", "StartDevEnvironmentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartDevEnvironmentCommand)
|
|
20
|
-
.de(de_StartDevEnvironmentCommand)
|
|
14
|
+
.sc(StartDevEnvironment)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_StartDevEnvironmentSessionCommand, se_StartDevEnvironmentSessionCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { StartDevEnvironmentSession } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StartDevEnvironmentSessionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("CodeCatalyst", "StartDevEnvironmentSession", {})
|
|
18
13
|
.n("CodeCatalystClient", "StartDevEnvironmentSessionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StartDevEnvironmentSessionCommand)
|
|
21
|
-
.de(de_StartDevEnvironmentSessionCommand)
|
|
14
|
+
.sc(StartDevEnvironmentSession)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartWorkflowRun } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartWorkflowRunCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "StartWorkflowRun", {})
|
|
17
13
|
.n("CodeCatalystClient", "StartWorkflowRunCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartWorkflowRunCommand)
|
|
20
|
-
.de(de_StartWorkflowRunCommand)
|
|
14
|
+
.sc(StartWorkflowRun)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopDevEnvironment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopDevEnvironmentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "StopDevEnvironment", {})
|
|
17
13
|
.n("CodeCatalystClient", "StopDevEnvironmentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopDevEnvironmentCommand)
|
|
20
|
-
.de(de_StopDevEnvironmentCommand)
|
|
14
|
+
.sc(StopDevEnvironment)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopDevEnvironmentSession } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopDevEnvironmentSessionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "StopDevEnvironmentSession", {})
|
|
17
13
|
.n("CodeCatalystClient", "StopDevEnvironmentSessionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopDevEnvironmentSessionCommand)
|
|
20
|
-
.de(de_StopDevEnvironmentSessionCommand)
|
|
14
|
+
.sc(StopDevEnvironmentSession)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDevEnvironment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDevEnvironmentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "UpdateDevEnvironment", {})
|
|
17
13
|
.n("CodeCatalystClient", "UpdateDevEnvironmentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDevEnvironmentCommand)
|
|
20
|
-
.de(de_UpdateDevEnvironmentCommand)
|
|
14
|
+
.sc(UpdateDevEnvironment)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateProject } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateProjectCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "UpdateProject", {})
|
|
17
13
|
.n("CodeCatalystClient", "UpdateProjectCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateProjectCommand)
|
|
20
|
-
.de(de_UpdateProjectCommand)
|
|
14
|
+
.sc(UpdateProject)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSpace } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSpaceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "UpdateSpace", {})
|
|
17
13
|
.n("CodeCatalystClient", "UpdateSpaceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSpaceCommand)
|
|
20
|
-
.de(de_UpdateSpaceCommand)
|
|
14
|
+
.sc(UpdateSpace)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { VerifySession } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class VerifySessionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeCatalyst", "VerifySession", {})
|
|
17
13
|
.n("CodeCatalystClient", "VerifySessionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_VerifySessionCommand)
|
|
20
|
-
.de(de_VerifySessionCommand)
|
|
14
|
+
.sc(VerifySession)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { CodeCatalystServiceException as __BaseException } from "./CodeCatalystServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -136,16 +135,3 @@ export const WorkflowRunStatus = {
|
|
|
136
135
|
SUPERSEDED: "SUPERSEDED",
|
|
137
136
|
VALIDATING: "VALIDATING",
|
|
138
137
|
};
|
|
139
|
-
export const CreateAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
140
|
-
...obj,
|
|
141
|
-
...(obj.secret && { secret: SENSITIVE_STRING }),
|
|
142
|
-
});
|
|
143
|
-
export const DevEnvironmentAccessDetailsFilterSensitiveLog = (obj) => ({
|
|
144
|
-
...obj,
|
|
145
|
-
...(obj.streamUrl && { streamUrl: SENSITIVE_STRING }),
|
|
146
|
-
...(obj.tokenValue && { tokenValue: SENSITIVE_STRING }),
|
|
147
|
-
});
|
|
148
|
-
export const StartDevEnvironmentSessionResponseFilterSensitiveLog = (obj) => ({
|
|
149
|
-
...obj,
|
|
150
|
-
...(obj.accessDetails && { accessDetails: SENSITIVE_STRING }),
|
|
151
|
-
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.codecatalyst" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "CodeCatalyst",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|