@aws-sdk/client-cloud9 3.926.0 → 3.928.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 +440 -582
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/Cloud9Client.js +2 -0
- package/dist-es/commands/CreateEnvironmentEC2Command.js +3 -10
- package/dist-es/commands/CreateEnvironmentMembershipCommand.js +3 -9
- package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
- package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +3 -9
- package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +3 -9
- package/dist-es/commands/DescribeEnvironmentStatusCommand.js +3 -9
- package/dist-es/commands/DescribeEnvironmentsCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentMembershipCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -35
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +392 -0
- package/dist-types/Cloud9Client.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -32
- 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 +64 -0
- package/dist-types/ts3.4/Cloud9Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -20
- 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 +70 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -429
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -119
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -161
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_1Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.cloud9",
|
|
32
|
+
serviceTarget: "AWSCloud9WorkspaceManagementService",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Cloud9",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/Cloud9Client.js
CHANGED
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class Cloud9Client extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -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_CreateEnvironmentEC2Command, se_CreateEnvironmentEC2Command } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateEnvironmentEC2 } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateEnvironmentEC2Command 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("AWSCloud9WorkspaceManagementService", "CreateEnvironmentEC2", {})
|
|
18
13
|
.n("Cloud9Client", "CreateEnvironmentEC2Command")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateEnvironmentEC2Command)
|
|
21
|
-
.de(de_CreateEnvironmentEC2Command)
|
|
14
|
+
.sc(CreateEnvironmentEC2)
|
|
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 { CreateEnvironmentMembership } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateEnvironmentMembershipCommand 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("AWSCloud9WorkspaceManagementService", "CreateEnvironmentMembership", {})
|
|
17
13
|
.n("Cloud9Client", "CreateEnvironmentMembershipCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateEnvironmentMembershipCommand)
|
|
20
|
-
.de(de_CreateEnvironmentMembershipCommand)
|
|
14
|
+
.sc(CreateEnvironmentMembership)
|
|
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 { DeleteEnvironment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteEnvironmentCommand 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("AWSCloud9WorkspaceManagementService", "DeleteEnvironment", {})
|
|
17
13
|
.n("Cloud9Client", "DeleteEnvironmentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteEnvironmentCommand)
|
|
20
|
-
.de(de_DeleteEnvironmentCommand)
|
|
14
|
+
.sc(DeleteEnvironment)
|
|
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 { DeleteEnvironmentMembership } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteEnvironmentMembershipCommand 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("AWSCloud9WorkspaceManagementService", "DeleteEnvironmentMembership", {})
|
|
17
13
|
.n("Cloud9Client", "DeleteEnvironmentMembershipCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteEnvironmentMembershipCommand)
|
|
20
|
-
.de(de_DeleteEnvironmentMembershipCommand)
|
|
14
|
+
.sc(DeleteEnvironmentMembership)
|
|
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 { DescribeEnvironmentMemberships } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeEnvironmentMembershipsCommand 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("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentMemberships", {})
|
|
17
13
|
.n("Cloud9Client", "DescribeEnvironmentMembershipsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeEnvironmentMembershipsCommand)
|
|
20
|
-
.de(de_DescribeEnvironmentMembershipsCommand)
|
|
14
|
+
.sc(DescribeEnvironmentMemberships)
|
|
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 { DescribeEnvironmentStatus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeEnvironmentStatusCommand 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("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentStatus", {})
|
|
17
13
|
.n("Cloud9Client", "DescribeEnvironmentStatusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeEnvironmentStatusCommand)
|
|
20
|
-
.de(de_DescribeEnvironmentStatusCommand)
|
|
14
|
+
.sc(DescribeEnvironmentStatus)
|
|
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_DescribeEnvironmentsCommand, se_DescribeEnvironmentsCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { DescribeEnvironments } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeEnvironmentsCommand 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("AWSCloud9WorkspaceManagementService", "DescribeEnvironments", {})
|
|
18
13
|
.n("Cloud9Client", "DescribeEnvironmentsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeEnvironmentsCommand)
|
|
21
|
-
.de(de_DescribeEnvironmentsCommand)
|
|
14
|
+
.sc(DescribeEnvironments)
|
|
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 { ListEnvironments } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListEnvironmentsCommand 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("AWSCloud9WorkspaceManagementService", "ListEnvironments", {})
|
|
17
13
|
.n("Cloud9Client", "ListEnvironmentsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListEnvironmentsCommand)
|
|
20
|
-
.de(de_ListEnvironmentsCommand)
|
|
14
|
+
.sc(ListEnvironments)
|
|
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListTagsForResourceCommand 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("AWSCloud9WorkspaceManagementService", "ListTagsForResource", {})
|
|
18
13
|
.n("Cloud9Client", "ListTagsForResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListTagsForResourceCommand)
|
|
21
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
22
15
|
.build() {
|
|
23
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class TagResourceCommand 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("AWSCloud9WorkspaceManagementService", "TagResource", {})
|
|
18
13
|
.n("Cloud9Client", "TagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_TagResourceCommand)
|
|
21
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
22
15
|
.build() {
|
|
23
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UntagResourceCommand 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("AWSCloud9WorkspaceManagementService", "UntagResource", {})
|
|
18
13
|
.n("Cloud9Client", "UntagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UntagResourceCommand)
|
|
21
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
22
15
|
.build() {
|
|
23
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_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateEnvironment } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateEnvironmentCommand 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("AWSCloud9WorkspaceManagementService", "UpdateEnvironment", {})
|
|
18
13
|
.n("Cloud9Client", "UpdateEnvironmentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateEnvironmentCommand)
|
|
21
|
-
.de(de_UpdateEnvironmentCommand)
|
|
14
|
+
.sc(UpdateEnvironment)
|
|
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 { UpdateEnvironmentMembership } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateEnvironmentMembershipCommand 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("AWSCloud9WorkspaceManagementService", "UpdateEnvironmentMembership", {})
|
|
17
13
|
.n("Cloud9Client", "UpdateEnvironmentMembershipCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateEnvironmentMembershipCommand)
|
|
20
|
-
.de(de_UpdateEnvironmentMembershipCommand)
|
|
14
|
+
.sc(UpdateEnvironmentMembership)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { Cloud9ServiceException as __BaseException } from "./Cloud9ServiceException";
|
|
3
2
|
export class BadRequestException extends __BaseException {
|
|
4
3
|
name = "BadRequestException";
|
|
@@ -178,37 +177,3 @@ export const ManagedCredentialsAction = {
|
|
|
178
177
|
DISABLE: "DISABLE",
|
|
179
178
|
ENABLE: "ENABLE",
|
|
180
179
|
};
|
|
181
|
-
export const TagFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
184
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
185
|
-
});
|
|
186
|
-
export const CreateEnvironmentEC2RequestFilterSensitiveLog = (obj) => ({
|
|
187
|
-
...obj,
|
|
188
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
189
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
190
|
-
});
|
|
191
|
-
export const EnvironmentFilterSensitiveLog = (obj) => ({
|
|
192
|
-
...obj,
|
|
193
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
194
|
-
});
|
|
195
|
-
export const DescribeEnvironmentsResultFilterSensitiveLog = (obj) => ({
|
|
196
|
-
...obj,
|
|
197
|
-
...(obj.environments && { environments: obj.environments.map((item) => EnvironmentFilterSensitiveLog(item)) }),
|
|
198
|
-
});
|
|
199
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
200
|
-
...obj,
|
|
201
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
202
|
-
});
|
|
203
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
204
|
-
...obj,
|
|
205
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
206
|
-
});
|
|
207
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
208
|
-
...obj,
|
|
209
|
-
...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
|
|
210
|
-
});
|
|
211
|
-
export const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
212
|
-
...obj,
|
|
213
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
214
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloud9",
|
|
29
|
+
serviceTarget: "AWSCloud9WorkspaceManagementService",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Cloud9",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|