@aws-sdk/client-codestar-connections 3.477.0 → 3.481.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/commands/CreateConnectionCommand.js +18 -41
- package/dist-cjs/commands/CreateHostCommand.js +18 -41
- package/dist-cjs/commands/CreateRepositoryLinkCommand.js +18 -41
- package/dist-cjs/commands/CreateSyncConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteConnectionCommand.js +18 -41
- package/dist-cjs/commands/DeleteHostCommand.js +18 -41
- package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +18 -41
- package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetConnectionCommand.js +18 -41
- package/dist-cjs/commands/GetHostCommand.js +18 -41
- package/dist-cjs/commands/GetRepositoryLinkCommand.js +18 -41
- package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +18 -41
- package/dist-cjs/commands/GetResourceSyncStatusCommand.js +18 -41
- package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +18 -41
- package/dist-cjs/commands/GetSyncConfigurationCommand.js +18 -41
- package/dist-cjs/commands/ListConnectionsCommand.js +18 -41
- package/dist-cjs/commands/ListHostsCommand.js +18 -41
- package/dist-cjs/commands/ListRepositoryLinksCommand.js +18 -41
- package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +18 -41
- package/dist-cjs/commands/ListSyncConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateHostCommand.js +18 -41
- package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +18 -41
- package/dist-cjs/commands/UpdateSyncBlockerCommand.js +18 -41
- package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListConnectionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListHostsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +2 -24
- package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +2 -24
- package/dist-es/commands/CreateConnectionCommand.js +18 -41
- package/dist-es/commands/CreateHostCommand.js +18 -41
- package/dist-es/commands/CreateRepositoryLinkCommand.js +18 -41
- package/dist-es/commands/CreateSyncConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteConnectionCommand.js +18 -41
- package/dist-es/commands/DeleteHostCommand.js +18 -41
- package/dist-es/commands/DeleteRepositoryLinkCommand.js +18 -41
- package/dist-es/commands/DeleteSyncConfigurationCommand.js +18 -41
- package/dist-es/commands/GetConnectionCommand.js +18 -41
- package/dist-es/commands/GetHostCommand.js +18 -41
- package/dist-es/commands/GetRepositoryLinkCommand.js +18 -41
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +18 -41
- package/dist-es/commands/GetResourceSyncStatusCommand.js +18 -41
- package/dist-es/commands/GetSyncBlockerSummaryCommand.js +18 -41
- package/dist-es/commands/GetSyncConfigurationCommand.js +18 -41
- package/dist-es/commands/ListConnectionsCommand.js +18 -41
- package/dist-es/commands/ListHostsCommand.js +18 -41
- package/dist-es/commands/ListRepositoryLinksCommand.js +18 -41
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +18 -41
- package/dist-es/commands/ListSyncConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateHostCommand.js +18 -41
- package/dist-es/commands/UpdateRepositoryLinkCommand.js +18 -41
- package/dist-es/commands/UpdateSyncBlockerCommand.js +18 -41
- package/dist-es/commands/UpdateSyncConfigurationCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListConnectionsPaginator.js +2 -23
- package/dist-es/pagination/ListHostsPaginator.js +2 -23
- package/dist-es/pagination/ListRepositoryLinksPaginator.js +2 -23
- package/dist-es/pagination/ListSyncConfigurationsPaginator.js +2 -23
- package/dist-types/commands/CreateConnectionCommand.d.ts +6 -21
- package/dist-types/commands/CreateHostCommand.d.ts +6 -21
- package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +6 -21
- package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteHostCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetConnectionCommand.d.ts +6 -21
- package/dist-types/commands/GetHostCommand.d.ts +6 -21
- package/dist-types/commands/GetRepositoryLinkCommand.d.ts +6 -21
- package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +6 -21
- package/dist-types/commands/GetSyncConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/ListConnectionsCommand.d.ts +6 -21
- package/dist-types/commands/ListHostsCommand.d.ts +6 -21
- package/dist-types/commands/ListRepositoryLinksCommand.d.ts +6 -21
- package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +6 -21
- package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateHostCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHostsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetHostCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHostsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConnections = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodeStarConnectionsClient_1 = require("../CodeStarConnectionsClient");
|
|
5
6
|
const ListConnectionsCommand_1 = require("../commands/ListConnectionsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConnectionsCommand_1.ListConnectionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConnections(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodeStarConnectionsClient_1.CodeStarConnectionsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListConnections = paginateListConnections;
|
|
7
|
+
exports.paginateListConnections = (0, core_1.createPaginator)(CodeStarConnectionsClient_1.CodeStarConnectionsClient, ListConnectionsCommand_1.ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListHosts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodeStarConnectionsClient_1 = require("../CodeStarConnectionsClient");
|
|
5
6
|
const ListHostsCommand_1 = require("../commands/ListHostsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListHostsCommand_1.ListHostsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListHosts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodeStarConnectionsClient_1.CodeStarConnectionsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListHosts = paginateListHosts;
|
|
7
|
+
exports.paginateListHosts = (0, core_1.createPaginator)(CodeStarConnectionsClient_1.CodeStarConnectionsClient, ListHostsCommand_1.ListHostsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRepositoryLinks = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodeStarConnectionsClient_1 = require("../CodeStarConnectionsClient");
|
|
5
6
|
const ListRepositoryLinksCommand_1 = require("../commands/ListRepositoryLinksCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRepositoryLinksCommand_1.ListRepositoryLinksCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRepositoryLinks(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodeStarConnectionsClient_1.CodeStarConnectionsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListRepositoryLinks = paginateListRepositoryLinks;
|
|
7
|
+
exports.paginateListRepositoryLinks = (0, core_1.createPaginator)(CodeStarConnectionsClient_1.CodeStarConnectionsClient, ListRepositoryLinksCommand_1.ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSyncConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodeStarConnectionsClient_1 = require("../CodeStarConnectionsClient");
|
|
5
6
|
const ListSyncConfigurationsCommand_1 = require("../commands/ListSyncConfigurationsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSyncConfigurationsCommand_1.ListSyncConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSyncConfigurations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodeStarConnectionsClient_1.CodeStarConnectionsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSyncConfigurations = paginateListSyncConfigurations;
|
|
7
|
+
exports.paginateListSyncConfigurations = (0, core_1.createPaginator)(CodeStarConnectionsClient_1.CodeStarConnectionsClient, ListSyncConfigurationsCommand_1.ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateConnectionCommand, se_CreateConnectionCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateConnectionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeStarConnectionsClient";
|
|
26
|
-
const commandName = "CreateConnectionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeStar_connections_20191201",
|
|
35
|
-
operation: "CreateConnection",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateConnectionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateConnectionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateConnectionCommand 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("CodeStar_connections_20191201", "CreateConnection", {})
|
|
19
|
+
.n("CodeStarConnectionsClient", "CreateConnectionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateConnectionCommand)
|
|
22
|
+
.de(de_CreateConnectionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateHostCommand, se_CreateHostCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateHostCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeStarConnectionsClient";
|
|
26
|
-
const commandName = "CreateHostCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeStar_connections_20191201",
|
|
35
|
-
operation: "CreateHost",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateHostCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateHostCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateHostCommand 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("CodeStar_connections_20191201", "CreateHost", {})
|
|
19
|
+
.n("CodeStarConnectionsClient", "CreateHostCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateHostCommand)
|
|
22
|
+
.de(de_CreateHostCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateRepositoryLinkCommand, se_CreateRepositoryLinkCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateRepositoryLinkCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeStarConnectionsClient";
|
|
26
|
-
const commandName = "CreateRepositoryLinkCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeStar_connections_20191201",
|
|
35
|
-
operation: "CreateRepositoryLink",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateRepositoryLinkCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateRepositoryLinkCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateRepositoryLinkCommand 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("CodeStar_connections_20191201", "CreateRepositoryLink", {})
|
|
19
|
+
.n("CodeStarConnectionsClient", "CreateRepositoryLinkCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateRepositoryLinkCommand)
|
|
22
|
+
.de(de_CreateRepositoryLinkCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateSyncConfigurationCommand, se_CreateSyncConfigurationCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateSyncConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeStarConnectionsClient";
|
|
26
|
-
const commandName = "CreateSyncConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeStar_connections_20191201",
|
|
35
|
-
operation: "CreateSyncConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateSyncConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateSyncConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateSyncConfigurationCommand 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("CodeStar_connections_20191201", "CreateSyncConfiguration", {})
|
|
19
|
+
.n("CodeStarConnectionsClient", "CreateSyncConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateSyncConfigurationCommand)
|
|
22
|
+
.de(de_CreateSyncConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteConnectionCommand, se_DeleteConnectionCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteConnectionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeStarConnectionsClient";
|
|
26
|
-
const commandName = "DeleteConnectionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeStar_connections_20191201",
|
|
35
|
-
operation: "DeleteConnection",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteConnectionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteConnectionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteConnectionCommand 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("CodeStar_connections_20191201", "DeleteConnection", {})
|
|
19
|
+
.n("CodeStarConnectionsClient", "DeleteConnectionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteConnectionCommand)
|
|
22
|
+
.de(de_DeleteConnectionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteHostCommand, se_DeleteHostCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteHostCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeStarConnectionsClient";
|
|
26
|
-
const commandName = "DeleteHostCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeStar_connections_20191201",
|
|
35
|
-
operation: "DeleteHost",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteHostCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteHostCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteHostCommand 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("CodeStar_connections_20191201", "DeleteHost", {})
|
|
19
|
+
.n("CodeStarConnectionsClient", "DeleteHostCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteHostCommand)
|
|
22
|
+
.de(de_DeleteHostCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteRepositoryLinkCommand, se_DeleteRepositoryLinkCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteRepositoryLinkCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeStarConnectionsClient";
|
|
26
|
-
const commandName = "DeleteRepositoryLinkCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeStar_connections_20191201",
|
|
35
|
-
operation: "DeleteRepositoryLink",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteRepositoryLinkCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteRepositoryLinkCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteRepositoryLinkCommand 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("CodeStar_connections_20191201", "DeleteRepositoryLink", {})
|
|
19
|
+
.n("CodeStarConnectionsClient", "DeleteRepositoryLinkCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteRepositoryLinkCommand)
|
|
22
|
+
.de(de_DeleteRepositoryLinkCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|