@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.
Files changed (129) hide show
  1. package/dist-cjs/commands/CreateConnectionCommand.js +18 -41
  2. package/dist-cjs/commands/CreateHostCommand.js +18 -41
  3. package/dist-cjs/commands/CreateRepositoryLinkCommand.js +18 -41
  4. package/dist-cjs/commands/CreateSyncConfigurationCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteConnectionCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteHostCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +18 -41
  9. package/dist-cjs/commands/GetConnectionCommand.js +18 -41
  10. package/dist-cjs/commands/GetHostCommand.js +18 -41
  11. package/dist-cjs/commands/GetRepositoryLinkCommand.js +18 -41
  12. package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +18 -41
  13. package/dist-cjs/commands/GetResourceSyncStatusCommand.js +18 -41
  14. package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +18 -41
  15. package/dist-cjs/commands/GetSyncConfigurationCommand.js +18 -41
  16. package/dist-cjs/commands/ListConnectionsCommand.js +18 -41
  17. package/dist-cjs/commands/ListHostsCommand.js +18 -41
  18. package/dist-cjs/commands/ListRepositoryLinksCommand.js +18 -41
  19. package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +18 -41
  20. package/dist-cjs/commands/ListSyncConfigurationsCommand.js +18 -41
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  22. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  23. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  24. package/dist-cjs/commands/UpdateHostCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +18 -41
  26. package/dist-cjs/commands/UpdateSyncBlockerCommand.js +18 -41
  27. package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +18 -41
  28. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  29. package/dist-cjs/pagination/ListConnectionsPaginator.js +2 -24
  30. package/dist-cjs/pagination/ListHostsPaginator.js +2 -24
  31. package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +2 -24
  32. package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +2 -24
  33. package/dist-es/commands/CreateConnectionCommand.js +18 -41
  34. package/dist-es/commands/CreateHostCommand.js +18 -41
  35. package/dist-es/commands/CreateRepositoryLinkCommand.js +18 -41
  36. package/dist-es/commands/CreateSyncConfigurationCommand.js +18 -41
  37. package/dist-es/commands/DeleteConnectionCommand.js +18 -41
  38. package/dist-es/commands/DeleteHostCommand.js +18 -41
  39. package/dist-es/commands/DeleteRepositoryLinkCommand.js +18 -41
  40. package/dist-es/commands/DeleteSyncConfigurationCommand.js +18 -41
  41. package/dist-es/commands/GetConnectionCommand.js +18 -41
  42. package/dist-es/commands/GetHostCommand.js +18 -41
  43. package/dist-es/commands/GetRepositoryLinkCommand.js +18 -41
  44. package/dist-es/commands/GetRepositorySyncStatusCommand.js +18 -41
  45. package/dist-es/commands/GetResourceSyncStatusCommand.js +18 -41
  46. package/dist-es/commands/GetSyncBlockerSummaryCommand.js +18 -41
  47. package/dist-es/commands/GetSyncConfigurationCommand.js +18 -41
  48. package/dist-es/commands/ListConnectionsCommand.js +18 -41
  49. package/dist-es/commands/ListHostsCommand.js +18 -41
  50. package/dist-es/commands/ListRepositoryLinksCommand.js +18 -41
  51. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +18 -41
  52. package/dist-es/commands/ListSyncConfigurationsCommand.js +18 -41
  53. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  54. package/dist-es/commands/TagResourceCommand.js +18 -41
  55. package/dist-es/commands/UntagResourceCommand.js +18 -41
  56. package/dist-es/commands/UpdateHostCommand.js +18 -41
  57. package/dist-es/commands/UpdateRepositoryLinkCommand.js +18 -41
  58. package/dist-es/commands/UpdateSyncBlockerCommand.js +18 -41
  59. package/dist-es/commands/UpdateSyncConfigurationCommand.js +18 -41
  60. package/dist-es/endpoint/EndpointParameters.js +6 -0
  61. package/dist-es/pagination/ListConnectionsPaginator.js +2 -23
  62. package/dist-es/pagination/ListHostsPaginator.js +2 -23
  63. package/dist-es/pagination/ListRepositoryLinksPaginator.js +2 -23
  64. package/dist-es/pagination/ListSyncConfigurationsPaginator.js +2 -23
  65. package/dist-types/commands/CreateConnectionCommand.d.ts +6 -21
  66. package/dist-types/commands/CreateHostCommand.d.ts +6 -21
  67. package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +6 -21
  69. package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteHostCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +6 -21
  73. package/dist-types/commands/GetConnectionCommand.d.ts +6 -21
  74. package/dist-types/commands/GetHostCommand.d.ts +6 -21
  75. package/dist-types/commands/GetRepositoryLinkCommand.d.ts +6 -21
  76. package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +6 -21
  77. package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +6 -21
  78. package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +6 -21
  79. package/dist-types/commands/GetSyncConfigurationCommand.d.ts +6 -21
  80. package/dist-types/commands/ListConnectionsCommand.d.ts +6 -21
  81. package/dist-types/commands/ListHostsCommand.d.ts +6 -21
  82. package/dist-types/commands/ListRepositoryLinksCommand.d.ts +6 -21
  83. package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +6 -21
  84. package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +6 -21
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  86. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  87. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  88. package/dist-types/commands/UpdateHostCommand.d.ts +6 -21
  89. package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +6 -21
  90. package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +6 -21
  91. package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +6 -21
  92. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  93. package/dist-types/pagination/ListConnectionsPaginator.d.ts +1 -1
  94. package/dist-types/pagination/ListHostsPaginator.d.ts +1 -1
  95. package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +1 -1
  96. package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +12 -24
  105. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/GetHostCommand.d.ts +12 -23
  107. package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +12 -24
  110. package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +12 -24
  112. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +14 -23
  113. package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +12 -24
  116. package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +12 -24
  117. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +12 -24
  122. package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  125. package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +3 -3
  126. package/dist-types/ts3.4/pagination/ListHostsPaginator.d.ts +3 -3
  127. package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +3 -3
  128. package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +3 -3
  129. package/package.json +11 -10
