@aws-sdk/client-codecatalyst 3.222.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/LICENSE +201 -0
- package/README.md +312 -0
- package/dist-cjs/CodeCatalyst.js +367 -0
- package/dist-cjs/CodeCatalystClient.js +40 -0
- package/dist-cjs/commands/CreateAccessTokenCommand.js +45 -0
- package/dist-cjs/commands/CreateDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/CreateProjectCommand.js +45 -0
- package/dist-cjs/commands/CreateSourceRepositoryBranchCommand.js +45 -0
- package/dist-cjs/commands/DeleteAccessTokenCommand.js +45 -0
- package/dist-cjs/commands/DeleteDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/GetDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/GetProjectCommand.js +45 -0
- package/dist-cjs/commands/GetSourceRepositoryCloneUrlsCommand.js +45 -0
- package/dist-cjs/commands/GetSpaceCommand.js +45 -0
- package/dist-cjs/commands/GetSubscriptionCommand.js +45 -0
- package/dist-cjs/commands/GetUserDetailsCommand.js +45 -0
- package/dist-cjs/commands/ListAccessTokensCommand.js +45 -0
- package/dist-cjs/commands/ListDevEnvironmentsCommand.js +45 -0
- package/dist-cjs/commands/ListEventLogsCommand.js +45 -0
- package/dist-cjs/commands/ListProjectsCommand.js +45 -0
- package/dist-cjs/commands/ListSourceRepositoriesCommand.js +45 -0
- package/dist-cjs/commands/ListSourceRepositoryBranchesCommand.js +45 -0
- package/dist-cjs/commands/ListSpacesCommand.js +45 -0
- package/dist-cjs/commands/StartDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/StartDevEnvironmentSessionCommand.js +45 -0
- package/dist-cjs/commands/StopDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/UpdateDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/VerifySessionCommand.js +45 -0
- package/dist-cjs/commands/index.js +27 -0
- package/dist-cjs/endpoint/EndpointParameters.js +11 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +214 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/CodeCatalystServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +416 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccessTokensPaginator.js +36 -0
- package/dist-cjs/pagination/ListDevEnvironmentsPaginator.js +36 -0
- package/dist-cjs/pagination/ListEventLogsPaginator.js +36 -0
- package/dist-cjs/pagination/ListProjectsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSourceRepositoriesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSourceRepositoryBranchesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSpacesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2372 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +46 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/CodeCatalyst.js +363 -0
- package/dist-es/CodeCatalystClient.js +36 -0
- package/dist-es/commands/CreateAccessTokenCommand.js +41 -0
- package/dist-es/commands/CreateDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/CreateProjectCommand.js +41 -0
- package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +41 -0
- package/dist-es/commands/DeleteAccessTokenCommand.js +41 -0
- package/dist-es/commands/DeleteDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/GetDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/GetProjectCommand.js +41 -0
- package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +41 -0
- package/dist-es/commands/GetSpaceCommand.js +41 -0
- package/dist-es/commands/GetSubscriptionCommand.js +41 -0
- package/dist-es/commands/GetUserDetailsCommand.js +41 -0
- package/dist-es/commands/ListAccessTokensCommand.js +41 -0
- package/dist-es/commands/ListDevEnvironmentsCommand.js +41 -0
- package/dist-es/commands/ListEventLogsCommand.js +41 -0
- package/dist-es/commands/ListProjectsCommand.js +41 -0
- package/dist-es/commands/ListSourceRepositoriesCommand.js +41 -0
- package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +41 -0
- package/dist-es/commands/ListSpacesCommand.js +41 -0
- package/dist-es/commands/StartDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/StartDevEnvironmentSessionCommand.js +41 -0
- package/dist-es/commands/StopDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/UpdateDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/VerifySessionCommand.js +41 -0
- package/dist-es/commands/index.js +24 -0
- package/dist-es/endpoint/EndpointParameters.js +7 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +211 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/CodeCatalystServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +337 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccessTokensPaginator.js +32 -0
- package/dist-es/pagination/ListDevEnvironmentsPaginator.js +32 -0
- package/dist-es/pagination/ListEventLogsPaginator.js +32 -0
- package/dist-es/pagination/ListProjectsPaginator.js +32 -0
- package/dist-es/pagination/ListSourceRepositoriesPaginator.js +32 -0
- package/dist-es/pagination/ListSourceRepositoryBranchesPaginator.js +32 -0
- package/dist-es/pagination/ListSpacesPaginator.js +31 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +2321 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +41 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/CodeCatalyst.d.ts +291 -0
- package/dist-types/CodeCatalystClient.d.ts +263 -0
- package/dist-types/commands/CreateAccessTokenCommand.d.ts +40 -0
- package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +38 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +37 -0
- package/dist-types/commands/CreateSourceRepositoryBranchCommand.d.ts +40 -0
- package/dist-types/commands/DeleteAccessTokenCommand.d.ts +37 -0
- package/dist-types/commands/DeleteDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/GetDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/GetProjectCommand.d.ts +37 -0
- package/dist-types/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +38 -0
- package/dist-types/commands/GetSpaceCommand.d.ts +37 -0
- package/dist-types/commands/GetSubscriptionCommand.d.ts +38 -0
- package/dist-types/commands/GetUserDetailsCommand.d.ts +37 -0
- package/dist-types/commands/ListAccessTokensCommand.d.ts +37 -0
- package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +37 -0
- package/dist-types/commands/ListEventLogsCommand.d.ts +37 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +37 -0
- package/dist-types/commands/ListSourceRepositoriesCommand.d.ts +37 -0
- package/dist-types/commands/ListSourceRepositoryBranchesCommand.d.ts +37 -0
- package/dist-types/commands/ListSpacesCommand.d.ts +37 -0
- package/dist-types/commands/StartDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/StartDevEnvironmentSessionCommand.d.ts +37 -0
- package/dist-types/commands/StopDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/UpdateDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/VerifySessionCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +24 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +17 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/CodeCatalystServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1601 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccessTokensPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDevEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEventLogsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProjectsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSourceRepositoriesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSourceRepositoryBranchesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSpacesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +74 -0
- package/dist-types/runtimeConfig.browser.d.ts +36 -0
- package/dist-types/runtimeConfig.d.ts +36 -0
- package/dist-types/runtimeConfig.native.d.ts +35 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/CodeCatalyst.d.ts +412 -0
- package/dist-types/ts3.4/CodeCatalystClient.d.ts +253 -0
- package/dist-types/ts3.4/commands/CreateAccessTokenCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateDevEnvironmentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateSourceRepositoryBranchCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAccessTokenCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDevEnvironmentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDevEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetUserDetailsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListAccessTokensCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListDevEnvironmentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventLogsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListSourceRepositoriesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSourceRepositoryBranchesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartDevEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartDevEnvironmentSessionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StopDevEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateDevEnvironmentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/VerifySessionCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +24 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/CodeCatalystServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +662 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListAccessTokensPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDevEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventLogsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSourceRepositoriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSourceRepositoryBranchesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +293 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +68 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +57 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +100 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartDevEnvironmentCommand = 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_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class StartDevEnvironmentCommand 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
|
+
};
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartDevEnvironmentCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "CodeCatalystClient";
|
|
27
|
+
const commandName = "StartDevEnvironmentCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: models_0_1.StartDevEnvironmentRequestFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: models_0_1.StartDevEnvironmentResponseFilterSensitiveLog,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1StartDevEnvironmentCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1StartDevEnvironmentCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.StartDevEnvironmentCommand = StartDevEnvironmentCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartDevEnvironmentSessionCommand = 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_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class StartDevEnvironmentSessionCommand 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
|
+
};
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartDevEnvironmentSessionCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "CodeCatalystClient";
|
|
27
|
+
const commandName = "StartDevEnvironmentSessionCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: models_0_1.StartDevEnvironmentSessionRequestFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: models_0_1.StartDevEnvironmentSessionResponseFilterSensitiveLog,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1StartDevEnvironmentSessionCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1StartDevEnvironmentSessionCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.StartDevEnvironmentSessionCommand = StartDevEnvironmentSessionCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopDevEnvironmentCommand = 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_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class StopDevEnvironmentCommand 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
|
+
};
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopDevEnvironmentCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "CodeCatalystClient";
|
|
27
|
+
const commandName = "StopDevEnvironmentCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: models_0_1.StopDevEnvironmentRequestFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: models_0_1.StopDevEnvironmentResponseFilterSensitiveLog,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1StopDevEnvironmentCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1StopDevEnvironmentCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.StopDevEnvironmentCommand = StopDevEnvironmentCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateDevEnvironmentCommand = 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_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateDevEnvironmentCommand 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
|
+
};
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDevEnvironmentCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "CodeCatalystClient";
|
|
27
|
+
const commandName = "UpdateDevEnvironmentCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: models_0_1.UpdateDevEnvironmentRequestFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: models_0_1.UpdateDevEnvironmentResponseFilterSensitiveLog,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateDevEnvironmentCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateDevEnvironmentCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.UpdateDevEnvironmentCommand = UpdateDevEnvironmentCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VerifySessionCommand = 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_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class VerifySessionCommand 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
|
+
};
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, VerifySessionCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "CodeCatalystClient";
|
|
27
|
+
const commandName = "VerifySessionCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (input) => input,
|
|
33
|
+
outputFilterSensitiveLog: models_0_1.VerifySessionResponseFilterSensitiveLog,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1VerifySessionCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1VerifySessionCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.VerifySessionCommand = VerifySessionCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateAccessTokenCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateDevEnvironmentCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateProjectCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateSourceRepositoryBranchCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DeleteAccessTokenCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeleteDevEnvironmentCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetDevEnvironmentCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./GetProjectCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetSourceRepositoryCloneUrlsCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetSpaceCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./GetSubscriptionCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetUserDetailsCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ListAccessTokensCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListDevEnvironmentsCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ListEventLogsCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListProjectsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListSourceRepositoriesCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListSourceRepositoryBranchesCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListSpacesCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./StartDevEnvironmentCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./StartDevEnvironmentSessionCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./StopDevEnvironmentCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./UpdateDevEnvironmentCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./VerifySessionCommand"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
8
|
+
defaultSigningName: "codecatalyst",
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
exports.ruleSet = {
|
|
5
|
+
version: "1.3",
|
|
6
|
+
parameters: {
|
|
7
|
+
UseFIPS: {
|
|
8
|
+
builtIn: "AWS::UseFIPS",
|
|
9
|
+
required: true,
|
|
10
|
+
default: false,
|
|
11
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
12
|
+
type: "Boolean",
|
|
13
|
+
},
|
|
14
|
+
Region: {
|
|
15
|
+
builtIn: "AWS::Region",
|
|
16
|
+
required: false,
|
|
17
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
18
|
+
type: "String",
|
|
19
|
+
},
|
|
20
|
+
Endpoint: {
|
|
21
|
+
builtIn: "SDK::Endpoint",
|
|
22
|
+
required: false,
|
|
23
|
+
documentation: "Override the endpoint used to send this request",
|
|
24
|
+
type: "String",
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
rules: [
|
|
28
|
+
{
|
|
29
|
+
conditions: [],
|
|
30
|
+
type: "tree",
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "isSet",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Endpoint",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
endpoint: {
|
|
44
|
+
url: {
|
|
45
|
+
ref: "Endpoint",
|
|
46
|
+
},
|
|
47
|
+
properties: {},
|
|
48
|
+
headers: {},
|
|
49
|
+
},
|
|
50
|
+
type: "endpoint",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
conditions: [
|
|
54
|
+
{
|
|
55
|
+
fn: "not",
|
|
56
|
+
argv: [
|
|
57
|
+
{
|
|
58
|
+
fn: "isSet",
|
|
59
|
+
argv: [
|
|
60
|
+
{
|
|
61
|
+
ref: "Region",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
fn: "aws.partition",
|
|
69
|
+
argv: ["us-west-2"],
|
|
70
|
+
assign: "PartitionResult",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
type: "tree",
|
|
74
|
+
rules: [
|
|
75
|
+
{
|
|
76
|
+
conditions: [
|
|
77
|
+
{
|
|
78
|
+
fn: "booleanEquals",
|
|
79
|
+
argv: [
|
|
80
|
+
{
|
|
81
|
+
ref: "UseFIPS",
|
|
82
|
+
},
|
|
83
|
+
true,
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
type: "tree",
|
|
88
|
+
rules: [
|
|
89
|
+
{
|
|
90
|
+
conditions: [
|
|
91
|
+
{
|
|
92
|
+
fn: "booleanEquals",
|
|
93
|
+
argv: [
|
|
94
|
+
{
|
|
95
|
+
fn: "getAttr",
|
|
96
|
+
argv: [
|
|
97
|
+
{
|
|
98
|
+
ref: "PartitionResult",
|
|
99
|
+
},
|
|
100
|
+
"supportsFIPS",
|
|
101
|
+
],
|
|
102
|
+
},
|
|
103
|
+
false,
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
error: "Partition does not support FIPS.",
|
|
108
|
+
type: "error",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
conditions: [],
|
|
112
|
+
endpoint: {
|
|
113
|
+
url: "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",
|
|
114
|
+
properties: {},
|
|
115
|
+
headers: {},
|
|
116
|
+
},
|
|
117
|
+
type: "endpoint",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
conditions: [],
|
|
123
|
+
endpoint: {
|
|
124
|
+
url: "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",
|
|
125
|
+
properties: {},
|
|
126
|
+
headers: {},
|
|
127
|
+
},
|
|
128
|
+
type: "endpoint",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
conditions: [
|
|
134
|
+
{
|
|
135
|
+
fn: "isSet",
|
|
136
|
+
argv: [
|
|
137
|
+
{
|
|
138
|
+
ref: "Region",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
fn: "aws.partition",
|
|
144
|
+
argv: [
|
|
145
|
+
{
|
|
146
|
+
ref: "Region",
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
assign: "PartitionResult",
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
type: "tree",
|
|
153
|
+
rules: [
|
|
154
|
+
{
|
|
155
|
+
conditions: [
|
|
156
|
+
{
|
|
157
|
+
fn: "booleanEquals",
|
|
158
|
+
argv: [
|
|
159
|
+
{
|
|
160
|
+
ref: "UseFIPS",
|
|
161
|
+
},
|
|
162
|
+
true,
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
type: "tree",
|
|
167
|
+
rules: [
|
|
168
|
+
{
|
|
169
|
+
conditions: [
|
|
170
|
+
{
|
|
171
|
+
fn: "booleanEquals",
|
|
172
|
+
argv: [
|
|
173
|
+
{
|
|
174
|
+
fn: "getAttr",
|
|
175
|
+
argv: [
|
|
176
|
+
{
|
|
177
|
+
ref: "PartitionResult",
|
|
178
|
+
},
|
|
179
|
+
"supportsFIPS",
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
|
+
false,
|
|
183
|
+
],
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
error: "Partition does not support FIPS.",
|
|
187
|
+
type: "error",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
conditions: [],
|
|
191
|
+
endpoint: {
|
|
192
|
+
url: "https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",
|
|
193
|
+
properties: {},
|
|
194
|
+
headers: {},
|
|
195
|
+
},
|
|
196
|
+
type: "endpoint",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
conditions: [],
|
|
202
|
+
endpoint: {
|
|
203
|
+
url: "https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",
|
|
204
|
+
properties: {},
|
|
205
|
+
headers: {},
|
|
206
|
+
},
|
|
207
|
+
type: "endpoint",
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeCatalystServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./CodeCatalyst"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CodeCatalystClient"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var CodeCatalystServiceException_1 = require("./models/CodeCatalystServiceException");
|
|
11
|
+
Object.defineProperty(exports, "CodeCatalystServiceException", { enumerable: true, get: function () { return CodeCatalystServiceException_1.CodeCatalystServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeCatalystServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CodeCatalystServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CodeCatalystServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CodeCatalystServiceException = CodeCatalystServiceException;
|