@aws-sdk/client-codestar-connections 3.927.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 +888 -1106
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CodeStarConnectionsClient.js +2 -0
- package/dist-es/commands/CreateConnectionCommand.js +3 -9
- package/dist-es/commands/CreateHostCommand.js +3 -9
- package/dist-es/commands/CreateRepositoryLinkCommand.js +3 -9
- package/dist-es/commands/CreateSyncConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteHostCommand.js +3 -9
- package/dist-es/commands/DeleteRepositoryLinkCommand.js +3 -9
- package/dist-es/commands/DeleteSyncConfigurationCommand.js +3 -9
- package/dist-es/commands/GetConnectionCommand.js +3 -9
- package/dist-es/commands/GetHostCommand.js +3 -9
- package/dist-es/commands/GetRepositoryLinkCommand.js +3 -9
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +3 -9
- package/dist-es/commands/GetResourceSyncStatusCommand.js +3 -9
- package/dist-es/commands/GetSyncBlockerSummaryCommand.js +3 -9
- package/dist-es/commands/GetSyncConfigurationCommand.js +3 -9
- package/dist-es/commands/ListConnectionsCommand.js +3 -9
- package/dist-es/commands/ListHostsCommand.js +3 -9
- package/dist-es/commands/ListRepositoryLinksCommand.js +3 -9
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListSyncConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateHostCommand.js +3 -9
- package/dist-es/commands/UpdateRepositoryLinkCommand.js +3 -9
- package/dist-es/commands/UpdateSyncBlockerCommand.js +3 -9
- package/dist-es/commands/UpdateSyncConfigurationCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +785 -0
- package/dist-types/CodeStarConnectionsClient.d.ts +10 -1
- 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 +129 -0
- package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +4 -0
- 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 +134 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_0.js +0 -870
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -245
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -329
|
@@ -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 { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand 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("CodeStar_connections_20191201", "UntagResource", {})
|
|
17
13
|
.n("CodeStarConnectionsClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
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 { UpdateHost } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateHostCommand 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("CodeStar_connections_20191201", "UpdateHost", {})
|
|
17
13
|
.n("CodeStarConnectionsClient", "UpdateHostCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateHostCommand)
|
|
20
|
-
.de(de_UpdateHostCommand)
|
|
14
|
+
.sc(UpdateHost)
|
|
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 { UpdateRepositoryLink } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRepositoryLinkCommand 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("CodeStar_connections_20191201", "UpdateRepositoryLink", {})
|
|
17
13
|
.n("CodeStarConnectionsClient", "UpdateRepositoryLinkCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRepositoryLinkCommand)
|
|
20
|
-
.de(de_UpdateRepositoryLinkCommand)
|
|
14
|
+
.sc(UpdateRepositoryLink)
|
|
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 { UpdateSyncBlocker } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSyncBlockerCommand 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("CodeStar_connections_20191201", "UpdateSyncBlocker", {})
|
|
17
13
|
.n("CodeStarConnectionsClient", "UpdateSyncBlockerCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSyncBlockerCommand)
|
|
20
|
-
.de(de_UpdateSyncBlockerCommand)
|
|
14
|
+
.sc(UpdateSyncBlocker)
|
|
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 { UpdateSyncConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSyncConfigurationCommand 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("CodeStar_connections_20191201", "UpdateSyncConfiguration", {})
|
|
17
13
|
.n("CodeStarConnectionsClient", "UpdateSyncConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSyncConfigurationCommand)
|
|
20
|
-
.de(de_UpdateSyncConfigurationCommand)
|
|
14
|
+
.sc(UpdateSyncConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_0Protocol } 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_0Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.codestarconnections",
|
|
29
|
+
serviceTarget: "CodeStar_connections_20191201",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "CodeStar connections",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|