@@ -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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateSyncBlockerCommand, se_UpdateSyncBlockerCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class UpdateSyncBlockerCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
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
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSyncBlockerCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "UpdateSyncBlockerCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "UpdateSyncBlocker",
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_UpdateSyncBlockerCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSyncBlockerCommand(output, context);
46
- }
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("CodeStar_connections_20191201", "UpdateSyncBlocker", {})
19
+ .n("CodeStarConnectionsClient", "UpdateSyncBlockerCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSyncBlockerCommand)
22
+ .de(de_UpdateSyncBlockerCommand)
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateSyncConfigurationCommand, se_UpdateSyncConfigurationCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class UpdateSyncConfigurationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
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
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSyncConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "UpdateSyncConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "UpdateSyncConfiguration",
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_UpdateSyncConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSyncConfigurationCommand(output, context);
46
- }
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("CodeStar_connections_20191201", "UpdateSyncConfiguration", {})
19
+ .n("CodeStarConnectionsClient", "UpdateSyncConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSyncConfigurationCommand)
22
+ .de(de_UpdateSyncConfigurationCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "codestar-connections",
7
7
  };
8
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
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeStarConnectionsClient } from "../CodeStarConnectionsClient";
2
3
  import { ListConnectionsCommand, } from "../commands/ListConnectionsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListConnectionsCommand(input), ...args);
