@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,1735 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CodeConnectionsServiceException as __BaseException } from "./CodeConnectionsServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message?: string;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * @public
18
+ * @enum
19
+ */
20
+ export declare const BlockerStatus: {
21
+ readonly ACTIVE: "ACTIVE";
22
+ readonly RESOLVED: "RESOLVED";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type BlockerStatus = (typeof BlockerStatus)[keyof typeof BlockerStatus];
28
+ /**
29
+ * @public
30
+ * @enum
31
+ */
32
+ export declare const BlockerType: {
33
+ readonly AUTOMATED: "AUTOMATED";
34
+ };
35
+ /**
36
+ * @public
37
+ */
38
+ export type BlockerType = (typeof BlockerType)[keyof typeof BlockerType];
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const ProviderType: {
44
+ readonly BITBUCKET: "Bitbucket";
45
+ readonly GITHUB: "GitHub";
46
+ readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
47
+ readonly GITLAB: "GitLab";
48
+ readonly GITLAB_SELF_MANAGED: "GitLabSelfManaged";
49
+ };
50
+ /**
51
+ * @public
52
+ */
53
+ export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
54
+ /**
55
+ * <p>A tag is a key-value pair that is used to manage the resource.</p>
56
+ * <p>This tag is available for use by Amazon Web Services services that support tags.</p>
57
+ * @public
58
+ */
59
+ export interface Tag {
60
+ /**
61
+ * <p>The tag's key.</p>
62
+ * @public
63
+ */
64
+ Key: string | undefined;
65
+ /**
66
+ * <p>The tag's value.</p>
67
+ * @public
68
+ */
69
+ Value: string | undefined;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface CreateConnectionInput {
75
+ /**
76
+ * <p>The name of the external provider where your third-party code repository is
77
+ * configured.</p>
78
+ * @public
79
+ */
80
+ ProviderType?: ProviderType;
81
+ /**
82
+ * <p>The name of the connection to be created.</p>
83
+ * @public
84
+ */
85
+ ConnectionName: string | undefined;
86
+ /**
87
+ * <p>The key-value pair to use when tagging the resource.</p>
88
+ * @public
89
+ */
90
+ Tags?: Tag[];
91
+ /**
92
+ * <p>The Amazon Resource Name (ARN) of the host associated with the connection to be created.</p>
93
+ * @public
94
+ */
95
+ HostArn?: string;
96
+ }
97
+ /**
98
+ * @public
99
+ */
100
+ export interface CreateConnectionOutput {
101
+ /**
102
+ * <p>The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the
103
+ * connection reference when the connection is shared between Amazon Web Services services.</p>
104
+ * <note>
105
+ * <p>The ARN is never reused if the connection is deleted.</p>
106
+ * </note>
107
+ * @public
108
+ */
109
+ ConnectionArn: string | undefined;
110
+ /**
111
+ * <p>Specifies the tags applied to the resource.</p>
112
+ * @public
113
+ */
114
+ Tags?: Tag[];
115
+ }
116
+ /**
117
+ * <p>Exceeded the maximum limit for connections.</p>
118
+ * @public
119
+ */
120
+ export declare class LimitExceededException extends __BaseException {
121
+ readonly name: "LimitExceededException";
122
+ readonly $fault: "client";
123
+ Message?: string;
124
+ /**
125
+ * @internal
126
+ */
127
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
128
+ }
129
+ /**
130
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
131
+ * @public
132
+ */
133
+ export declare class ResourceNotFoundException extends __BaseException {
134
+ readonly name: "ResourceNotFoundException";
135
+ readonly $fault: "client";
136
+ Message?: string;
137
+ /**
138
+ * @internal
139
+ */
140
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
141
+ }
142
+ /**
143
+ * <p>Resource not found. Verify the ARN for the host resource and try again.</p>
144
+ * @public
145
+ */
146
+ export declare class ResourceUnavailableException extends __BaseException {
147
+ readonly name: "ResourceUnavailableException";
148
+ readonly $fault: "client";
149
+ Message?: string;
150
+ /**
151
+ * @internal
152
+ */
153
+ constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
154
+ }
155
+ /**
156
+ * <p>The VPC configuration provisioned for the host.</p>
157
+ * @public
158
+ */
159
+ export interface VpcConfiguration {
160
+ /**
161
+ * <p>The ID of the Amazon VPC connected to the infrastructure where your provider type is
162
+ * installed.</p>
163
+ * @public
164
+ */
165
+ VpcId: string | undefined;
166
+ /**
167
+ * <p>The ID of the subnet or subnets associated with the Amazon VPC connected to the
168
+ * infrastructure where your provider type is installed.</p>
169
+ * @public
170
+ */
171
+ SubnetIds: string[] | undefined;
172
+ /**
173
+ * <p>The ID of the security group or security groups associated with the Amazon VPC connected
174
+ * to the infrastructure where your provider type is installed.</p>
175
+ * @public
176
+ */
177
+ SecurityGroupIds: string[] | undefined;
178
+ /**
179
+ * <p>The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.</p>
180
+ * @public
181
+ */
182
+ TlsCertificate?: string;
183
+ }
184
+ /**
185
+ * @public
186
+ */
187
+ export interface CreateHostInput {
188
+ /**
189
+ * <p>The name of the host to be created.</p>
190
+ * @public
191
+ */
192
+ Name: string | undefined;
193
+ /**
194
+ * <p>The name of the installed provider to be associated with your connection. The host
195
+ * resource represents the infrastructure where your provider type is installed. The valid
196
+ * provider type is GitHub Enterprise Server.</p>
197
+ * @public
198
+ */
199
+ ProviderType: ProviderType | undefined;
200
+ /**
201
+ * <p>The endpoint of the infrastructure to be represented by the host after it is
202
+ * created.</p>
203
+ * @public
204
+ */
205
+ ProviderEndpoint: string | undefined;
206
+ /**
207
+ * <p>The VPC configuration to be provisioned for the host. A VPC must be configured and the
208
+ * infrastructure to be represented by the host must already be connected to the VPC.</p>
209
+ * @public
210
+ */
211
+ VpcConfiguration?: VpcConfiguration;
212
+ /**
213
+ * <p>Tags for the host to be created.</p>
214
+ * @public
215
+ */
216
+ Tags?: Tag[];
217
+ }
218
+ /**
219
+ * @public
220
+ */
221
+ export interface CreateHostOutput {
222
+ /**
223
+ * <p>The Amazon Resource Name (ARN) of the host to be created.</p>
224
+ * @public
225
+ */
226
+ HostArn?: string;
227
+ /**
228
+ * <p>Tags for the created host.</p>
229
+ * @public
230
+ */
231
+ Tags?: Tag[];
232
+ }
233
+ /**
234
+ * <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>
235
+ * @public
236
+ */
237
+ export declare class ConcurrentModificationException extends __BaseException {
238
+ readonly name: "ConcurrentModificationException";
239
+ readonly $fault: "client";
240
+ Message?: string;
241
+ /**
242
+ * @internal
243
+ */
244
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
245
+ }
246
+ /**
247
+ * @public
248
+ */
249
+ export interface CreateRepositoryLinkInput {
250
+ /**
251
+ * <p>The Amazon Resource Name (ARN) of the connection to be associated with the repository link.</p>
252
+ * @public
253
+ */
254
+ ConnectionArn: string | undefined;
255
+ /**
256
+ * <p>The owner ID for the repository associated with a specific sync configuration, such as
257
+ * the owner ID in GitHub.</p>
258
+ * @public
259
+ */
260
+ OwnerId: string | undefined;
261
+ /**
262
+ * <p>The name of the repository to be associated with the repository link.</p>
263
+ * @public
264
+ */
265
+ RepositoryName: string | undefined;
266
+ /**
267
+ * <p>The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.</p>
268
+ * @public
269
+ */
270
+ EncryptionKeyArn?: string;
271
+ /**
272
+ * <p>The tags for the repository to be associated with the repository link.</p>
273
+ * @public
274
+ */
275
+ Tags?: Tag[];
276
+ }
277
+ /**
278
+ * <p>Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.</p>
279
+ * @public
280
+ */
281
+ export interface RepositoryLinkInfo {
282
+ /**
283
+ * <p>The Amazon Resource Name (ARN) of the connection associated with the repository link.</p>
284
+ * @public
285
+ */
286
+ ConnectionArn: string | undefined;
287
+ /**
288
+ * <p>The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.</p>
289
+ * @public
290
+ */
291
+ EncryptionKeyArn?: string;
292
+ /**
293
+ * <p>The owner ID for the repository associated with the repository link, such as the owner
294
+ * ID in GitHub.</p>
295
+ * @public
296
+ */
297
+ OwnerId: string | undefined;
298
+ /**
299
+ * <p>The provider type for the connection, such as GitHub, associated with the repository link.</p>
300
+ * @public
301
+ */
302
+ ProviderType: ProviderType | undefined;
303
+ /**
304
+ * <p>The Amazon Resource Name (ARN) of the repository link.</p>
305
+ * @public
306
+ */
307
+ RepositoryLinkArn: string | undefined;
308
+ /**
309
+ * <p>The ID of the repository link.</p>
310
+ * @public
311
+ */
312
+ RepositoryLinkId: string | undefined;
313
+ /**
314
+ * <p>The name of the repository associated with the repository link.</p>
315
+ * @public
316
+ */
317
+ RepositoryName: string | undefined;
318
+ }
319
+ /**
320
+ * @public
321
+ */
322
+ export interface CreateRepositoryLinkOutput {
323
+ /**
324
+ * <p>The returned information about the created repository link.</p>
325
+ * @public
326
+ */
327
+ RepositoryLinkInfo: RepositoryLinkInfo | undefined;
328
+ }
329
+ /**
330
+ * <p>Received an internal server exception. Try again later.</p>
331
+ * @public
332
+ */
333
+ export declare class InternalServerException extends __BaseException {
334
+ readonly name: "InternalServerException";
335
+ readonly $fault: "server";
336
+ Message?: string;
337
+ /**
338
+ * @internal
339
+ */
340
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
341
+ }
342
+ /**
343
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
344
+ * @public
345
+ */
346
+ export declare class InvalidInputException extends __BaseException {
347
+ readonly name: "InvalidInputException";
348
+ readonly $fault: "client";
349
+ Message?: string;
350
+ /**
351
+ * @internal
352
+ */
353
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
354
+ }
355
+ /**
356
+ * <p>Unable to create resource. Resource already exists.</p>
357
+ * @public
358
+ */
359
+ export declare class ResourceAlreadyExistsException extends __BaseException {
360
+ readonly name: "ResourceAlreadyExistsException";
361
+ readonly $fault: "client";
362
+ Message?: string;
363
+ /**
364
+ * @internal
365
+ */
366
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
367
+ }
368
+ /**
369
+ * <p>The request was denied due to request throttling.</p>
370
+ * @public
371
+ */
372
+ export declare class ThrottlingException extends __BaseException {
373
+ readonly name: "ThrottlingException";
374
+ readonly $fault: "client";
375
+ Message?: string;
376
+ /**
377
+ * @internal
378
+ */
379
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
380
+ }
381
+ /**
382
+ * @public
383
+ * @enum
384
+ */
385
+ export declare const PublishDeploymentStatus: {
386
+ readonly DISABLED: "DISABLED";
387
+ readonly ENABLED: "ENABLED";
388
+ };
389
+ /**
390
+ * @public
391
+ */
392
+ export type PublishDeploymentStatus = (typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus];
393
+ /**
394
+ * @public
395
+ * @enum
396
+ */
397
+ export declare const SyncConfigurationType: {
398
+ readonly CFN_STACK_SYNC: "CFN_STACK_SYNC";
399
+ };
400
+ /**
401
+ * @public
402
+ */
403
+ export type SyncConfigurationType = (typeof SyncConfigurationType)[keyof typeof SyncConfigurationType];
404
+ /**
405
+ * @public
406
+ * @enum
407
+ */
408
+ export declare const TriggerResourceUpdateOn: {
409
+ readonly ANY_CHANGE: "ANY_CHANGE";
410
+ readonly FILE_CHANGE: "FILE_CHANGE";
411
+ };
412
+ /**
413
+ * @public
414
+ */
415
+ export type TriggerResourceUpdateOn = (typeof TriggerResourceUpdateOn)[keyof typeof TriggerResourceUpdateOn];
416
+ /**
417
+ * @public
418
+ */
419
+ export interface CreateSyncConfigurationInput {
420
+ /**
421
+ * <p>The branch in the repository from which changes will be synced.</p>
422
+ * @public
423
+ */
424
+ Branch: string | undefined;
425
+ /**
426
+ * <p>The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.</p>
427
+ * @public
428
+ */
429
+ ConfigFile: string | undefined;
430
+ /**
431
+ * <p>The ID of the repository link created for the connection. A repository link allows Git
432
+ * sync to monitor and sync changes to files in a specified Git repository.</p>
433
+ * @public
434
+ */
435
+ RepositoryLinkId: string | undefined;
436
+ /**
437
+ * <p>The name of the Amazon Web Services resource (for example, a CloudFormation stack in the
438
+ * case of CFN_STACK_SYNC) that will be synchronized from the linked repository.</p>
439
+ * @public
440
+ */
441
+ ResourceName: string | undefined;
442
+ /**
443
+ * <p>The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to
444
+ * update a given Amazon Web Services resource on your behalf.</p>
445
+ * @public
446
+ */
447
+ RoleArn: string | undefined;
448
+ /**
449
+ * <p>The type of sync configuration.</p>
450
+ * @public
451
+ */
452
+ SyncType: SyncConfigurationType | undefined;
453
+ /**
454
+ * <p>Whether to enable or disable publishing of deployment status to source providers.</p>
455
+ * @public
456
+ */
457
+ PublishDeploymentStatus?: PublishDeploymentStatus;
458
+ /**
459
+ * <p>When to trigger Git sync to begin the stack update.</p>
460
+ * @public
461
+ */
462
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
463
+ }
464
+ /**
465
+ * <p>Information, such as repository, branch, provider, and resource names for a specific sync configuration.</p>
466
+ * @public
467
+ */
468
+ export interface SyncConfiguration {
469
+ /**
470
+ * <p>The branch associated with a specific sync configuration.</p>
471
+ * @public
472
+ */
473
+ Branch: string | undefined;
474
+ /**
475
+ * <p>The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.</p>
476
+ * @public
477
+ */
478
+ ConfigFile?: string;
479
+ /**
480
+ * <p>The owner ID for the repository associated with a specific sync configuration, such as
481
+ * the owner ID in GitHub.</p>
482
+ * @public
483
+ */
484
+ OwnerId: string | undefined;
485
+ /**
486
+ * <p>The connection provider type associated with a specific sync configuration, such as
487
+ * GitHub.</p>
488
+ * @public
489
+ */
490
+ ProviderType: ProviderType | undefined;
491
+ /**
492
+ * <p>The ID of the repository link associated with a specific sync configuration.</p>
493
+ * @public
494
+ */
495
+ RepositoryLinkId: string | undefined;
496
+ /**
497
+ * <p>The name of the repository associated with a specific sync configuration.</p>
498
+ * @public
499
+ */
500
+ RepositoryName: string | undefined;
501
+ /**
502
+ * <p>The name of the connection resource associated with a specific sync configuration.</p>
503
+ * @public
504
+ */
505
+ ResourceName: string | undefined;
506
+ /**
507
+ * <p>The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.</p>
508
+ * @public
509
+ */
510
+ RoleArn: string | undefined;
511
+ /**
512
+ * <p>The type of sync for a specific sync configuration.</p>
513
+ * @public
514
+ */
515
+ SyncType: SyncConfigurationType | undefined;
516
+ /**
517
+ * <p>Whether to enable or disable publishing of deployment status to source providers.</p>
518
+ * @public
519
+ */
520
+ PublishDeploymentStatus?: PublishDeploymentStatus;
521
+ /**
522
+ * <p>When to trigger Git sync to begin the stack update.</p>
523
+ * @public
524
+ */
525
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
526
+ }
527
+ /**
528
+ * @public
529
+ */
530
+ export interface CreateSyncConfigurationOutput {
531
+ /**
532
+ * <p>The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services
533
+ * resource. </p>
534
+ * @public
535
+ */
536
+ SyncConfiguration: SyncConfiguration | undefined;
537
+ }
538
+ /**
539
+ * @public
540
+ */
541
+ export interface DeleteConnectionInput {
542
+ /**
543
+ * <p>The Amazon Resource Name (ARN) of the connection to be deleted.</p>
544
+ * <note>
545
+ * <p>The ARN is never reused if the connection is deleted.</p>
546
+ * </note>
547
+ * @public
548
+ */
549
+ ConnectionArn: string | undefined;
550
+ }
551
+ /**
552
+ * @public
553
+ */
554
+ export interface DeleteConnectionOutput {
555
+ }
556
+ /**
557
+ * @public
558
+ */
559
+ export interface DeleteHostInput {
560
+ /**
561
+ * <p>The Amazon Resource Name (ARN) of the host to be deleted.</p>
562
+ * @public
563
+ */
564
+ HostArn: string | undefined;
565
+ }
566
+ /**
567
+ * @public
568
+ */
569
+ export interface DeleteHostOutput {
570
+ }
571
+ /**
572
+ * @public
573
+ */
574
+ export interface DeleteRepositoryLinkInput {
575
+ /**
576
+ * <p>The ID of the repository link to be deleted.</p>
577
+ * @public
578
+ */
579
+ RepositoryLinkId: string | undefined;
580
+ }
581
+ /**
582
+ * @public
583
+ */
584
+ export interface DeleteRepositoryLinkOutput {
585
+ }
586
+ /**
587
+ * <p>Unable to continue. The sync blocker still exists.</p>
588
+ * @public
589
+ */
590
+ export declare class SyncConfigurationStillExistsException extends __BaseException {
591
+ readonly name: "SyncConfigurationStillExistsException";
592
+ readonly $fault: "client";
593
+ Message?: string;
594
+ /**
595
+ * @internal
596
+ */
597
+ constructor(opts: __ExceptionOptionType<SyncConfigurationStillExistsException, __BaseException>);
598
+ }
599
+ /**
600
+ * <p>The specified provider type is not supported for connections.</p>
601
+ * @public
602
+ */
603
+ export declare class UnsupportedProviderTypeException extends __BaseException {
604
+ readonly name: "UnsupportedProviderTypeException";
605
+ readonly $fault: "client";
606
+ Message?: string;
607
+ /**
608
+ * @internal
609
+ */
610
+ constructor(opts: __ExceptionOptionType<UnsupportedProviderTypeException, __BaseException>);
611
+ }
612
+ /**
613
+ * @public
614
+ */
615
+ export interface DeleteSyncConfigurationInput {
616
+ /**
617
+ * <p>The type of sync configuration to be deleted.</p>
618
+ * @public
619
+ */
620
+ SyncType: SyncConfigurationType | undefined;
621
+ /**
622
+ * <p>The name of the Amazon Web Services resource associated with the sync configuration to be
623
+ * deleted.</p>
624
+ * @public
625
+ */
626
+ ResourceName: string | undefined;
627
+ }
628
+ /**
629
+ * @public
630
+ */
631
+ export interface DeleteSyncConfigurationOutput {
632
+ }
633
+ /**
634
+ * @public
635
+ */
636
+ export interface GetConnectionInput {
637
+ /**
638
+ * <p>The Amazon Resource Name (ARN) of a connection.</p>
639
+ * @public
640
+ */
641
+ ConnectionArn: string | undefined;
642
+ }
643
+ /**
644
+ * @public
645
+ * @enum
646
+ */
647
+ export declare const ConnectionStatus: {
648
+ readonly AVAILABLE: "AVAILABLE";
649
+ readonly ERROR: "ERROR";
650
+ readonly PENDING: "PENDING";
651
+ };
652
+ /**
653
+ * @public
654
+ */
655
+ export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
656
+ /**
657
+ * <p>A resource that is used to connect third-party source providers with services like CodePipeline.</p>
658
+ * <p>Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the
659
+ * connection in the console.</p>
660
+ * @public
661
+ */
662
+ export interface Connection {
663
+ /**
664
+ * <p>The name of the connection. Connection names must be unique in an Amazon Web Services account.</p>
665
+ * @public
666
+ */
667
+ ConnectionName?: string;
668
+ /**
669
+ * <p>The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection
670
+ * reference when the connection is shared between Amazon Web Services.</p>
671
+ * <note>
672
+ * <p>The ARN is never reused if the connection is deleted.</p>
673
+ * </note>
674
+ * @public
675
+ */
676
+ ConnectionArn?: string;
677
+ /**
678
+ * <p>The name of the external provider where your third-party code repository is
679
+ * configured.</p>
680
+ * @public
681
+ */
682
+ ProviderType?: ProviderType;
683
+ /**
684
+ * <p>The identifier of the external provider where your third-party code repository is configured.
685
+ * For Bitbucket, this is the account ID of the owner of the Bitbucket repository.</p>
686
+ * @public
687
+ */
688
+ OwnerAccountId?: string;
689
+ /**
690
+ * <p>The current status of the connection. </p>
691
+ * @public
692
+ */
693
+ ConnectionStatus?: ConnectionStatus;
694
+ /**
695
+ * <p>The Amazon Resource Name (ARN) of the host associated with the connection.</p>
696
+ * @public
697
+ */
698
+ HostArn?: string;
699
+ }
700
+ /**
701
+ * @public
702
+ */
703
+ export interface GetConnectionOutput {
704
+ /**
705
+ * <p>The connection details, such as status, owner, and provider type.</p>
706
+ * @public
707
+ */
708
+ Connection?: Connection;
709
+ }
710
+ /**
711
+ * @public
712
+ */
713
+ export interface GetHostInput {
714
+ /**
715
+ * <p>The Amazon Resource Name (ARN) of the requested host.</p>
716
+ * @public
717
+ */
718
+ HostArn: string | undefined;
719
+ }
720
+ /**
721
+ * @public
722
+ */
723
+ export interface GetHostOutput {
724
+ /**
725
+ * <p>The name of the requested host.</p>
726
+ * @public
727
+ */
728
+ Name?: string;
729
+ /**
730
+ * <p>The status of the requested host.</p>
731
+ * @public
732
+ */
733
+ Status?: string;
734
+ /**
735
+ * <p>The provider type of the requested host, such as GitHub Enterprise Server.</p>
736
+ * @public
737
+ */
738
+ ProviderType?: ProviderType;
739
+ /**
740
+ * <p>The endpoint of the infrastructure represented by the requested host.</p>
741
+ * @public
742
+ */
743
+ ProviderEndpoint?: string;
744
+ /**
745
+ * <p>The VPC configuration of the requested host.</p>
746
+ * @public
747
+ */
748
+ VpcConfiguration?: VpcConfiguration;
749
+ }
750
+ /**
751
+ * @public
752
+ */
753
+ export interface GetRepositoryLinkInput {
754
+ /**
755
+ * <p>The ID of the repository link to get.</p>
756
+ * @public
757
+ */
758
+ RepositoryLinkId: string | undefined;
759
+ }
760
+ /**
761
+ * @public
762
+ */
763
+ export interface GetRepositoryLinkOutput {
764
+ /**
765
+ * <p>The information returned for a specified repository link.</p>
766
+ * @public
767
+ */
768
+ RepositoryLinkInfo: RepositoryLinkInfo | undefined;
769
+ }
770
+ /**
771
+ * @public
772
+ */
773
+ export interface GetRepositorySyncStatusInput {
774
+ /**
775
+ * <p>The branch of the repository link for the requested repository sync status.</p>
776
+ * @public
777
+ */
778
+ Branch: string | undefined;
779
+ /**
780
+ * <p>The repository link ID for the requested repository sync status.</p>
781
+ * @public
782
+ */
783
+ RepositoryLinkId: string | undefined;
784
+ /**
785
+ * <p>The sync type of the requested sync status.</p>
786
+ * @public
787
+ */
788
+ SyncType: SyncConfigurationType | undefined;
789
+ }
790
+ /**
791
+ * <p>Information about a repository sync event.</p>
792
+ * @public
793
+ */
794
+ export interface RepositorySyncEvent {
795
+ /**
796
+ * <p>A description of a repository sync event.</p>
797
+ * @public
798
+ */
799
+ Event: string | undefined;
800
+ /**
801
+ * <p>The ID for a repository sync event.</p>
802
+ * @public
803
+ */
804
+ ExternalId?: string;
805
+ /**
806
+ * <p>The time that a repository sync event occurred.</p>
807
+ * @public
808
+ */
809
+ Time: Date | undefined;
810
+ /**
811
+ * <p>The event type for a repository sync event.</p>
812
+ * @public
813
+ */
814
+ Type: string | undefined;
815
+ }
816
+ /**
817
+ * @public
818
+ * @enum
819
+ */
820
+ export declare const RepositorySyncStatus: {
821
+ readonly FAILED: "FAILED";
822
+ readonly INITIATED: "INITIATED";
823
+ readonly IN_PROGRESS: "IN_PROGRESS";
824
+ readonly QUEUED: "QUEUED";
825
+ readonly SUCCEEDED: "SUCCEEDED";
826
+ };
827
+ /**
828
+ * @public
829
+ */
830
+ export type RepositorySyncStatus = (typeof RepositorySyncStatus)[keyof typeof RepositorySyncStatus];
831
+ /**
832
+ * <p>Information about a repository sync attempt for a repository with a sync configuration.</p>
833
+ * @public
834
+ */
835
+ export interface RepositorySyncAttempt {
836
+ /**
837
+ * <p>The start time of a specific sync attempt.</p>
838
+ * @public
839
+ */
840
+ StartedAt: Date | undefined;
841
+ /**
842
+ * <p>The status of a specific sync attempt. The following are valid statuses:</p>
843
+ * <ul>
844
+ * <li>
845
+ * <p>INITIATED - A repository sync attempt has been created and will begin soon.</p>
846
+ * </li>
847
+ * <li>
848
+ * <p>IN_PROGRESS - A repository sync attempt has started and work is being done to
849
+ * reconcile the branch.</p>
850
+ * </li>
851
+ * <li>
852
+ * <p>SUCCEEDED - The repository sync attempt has completed successfully.</p>
853
+ * </li>
854
+ * <li>
855
+ * <p>FAILED - The repository sync attempt has failed.</p>
856
+ * </li>
857
+ * <li>
858
+ * <p>QUEUED - The repository sync attempt didn't execute and was queued.</p>
859
+ * </li>
860
+ * </ul>
861
+ * @public
862
+ */
863
+ Status: RepositorySyncStatus | undefined;
864
+ /**
865
+ * <p>The events associated with a specific sync attempt.</p>
866
+ * @public
867
+ */
868
+ Events: RepositorySyncEvent[] | undefined;
869
+ }
870
+ /**
871
+ * @public
872
+ */
873
+ export interface GetRepositorySyncStatusOutput {
874
+ /**
875
+ * <p>The status of the latest sync returned for a specified repository and branch.</p>
876
+ * @public
877
+ */
878
+ LatestSync: RepositorySyncAttempt | undefined;
879
+ }
880
+ /**
881
+ * @public
882
+ */
883
+ export interface GetResourceSyncStatusInput {
884
+ /**
885
+ * <p>The name of the Amazon Web Services resource for the sync status with the Git
886
+ * repository.</p>
887
+ * @public
888
+ */
889
+ ResourceName: string | undefined;
890
+ /**
891
+ * <p>The sync type for the sync status with the Git repository.</p>
892
+ * @public
893
+ */
894
+ SyncType: SyncConfigurationType | undefined;
895
+ }
896
+ /**
897
+ * <p>Information about the revision for a specific sync event, such as the branch, owner ID, and name of the repository.</p>
898
+ * @public
899
+ */
900
+ export interface Revision {
901
+ /**
902
+ * <p>The branch name for a specific revision.</p>
903
+ * @public
904
+ */
905
+ Branch: string | undefined;
906
+ /**
907
+ * <p>The directory, if any, for a specific revision.</p>
908
+ * @public
909
+ */
910
+ Directory: string | undefined;
911
+ /**
912
+ * <p>The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.</p>
913
+ * @public
914
+ */
915
+ OwnerId: string | undefined;
916
+ /**
917
+ * <p>The repository name for a specific revision.</p>
918
+ * @public
919
+ */
920
+ RepositoryName: string | undefined;
921
+ /**
922
+ * <p>The provider type for a revision, such as GitHub.</p>
923
+ * @public
924
+ */
925
+ ProviderType: ProviderType | undefined;
926
+ /**
927
+ * <p>The SHA, such as the commit ID, for a specific revision.</p>
928
+ * @public
929
+ */
930
+ Sha: string | undefined;
931
+ }
932
+ /**
933
+ * <p>Information about a resource sync event for the resource associated with a sync configuration.</p>
934
+ * @public
935
+ */
936
+ export interface ResourceSyncEvent {
937
+ /**
938
+ * <p>The event for a resource sync event.</p>
939
+ * @public
940
+ */
941
+ Event: string | undefined;
942
+ /**
943
+ * <p>The ID for a resource sync event.</p>
944
+ * @public
945
+ */
946
+ ExternalId?: string;
947
+ /**
948
+ * <p>The time that a resource sync event occurred.</p>
949
+ * @public
950
+ */
951
+ Time: Date | undefined;
952
+ /**
953
+ * <p>The type of resource sync event.</p>
954
+ * @public
955
+ */
956
+ Type: string | undefined;
957
+ }
958
+ /**
959
+ * @public
960
+ * @enum
961
+ */
962
+ export declare const ResourceSyncStatus: {
963
+ readonly FAILED: "FAILED";
964
+ readonly INITIATED: "INITIATED";
965
+ readonly IN_PROGRESS: "IN_PROGRESS";
966
+ readonly SUCCEEDED: "SUCCEEDED";
967
+ };
968
+ /**
969
+ * @public
970
+ */
971
+ export type ResourceSyncStatus = (typeof ResourceSyncStatus)[keyof typeof ResourceSyncStatus];
972
+ /**
973
+ * <p>Information about a resource sync attempt.</p>
974
+ * @public
975
+ */
976
+ export interface ResourceSyncAttempt {
977
+ /**
978
+ * <p>The events related to a resource sync attempt.</p>
979
+ * @public
980
+ */
981
+ Events: ResourceSyncEvent[] | undefined;
982
+ /**
983
+ * <p>The current state of the resource as defined in the resource's <code>config-file</code>
984
+ * in the linked repository.</p>
985
+ * @public
986
+ */
987
+ InitialRevision: Revision | undefined;
988
+ /**
989
+ * <p>The start time for a resource sync attempt.</p>
990
+ * @public
991
+ */
992
+ StartedAt: Date | undefined;
993
+ /**
994
+ * <p>The status for a resource sync attempt. The follow are valid statuses:</p>
995
+ * <ul>
996
+ * <li>
997
+ * <p>SYNC-INITIATED - A resource sync attempt has been created and will begin soon.</p>
998
+ * </li>
999
+ * <li>
1000
+ * <p>SYNCING - Syncing has started and work is being done to reconcile state.</p>
1001
+ * </li>
1002
+ * <li>
1003
+ * <p>SYNCED - Syncing has completed successfully.</p>
1004
+ * </li>
1005
+ * <li>
1006
+ * <p>SYNC_FAILED - A resource sync attempt has failed.</p>
1007
+ * </li>
1008
+ * </ul>
1009
+ * @public
1010
+ */
1011
+ Status: ResourceSyncStatus | undefined;
1012
+ /**
1013
+ * <p>The desired state of the resource as defined in the resource's <code>config-file</code>
1014
+ * in the linked repository. Git sync attempts to update the resource to this state.</p>
1015
+ * @public
1016
+ */
1017
+ TargetRevision: Revision | undefined;
1018
+ /**
1019
+ * <p>The name of the Amazon Web Services resource that is attempted to be synchronized.</p>
1020
+ * @public
1021
+ */
1022
+ Target: string | undefined;
1023
+ }
1024
+ /**
1025
+ * @public
1026
+ */
1027
+ export interface GetResourceSyncStatusOutput {
1028
+ /**
1029
+ * <p>The desired state of the Amazon Web Services resource for the sync status with the Git
1030
+ * repository.</p>
1031
+ * @public
1032
+ */
1033
+ DesiredState?: Revision;
1034
+ /**
1035
+ * <p>The latest successful sync for the sync status with the Git repository.</p>
1036
+ * @public
1037
+ */
1038
+ LatestSuccessfulSync?: ResourceSyncAttempt;
1039
+ /**
1040
+ * <p>The latest sync for the sync status with the Git repository, whether successful or not.</p>
1041
+ * @public
1042
+ */
1043
+ LatestSync: ResourceSyncAttempt | undefined;
1044
+ }
1045
+ /**
1046
+ * @public
1047
+ */
1048
+ export interface GetSyncBlockerSummaryInput {
1049
+ /**
1050
+ * <p>The sync type for the sync blocker summary.</p>
1051
+ * @public
1052
+ */
1053
+ SyncType: SyncConfigurationType | undefined;
1054
+ /**
1055
+ * <p>The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository.</p>
1056
+ * @public
1057
+ */
1058
+ ResourceName: string | undefined;
1059
+ }
1060
+ /**
1061
+ * <p>The context for a specific sync blocker.</p>
1062
+ * @public
1063
+ */
1064
+ export interface SyncBlockerContext {
1065
+ /**
1066
+ * <p>The key provided for a context key-value pair for a specific sync blocker.</p>
1067
+ * @public
1068
+ */
1069
+ Key: string | undefined;
1070
+ /**
1071
+ * <p>The value provided for a context key-value pair for a specific sync blocker.</p>
1072
+ * @public
1073
+ */
1074
+ Value: string | undefined;
1075
+ }
1076
+ /**
1077
+ * <p>Information about a blocker for a sync event.</p>
1078
+ * @public
1079
+ */
1080
+ export interface SyncBlocker {
1081
+ /**
1082
+ * <p>The ID for a specific sync blocker.</p>
1083
+ * @public
1084
+ */
1085
+ Id: string | undefined;
1086
+ /**
1087
+ * <p>The sync blocker type.</p>
1088
+ * @public
1089
+ */
1090
+ Type: BlockerType | undefined;
1091
+ /**
1092
+ * <p>The status for a specific sync blocker.</p>
1093
+ * @public
1094
+ */
1095
+ Status: BlockerStatus | undefined;
1096
+ /**
1097
+ * <p>The provided reason for a specific sync blocker.</p>
1098
+ * @public
1099
+ */
1100
+ CreatedReason: string | undefined;
1101
+ /**
1102
+ * <p>The creation time for a specific sync blocker.</p>
1103
+ * @public
1104
+ */
1105
+ CreatedAt: Date | undefined;
1106
+ /**
1107
+ * <p>The contexts for a specific sync blocker.</p>
1108
+ * @public
1109
+ */
1110
+ Contexts?: SyncBlockerContext[];
1111
+ /**
1112
+ * <p>The resolved reason for a specific sync blocker.</p>
1113
+ * @public
1114
+ */
1115
+ ResolvedReason?: string;
1116
+ /**
1117
+ * <p>The time that a specific sync blocker was resolved.</p>
1118
+ * @public
1119
+ */
1120
+ ResolvedAt?: Date;
1121
+ }
1122
+ /**
1123
+ * <p>A summary for sync blockers.</p>
1124
+ * @public
1125
+ */
1126
+ export interface SyncBlockerSummary {
1127
+ /**
1128
+ * <p>The resource name for sync blocker summary.</p>
1129
+ * @public
1130
+ */
1131
+ ResourceName: string | undefined;
1132
+ /**
1133
+ * <p>The parent resource name for a sync blocker summary.</p>
1134
+ * @public
1135
+ */
1136
+ ParentResourceName?: string;
1137
+ /**
1138
+ * <p>The latest events for a sync blocker summary.</p>
1139
+ * @public
1140
+ */
1141
+ LatestBlockers?: SyncBlocker[];
1142
+ }
1143
+ /**
1144
+ * @public
1145
+ */
1146
+ export interface GetSyncBlockerSummaryOutput {
1147
+ /**
1148
+ * <p>The list of sync blockers for a specified resource.</p>
1149
+ * @public
1150
+ */
1151
+ SyncBlockerSummary: SyncBlockerSummary | undefined;
1152
+ }
1153
+ /**
1154
+ * @public
1155
+ */
1156
+ export interface GetSyncConfigurationInput {
1157
+ /**
1158
+ * <p>The sync type for the sync configuration for which you want to retrieve information.</p>
1159
+ * @public
1160
+ */
1161
+ SyncType: SyncConfigurationType | undefined;
1162
+ /**
1163
+ * <p>The name of the Amazon Web Services resource for the sync configuration for which you
1164
+ * want to retrieve information.</p>
1165
+ * @public
1166
+ */
1167
+ ResourceName: string | undefined;
1168
+ }
1169
+ /**
1170
+ * @public
1171
+ */
1172
+ export interface GetSyncConfigurationOutput {
1173
+ /**
1174
+ * <p>The details about the sync configuration for which you want to retrieve information.</p>
1175
+ * @public
1176
+ */
1177
+ SyncConfiguration: SyncConfiguration | undefined;
1178
+ }
1179
+ /**
1180
+ * @public
1181
+ */
1182
+ export interface ListConnectionsInput {
1183
+ /**
1184
+ * <p>Filters the list of connections to those associated with a specified provider, such as
1185
+ * Bitbucket.</p>
1186
+ * @public
1187
+ */
1188
+ ProviderTypeFilter?: ProviderType;
1189
+ /**
1190
+ * <p>Filters the list of connections to those associated with a specified host.</p>
1191
+ * @public
1192
+ */
1193
+ HostArnFilter?: string;
1194
+ /**
1195
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
1196
+ * results, make another call with the returned <code>nextToken</code> value.</p>
1197
+ * @public
1198
+ */
1199
+ MaxResults?: number;
1200
+ /**
1201
+ * <p>The token that was returned from the previous <code>ListConnections</code> call, which
1202
+ * can be used to return the next set of connections in the list.</p>
1203
+ * @public
1204
+ */
1205
+ NextToken?: string;
1206
+ }
1207
+ /**
1208
+ * @public
1209
+ */
1210
+ export interface ListConnectionsOutput {
1211
+ /**
1212
+ * <p>A list of connections and the details for each connection, such as status, owner, and
1213
+ * provider type.</p>
1214
+ * @public
1215
+ */
1216
+ Connections?: Connection[];
1217
+ /**
1218
+ * <p>A token that can be used in the next <code>ListConnections</code> call. To view all
1219
+ * items in the list, continue to call this operation with each subsequent token until no more
1220
+ * <code>nextToken</code> values are returned.</p>
1221
+ * @public
1222
+ */
1223
+ NextToken?: string;
1224
+ }
1225
+ /**
1226
+ * @public
1227
+ */
1228
+ export interface ListHostsInput {
1229
+ /**
1230
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
1231
+ * results, make another call with the returned <code>nextToken</code> value.</p>
1232
+ * @public
1233
+ */
1234
+ MaxResults?: number;
1235
+ /**
1236
+ * <p>The token that was returned from the previous <code>ListHosts</code> call, which can be
1237
+ * used to return the next set of hosts in the list.</p>
1238
+ * @public
1239
+ */
1240
+ NextToken?: string;
1241
+ }
1242
+ /**
1243
+ * <p>A resource that represents the infrastructure where a third-party provider is installed.
1244
+ * The host is used when you create connections to an installed third-party provider type, such
1245
+ * as GitHub Enterprise Server. You create one host for all connections to that provider.</p>
1246
+ * <note>
1247
+ * <p>A host created through the CLI or the SDK is in `PENDING` status by
1248
+ * default. You can make its status `AVAILABLE` by setting up the host in the console.</p>
1249
+ * </note>
1250
+ * @public
1251
+ */
1252
+ export interface Host {
1253
+ /**
1254
+ * <p>The name of the host.</p>
1255
+ * @public
1256
+ */
1257
+ Name?: string;
1258
+ /**
1259
+ * <p>The Amazon Resource Name (ARN) of the host.</p>
1260
+ * @public
1261
+ */
1262
+ HostArn?: string;
1263
+ /**
1264
+ * <p>The name of the installed provider to be associated with your connection. The host
1265
+ * resource represents the infrastructure where your provider type is installed. The valid
1266
+ * provider type is GitHub Enterprise Server.</p>
1267
+ * @public
1268
+ */
1269
+ ProviderType?: ProviderType;
1270
+ /**
1271
+ * <p>The endpoint of the infrastructure where your provider type is installed.</p>
1272
+ * @public
1273
+ */
1274
+ ProviderEndpoint?: string;
1275
+ /**
1276
+ * <p>The VPC configuration provisioned for the host.</p>
1277
+ * @public
1278
+ */
1279
+ VpcConfiguration?: VpcConfiguration;
1280
+ /**
1281
+ * <p>The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.</p>
1282
+ * @public
1283
+ */
1284
+ Status?: string;
1285
+ /**
1286
+ * <p>The status description for the host.</p>
1287
+ * @public
1288
+ */
1289
+ StatusMessage?: string;
1290
+ }
1291
+ /**
1292
+ * @public
1293
+ */
1294
+ export interface ListHostsOutput {
1295
+ /**
1296
+ * <p>A list of hosts and the details for each host, such as status, endpoint, and provider
1297
+ * type.</p>
1298
+ * @public
1299
+ */
1300
+ Hosts?: Host[];
1301
+ /**
1302
+ * <p>A token that can be used in the next <code>ListHosts</code> call. To view all items in the
1303
+ * list, continue to call this operation with each subsequent token until no more
1304
+ * <code>nextToken</code> values are returned.</p>
1305
+ * @public
1306
+ */
1307
+ NextToken?: string;
1308
+ }
1309
+ /**
1310
+ * @public
1311
+ */
1312
+ export interface ListRepositoryLinksInput {
1313
+ /**
1314
+ * <p>
1315
+ * A non-zero, non-negative integer used to limit the number of returned results.</p>
1316
+ * @public
1317
+ */
1318
+ MaxResults?: number;
1319
+ /**
1320
+ * <p>
1321
+ * An enumeration token that, when provided in a request, returns the next batch of the results.</p>
1322
+ * @public
1323
+ */
1324
+ NextToken?: string;
1325
+ }
1326
+ /**
1327
+ * @public
1328
+ */
1329
+ export interface ListRepositoryLinksOutput {
1330
+ /**
1331
+ * <p>Lists the repository links called by the list repository links operation.</p>
1332
+ * @public
1333
+ */
1334
+ RepositoryLinks: RepositoryLinkInfo[] | undefined;
1335
+ /**
1336
+ * <p>An enumeration token that allows the operation to batch the results of the operation. </p>
1337
+ * @public
1338
+ */
1339
+ NextToken?: string;
1340
+ }
1341
+ /**
1342
+ * @public
1343
+ */
1344
+ export interface ListRepositorySyncDefinitionsInput {
1345
+ /**
1346
+ * <p>The ID of the repository link for the sync definition for which you want to retrieve information.</p>
1347
+ * @public
1348
+ */
1349
+ RepositoryLinkId: string | undefined;
1350
+ /**
1351
+ * <p>The sync type of the repository link for the the sync definition for which you want to retrieve information.</p>
1352
+ * @public
1353
+ */
1354
+ SyncType: SyncConfigurationType | undefined;
1355
+ }
1356
+ /**
1357
+ * <p>The definition for a repository with a sync configuration.</p>
1358
+ * @public
1359
+ */
1360
+ export interface RepositorySyncDefinition {
1361
+ /**
1362
+ * <p>The branch specified for a repository sync definition.</p>
1363
+ * @public
1364
+ */
1365
+ Branch: string | undefined;
1366
+ /**
1367
+ * <p>The configuration file for a repository sync definition. This value comes from creating
1368
+ * or updating the <code>config-file</code> field of a <code>sync-configuration</code>.</p>
1369
+ * @public
1370
+ */
1371
+ Directory: string | undefined;
1372
+ /**
1373
+ * <p>The parent resource specified for a repository sync definition.</p>
1374
+ * @public
1375
+ */
1376
+ Parent: string | undefined;
1377
+ /**
1378
+ * <p>The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.</p>
1379
+ * @public
1380
+ */
1381
+ Target: string | undefined;
1382
+ }
1383
+ /**
1384
+ * @public
1385
+ */
1386
+ export interface ListRepositorySyncDefinitionsOutput {
1387
+ /**
1388
+ * <p>The list of repository sync definitions returned by the request. A
1389
+ * <code>RepositorySyncDefinition</code> is a mapping from a repository branch to all the
1390
+ * Amazon Web Services resources that are being synced from that branch.</p>
1391
+ * @public
1392
+ */
1393
+ RepositorySyncDefinitions: RepositorySyncDefinition[] | undefined;
1394
+ /**
1395
+ * <p>An enumeration token that, when provided in a request, returns the next batch of the
1396
+ * results.</p>
1397
+ * @public
1398
+ */
1399
+ NextToken?: string;
1400
+ }
1401
+ /**
1402
+ * @public
1403
+ */
1404
+ export interface ListSyncConfigurationsInput {
1405
+ /**
1406
+ * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
1407
+ * @public
1408
+ */
1409
+ MaxResults?: number;
1410
+ /**
1411
+ * <p>An enumeration token that allows the operation to batch the results of the operation.</p>
1412
+ * @public
1413
+ */
1414
+ NextToken?: string;
1415
+ /**
1416
+ * <p>The ID of the repository link for the requested list of sync configurations.</p>
1417
+ * @public
1418
+ */
1419
+ RepositoryLinkId: string | undefined;
1420
+ /**
1421
+ * <p>The sync type for the requested list of sync configurations.</p>
1422
+ * @public
1423
+ */
1424
+ SyncType: SyncConfigurationType | undefined;
1425
+ }
1426
+ /**
1427
+ * @public
1428
+ */
1429
+ export interface ListSyncConfigurationsOutput {
1430
+ /**
1431
+ * <p>The list of repository sync definitions returned by the request.</p>
1432
+ * @public
1433
+ */
1434
+ SyncConfigurations: SyncConfiguration[] | undefined;
1435
+ /**
1436
+ * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
1437
+ * @public
1438
+ */
1439
+ NextToken?: string;
1440
+ }
1441
+ /**
1442
+ * @public
1443
+ */
1444
+ export interface ListTagsForResourceInput {
1445
+ /**
1446
+ * <p>The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.</p>
1447
+ * @public
1448
+ */
1449
+ ResourceArn: string | undefined;
1450
+ }
1451
+ /**
1452
+ * @public
1453
+ */
1454
+ export interface ListTagsForResourceOutput {
1455
+ /**
1456
+ * <p>A list of tag key and value pairs associated with the specified resource.</p>
1457
+ * @public
1458
+ */
1459
+ Tags?: Tag[];
1460
+ }
1461
+ /**
1462
+ * @public
1463
+ */
1464
+ export interface TagResourceInput {
1465
+ /**
1466
+ * <p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>
1467
+ * @public
1468
+ */
1469
+ ResourceArn: string | undefined;
1470
+ /**
1471
+ * <p>The tags you want to modify or add to the resource.</p>
1472
+ * @public
1473
+ */
1474
+ Tags: Tag[] | undefined;
1475
+ }
1476
+ /**
1477
+ * @public
1478
+ */
1479
+ export interface TagResourceOutput {
1480
+ }
1481
+ /**
1482
+ * @public
1483
+ */
1484
+ export interface UntagResourceInput {
1485
+ /**
1486
+ * <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
1487
+ * @public
1488
+ */
1489
+ ResourceArn: string | undefined;
1490
+ /**
1491
+ * <p>The list of keys for the tags to be removed from the resource.</p>
1492
+ * @public
1493
+ */
1494
+ TagKeys: string[] | undefined;
1495
+ }
1496
+ /**
1497
+ * @public
1498
+ */
1499
+ export interface UntagResourceOutput {
1500
+ }
1501
+ /**
1502
+ * <p>Two conflicting operations have been made on the same resource.</p>
1503
+ * @public
1504
+ */
1505
+ export declare class ConflictException extends __BaseException {
1506
+ readonly name: "ConflictException";
1507
+ readonly $fault: "client";
1508
+ Message?: string;
1509
+ /**
1510
+ * @internal
1511
+ */
1512
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1513
+ }
1514
+ /**
1515
+ * <p>The operation is not supported. Check the connection status and try again.</p>
1516
+ * @public
1517
+ */
1518
+ export declare class UnsupportedOperationException extends __BaseException {
1519
+ readonly name: "UnsupportedOperationException";
1520
+ readonly $fault: "client";
1521
+ Message?: string;
1522
+ /**
1523
+ * @internal
1524
+ */
1525
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
1526
+ }
1527
+ /**
1528
+ * @public
1529
+ */
1530
+ export interface UpdateHostInput {
1531
+ /**
1532
+ * <p>The Amazon Resource Name (ARN) of the host to be updated.</p>
1533
+ * @public
1534
+ */
1535
+ HostArn: string | undefined;
1536
+ /**
1537
+ * <p>The URL or endpoint of the host to be updated.</p>
1538
+ * @public
1539
+ */
1540
+ ProviderEndpoint?: string;
1541
+ /**
1542
+ * <p>The VPC configuration of the host to be updated. A VPC must be configured and the
1543
+ * infrastructure to be represented by the host must already be connected to the VPC.</p>
1544
+ * @public
1545
+ */
1546
+ VpcConfiguration?: VpcConfiguration;
1547
+ }
1548
+ /**
1549
+ * @public
1550
+ */
1551
+ export interface UpdateHostOutput {
1552
+ }
1553
+ /**
1554
+ * <p>The conditional check failed. Try again later.</p>
1555
+ * @public
1556
+ */
1557
+ export declare class ConditionalCheckFailedException extends __BaseException {
1558
+ readonly name: "ConditionalCheckFailedException";
1559
+ readonly $fault: "client";
1560
+ Message?: string;
1561
+ /**
1562
+ * @internal
1563
+ */
1564
+ constructor(opts: __ExceptionOptionType<ConditionalCheckFailedException, __BaseException>);
1565
+ }
1566
+ /**
1567
+ * <p>The update is out of sync. Try syncing again.</p>
1568
+ * @public
1569
+ */
1570
+ export declare class UpdateOutOfSyncException extends __BaseException {
1571
+ readonly name: "UpdateOutOfSyncException";
1572
+ readonly $fault: "client";
1573
+ Message?: string;
1574
+ /**
1575
+ * @internal
1576
+ */
1577
+ constructor(opts: __ExceptionOptionType<UpdateOutOfSyncException, __BaseException>);
1578
+ }
1579
+ /**
1580
+ * @public
1581
+ */
1582
+ export interface UpdateRepositoryLinkInput {
1583
+ /**
1584
+ * <p>The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link.</p>
1585
+ * @public
1586
+ */
1587
+ ConnectionArn?: string;
1588
+ /**
1589
+ * <p>The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated.</p>
1590
+ * @public
1591
+ */
1592
+ EncryptionKeyArn?: string;
1593
+ /**
1594
+ * <p>The ID of the repository link to be updated.</p>
1595
+ * @public
1596
+ */
1597
+ RepositoryLinkId: string | undefined;
1598
+ }
1599
+ /**
1600
+ * @public
1601
+ */
1602
+ export interface UpdateRepositoryLinkOutput {
1603
+ /**
1604
+ * <p>Information about the repository link to be updated.</p>
1605
+ * @public
1606
+ */
1607
+ RepositoryLinkInfo: RepositoryLinkInfo | undefined;
1608
+ }
1609
+ /**
1610
+ * <p>Retrying the latest commit failed. Try again later.</p>
1611
+ * @public
1612
+ */
1613
+ export declare class RetryLatestCommitFailedException extends __BaseException {
1614
+ readonly name: "RetryLatestCommitFailedException";
1615
+ readonly $fault: "server";
1616
+ Message?: string;
1617
+ /**
1618
+ * @internal
1619
+ */
1620
+ constructor(opts: __ExceptionOptionType<RetryLatestCommitFailedException, __BaseException>);
1621
+ }
1622
+ /**
1623
+ * <p>Unable to continue. The sync blocker does not exist.</p>
1624
+ * @public
1625
+ */
1626
+ export declare class SyncBlockerDoesNotExistException extends __BaseException {
1627
+ readonly name: "SyncBlockerDoesNotExistException";
1628
+ readonly $fault: "client";
1629
+ Message?: string;
1630
+ /**
1631
+ * @internal
1632
+ */
1633
+ constructor(opts: __ExceptionOptionType<SyncBlockerDoesNotExistException, __BaseException>);
1634
+ }
1635
+ /**
1636
+ * @public
1637
+ */
1638
+ export interface UpdateSyncBlockerInput {
1639
+ /**
1640
+ * <p>The ID of the sync blocker to be updated.</p>
1641
+ * @public
1642
+ */
1643
+ Id: string | undefined;
1644
+ /**
1645
+ * <p>The sync type of the sync blocker to be updated.</p>
1646
+ * @public
1647
+ */
1648
+ SyncType: SyncConfigurationType | undefined;
1649
+ /**
1650
+ * <p>The name of the resource for the sync blocker to be updated.</p>
1651
+ * @public
1652
+ */
1653
+ ResourceName: string | undefined;
1654
+ /**
1655
+ * <p>The reason for resolving the sync blocker.</p>
1656
+ * @public
1657
+ */
1658
+ ResolvedReason: string | undefined;
1659
+ }
1660
+ /**
1661
+ * @public
1662
+ */
1663
+ export interface UpdateSyncBlockerOutput {
1664
+ /**
1665
+ * <p>The resource name for the sync blocker.</p>
1666
+ * @public
1667
+ */
1668
+ ResourceName: string | undefined;
1669
+ /**
1670
+ * <p>The parent resource name for the sync blocker.</p>
1671
+ * @public
1672
+ */
1673
+ ParentResourceName?: string;
1674
+ /**
1675
+ * <p>Information about the sync blocker to be updated.</p>
1676
+ * @public
1677
+ */
1678
+ SyncBlocker: SyncBlocker | undefined;
1679
+ }
1680
+ /**
1681
+ * @public
1682
+ */
1683
+ export interface UpdateSyncConfigurationInput {
1684
+ /**
1685
+ * <p>The branch for the sync configuration to be updated.</p>
1686
+ * @public
1687
+ */
1688
+ Branch?: string;
1689
+ /**
1690
+ * <p>The configuration file for the sync configuration to be updated.</p>
1691
+ * @public
1692
+ */
1693
+ ConfigFile?: string;
1694
+ /**
1695
+ * <p>The ID of the repository link for the sync configuration to be updated.</p>
1696
+ * @public
1697
+ */
1698
+ RepositoryLinkId?: string;
1699
+ /**
1700
+ * <p>The name of the Amazon Web Services resource for the sync configuration to be
1701
+ * updated.</p>
1702
+ * @public
1703
+ */
1704
+ ResourceName: string | undefined;
1705
+ /**
1706
+ * <p>The ARN of the IAM role for the sync configuration to be updated.</p>
1707
+ * @public
1708
+ */
1709
+ RoleArn?: string;
1710
+ /**
1711
+ * <p>The sync type for the sync configuration to be updated.</p>
1712
+ * @public
1713
+ */
1714
+ SyncType: SyncConfigurationType | undefined;
1715
+ /**
1716
+ * <p>Whether to enable or disable publishing of deployment status to source providers.</p>
1717
+ * @public
1718
+ */
1719
+ PublishDeploymentStatus?: PublishDeploymentStatus;
1720
+ /**
1721
+ * <p>When to trigger Git sync to begin the stack update.</p>
1722
+ * @public
1723
+ */
1724
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
1725
+ }
1726
+ /**
1727
+ * @public
1728
+ */
1729
+ export interface UpdateSyncConfigurationOutput {
1730
+ /**
1731
+ * <p>The information returned for the sync configuration to be updated.</p>
1732
+ * @public
1733
+ */
1734
+ SyncConfiguration: SyncConfiguration | undefined;
1735
+ }