@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,276 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
11
+ import { CreateHostCommandInput, CreateHostCommandOutput } from "./commands/CreateHostCommand";
12
+ import { CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput } from "./commands/CreateRepositoryLinkCommand";
13
+ import { CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput } from "./commands/CreateSyncConfigurationCommand";
14
+ import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
15
+ import { DeleteHostCommandInput, DeleteHostCommandOutput } from "./commands/DeleteHostCommand";
16
+ import { DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput } from "./commands/DeleteRepositoryLinkCommand";
17
+ import { DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput } from "./commands/DeleteSyncConfigurationCommand";
18
+ import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
19
+ import { GetHostCommandInput, GetHostCommandOutput } from "./commands/GetHostCommand";
20
+ import { GetRepositoryLinkCommandInput, GetRepositoryLinkCommandOutput } from "./commands/GetRepositoryLinkCommand";
21
+ import { GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput } from "./commands/GetRepositorySyncStatusCommand";
22
+ import { GetResourceSyncStatusCommandInput, GetResourceSyncStatusCommandOutput } from "./commands/GetResourceSyncStatusCommand";
23
+ import { GetSyncBlockerSummaryCommandInput, GetSyncBlockerSummaryCommandOutput } from "./commands/GetSyncBlockerSummaryCommand";
24
+ import { GetSyncConfigurationCommandInput, GetSyncConfigurationCommandOutput } from "./commands/GetSyncConfigurationCommand";
25
+ import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
26
+ import { ListHostsCommandInput, ListHostsCommandOutput } from "./commands/ListHostsCommand";
27
+ import { ListRepositoryLinksCommandInput, ListRepositoryLinksCommandOutput } from "./commands/ListRepositoryLinksCommand";
28
+ import { ListRepositorySyncDefinitionsCommandInput, ListRepositorySyncDefinitionsCommandOutput } from "./commands/ListRepositorySyncDefinitionsCommand";
29
+ import { ListSyncConfigurationsCommandInput, ListSyncConfigurationsCommandOutput } from "./commands/ListSyncConfigurationsCommand";
30
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
31
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
32
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
33
+ import { UpdateHostCommandInput, UpdateHostCommandOutput } from "./commands/UpdateHostCommand";
34
+ import { UpdateRepositoryLinkCommandInput, UpdateRepositoryLinkCommandOutput } from "./commands/UpdateRepositoryLinkCommand";
35
+ import { UpdateSyncBlockerCommandInput, UpdateSyncBlockerCommandOutput } from "./commands/UpdateSyncBlockerCommand";
36
+ import { UpdateSyncConfigurationCommandInput, UpdateSyncConfigurationCommandOutput } from "./commands/UpdateSyncConfigurationCommand";
37
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
38
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
39
+ export { __Client };
40
+ /**
41
+ * @public
42
+ */
43
+ export type ServiceInputTypes = CreateConnectionCommandInput | CreateHostCommandInput | CreateRepositoryLinkCommandInput | CreateSyncConfigurationCommandInput | DeleteConnectionCommandInput | DeleteHostCommandInput | DeleteRepositoryLinkCommandInput | DeleteSyncConfigurationCommandInput | GetConnectionCommandInput | GetHostCommandInput | GetRepositoryLinkCommandInput | GetRepositorySyncStatusCommandInput | GetResourceSyncStatusCommandInput | GetSyncBlockerSummaryCommandInput | GetSyncConfigurationCommandInput | ListConnectionsCommandInput | ListHostsCommandInput | ListRepositoryLinksCommandInput | ListRepositorySyncDefinitionsCommandInput | ListSyncConfigurationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateHostCommandInput | UpdateRepositoryLinkCommandInput | UpdateSyncBlockerCommandInput | UpdateSyncConfigurationCommandInput;
44
+ /**
45
+ * @public
46
+ */
47
+ export type ServiceOutputTypes = CreateConnectionCommandOutput | CreateHostCommandOutput | CreateRepositoryLinkCommandOutput | CreateSyncConfigurationCommandOutput | DeleteConnectionCommandOutput | DeleteHostCommandOutput | DeleteRepositoryLinkCommandOutput | DeleteSyncConfigurationCommandOutput | GetConnectionCommandOutput | GetHostCommandOutput | GetRepositoryLinkCommandOutput | GetRepositorySyncStatusCommandOutput | GetResourceSyncStatusCommandOutput | GetSyncBlockerSummaryCommandOutput | GetSyncConfigurationCommandOutput | ListConnectionsCommandOutput | ListHostsCommandOutput | ListRepositoryLinksCommandOutput | ListRepositorySyncDefinitionsCommandOutput | ListSyncConfigurationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateHostCommandOutput | UpdateRepositoryLinkCommandOutput | UpdateSyncBlockerCommandOutput | UpdateSyncConfigurationCommandOutput;
48
+ /**
49
+ * @public
50
+ */
51
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
52
+ /**
53
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
54
+ */
55
+ requestHandler?: __HttpHandlerUserInput;
56
+ /**
57
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
58
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
59
+ * @internal
60
+ */
61
+ sha256?: __ChecksumConstructor | __HashConstructor;
62
+ /**
63
+ * The function that will be used to convert strings into HTTP endpoints.
64
+ * @internal
65
+ */
66
+ urlParser?: __UrlParser;
67
+ /**
68
+ * A function that can calculate the length of a request body.
69
+ * @internal
70
+ */
71
+ bodyLengthChecker?: __BodyLengthCalculator;
72
+ /**
73
+ * A function that converts a stream into an array of bytes.
74
+ * @internal
75
+ */
76
+ streamCollector?: __StreamCollector;
77
+ /**
78
+ * The function that will be used to convert a base64-encoded string to a byte array.
79
+ * @internal
80
+ */
81
+ base64Decoder?: __Decoder;
82
+ /**
83
+ * The function that will be used to convert binary data to a base64-encoded string.
84
+ * @internal
85
+ */
86
+ base64Encoder?: __Encoder;
87
+ /**
88
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
89
+ * @internal
90
+ */
91
+ utf8Decoder?: __Decoder;
92
+ /**
93
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
94
+ * @internal
95
+ */
96
+ utf8Encoder?: __Encoder;
97
+ /**
98
+ * The runtime environment.
99
+ * @internal
100
+ */
101
+ runtime?: string;
102
+ /**
103
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
104
+ * trait of an operation.
105
+ */
106
+ disableHostPrefix?: boolean;
107
+ /**
108
+ * Unique service identifier.
109
+ * @internal
110
+ */
111
+ serviceId?: string;
112
+ /**
113
+ * Enables IPv6/IPv4 dualstack endpoint.
114
+ */
115
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
116
+ /**
117
+ * Enables FIPS compatible endpoints.
118
+ */
119
+ useFipsEndpoint?: boolean | __Provider<boolean>;
120
+ /**
121
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
122
+ * @internal
123
+ */
124
+ defaultUserAgentProvider?: Provider<__UserAgent>;
125
+ /**
126
+ * The AWS region to which this client will send requests
127
+ */
128
+ region?: string | __Provider<string>;
129
+ /**
130
+ * Default credentials provider; Not available in browser runtime.
131
+ * @deprecated
132
+ * @internal
133
+ */
134
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
135
+ /**
136
+ * Value for how many times a request will be made at most in case of retry.
137
+ */
138
+ maxAttempts?: number | __Provider<number>;
139
+ /**
140
+ * Specifies which retry algorithm to use.
141
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
142
+ *
143
+ */
144
+ retryMode?: string | __Provider<string>;
145
+ /**
146
+ * Optional logger for logging debug/info/warn/error.
147
+ */
148
+ logger?: __Logger;
149
+ /**
150
+ * Optional extensions
151
+ */
152
+ extensions?: RuntimeExtension[];
153
+ /**
154
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
155
+ */
156
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
157
+ }
158
+ /**
159
+ * @public
160
+ */
161
+ export type CodeConnectionsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
162
+ /**
163
+ * @public
164
+ *
165
+ * The configuration interface of CodeConnectionsClient class constructor that set the region, credentials and other options.
166
+ */
167
+ export interface CodeConnectionsClientConfig extends CodeConnectionsClientConfigType {
168
+ }
169
+ /**
170
+ * @public
171
+ */
172
+ export type CodeConnectionsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
173
+ /**
174
+ * @public
175
+ *
176
+ * The resolved configuration interface of CodeConnectionsClient class. This is resolved and normalized from the {@link CodeConnectionsClientConfig | constructor configuration interface}.
177
+ */
178
+ export interface CodeConnectionsClientResolvedConfig extends CodeConnectionsClientResolvedConfigType {
179
+ }
180
+ /**
181
+ * <fullname>AWS CodeConnections</fullname>
182
+ * <p>This Amazon Web Services CodeConnections API Reference provides descriptions and usage examples of
183
+ * the operations and data types for the Amazon Web Services CodeConnections API. You can use the
184
+ * connections API to work with connections and installations.</p>
185
+ * <p>
186
+ * <i>Connections</i> are configurations that you use to connect Amazon Web Services
187
+ * resources to external code repositories. Each connection is a resource that can be given to
188
+ * services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
189
+ * example, you can add the connection in CodePipeline so that it triggers your pipeline when a
190
+ * code change is made to your third-party code repository. Each connection is named and
191
+ * associated with a unique ARN that is used to reference the connection.</p>
192
+ * <p>When you create a connection, the console initiates a third-party connection handshake.
193
+ * <i>Installations</i> are the apps that are used to conduct this handshake. For
194
+ * example, the installation for the Bitbucket provider type is the Bitbucket app. When you
195
+ * create a connection, you can choose an existing installation or create one.</p>
196
+ * <p>When you want to create a connection to an installed provider type such as GitHub
197
+ * Enterprise Server, you create a <i>host</i> for your connections.</p>
198
+ * <p>You can work with connections by calling:</p>
199
+ * <ul>
200
+ * <li>
201
+ * <p>
202
+ * <a>CreateConnection</a>, which creates a uniquely named connection that can be
203
+ * referenced by services such as CodePipeline.</p>
204
+ * </li>
205
+ * <li>
206
+ * <p>
207
+ * <a>DeleteConnection</a>, which deletes the specified connection.</p>
208
+ * </li>
209
+ * <li>
210
+ * <p>
211
+ * <a>GetConnection</a>, which returns information about the connection, including
212
+ * the connection status.</p>
213
+ * </li>
214
+ * <li>
215
+ * <p>
216
+ * <a>ListConnections</a>, which lists the connections associated with your
217
+ * account.</p>
218
+ * </li>
219
+ * </ul>
220
+ * <p>You can work with hosts by calling:</p>
221
+ * <ul>
222
+ * <li>
223
+ * <p>
224
+ * <a>CreateHost</a>, which creates a host that represents the infrastructure where your provider is installed.</p>
225
+ * </li>
226
+ * <li>
227
+ * <p>
228
+ * <a>DeleteHost</a>, which deletes the specified host.</p>
229
+ * </li>
230
+ * <li>
231
+ * <p>
232
+ * <a>GetHost</a>, which returns information about the host, including
233
+ * the setup status.</p>
234
+ * </li>
235
+ * <li>
236
+ * <p>
237
+ * <a>ListHosts</a>, which lists the hosts associated with your
238
+ * account.</p>
239
+ * </li>
240
+ * </ul>
241
+ * <p>You can work with tags in Amazon Web Services CodeConnections by calling the following:</p>
242
+ * <ul>
243
+ * <li>
244
+ * <p>
245
+ * <a>ListTagsForResource</a>, which gets information about Amazon Web Services tags for a
246
+ * specified Amazon Resource Name (ARN) in Amazon Web Services CodeConnections.</p>
247
+ * </li>
248
+ * <li>
249
+ * <p>
250
+ * <a>TagResource</a>, which adds or updates tags for a resource in Amazon Web Services CodeConnections.</p>
251
+ * </li>
252
+ * <li>
253
+ * <p>
254
+ * <a>UntagResource</a>, which removes tags for a resource in Amazon Web Services
255
+ * CodeConnections.</p>
256
+ * </li>
257
+ * </ul>
258
+ * <p>For information about how to use Amazon Web Services CodeConnections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer
259
+ * Tools User Guide</a>.</p>
260
+ * @public
261
+ */
262
+ export declare class CodeConnectionsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeConnectionsClientResolvedConfig> {
263
+ /**
264
+ * The resolved configuration of CodeConnectionsClient class. This is resolved and normalized from the {@link CodeConnectionsClientConfig | constructor configuration interface}.
265
+ */
266
+ readonly config: CodeConnectionsClientResolvedConfig;
267
+ constructor(...[configuration]: __CheckOptionalClientConfig<CodeConnectionsClientConfig>);
268
+ /**
269
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
270
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
271
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
272
+ */
273
+ destroy(): void;
274
+ private getDefaultHttpAuthSchemeParametersProvider;
275
+ private getIdentityProviderConfigProvider;
276
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { CodeConnectionsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: CodeConnectionsHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): CodeConnectionsHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: CodeConnectionsHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { CodeConnectionsClientResolvedConfig } from "../CodeConnectionsClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface CodeConnectionsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface CodeConnectionsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<CodeConnectionsClientResolvedConfig, HandlerExecutionContext, CodeConnectionsHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultCodeConnectionsHttpAuthSchemeParametersProvider: (config: CodeConnectionsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<CodeConnectionsHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface CodeConnectionsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CodeConnectionsHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultCodeConnectionsHttpAuthSchemeProvider: CodeConnectionsHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: CodeConnectionsHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: CodeConnectionsHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,84 @@
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 { CreateConnectionInput, CreateConnectionOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateConnectionCommand}.
13
+ */
14
+ export interface CreateConnectionCommandInput extends CreateConnectionInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateConnectionCommand}.
20
+ */
21
+ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, __MetadataBearer {
22
+ }
23
+ declare const CreateConnectionCommand_base: {
24
+ new (input: CreateConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so
30
+ * that it can access third-party code repositories. The connection is in pending status until
31
+ * the third-party connection handshake is completed from the console.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { CodeConnectionsClient, CreateConnectionCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
36
+ * // const { CodeConnectionsClient, CreateConnectionCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
37
+ * const client = new CodeConnectionsClient(config);
38
+ * const input = { // CreateConnectionInput
39
+ * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
40
+ * ConnectionName: "STRING_VALUE", // required
41
+ * Tags: [ // TagList
42
+ * { // Tag
43
+ * Key: "STRING_VALUE", // required
44
+ * Value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * HostArn: "STRING_VALUE",
48
+ * };
49
+ * const command = new CreateConnectionCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreateConnectionOutput
52
+ * // ConnectionArn: "STRING_VALUE", // required
53
+ * // Tags: [ // TagList
54
+ * // { // Tag
55
+ * // Key: "STRING_VALUE", // required
56
+ * // Value: "STRING_VALUE", // required
57
+ * // },
58
+ * // ],
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param CreateConnectionCommandInput - {@link CreateConnectionCommandInput}
64
+ * @returns {@link CreateConnectionCommandOutput}
65
+ * @see {@link CreateConnectionCommandInput} for command's `input` shape.
66
+ * @see {@link CreateConnectionCommandOutput} for command's `response` shape.
67
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
68
+ *
69
+ * @throws {@link LimitExceededException} (client fault)
70
+ * <p>Exceeded the maximum limit for connections.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
74
+ *
75
+ * @throws {@link ResourceUnavailableException} (client fault)
76
+ * <p>Resource not found. Verify the ARN for the host resource and try again.</p>
77
+ *
78
+ * @throws {@link CodeConnectionsServiceException}
79
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class CreateConnectionCommand extends CreateConnectionCommand_base {
84
+ }
@@ -0,0 +1,93 @@
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 { CreateHostInput, CreateHostOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateHostCommand}.
13
+ */
14
+ export interface CreateHostCommandInput extends CreateHostInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateHostCommand}.
20
+ */
21
+ export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBearer {
22
+ }
23
+ declare const CreateHostCommand_base: {
24
+ new (input: CreateHostCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHostCommandInput, CreateHostCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateHostCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHostCommandInput, CreateHostCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Creates a resource that represents the infrastructure where a third-party provider is
30
+ * installed. The host is used when you create connections to an installed third-party provider
31
+ * type, such as GitHub Enterprise Server. You create one host for all connections to that
32
+ * provider.</p>
33
+ * <note>
34
+ * <p>A host created through the CLI or the SDK is in `PENDING` status by
35
+ * default. You can make its status `AVAILABLE` by setting up the host in the console.</p>
36
+ * </note>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { CodeConnectionsClient, CreateHostCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
41
+ * // const { CodeConnectionsClient, CreateHostCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
42
+ * const client = new CodeConnectionsClient(config);
43
+ * const input = { // CreateHostInput
44
+ * Name: "STRING_VALUE", // required
45
+ * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
46
+ * ProviderEndpoint: "STRING_VALUE", // required
47
+ * VpcConfiguration: { // VpcConfiguration
48
+ * VpcId: "STRING_VALUE", // required
49
+ * SubnetIds: [ // SubnetIds // required
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * SecurityGroupIds: [ // SecurityGroupIds // required
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * TlsCertificate: "STRING_VALUE",
56
+ * },
57
+ * Tags: [ // TagList
58
+ * { // Tag
59
+ * Key: "STRING_VALUE", // required
60
+ * Value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * };
64
+ * const command = new CreateHostCommand(input);
65
+ * const response = await client.send(command);
66
+ * // { // CreateHostOutput
67
+ * // HostArn: "STRING_VALUE",
68
+ * // Tags: [ // TagList
69
+ * // { // Tag
70
+ * // Key: "STRING_VALUE", // required
71
+ * // Value: "STRING_VALUE", // required
72
+ * // },
73
+ * // ],
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param CreateHostCommandInput - {@link CreateHostCommandInput}
79
+ * @returns {@link CreateHostCommandOutput}
80
+ * @see {@link CreateHostCommandInput} for command's `input` shape.
81
+ * @see {@link CreateHostCommandOutput} for command's `response` shape.
82
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
83
+ *
84
+ * @throws {@link LimitExceededException} (client fault)
85
+ * <p>Exceeded the maximum limit for connections.</p>
86
+ *
87
+ * @throws {@link CodeConnectionsServiceException}
88
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
89
+ *
90
+ * @public
91
+ */
92
+ export declare class CreateHostCommand extends CreateHostCommand_base {
93
+ }
@@ -0,0 +1,97 @@
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 { CreateRepositoryLinkInput, CreateRepositoryLinkOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateRepositoryLinkCommand}.
13
+ */
14
+ export interface CreateRepositoryLinkCommandInput extends CreateRepositoryLinkInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateRepositoryLinkCommand}.
20
+ */
21
+ export interface CreateRepositoryLinkCommandOutput extends CreateRepositoryLinkOutput, __MetadataBearer {
22
+ }
23
+ declare const CreateRepositoryLinkCommand_base: {
24
+ new (input: CreateRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
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>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { CodeConnectionsClient, CreateRepositoryLinkCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
34
+ * // const { CodeConnectionsClient, CreateRepositoryLinkCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
35
+ * const client = new CodeConnectionsClient(config);
36
+ * const input = { // CreateRepositoryLinkInput
37
+ * ConnectionArn: "STRING_VALUE", // required
38
+ * OwnerId: "STRING_VALUE", // required
39
+ * RepositoryName: "STRING_VALUE", // required
40
+ * EncryptionKeyArn: "STRING_VALUE",
41
+ * Tags: [ // TagList
42
+ * { // Tag
43
+ * Key: "STRING_VALUE", // required
44
+ * Value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
48
+ * const command = new CreateRepositoryLinkCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateRepositoryLinkOutput
51
+ * // RepositoryLinkInfo: { // RepositoryLinkInfo
52
+ * // ConnectionArn: "STRING_VALUE", // required
53
+ * // EncryptionKeyArn: "STRING_VALUE",
54
+ * // OwnerId: "STRING_VALUE", // required
55
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
56
+ * // RepositoryLinkArn: "STRING_VALUE", // required
57
+ * // RepositoryLinkId: "STRING_VALUE", // required
58
+ * // RepositoryName: "STRING_VALUE", // required
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param CreateRepositoryLinkCommandInput - {@link CreateRepositoryLinkCommandInput}
65
+ * @returns {@link CreateRepositoryLinkCommandOutput}
66
+ * @see {@link CreateRepositoryLinkCommandInput} for command's `input` shape.
67
+ * @see {@link CreateRepositoryLinkCommandOutput} for command's `response` shape.
68
+ * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You do not have sufficient access to perform this action.</p>
72
+ *
73
+ * @throws {@link ConcurrentModificationException} (client fault)
74
+ * <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>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>Received an internal server exception. Try again later.</p>
78
+ *
79
+ * @throws {@link InvalidInputException} (client fault)
80
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
81
+ *
82
+ * @throws {@link LimitExceededException} (client fault)
83
+ * <p>Exceeded the maximum limit for connections.</p>
84
+ *
85
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
86
+ * <p>Unable to create resource. Resource already exists.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>The request was denied due to request throttling.</p>
90
+ *
91
+ * @throws {@link CodeConnectionsServiceException}
92
+ * <p>Base exception class for all service exceptions from CodeConnections service.</p>
93
+ *
94
+ * @public
95
+ */
96
+ export declare class CreateRepositoryLinkCommand extends CreateRepositoryLinkCommand_base {
97
+ }