5
- };
6
- export async function* paginateListConnections(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CodeStarConnectionsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListConnections = createPaginator(CodeStarConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeStarConnectionsClient } from "../CodeStarConnectionsClient";
2
3
  import { ListHostsCommand } from "../commands/ListHostsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListHostsCommand(input), ...args);
5
- };
6
- export async function* paginateListHosts(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CodeStarConnectionsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListHosts = createPaginator(CodeStarConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeStarConnectionsClient } from "../CodeStarConnectionsClient";
2
3
  import { ListRepositoryLinksCommand, } from "../commands/ListRepositoryLinksCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRepositoryLinksCommand(input), ...args);
5
- };
6
- export async function* paginateListRepositoryLinks(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CodeStarConnectionsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListRepositoryLinks = createPaginator(CodeStarConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodeStarConnectionsClient } from "../CodeStarConnectionsClient";
2
3
  import { ListSyncConfigurationsCommand, } from "../commands/ListSyncConfigurationsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSyncConfigurationsCommand(input), ...args);
5
- };
6
- export async function* paginateListSyncConfigurations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CodeStarConnectionsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSyncConfigurations = createPaginator(CodeStarConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
4
  import { CreateConnectionInput, CreateConnectionOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateConnectionCommandInput extends CreateConnectionInput {
21
20
  */
22
21
  export interface CreateConnectionCommandOutput extends CreateConnectionOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateConnectionCommand_base: {
24
+ new (input: CreateConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so
@@ -76,23 +79,5 @@ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, _
76
79
  * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
77
80
  *
78
81
  */
79
- export declare class CreateConnectionCommand extends $Command<CreateConnectionCommandInput, CreateConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig> {
80
- readonly input: CreateConnectionCommandInput;
81
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
- /**
83
- * @public
84
- */
85
- constructor(input: CreateConnectionCommandInput);
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConnectionCommandInput, CreateConnectionCommandOutput>;
90
- /**
91
- * @internal
92
- */
93
- private serialize;
94
- /**
95
- * @internal
96
- */
97
- private deserialize;
82
+ export declare class CreateConnectionCommand extends CreateConnectionCommand_base {
98
83
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
4
  import { CreateHostInput, CreateHostOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateHostCommandInput extends CreateHostInput {
21
20
  */
22
21
  export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateHostCommand_base: {
24
+ new (input: CreateHostCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHostCommandInput, CreateHostCommandOutput, CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a resource that represents the infrastructure where a third-party provider is
@@ -85,23 +88,5 @@ export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBea
85
88
  * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
86
89
  *
87
90
  */
88
- export declare class CreateHostCommand extends $Command<CreateHostCommandInput, CreateHostCommandOutput, CodeStarConnectionsClientResolvedConfig> {
89
- readonly input: CreateHostCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: CreateHostCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHostCommandInput, CreateHostCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class CreateHostCommand extends CreateHostCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
4
  import { CreateRepositoryLinkInput, CreateRepositoryLinkOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateRepositoryLinkCommandInput extends CreateRepositoryLinkIn
21
20
  */
22
21
  export interface CreateRepositoryLinkCommandOutput extends CreateRepositoryLinkOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateRepositoryLinkCommand_base: {
24
+ new (input: CreateRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput, CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.</p>
@@ -89,23 +92,5 @@ export interface CreateRepositoryLinkCommandOutput extends CreateRepositoryLinkO
89
92
  * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
90
93
  *
91
94
  */
92
- export declare class CreateRepositoryLinkCommand extends $Command<CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput, CodeStarConnectionsClientResolvedConfig> {
93
- readonly input: CreateRepositoryLinkCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: CreateRepositoryLinkCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class CreateRepositoryLinkCommand extends CreateRepositoryLinkCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
4
  import { CreateSyncConfigurationInput, CreateSyncConfigurationOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateSyncConfigurationCommandInput extends CreateSyncConfigura
21
20
  */
22
21
  export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigurationOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateSyncConfigurationCommand_base: {
24
+ new (input: CreateSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput, CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a sync configuration which allows Amazon Web Services to sync content from a Git
@@ -89,23 +92,5 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur
89
92
  * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
90
93
  *
91
94
  */
92
- export declare class CreateSyncConfigurationCommand extends $Command<CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput, CodeStarConnectionsClientResolvedConfig> {
93
- readonly input: CreateSyncConfigurationCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: CreateSyncConfigurationCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class CreateSyncConfigurationCommand extends CreateSyncConfigurationCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
4
  import { DeleteConnectionInput, DeleteConnectionOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteConnectionCommandInput extends DeleteConnectionInput {
21
20
  */
22
21
  export interface DeleteConnectionCommandOutput extends DeleteConnectionOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteConnectionCommand_base: {
24
+ new (input: DeleteConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The connection to be deleted.</p>
@@ -52,23 +55,5 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionOutput, _
52
55
  * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
53
56
  *
54
57
  */
55
- export declare class DeleteConnectionCommand extends $Command<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig> {
56
- readonly input: DeleteConnectionCommandInput;
57
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
58
- /**
59
- * @public
60
- */
61
- constructor(input: DeleteConnectionCommandInput);
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteConnectionCommandInput, DeleteConnectionCommandOutput>;
66
- /**
67
- * @internal
68
- */
69
- private serialize;
70
- /**
71
- * @internal
72
- */
73
- private deserialize;
58
+ export declare class DeleteConnectionCommand extends DeleteConnectionCommand_base {
74
59
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
4
  import { DeleteHostInput, DeleteHostOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteHostCommandInput extends DeleteHostInput {
21
20
  */
22
21
  export interface DeleteHostCommandOutput extends DeleteHostOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteHostCommand_base: {
24
+ new (input: DeleteHostCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHostCommandInput, DeleteHostCommandOutput, CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.</p>
@@ -58,23 +61,5 @@ export interface DeleteHostCommandOutput extends DeleteHostOutput, __MetadataBea
58
61
  * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
59
62
  *
60
63
  */
61
- export declare class DeleteHostCommand extends $Command<DeleteHostCommandInput, DeleteHostCommandOutput, CodeStarConnectionsClientResolvedConfig> {
62
- readonly input: DeleteHostCommandInput;
63
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
- /**
65
- * @public
66
- */
67
- constructor(input: DeleteHostCommandInput);
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteHostCommandInput, DeleteHostCommandOutput>;
72
- /**
73
- * @internal
74
- */
75
- private serialize;
76
- /**
77
- * @internal
78
- */
79
- private deserialize;
64
+ export declare class DeleteHostCommand extends DeleteHostCommand_base {
80
65
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
4
  import { DeleteRepositoryLinkInput, DeleteRepositoryLinkOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteRepositoryLinkCommandInput extends DeleteRepositoryLinkIn
21
20
  */
22
21
  export interface DeleteRepositoryLinkCommandOutput extends DeleteRepositoryLinkOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteRepositoryLinkCommand_base: {
24
+ new (input: DeleteRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput, CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the association between your connection and a specified external Git repository.</p>
@@ -73,23 +76,5 @@ export interface DeleteRepositoryLinkCommandOutput extends DeleteRepositoryLinkO
73
76
  * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
74
77
  *
75
78
  */
76
- export declare class DeleteRepositoryLinkCommand extends $Command<DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput, CodeStarConnectionsClientResolvedConfig> {
77
- readonly input: DeleteRepositoryLinkCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: DeleteRepositoryLinkCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class DeleteRepositoryLinkCommand extends DeleteRepositoryLinkCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
4
  import { DeleteSyncConfigurationInput, DeleteSyncConfigurationOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteSyncConfigurationCommandInput extends DeleteSyncConfigura
21
20
  */
22
21
  export interface DeleteSyncConfigurationCommandOutput extends DeleteSyncConfigurationOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteSyncConfigurationCommand_base: {
24
+ new (input: DeleteSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput, CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the sync configuration for a specified repository and connection.</p>
@@ -68,23 +71,5 @@ export interface DeleteSyncConfigurationCommandOutput extends DeleteSyncConfigur
68
71
  * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
69
72
  *
70
73
  */
71
- export declare class DeleteSyncConfigurationCommand extends $Command<DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput, CodeStarConnectionsClientResolvedConfig> {
72
- readonly input: DeleteSyncConfigurationCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: DeleteSyncConfigurationCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class DeleteSyncConfigurationCommand extends DeleteSyncConfigurationCommand_base {
90
75
  }