@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.
Files changed (211) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +500 -0
  3. package/dist-cjs/CodeConnections.js +65 -0
  4. package/dist-cjs/CodeConnectionsClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateConnectionCommand.js +28 -0
  8. package/dist-cjs/commands/CreateHostCommand.js +28 -0
  9. package/dist-cjs/commands/CreateRepositoryLinkCommand.js +28 -0
  10. package/dist-cjs/commands/CreateSyncConfigurationCommand.js +28 -0
  11. package/dist-cjs/commands/DeleteConnectionCommand.js +28 -0
  12. package/dist-cjs/commands/DeleteHostCommand.js +28 -0
  13. package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +28 -0
  14. package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +28 -0
  15. package/dist-cjs/commands/GetConnectionCommand.js +28 -0
  16. package/dist-cjs/commands/GetHostCommand.js +28 -0
  17. package/dist-cjs/commands/GetRepositoryLinkCommand.js +28 -0
  18. package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +28 -0
  19. package/dist-cjs/commands/GetResourceSyncStatusCommand.js +28 -0
  20. package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +28 -0
  21. package/dist-cjs/commands/GetSyncConfigurationCommand.js +28 -0
  22. package/dist-cjs/commands/ListConnectionsCommand.js +28 -0
  23. package/dist-cjs/commands/ListHostsCommand.js +28 -0
  24. package/dist-cjs/commands/ListRepositoryLinksCommand.js +28 -0
  25. package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +28 -0
  26. package/dist-cjs/commands/ListSyncConfigurationsCommand.js +28 -0
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  28. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  29. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  30. package/dist-cjs/commands/UpdateHostCommand.js +28 -0
  31. package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +28 -0
  32. package/dist-cjs/commands/UpdateSyncBlockerCommand.js +28 -0
  33. package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +28 -0
  34. package/dist-cjs/commands/index.js +30 -0
  35. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  36. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  37. package/dist-cjs/endpoint/ruleset.js +7 -0
  38. package/dist-cjs/extensionConfiguration.js +2 -0
  39. package/dist-cjs/index.js +11 -0
  40. package/dist-cjs/models/CodeConnectionsServiceException.js +12 -0
  41. package/dist-cjs/models/index.js +4 -0
  42. package/dist-cjs/models/models_0.js +285 -0
  43. package/dist-cjs/pagination/Interfaces.js +2 -0
  44. package/dist-cjs/pagination/ListConnectionsPaginator.js +7 -0
  45. package/dist-cjs/pagination/ListHostsPaginator.js +7 -0
  46. package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +7 -0
  47. package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +7 -0
  48. package/dist-cjs/pagination/index.js +8 -0
  49. package/dist-cjs/protocols/Aws_json1_0.js +928 -0
  50. package/dist-cjs/runtimeConfig.browser.js +39 -0
  51. package/dist-cjs/runtimeConfig.js +49 -0
  52. package/dist-cjs/runtimeConfig.native.js +15 -0
  53. package/dist-cjs/runtimeConfig.shared.js +34 -0
  54. package/dist-cjs/runtimeExtensions.js +25 -0
  55. package/dist-es/CodeConnections.js +61 -0
  56. package/dist-es/CodeConnectionsClient.js +52 -0
  57. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  58. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  59. package/dist-es/commands/CreateConnectionCommand.js +24 -0
  60. package/dist-es/commands/CreateHostCommand.js +24 -0
  61. package/dist-es/commands/CreateRepositoryLinkCommand.js +24 -0
  62. package/dist-es/commands/CreateSyncConfigurationCommand.js +24 -0
  63. package/dist-es/commands/DeleteConnectionCommand.js +24 -0
  64. package/dist-es/commands/DeleteHostCommand.js +24 -0
  65. package/dist-es/commands/DeleteRepositoryLinkCommand.js +24 -0
  66. package/dist-es/commands/DeleteSyncConfigurationCommand.js +24 -0
  67. package/dist-es/commands/GetConnectionCommand.js +24 -0
  68. package/dist-es/commands/GetHostCommand.js +24 -0
  69. package/dist-es/commands/GetRepositoryLinkCommand.js +24 -0
  70. package/dist-es/commands/GetRepositorySyncStatusCommand.js +24 -0
  71. package/dist-es/commands/GetResourceSyncStatusCommand.js +24 -0
  72. package/dist-es/commands/GetSyncBlockerSummaryCommand.js +24 -0
  73. package/dist-es/commands/GetSyncConfigurationCommand.js +24 -0
  74. package/dist-es/commands/ListConnectionsCommand.js +24 -0
  75. package/dist-es/commands/ListHostsCommand.js +24 -0
  76. package/dist-es/commands/ListRepositoryLinksCommand.js +24 -0
  77. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +24 -0
  78. package/dist-es/commands/ListSyncConfigurationsCommand.js +24 -0
  79. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  80. package/dist-es/commands/TagResourceCommand.js +24 -0
  81. package/dist-es/commands/UntagResourceCommand.js +24 -0
  82. package/dist-es/commands/UpdateHostCommand.js +24 -0
  83. package/dist-es/commands/UpdateRepositoryLinkCommand.js +24 -0
  84. package/dist-es/commands/UpdateSyncBlockerCommand.js +24 -0
  85. package/dist-es/commands/UpdateSyncConfigurationCommand.js +24 -0
  86. package/dist-es/commands/index.js +27 -0
  87. package/dist-es/endpoint/EndpointParameters.js +14 -0
  88. package/dist-es/endpoint/endpointResolver.js +10 -0
  89. package/dist-es/endpoint/ruleset.js +4 -0
  90. package/dist-es/extensionConfiguration.js +1 -0
  91. package/dist-es/index.js +6 -0
  92. package/dist-es/models/CodeConnectionsServiceException.js +8 -0
  93. package/dist-es/models/index.js +1 -0
  94. package/dist-es/models/models_0.js +265 -0
  95. package/dist-es/pagination/Interfaces.js +1 -0
  96. package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
  97. package/dist-es/pagination/ListHostsPaginator.js +4 -0
  98. package/dist-es/pagination/ListRepositoryLinksPaginator.js +4 -0
  99. package/dist-es/pagination/ListSyncConfigurationsPaginator.js +4 -0
  100. package/dist-es/pagination/index.js +5 -0
  101. package/dist-es/protocols/Aws_json1_0.js +870 -0
  102. package/dist-es/runtimeConfig.browser.js +34 -0
  103. package/dist-es/runtimeConfig.js +44 -0
  104. package/dist-es/runtimeConfig.native.js +11 -0
  105. package/dist-es/runtimeConfig.shared.js +30 -0
  106. package/dist-es/runtimeExtensions.js +21 -0
  107. package/dist-types/CodeConnections.d.ts +280 -0
  108. package/dist-types/CodeConnectionsClient.d.ts +276 -0
  109. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  110. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  111. package/dist-types/commands/CreateConnectionCommand.d.ts +84 -0
  112. package/dist-types/commands/CreateHostCommand.d.ts +93 -0
  113. package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +97 -0
  114. package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +101 -0
  115. package/dist-types/commands/DeleteConnectionCommand.d.ts +60 -0
  116. package/dist-types/commands/DeleteHostCommand.d.ts +66 -0
  117. package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +81 -0
  118. package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +76 -0
  119. package/dist-types/commands/GetConnectionCommand.d.ts +72 -0
  120. package/dist-types/commands/GetHostCommand.d.ts +79 -0
  121. package/dist-types/commands/GetRepositoryLinkCommand.d.ts +86 -0
  122. package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +88 -0
  123. package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +141 -0
  124. package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +95 -0
  125. package/dist-types/commands/GetSyncConfigurationCommand.d.ts +87 -0
  126. package/dist-types/commands/ListConnectionsCommand.d.ts +75 -0
  127. package/dist-types/commands/ListHostsCommand.d.ts +80 -0
  128. package/dist-types/commands/ListRepositoryLinksCommand.d.ts +89 -0
  129. package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +83 -0
  130. package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +92 -0
  131. package/dist-types/commands/ListTagsForResourceCommand.d.ts +67 -0
  132. package/dist-types/commands/TagResourceCommand.d.ts +70 -0
  133. package/dist-types/commands/UntagResourceCommand.d.ts +63 -0
  134. package/dist-types/commands/UpdateHostCommand.d.ts +80 -0
  135. package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +92 -0
  136. package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +99 -0
  137. package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +99 -0
  138. package/dist-types/commands/index.d.ts +27 -0
  139. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  140. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  141. package/dist-types/endpoint/ruleset.d.ts +2 -0
  142. package/dist-types/extensionConfiguration.d.ts +9 -0
  143. package/dist-types/index.d.ts +92 -0
  144. package/dist-types/models/CodeConnectionsServiceException.d.ts +13 -0
  145. package/dist-types/models/index.d.ts +1 -0
  146. package/dist-types/models/models_0.d.ts +1735 -0
  147. package/dist-types/pagination/Interfaces.d.ts +8 -0
  148. package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
  149. package/dist-types/pagination/ListHostsPaginator.d.ts +7 -0
  150. package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +7 -0
  151. package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +7 -0
  152. package/dist-types/pagination/index.d.ts +5 -0
  153. package/dist-types/protocols/Aws_json1_0.d.ts +245 -0
  154. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  155. package/dist-types/runtimeConfig.d.ts +45 -0
  156. package/dist-types/runtimeConfig.native.d.ts +44 -0
  157. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  158. package/dist-types/runtimeExtensions.d.ts +17 -0
  159. package/dist-types/ts3.4/CodeConnections.d.ts +469 -0
  160. package/dist-types/ts3.4/CodeConnectionsClient.d.ts +283 -0
  161. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  162. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  163. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +38 -0
  164. package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +35 -0
  165. package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +39 -0
  166. package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +39 -0
  167. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +38 -0
  168. package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +35 -0
  169. package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +39 -0
  170. package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +39 -0
  171. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +35 -0
  172. package/dist-types/ts3.4/commands/GetHostCommand.d.ts +29 -0
  173. package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +38 -0
  174. package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +39 -0
  175. package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +39 -0
  176. package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +39 -0
  177. package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +39 -0
  178. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +38 -0
  179. package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +35 -0
  180. package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +39 -0
  181. package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +39 -0
  182. package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +39 -0
  183. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  184. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  185. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  186. package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +35 -0
  187. package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +39 -0
  188. package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +38 -0
  189. package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +39 -0
  190. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  191. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  192. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  193. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  194. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  195. package/dist-types/ts3.4/index.d.ts +9 -0
  196. package/dist-types/ts3.4/models/CodeConnectionsServiceException.d.ts +8 -0
  197. package/dist-types/ts3.4/models/index.d.ts +1 -0
  198. package/dist-types/ts3.4/models/models_0.d.ts +531 -0
  199. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  200. package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
  201. package/dist-types/ts3.4/pagination/ListHostsPaginator.d.ts +11 -0
  202. package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +11 -0
  204. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  205. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +329 -0
  206. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  207. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  208. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  209. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  210. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  211. package/package.json +101 -0
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
4
+ import { GetRepositorySyncStatusInput, GetRepositorySyncStatusOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetRepositorySyncStatusCommand}.
13
+ */
14
+ export interface GetRepositorySyncStatusCommandInput extends GetRepositorySyncStatusInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetRepositorySyncStatusCommand}.
20
+ */
21
+ export interface GetRepositorySyncStatusCommandOutput extends GetRepositorySyncStatusOutput, __MetadataBearer {
22
+ }
23
+ declare const GetRepositorySyncStatusCommand_base: {
24
+ new (input: GetRepositorySyncStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetRepositorySyncStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Returns details about the sync status for a repository. A repository sync uses Git sync
30
+ * to push and pull changes from your remote repository.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodeConnectionsClient, GetRepositorySyncStatusCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
35
+ * // const { CodeConnectionsClient, GetRepositorySyncStatusCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
36
+ * const client = new CodeConnectionsClient(config);
37
+ * const input = { // GetRepositorySyncStatusInput
38
+ * Branch: "STRING_VALUE", // required
39
+ * RepositoryLinkId: "STRING_VALUE", // required
40
+ * SyncType: "CFN_STACK_SYNC", // required
41
+ * };
42
+ * const command = new GetRepositorySyncStatusCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetRepositorySyncStatusOutput
45
+ * // LatestSync: { // RepositorySyncAttempt
46
+ * // StartedAt: new Date("TIMESTAMP"), // required
47
+ * // Status: "FAILED" || "INITIATED" || "IN_PROGRESS" || "SUCCEEDED" || "QUEUED", // required
48
+ * // Events: [ // RepositorySyncEventList // required
49
+ * // { // RepositorySyncEvent
50
+ * // Event: "STRING_VALUE", // required
51
+ * // ExternalId: "STRING_VALUE",
52
+ * // Time: new Date("TIMESTAMP"), // required
53
+ * // Type: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // },
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetRepositorySyncStatusCommandInput - {@link GetRepositorySyncStatusCommandInput}
62
+ * @returns {@link GetRepositorySyncStatusCommandOutput}
63
+ * @see {@link GetRepositorySyncStatusCommandInput} for command's `input` shape.
64
+ * @see {@link GetRepositorySyncStatusCommandOutput} for command's `response` shape.
65
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient access to perform this action.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>Received an internal server exception. Try again later.</p>
72
+ *
73
+ * @throws {@link InvalidInputException} (client fault)
74
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The request was denied due to request throttling.</p>
81
+ *
82
+ * @throws {@link CodeConnectionsServiceException}
83
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
84
+ *
85
+ * @public
86
+ */
87
+ export declare class GetRepositorySyncStatusCommand extends GetRepositorySyncStatusCommand_base {
88
+ }
@@ -0,0 +1,141 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
4
+ import { GetResourceSyncStatusInput, GetResourceSyncStatusOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetResourceSyncStatusCommand}.
13
+ */
14
+ export interface GetResourceSyncStatusCommandInput extends GetResourceSyncStatusInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetResourceSyncStatusCommand}.
20
+ */
21
+ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatusOutput, __MetadataBearer {
22
+ }
23
+ declare const GetResourceSyncStatusCommand_base: {
24
+ new (input: GetResourceSyncStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceSyncStatusCommandInput, GetResourceSyncStatusCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetResourceSyncStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceSyncStatusCommandInput, GetResourceSyncStatusCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Returns the status of the sync with the Git repository for a specific Amazon Web Services
30
+ * resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodeConnectionsClient, GetResourceSyncStatusCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
35
+ * // const { CodeConnectionsClient, GetResourceSyncStatusCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
36
+ * const client = new CodeConnectionsClient(config);
37
+ * const input = { // GetResourceSyncStatusInput
38
+ * ResourceName: "STRING_VALUE", // required
39
+ * SyncType: "CFN_STACK_SYNC", // required
40
+ * };
41
+ * const command = new GetResourceSyncStatusCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetResourceSyncStatusOutput
44
+ * // DesiredState: { // Revision
45
+ * // Branch: "STRING_VALUE", // required
46
+ * // Directory: "STRING_VALUE", // required
47
+ * // OwnerId: "STRING_VALUE", // required
48
+ * // RepositoryName: "STRING_VALUE", // required
49
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
50
+ * // Sha: "STRING_VALUE", // required
51
+ * // },
52
+ * // LatestSuccessfulSync: { // ResourceSyncAttempt
53
+ * // Events: [ // ResourceSyncEventList // required
54
+ * // { // ResourceSyncEvent
55
+ * // Event: "STRING_VALUE", // required
56
+ * // ExternalId: "STRING_VALUE",
57
+ * // Time: new Date("TIMESTAMP"), // required
58
+ * // Type: "STRING_VALUE", // required
59
+ * // },
60
+ * // ],
61
+ * // InitialRevision: {
62
+ * // Branch: "STRING_VALUE", // required
63
+ * // Directory: "STRING_VALUE", // required
64
+ * // OwnerId: "STRING_VALUE", // required
65
+ * // RepositoryName: "STRING_VALUE", // required
66
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
67
+ * // Sha: "STRING_VALUE", // required
68
+ * // },
69
+ * // StartedAt: new Date("TIMESTAMP"), // required
70
+ * // Status: "FAILED" || "INITIATED" || "IN_PROGRESS" || "SUCCEEDED", // required
71
+ * // TargetRevision: {
72
+ * // Branch: "STRING_VALUE", // required
73
+ * // Directory: "STRING_VALUE", // required
74
+ * // OwnerId: "STRING_VALUE", // required
75
+ * // RepositoryName: "STRING_VALUE", // required
76
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
77
+ * // Sha: "STRING_VALUE", // required
78
+ * // },
79
+ * // Target: "STRING_VALUE", // required
80
+ * // },
81
+ * // LatestSync: {
82
+ * // Events: [ // required
83
+ * // {
84
+ * // Event: "STRING_VALUE", // required
85
+ * // ExternalId: "STRING_VALUE",
86
+ * // Time: new Date("TIMESTAMP"), // required
87
+ * // Type: "STRING_VALUE", // required
88
+ * // },
89
+ * // ],
90
+ * // InitialRevision: {
91
+ * // Branch: "STRING_VALUE", // required
92
+ * // Directory: "STRING_VALUE", // required
93
+ * // OwnerId: "STRING_VALUE", // required
94
+ * // RepositoryName: "STRING_VALUE", // required
95
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
96
+ * // Sha: "STRING_VALUE", // required
97
+ * // },
98
+ * // StartedAt: new Date("TIMESTAMP"), // required
99
+ * // Status: "FAILED" || "INITIATED" || "IN_PROGRESS" || "SUCCEEDED", // required
100
+ * // TargetRevision: {
101
+ * // Branch: "STRING_VALUE", // required
102
+ * // Directory: "STRING_VALUE", // required
103
+ * // OwnerId: "STRING_VALUE", // required
104
+ * // RepositoryName: "STRING_VALUE", // required
105
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
106
+ * // Sha: "STRING_VALUE", // required
107
+ * // },
108
+ * // Target: "STRING_VALUE", // required
109
+ * // },
110
+ * // };
111
+ *
112
+ * ```
113
+ *
114
+ * @param GetResourceSyncStatusCommandInput - {@link GetResourceSyncStatusCommandInput}
115
+ * @returns {@link GetResourceSyncStatusCommandOutput}
116
+ * @see {@link GetResourceSyncStatusCommandInput} for command's `input` shape.
117
+ * @see {@link GetResourceSyncStatusCommandOutput} for command's `response` shape.
118
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
119
+ *
120
+ * @throws {@link AccessDeniedException} (client fault)
121
+ * <p>You do not have sufficient access to perform this action.</p>
122
+ *
123
+ * @throws {@link InternalServerException} (server fault)
124
+ * <p>Received an internal server exception. Try again later.</p>
125
+ *
126
+ * @throws {@link InvalidInputException} (client fault)
127
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
128
+ *
129
+ * @throws {@link ResourceNotFoundException} (client fault)
130
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
131
+ *
132
+ * @throws {@link ThrottlingException} (client fault)
133
+ * <p>The request was denied due to request throttling.</p>
134
+ *
135
+ * @throws {@link CodeConnectionsServiceException}
136
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
137
+ *
138
+ * @public
139
+ */
140
+ export declare class GetResourceSyncStatusCommand extends GetResourceSyncStatusCommand_base {
141
+ }
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
4
+ import { GetSyncBlockerSummaryInput, GetSyncBlockerSummaryOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetSyncBlockerSummaryCommand}.
13
+ */
14
+ export interface GetSyncBlockerSummaryCommandInput extends GetSyncBlockerSummaryInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetSyncBlockerSummaryCommand}.
20
+ */
21
+ export interface GetSyncBlockerSummaryCommandOutput extends GetSyncBlockerSummaryOutput, __MetadataBearer {
22
+ }
23
+ declare const GetSyncBlockerSummaryCommand_base: {
24
+ new (input: GetSyncBlockerSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetSyncBlockerSummaryCommandInput, GetSyncBlockerSummaryCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetSyncBlockerSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetSyncBlockerSummaryCommandInput, GetSyncBlockerSummaryCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Returns a list of the most recent sync blockers.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { CodeConnectionsClient, GetSyncBlockerSummaryCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
34
+ * // const { CodeConnectionsClient, GetSyncBlockerSummaryCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
35
+ * const client = new CodeConnectionsClient(config);
36
+ * const input = { // GetSyncBlockerSummaryInput
37
+ * SyncType: "CFN_STACK_SYNC", // required
38
+ * ResourceName: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetSyncBlockerSummaryCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetSyncBlockerSummaryOutput
43
+ * // SyncBlockerSummary: { // SyncBlockerSummary
44
+ * // ResourceName: "STRING_VALUE", // required
45
+ * // ParentResourceName: "STRING_VALUE",
46
+ * // LatestBlockers: [ // LatestSyncBlockerList
47
+ * // { // SyncBlocker
48
+ * // Id: "STRING_VALUE", // required
49
+ * // Type: "AUTOMATED", // required
50
+ * // Status: "ACTIVE" || "RESOLVED", // required
51
+ * // CreatedReason: "STRING_VALUE", // required
52
+ * // CreatedAt: new Date("TIMESTAMP"), // required
53
+ * // Contexts: [ // SyncBlockerContextList
54
+ * // { // SyncBlockerContext
55
+ * // Key: "STRING_VALUE", // required
56
+ * // Value: "STRING_VALUE", // required
57
+ * // },
58
+ * // ],
59
+ * // ResolvedReason: "STRING_VALUE",
60
+ * // ResolvedAt: new Date("TIMESTAMP"),
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param GetSyncBlockerSummaryCommandInput - {@link GetSyncBlockerSummaryCommandInput}
69
+ * @returns {@link GetSyncBlockerSummaryCommandOutput}
70
+ * @see {@link GetSyncBlockerSummaryCommandInput} for command's `input` shape.
71
+ * @see {@link GetSyncBlockerSummaryCommandOutput} for command's `response` shape.
72
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You do not have sufficient access to perform this action.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>Received an internal server exception. Try again later.</p>
79
+ *
80
+ * @throws {@link InvalidInputException} (client fault)
81
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
82
+ *
83
+ * @throws {@link ResourceNotFoundException} (client fault)
84
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * <p>The request was denied due to request throttling.</p>
88
+ *
89
+ * @throws {@link CodeConnectionsServiceException}
90
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
91
+ *
92
+ * @public
93
+ */
94
+ export declare class GetSyncBlockerSummaryCommand extends GetSyncBlockerSummaryCommand_base {
95
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
4
+ import { GetSyncConfigurationInput, GetSyncConfigurationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetSyncConfigurationCommand}.
13
+ */
14
+ export interface GetSyncConfigurationCommandInput extends GetSyncConfigurationInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetSyncConfigurationCommand}.
20
+ */
21
+ export interface GetSyncConfigurationCommandOutput extends GetSyncConfigurationOutput, __MetadataBearer {
22
+ }
23
+ declare const GetSyncConfigurationCommand_base: {
24
+ new (input: GetSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSyncConfigurationCommandInput, GetSyncConfigurationCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetSyncConfigurationCommandInput, GetSyncConfigurationCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Returns details about a sync configuration, including the sync type and resource name. A sync configuration allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a Git repository.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { CodeConnectionsClient, GetSyncConfigurationCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
34
+ * // const { CodeConnectionsClient, GetSyncConfigurationCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
35
+ * const client = new CodeConnectionsClient(config);
36
+ * const input = { // GetSyncConfigurationInput
37
+ * SyncType: "CFN_STACK_SYNC", // required
38
+ * ResourceName: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetSyncConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetSyncConfigurationOutput
43
+ * // SyncConfiguration: { // SyncConfiguration
44
+ * // Branch: "STRING_VALUE", // required
45
+ * // ConfigFile: "STRING_VALUE",
46
+ * // OwnerId: "STRING_VALUE", // required
47
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
48
+ * // RepositoryLinkId: "STRING_VALUE", // required
49
+ * // RepositoryName: "STRING_VALUE", // required
50
+ * // ResourceName: "STRING_VALUE", // required
51
+ * // RoleArn: "STRING_VALUE", // required
52
+ * // SyncType: "CFN_STACK_SYNC", // required
53
+ * // PublishDeploymentStatus: "ENABLED" || "DISABLED",
54
+ * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetSyncConfigurationCommandInput - {@link GetSyncConfigurationCommandInput}
61
+ * @returns {@link GetSyncConfigurationCommandOutput}
62
+ * @see {@link GetSyncConfigurationCommandInput} for command's `input` shape.
63
+ * @see {@link GetSyncConfigurationCommandOutput} for command's `response` shape.
64
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You do not have sufficient access to perform this action.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>Received an internal server exception. Try again later.</p>
71
+ *
72
+ * @throws {@link InvalidInputException} (client fault)
73
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link CodeConnectionsServiceException}
82
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class GetSyncConfigurationCommand extends GetSyncConfigurationCommand_base {
87
+ }
@@ -0,0 +1,75 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
4
+ import { ListConnectionsInput, ListConnectionsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListConnectionsCommand}.
13
+ */
14
+ export interface ListConnectionsCommandInput extends ListConnectionsInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListConnectionsCommand}.
20
+ */
21
+ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __MetadataBearer {
22
+ }
23
+ declare const ListConnectionsCommand_base: {
24
+ new (input: ListConnectionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectionsCommandInput, ListConnectionsCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListConnectionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListConnectionsCommandInput, ListConnectionsCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Lists the connections associated with your account.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { CodeConnectionsClient, ListConnectionsCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
34
+ * // const { CodeConnectionsClient, ListConnectionsCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
35
+ * const client = new CodeConnectionsClient(config);
36
+ * const input = { // ListConnectionsInput
37
+ * ProviderTypeFilter: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
38
+ * HostArnFilter: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * NextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListConnectionsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListConnectionsOutput
45
+ * // Connections: [ // ConnectionList
46
+ * // { // Connection
47
+ * // ConnectionName: "STRING_VALUE",
48
+ * // ConnectionArn: "STRING_VALUE",
49
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
50
+ * // OwnerAccountId: "STRING_VALUE",
51
+ * // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR",
52
+ * // HostArn: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListConnectionsCommandInput - {@link ListConnectionsCommandInput}
61
+ * @returns {@link ListConnectionsCommandOutput}
62
+ * @see {@link ListConnectionsCommandInput} for command's `input` shape.
63
+ * @see {@link ListConnectionsCommandOutput} for command's `response` shape.
64
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
68
+ *
69
+ * @throws {@link CodeConnectionsServiceException}
70
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
71
+ *
72
+ * @public
73
+ */
74
+ export declare class ListConnectionsCommand extends ListConnectionsCommand_base {
75
+ }
@@ -0,0 +1,80 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
4
+ import { ListHostsInput, ListHostsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListHostsCommand}.
13
+ */
14
+ export interface ListHostsCommandInput extends ListHostsInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListHostsCommand}.
20
+ */
21
+ export interface ListHostsCommandOutput extends ListHostsOutput, __MetadataBearer {
22
+ }
23
+ declare const ListHostsCommand_base: {
24
+ new (input: ListHostsCommandInput): import("@smithy/smithy-client").CommandImpl<ListHostsCommandInput, ListHostsCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListHostsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListHostsCommandInput, ListHostsCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Lists the hosts associated with your account.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { CodeConnectionsClient, ListHostsCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
34
+ * // const { CodeConnectionsClient, ListHostsCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
35
+ * const client = new CodeConnectionsClient(config);
36
+ * const input = { // ListHostsInput
37
+ * MaxResults: Number("int"),
38
+ * NextToken: "STRING_VALUE",
39
+ * };
40
+ * const command = new ListHostsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListHostsOutput
43
+ * // Hosts: [ // HostList
44
+ * // { // Host
45
+ * // Name: "STRING_VALUE",
46
+ * // HostArn: "STRING_VALUE",
47
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
48
+ * // ProviderEndpoint: "STRING_VALUE",
49
+ * // VpcConfiguration: { // VpcConfiguration
50
+ * // VpcId: "STRING_VALUE", // required
51
+ * // SubnetIds: [ // SubnetIds // required
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // SecurityGroupIds: [ // SecurityGroupIds // required
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // TlsCertificate: "STRING_VALUE",
58
+ * // },
59
+ * // Status: "STRING_VALUE",
60
+ * // StatusMessage: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // NextToken: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ListHostsCommandInput - {@link ListHostsCommandInput}
69
+ * @returns {@link ListHostsCommandOutput}
70
+ * @see {@link ListHostsCommandInput} for command's `input` shape.
71
+ * @see {@link ListHostsCommandOutput} for command's `response` shape.
72
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
73
+ *
74
+ * @throws {@link CodeConnectionsServiceException}
75
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class ListHostsCommand extends ListHostsCommand_base {
80
+ }
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
4
+ import { ListRepositoryLinksInput, ListRepositoryLinksOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListRepositoryLinksCommand}.
13
+ */
14
+ export interface ListRepositoryLinksCommandInput extends ListRepositoryLinksInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListRepositoryLinksCommand}.
20
+ */
21
+ export interface ListRepositoryLinksCommandOutput extends ListRepositoryLinksOutput, __MetadataBearer {
22
+ }
23
+ declare const ListRepositoryLinksCommand_base: {
24
+ new (input: ListRepositoryLinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListRepositoryLinksCommandInput, ListRepositoryLinksCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListRepositoryLinksCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRepositoryLinksCommandInput, ListRepositoryLinksCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Lists the repository links created for connections in your account.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { CodeConnectionsClient, ListRepositoryLinksCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
34
+ * // const { CodeConnectionsClient, ListRepositoryLinksCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
35
+ * const client = new CodeConnectionsClient(config);
36
+ * const input = { // ListRepositoryLinksInput
37
+ * MaxResults: Number("int"),
38
+ * NextToken: "STRING_VALUE",
39
+ * };
40
+ * const command = new ListRepositoryLinksCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListRepositoryLinksOutput
43
+ * // RepositoryLinks: [ // RepositoryLinkList // required
44
+ * // { // RepositoryLinkInfo
45
+ * // ConnectionArn: "STRING_VALUE", // required
46
+ * // EncryptionKeyArn: "STRING_VALUE",
47
+ * // OwnerId: "STRING_VALUE", // required
48
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
49
+ * // RepositoryLinkArn: "STRING_VALUE", // required
50
+ * // RepositoryLinkId: "STRING_VALUE", // required
51
+ * // RepositoryName: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // NextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListRepositoryLinksCommandInput - {@link ListRepositoryLinksCommandInput}
60
+ * @returns {@link ListRepositoryLinksCommandOutput}
61
+ * @see {@link ListRepositoryLinksCommandInput} for command's `input` shape.
62
+ * @see {@link ListRepositoryLinksCommandOutput} for command's `response` shape.
63
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link ConcurrentModificationException} (client fault)
69
+ * <p>Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time. </p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>Received an internal server exception. Try again later.</p>
73
+ *
74
+ * @throws {@link InvalidInputException} (client fault)
75
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>The request was denied due to request throttling.</p>
82
+ *
83
+ * @throws {@link CodeConnectionsServiceException}
84
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListRepositoryLinksCommand extends ListRepositoryLinksCommand_base {
89
+ }