@aws-sdk/client-codeconnections 3.545.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 +500 -0
- package/dist-cjs/CodeConnections.js +65 -0
- package/dist-cjs/CodeConnectionsClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateConnectionCommand.js +28 -0
- package/dist-cjs/commands/CreateHostCommand.js +28 -0
- package/dist-cjs/commands/CreateRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/CreateSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/DeleteConnectionCommand.js +28 -0
- package/dist-cjs/commands/DeleteHostCommand.js +28 -0
- package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/GetConnectionCommand.js +28 -0
- package/dist-cjs/commands/GetHostCommand.js +28 -0
- package/dist-cjs/commands/GetRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +28 -0
- package/dist-cjs/commands/GetResourceSyncStatusCommand.js +28 -0
- package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +28 -0
- package/dist-cjs/commands/GetSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/ListConnectionsCommand.js +28 -0
- package/dist-cjs/commands/ListHostsCommand.js +28 -0
- package/dist-cjs/commands/ListRepositoryLinksCommand.js +28 -0
- package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +28 -0
- package/dist-cjs/commands/ListSyncConfigurationsCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/UpdateHostCommand.js +28 -0
- package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/UpdateSyncBlockerCommand.js +28 -0
- package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/CodeConnectionsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +285 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListConnectionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListHostsPaginator.js +7 -0
- package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +7 -0
- package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +928 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/CodeConnections.js +61 -0
- package/dist-es/CodeConnectionsClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateConnectionCommand.js +24 -0
- package/dist-es/commands/CreateHostCommand.js +24 -0
- package/dist-es/commands/CreateRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/CreateSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteConnectionCommand.js +24 -0
- package/dist-es/commands/DeleteHostCommand.js +24 -0
- package/dist-es/commands/DeleteRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/DeleteSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/GetConnectionCommand.js +24 -0
- package/dist-es/commands/GetHostCommand.js +24 -0
- package/dist-es/commands/GetRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +24 -0
- package/dist-es/commands/GetResourceSyncStatusCommand.js +24 -0
- package/dist-es/commands/GetSyncBlockerSummaryCommand.js +24 -0
- package/dist-es/commands/GetSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/ListConnectionsCommand.js +24 -0
- package/dist-es/commands/ListHostsCommand.js +24 -0
- package/dist-es/commands/ListRepositoryLinksCommand.js +24 -0
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +24 -0
- package/dist-es/commands/ListSyncConfigurationsCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/UpdateHostCommand.js +24 -0
- package/dist-es/commands/UpdateRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/UpdateSyncBlockerCommand.js +24 -0
- package/dist-es/commands/UpdateSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/CodeConnectionsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +265 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListHostsPaginator.js +4 -0
- package/dist-es/pagination/ListRepositoryLinksPaginator.js +4 -0
- package/dist-es/pagination/ListSyncConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_0.js +870 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/CodeConnections.d.ts +280 -0
- package/dist-types/CodeConnectionsClient.d.ts +276 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +84 -0
- package/dist-types/commands/CreateHostCommand.d.ts +93 -0
- package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +97 -0
- package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +60 -0
- package/dist-types/commands/DeleteHostCommand.d.ts +66 -0
- package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +81 -0
- package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +76 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +72 -0
- package/dist-types/commands/GetHostCommand.d.ts +79 -0
- package/dist-types/commands/GetRepositoryLinkCommand.d.ts +86 -0
- package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +88 -0
- package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +141 -0
- package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +95 -0
- package/dist-types/commands/GetSyncConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +75 -0
- package/dist-types/commands/ListHostsCommand.d.ts +80 -0
- package/dist-types/commands/ListRepositoryLinksCommand.d.ts +89 -0
- package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +83 -0
- package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +92 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +67 -0
- package/dist-types/commands/TagResourceCommand.d.ts +70 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +63 -0
- package/dist-types/commands/UpdateHostCommand.d.ts +80 -0
- package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +92 -0
- package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +99 -0
- package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +92 -0
- package/dist-types/models/CodeConnectionsServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1735 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListHostsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +245 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/CodeConnections.d.ts +469 -0
- package/dist-types/ts3.4/CodeConnectionsClient.d.ts +283 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetHostCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -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/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/CodeConnectionsServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +531 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListHostsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +329 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetRepositorySyncStatusCommand, se_GetRepositorySyncStatusCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetRepositorySyncStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "GetRepositorySyncStatus", {})
|
|
19
|
+
.n("CodeConnectionsClient", "GetRepositorySyncStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetRepositorySyncStatusCommand)
|
|
22
|
+
.de(de_GetRepositorySyncStatusCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetResourceSyncStatusCommand, se_GetResourceSyncStatusCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetResourceSyncStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "GetResourceSyncStatus", {})
|
|
19
|
+
.n("CodeConnectionsClient", "GetResourceSyncStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetResourceSyncStatusCommand)
|
|
22
|
+
.de(de_GetResourceSyncStatusCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetSyncBlockerSummaryCommand, se_GetSyncBlockerSummaryCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetSyncBlockerSummaryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "GetSyncBlockerSummary", {})
|
|
19
|
+
.n("CodeConnectionsClient", "GetSyncBlockerSummaryCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetSyncBlockerSummaryCommand)
|
|
22
|
+
.de(de_GetSyncBlockerSummaryCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetSyncConfigurationCommand, se_GetSyncConfigurationCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetSyncConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "GetSyncConfiguration", {})
|
|
19
|
+
.n("CodeConnectionsClient", "GetSyncConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetSyncConfigurationCommand)
|
|
22
|
+
.de(de_GetSyncConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListConnectionsCommand, se_ListConnectionsCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListConnectionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "ListConnections", {})
|
|
19
|
+
.n("CodeConnectionsClient", "ListConnectionsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListConnectionsCommand)
|
|
22
|
+
.de(de_ListConnectionsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListHostsCommand, se_ListHostsCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListHostsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "ListHosts", {})
|
|
19
|
+
.n("CodeConnectionsClient", "ListHostsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListHostsCommand)
|
|
22
|
+
.de(de_ListHostsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListRepositoryLinksCommand, se_ListRepositoryLinksCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListRepositoryLinksCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "ListRepositoryLinks", {})
|
|
19
|
+
.n("CodeConnectionsClient", "ListRepositoryLinksCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRepositoryLinksCommand)
|
|
22
|
+
.de(de_ListRepositoryLinksCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListRepositorySyncDefinitionsCommand, se_ListRepositorySyncDefinitionsCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListRepositorySyncDefinitionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "ListRepositorySyncDefinitions", {})
|
|
19
|
+
.n("CodeConnectionsClient", "ListRepositorySyncDefinitionsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRepositorySyncDefinitionsCommand)
|
|
22
|
+
.de(de_ListRepositorySyncDefinitionsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListSyncConfigurationsCommand, se_ListSyncConfigurationsCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListSyncConfigurationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "ListSyncConfigurations", {})
|
|
19
|
+
.n("CodeConnectionsClient", "ListSyncConfigurationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListSyncConfigurationsCommand)
|
|
22
|
+
.de(de_ListSyncConfigurationsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "ListTagsForResource", {})
|
|
19
|
+
.n("CodeConnectionsClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "TagResource", {})
|
|
19
|
+
.n("CodeConnectionsClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "UntagResource", {})
|
|
19
|
+
.n("CodeConnectionsClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateHostCommand, se_UpdateHostCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateHostCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "UpdateHost", {})
|
|
19
|
+
.n("CodeConnectionsClient", "UpdateHostCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateHostCommand)
|
|
22
|
+
.de(de_UpdateHostCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateRepositoryLinkCommand, se_UpdateRepositoryLinkCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateRepositoryLinkCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "UpdateRepositoryLink", {})
|
|
19
|
+
.n("CodeConnectionsClient", "UpdateRepositoryLinkCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRepositoryLinkCommand)
|
|
22
|
+
.de(de_UpdateRepositoryLinkCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateSyncBlockerCommand, se_UpdateSyncBlockerCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateSyncBlockerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "UpdateSyncBlocker", {})
|
|
19
|
+
.n("CodeConnectionsClient", "UpdateSyncBlockerCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSyncBlockerCommand)
|
|
22
|
+
.de(de_UpdateSyncBlockerCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateSyncConfigurationCommand, se_UpdateSyncConfigurationCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateSyncConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeConnections_20231201", "UpdateSyncConfiguration", {})
|
|
19
|
+
.n("CodeConnectionsClient", "UpdateSyncConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSyncConfigurationCommand)
|
|
22
|
+
.de(de_UpdateSyncConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from "./CreateConnectionCommand";
|
|
2
|
+
export * from "./CreateHostCommand";
|
|
3
|
+
export * from "./CreateRepositoryLinkCommand";
|
|
4
|
+
export * from "./CreateSyncConfigurationCommand";
|
|
5
|
+
export * from "./DeleteConnectionCommand";
|
|
6
|
+
export * from "./DeleteHostCommand";
|
|
7
|
+
export * from "./DeleteRepositoryLinkCommand";
|
|
8
|
+
export * from "./DeleteSyncConfigurationCommand";
|
|
9
|
+
export * from "./GetConnectionCommand";
|
|
10
|
+
export * from "./GetHostCommand";
|
|
11
|
+
export * from "./GetRepositoryLinkCommand";
|
|
12
|
+
export * from "./GetRepositorySyncStatusCommand";
|
|
13
|
+
export * from "./GetResourceSyncStatusCommand";
|
|
14
|
+
export * from "./GetSyncBlockerSummaryCommand";
|
|
15
|
+
export * from "./GetSyncConfigurationCommand";
|
|
16
|
+
export * from "./ListConnectionsCommand";
|
|
17
|
+
export * from "./ListHostsCommand";
|
|
18
|
+
export * from "./ListRepositoryLinksCommand";
|
|
19
|
+
export * from "./ListRepositorySyncDefinitionsCommand";
|
|
20
|
+
export * from "./ListSyncConfigurationsCommand";
|
|
21
|
+
export * from "./ListTagsForResourceCommand";
|
|
22
|
+
export * from "./TagResourceCommand";
|
|
23
|
+
export * from "./UntagResourceCommand";
|
|
24
|
+
export * from "./UpdateHostCommand";
|
|
25
|
+
export * from "./UpdateRepositoryLinkCommand";
|
|
26
|
+
export * from "./UpdateSyncBlockerCommand";
|
|
27
|
+
export * from "./UpdateSyncConfigurationCommand";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return {
|
|
3
|
+
...options,
|
|
4
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
|
+
defaultSigningName: "codeconnections",
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
|
+
import { ruleSet } from "./ruleset";
|
|
4
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
+
return resolveEndpoint(ruleSet, {
|
|
6
|
+
endpointParams: endpointParams,
|
|
7
|
+
logger: context.logger,
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://codeconnections-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://codeconnections-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://codeconnections.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://codeconnections.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class CodeConnectionsServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, CodeConnectionsServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|