@aws-sdk/client-codestar-connections 3.33.0 → 3.36.1

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 (206) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CodeStarConnections.js +0 -83
  3. package/dist-cjs/CodeStarConnectionsClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateConnectionCommand.js +2 -29
  5. package/{dist/cjs → dist-cjs}/commands/CreateHostCommand.js +2 -34
  6. package/{dist/cjs → dist-cjs}/commands/DeleteConnectionCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteHostCommand.js +2 -30
  8. package/{dist/cjs → dist-cjs}/commands/GetConnectionCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/GetHostCommand.js +2 -28
  10. package/{dist/cjs → dist-cjs}/commands/ListConnectionsCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/ListHostsCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
  14. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/UpdateHostCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  17. package/{dist/cjs → dist-cjs}/index.js +0 -1
  18. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  19. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -100
  20. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  21. package/{dist/cjs → dist-cjs}/pagination/ListConnectionsPaginator.js +0 -11
  22. package/{dist/cjs → dist-cjs}/pagination/ListHostsPaginator.js +0 -11
  23. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +0 -6
  24. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  25. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  26. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  28. package/{dist/es → dist-es}/CodeStarConnections.js +1 -84
  29. package/dist-es/CodeStarConnectionsClient.js +37 -0
  30. package/{dist/es → dist-es}/commands/CreateConnectionCommand.js +4 -32
  31. package/{dist/es → dist-es}/commands/CreateHostCommand.js +4 -37
  32. package/{dist/es → dist-es}/commands/DeleteConnectionCommand.js +4 -30
  33. package/{dist/es → dist-es}/commands/DeleteHostCommand.js +4 -33
  34. package/{dist/es → dist-es}/commands/GetConnectionCommand.js +4 -30
  35. package/{dist/es → dist-es}/commands/GetHostCommand.js +4 -31
  36. package/{dist/es → dist-es}/commands/ListConnectionsCommand.js +4 -30
  37. package/{dist/es → dist-es}/commands/ListHostsCommand.js +4 -30
  38. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  39. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
  40. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  41. package/{dist/es → dist-es}/commands/UpdateHostCommand.js +4 -30
  42. package/{dist/es → dist-es}/endpoints.js +1 -2
  43. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  44. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  45. package/{dist/es → dist-es}/models/models_0.js +0 -100
  46. package/dist-es/pagination/Interfaces.js +1 -0
  47. package/{dist/es → dist-es}/pagination/ListConnectionsPaginator.js +16 -29
  48. package/{dist/es → dist-es}/pagination/ListHostsPaginator.js +16 -29
  49. package/{dist/es → dist-es}/protocols/Aws_json1_0.js +165 -171
  50. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  51. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  52. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  53. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  54. package/{dist/types → dist-types}/CodeStarConnections.d.ts +1 -1
  55. package/{dist/types → dist-types}/CodeStarConnectionsClient.d.ts +8 -8
  56. package/{dist/types → dist-types}/commands/CreateConnectionCommand.d.ts +2 -2
  57. package/{dist/types → dist-types}/commands/CreateHostCommand.d.ts +2 -2
  58. package/{dist/types → dist-types}/commands/DeleteConnectionCommand.d.ts +2 -2
  59. package/{dist/types → dist-types}/commands/DeleteHostCommand.d.ts +2 -2
  60. package/{dist/types → dist-types}/commands/GetConnectionCommand.d.ts +2 -2
  61. package/{dist/types → dist-types}/commands/GetHostCommand.d.ts +2 -2
  62. package/{dist/types → dist-types}/commands/ListConnectionsCommand.d.ts +2 -2
  63. package/{dist/types → dist-types}/commands/ListHostsCommand.d.ts +2 -2
  64. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  65. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  66. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  67. package/{dist/types → dist-types}/commands/UpdateHostCommand.d.ts +2 -2
  68. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  69. package/{index.ts → dist-types/index.d.ts} +0 -0
  70. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  71. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  72. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  73. package/{dist/types → dist-types}/pagination/ListConnectionsPaginator.d.ts +1 -1
  74. package/{dist/types → dist-types}/pagination/ListHostsPaginator.d.ts +1 -1
  75. package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
  76. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  77. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  78. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  79. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  80. package/dist-types/ts3.4/CodeStarConnections.d.ts +65 -0
  81. package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +79 -0
  82. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +17 -0
  84. package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectionCommand.d.ts +4 -22
  85. package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/GetHostCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +17 -0
  94. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  95. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  96. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  97. package/dist-types/ts3.4/models/models_0.d.ts +353 -0
  98. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  99. package/{dist/types → dist-types}/ts3.4/pagination/ListConnectionsPaginator.d.ts +1 -1
  100. package/{dist/types → dist-types}/ts3.4/pagination/ListHostsPaginator.d.ts +1 -1
  101. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
  102. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  103. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  104. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  105. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  106. package/package.json +52 -49
  107. package/CodeStarConnections.ts +0 -484
  108. package/CodeStarConnectionsClient.ts +0 -353
  109. package/commands/CreateConnectionCommand.ts +0 -100
  110. package/commands/CreateHostCommand.ts +0 -105
  111. package/commands/DeleteConnectionCommand.ts +0 -98
  112. package/commands/DeleteHostCommand.ts +0 -101
  113. package/commands/GetConnectionCommand.ts +0 -98
  114. package/commands/GetHostCommand.ts +0 -96
  115. package/commands/ListConnectionsCommand.ts +0 -98
  116. package/commands/ListHostsCommand.ts +0 -95
  117. package/commands/ListTagsForResourceCommand.ts +0 -98
  118. package/commands/TagResourceCommand.ts +0 -99
  119. package/commands/UntagResourceCommand.ts +0 -98
  120. package/commands/UpdateHostCommand.ts +0 -98
  121. package/dist/cjs/CodeStarConnections.js.map +0 -1
  122. package/dist/cjs/CodeStarConnectionsClient.js +0 -123
  123. package/dist/cjs/CodeStarConnectionsClient.js.map +0 -1
  124. package/dist/cjs/commands/CreateConnectionCommand.js.map +0 -1
  125. package/dist/cjs/commands/CreateHostCommand.js.map +0 -1
  126. package/dist/cjs/commands/DeleteConnectionCommand.js.map +0 -1
  127. package/dist/cjs/commands/DeleteHostCommand.js.map +0 -1
  128. package/dist/cjs/commands/GetConnectionCommand.js.map +0 -1
  129. package/dist/cjs/commands/GetHostCommand.js.map +0 -1
  130. package/dist/cjs/commands/ListConnectionsCommand.js.map +0 -1
  131. package/dist/cjs/commands/ListHostsCommand.js.map +0 -1
  132. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  133. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  134. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  135. package/dist/cjs/commands/UpdateHostCommand.js.map +0 -1
  136. package/dist/cjs/endpoints.js.map +0 -1
  137. package/dist/cjs/index.js.map +0 -1
  138. package/dist/cjs/models/index.js.map +0 -1
  139. package/dist/cjs/models/models_0.js.map +0 -1
  140. package/dist/cjs/package.json +0 -91
  141. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  142. package/dist/cjs/pagination/ListConnectionsPaginator.js.map +0 -1
  143. package/dist/cjs/pagination/ListHostsPaginator.js.map +0 -1
  144. package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
  145. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  146. package/dist/cjs/runtimeConfig.js.map +0 -1
  147. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  148. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  149. package/dist/es/CodeStarConnections.js.map +0 -1
  150. package/dist/es/CodeStarConnectionsClient.js +0 -125
  151. package/dist/es/CodeStarConnectionsClient.js.map +0 -1
  152. package/dist/es/commands/CreateConnectionCommand.js.map +0 -1
  153. package/dist/es/commands/CreateHostCommand.js.map +0 -1
  154. package/dist/es/commands/DeleteConnectionCommand.js.map +0 -1
  155. package/dist/es/commands/DeleteHostCommand.js.map +0 -1
  156. package/dist/es/commands/GetConnectionCommand.js.map +0 -1
  157. package/dist/es/commands/GetHostCommand.js.map +0 -1
  158. package/dist/es/commands/ListConnectionsCommand.js.map +0 -1
  159. package/dist/es/commands/ListHostsCommand.js.map +0 -1
  160. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  161. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  162. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  163. package/dist/es/commands/UpdateHostCommand.js.map +0 -1
  164. package/dist/es/endpoints.js.map +0 -1
  165. package/dist/es/index.js +0 -19
  166. package/dist/es/index.js.map +0 -1
  167. package/dist/es/models/index.js +0 -2
  168. package/dist/es/models/index.js.map +0 -1
  169. package/dist/es/models/models_0.js.map +0 -1
  170. package/dist/es/package.json +0 -91
  171. package/dist/es/pagination/Interfaces.js +0 -2
  172. package/dist/es/pagination/Interfaces.js.map +0 -1
  173. package/dist/es/pagination/ListConnectionsPaginator.js.map +0 -1
  174. package/dist/es/pagination/ListHostsPaginator.js.map +0 -1
  175. package/dist/es/protocols/Aws_json1_0.js.map +0 -1
  176. package/dist/es/runtimeConfig.browser.js.map +0 -1
  177. package/dist/es/runtimeConfig.js.map +0 -1
  178. package/dist/es/runtimeConfig.native.js.map +0 -1
  179. package/dist/es/runtimeConfig.shared.js.map +0 -1
  180. package/dist/types/ts3.4/CodeStarConnections.d.ts +0 -184
  181. package/dist/types/ts3.4/CodeStarConnectionsClient.d.ts +0 -223
  182. package/dist/types/ts3.4/commands/CreateConnectionCommand.d.ts +0 -37
  183. package/dist/types/ts3.4/commands/CreateHostCommand.d.ts +0 -42
  184. package/dist/types/ts3.4/commands/DeleteHostCommand.d.ts +0 -38
  185. package/dist/types/ts3.4/commands/GetConnectionCommand.d.ts +0 -35
  186. package/dist/types/ts3.4/commands/GetHostCommand.d.ts +0 -36
  187. package/dist/types/ts3.4/commands/ListConnectionsCommand.d.ts +0 -35
  188. package/dist/types/ts3.4/commands/ListHostsCommand.d.ts +0 -35
  189. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
  190. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
  191. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  192. package/dist/types/ts3.4/commands/UpdateHostCommand.d.ts +0 -35
  193. package/dist/types/ts3.4/models/models_0.d.ts +0 -601
  194. package/endpoints.ts +0 -57
  195. package/jest.config.js +0 -4
  196. package/models/models_0.ts +0 -768
  197. package/pagination/Interfaces.ts +0 -7
  198. package/pagination/ListConnectionsPaginator.ts +0 -58
  199. package/pagination/ListHostsPaginator.ts +0 -54
  200. package/protocols/Aws_json1_0.ts +0 -1482
  201. package/runtimeConfig.browser.ts +0 -40
  202. package/runtimeConfig.native.ts +0 -16
  203. package/runtimeConfig.shared.ts +0 -16
  204. package/runtimeConfig.ts +0 -45
  205. package/tsconfig.es.json +0 -12
  206. package/tsconfig.json +0 -32
@@ -1,768 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- export enum ProviderType {
4
- BITBUCKET = "Bitbucket",
5
- GITHUB = "GitHub",
6
- GITHUB_ENTERPRISE_SERVER = "GitHubEnterpriseServer",
7
- }
8
-
9
- /**
10
- * <p>A tag is a key-value pair that is used to manage the resource.</p>
11
- * <p>This tag is available for use by AWS services that support tags.</p>
12
- */
13
- export interface Tag {
14
- /**
15
- * <p>The tag's key.</p>
16
- */
17
- Key: string | undefined;
18
-
19
- /**
20
- * <p>The tag's value.</p>
21
- */
22
- Value: string | undefined;
23
- }
24
-
25
- export namespace Tag {
26
- /**
27
- * @internal
28
- */
29
- export const filterSensitiveLog = (obj: Tag): any => ({
30
- ...obj,
31
- });
32
- }
33
-
34
- export interface CreateConnectionInput {
35
- /**
36
- * <p>The name of the external provider where your third-party code repository is
37
- * configured.</p>
38
- */
39
- ProviderType?: ProviderType | string;
40
-
41
- /**
42
- * <p>The name of the connection to be created. The name must be unique in the calling AWS
43
- * account.</p>
44
- */
45
- ConnectionName: string | undefined;
46
-
47
- /**
48
- * <p>The key-value pair to use when tagging the resource.</p>
49
- */
50
- Tags?: Tag[];
51
-
52
- /**
53
- * <p>The Amazon Resource Name (ARN) of the host associated with the connection to be created.</p>
54
- */
55
- HostArn?: string;
56
- }
57
-
58
- export namespace CreateConnectionInput {
59
- /**
60
- * @internal
61
- */
62
- export const filterSensitiveLog = (obj: CreateConnectionInput): any => ({
63
- ...obj,
64
- });
65
- }
66
-
67
- export interface CreateConnectionOutput {
68
- /**
69
- * <p>The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the
70
- * connection reference when the connection is shared between AWS services.</p>
71
- * <note>
72
- * <p>The ARN is never reused if the connection is deleted.</p>
73
- * </note>
74
- */
75
- ConnectionArn: string | undefined;
76
-
77
- /**
78
- * <p>Specifies the tags applied to the resource.</p>
79
- */
80
- Tags?: Tag[];
81
- }
82
-
83
- export namespace CreateConnectionOutput {
84
- /**
85
- * @internal
86
- */
87
- export const filterSensitiveLog = (obj: CreateConnectionOutput): any => ({
88
- ...obj,
89
- });
90
- }
91
-
92
- /**
93
- * <p>Exceeded the maximum limit for connections.</p>
94
- */
95
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
96
- name: "LimitExceededException";
97
- $fault: "client";
98
- Message?: string;
99
- }
100
-
101
- export namespace LimitExceededException {
102
- /**
103
- * @internal
104
- */
105
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
106
- ...obj,
107
- });
108
- }
109
-
110
- /**
111
- * <p>Resource not found. Verify the connection resource ARN and try again.</p>
112
- */
113
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
114
- name: "ResourceNotFoundException";
115
- $fault: "client";
116
- Message?: string;
117
- }
118
-
119
- export namespace ResourceNotFoundException {
120
- /**
121
- * @internal
122
- */
123
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
124
- ...obj,
125
- });
126
- }
127
-
128
- /**
129
- * <p>Resource not found. Verify the ARN for the host resource and try again.</p>
130
- */
131
- export interface ResourceUnavailableException extends __SmithyException, $MetadataBearer {
132
- name: "ResourceUnavailableException";
133
- $fault: "client";
134
- Message?: string;
135
- }
136
-
137
- export namespace ResourceUnavailableException {
138
- /**
139
- * @internal
140
- */
141
- export const filterSensitiveLog = (obj: ResourceUnavailableException): any => ({
142
- ...obj,
143
- });
144
- }
145
-
146
- /**
147
- * <p>The VPC configuration provisioned for the host.</p>
148
- */
149
- export interface VpcConfiguration {
150
- /**
151
- * <p>The ID of the Amazon VPC connected to the infrastructure where your provider type is
152
- * installed.</p>
153
- */
154
- VpcId: string | undefined;
155
-
156
- /**
157
- * <p>The ID of the subnet or subnets associated with the Amazon VPC connected to the
158
- * infrastructure where your provider type is installed.</p>
159
- */
160
- SubnetIds: string[] | undefined;
161
-
162
- /**
163
- * <p>The ID of the security group or security groups associated with the Amazon VPC connected
164
- * to the infrastructure where your provider type is installed.</p>
165
- */
166
- SecurityGroupIds: string[] | undefined;
167
-
168
- /**
169
- * <p>The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.</p>
170
- */
171
- TlsCertificate?: string;
172
- }
173
-
174
- export namespace VpcConfiguration {
175
- /**
176
- * @internal
177
- */
178
- export const filterSensitiveLog = (obj: VpcConfiguration): any => ({
179
- ...obj,
180
- });
181
- }
182
-
183
- export interface CreateHostInput {
184
- /**
185
- * <p>The name of the host to be created. The name must be unique in the calling AWS
186
- * account.</p>
187
- */
188
- Name: string | undefined;
189
-
190
- /**
191
- * <p>The name of the installed provider to be associated with your connection. The host
192
- * resource represents the infrastructure where your provider type is installed. The valid
193
- * provider type is GitHub Enterprise Server.</p>
194
- */
195
- ProviderType: ProviderType | string | undefined;
196
-
197
- /**
198
- * <p>The endpoint of the infrastructure to be represented by the host after it is
199
- * created.</p>
200
- */
201
- ProviderEndpoint: string | undefined;
202
-
203
- /**
204
- * <p>The VPC configuration to be provisioned for the host. A VPC must be configured and the
205
- * infrastructure to be represented by the host must already be connected to the VPC.</p>
206
- */
207
- VpcConfiguration?: VpcConfiguration;
208
-
209
- Tags?: Tag[];
210
- }
211
-
212
- export namespace CreateHostInput {
213
- /**
214
- * @internal
215
- */
216
- export const filterSensitiveLog = (obj: CreateHostInput): any => ({
217
- ...obj,
218
- });
219
- }
220
-
221
- export interface CreateHostOutput {
222
- /**
223
- * <p>The Amazon Resource Name (ARN) of the host to be created.</p>
224
- */
225
- HostArn?: string;
226
-
227
- Tags?: Tag[];
228
- }
229
-
230
- export namespace CreateHostOutput {
231
- /**
232
- * @internal
233
- */
234
- export const filterSensitiveLog = (obj: CreateHostOutput): any => ({
235
- ...obj,
236
- });
237
- }
238
-
239
- export interface DeleteConnectionInput {
240
- /**
241
- * <p>The Amazon Resource Name (ARN) of the connection to be deleted.</p>
242
- * <note>
243
- * <p>The ARN is never reused if the connection is deleted.</p>
244
- * </note>
245
- */
246
- ConnectionArn: string | undefined;
247
- }
248
-
249
- export namespace DeleteConnectionInput {
250
- /**
251
- * @internal
252
- */
253
- export const filterSensitiveLog = (obj: DeleteConnectionInput): any => ({
254
- ...obj,
255
- });
256
- }
257
-
258
- export interface DeleteConnectionOutput {}
259
-
260
- export namespace DeleteConnectionOutput {
261
- /**
262
- * @internal
263
- */
264
- export const filterSensitiveLog = (obj: DeleteConnectionOutput): any => ({
265
- ...obj,
266
- });
267
- }
268
-
269
- export interface DeleteHostInput {
270
- /**
271
- * <p>The Amazon Resource Name (ARN) of the host to be deleted.</p>
272
- */
273
- HostArn: string | undefined;
274
- }
275
-
276
- export namespace DeleteHostInput {
277
- /**
278
- * @internal
279
- */
280
- export const filterSensitiveLog = (obj: DeleteHostInput): any => ({
281
- ...obj,
282
- });
283
- }
284
-
285
- export interface DeleteHostOutput {}
286
-
287
- export namespace DeleteHostOutput {
288
- /**
289
- * @internal
290
- */
291
- export const filterSensitiveLog = (obj: DeleteHostOutput): any => ({
292
- ...obj,
293
- });
294
- }
295
-
296
- export interface GetConnectionInput {
297
- /**
298
- * <p>The Amazon Resource Name (ARN) of a connection.</p>
299
- */
300
- ConnectionArn: string | undefined;
301
- }
302
-
303
- export namespace GetConnectionInput {
304
- /**
305
- * @internal
306
- */
307
- export const filterSensitiveLog = (obj: GetConnectionInput): any => ({
308
- ...obj,
309
- });
310
- }
311
-
312
- export enum ConnectionStatus {
313
- AVAILABLE = "AVAILABLE",
314
- ERROR = "ERROR",
315
- PENDING = "PENDING",
316
- }
317
-
318
- /**
319
- * <p>A resource that is used to connect third-party source providers with services like AWS CodePipeline.</p>
320
- * <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
321
- * connection in the console.</p>
322
- */
323
- export interface Connection {
324
- /**
325
- * <p>The name of the connection. Connection names must be unique in an AWS user account.</p>
326
- */
327
- ConnectionName?: string;
328
-
329
- /**
330
- * <p>The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection
331
- * reference when the connection is shared between AWS services.</p>
332
- * <note>
333
- * <p>The ARN is never reused if the connection is deleted.</p>
334
- * </note>
335
- */
336
- ConnectionArn?: string;
337
-
338
- /**
339
- * <p>The name of the external provider where your third-party code repository is
340
- * configured.</p>
341
- */
342
- ProviderType?: ProviderType | string;
343
-
344
- /**
345
- * <p>The identifier of the external provider where your third-party code repository is configured.
346
- * For Bitbucket, this is the account ID of the owner of the Bitbucket repository.</p>
347
- */
348
- OwnerAccountId?: string;
349
-
350
- /**
351
- * <p>The current status of the connection. </p>
352
- */
353
- ConnectionStatus?: ConnectionStatus | string;
354
-
355
- /**
356
- * <p>The Amazon Resource Name (ARN) of the host associated with the connection.</p>
357
- */
358
- HostArn?: string;
359
- }
360
-
361
- export namespace Connection {
362
- /**
363
- * @internal
364
- */
365
- export const filterSensitiveLog = (obj: Connection): any => ({
366
- ...obj,
367
- });
368
- }
369
-
370
- export interface GetConnectionOutput {
371
- /**
372
- * <p>The connection details, such as status, owner, and provider type.</p>
373
- */
374
- Connection?: Connection;
375
- }
376
-
377
- export namespace GetConnectionOutput {
378
- /**
379
- * @internal
380
- */
381
- export const filterSensitiveLog = (obj: GetConnectionOutput): any => ({
382
- ...obj,
383
- });
384
- }
385
-
386
- export interface GetHostInput {
387
- /**
388
- * <p>The Amazon Resource Name (ARN) of the requested host.</p>
389
- */
390
- HostArn: string | undefined;
391
- }
392
-
393
- export namespace GetHostInput {
394
- /**
395
- * @internal
396
- */
397
- export const filterSensitiveLog = (obj: GetHostInput): any => ({
398
- ...obj,
399
- });
400
- }
401
-
402
- export interface GetHostOutput {
403
- /**
404
- * <p>The name of the requested host.</p>
405
- */
406
- Name?: string;
407
-
408
- /**
409
- * <p>The status of the requested host.</p>
410
- */
411
- Status?: string;
412
-
413
- /**
414
- * <p>The provider type of the requested host, such as GitHub Enterprise Server.</p>
415
- */
416
- ProviderType?: ProviderType | string;
417
-
418
- /**
419
- * <p>The endpoint of the infrastructure represented by the requested host.</p>
420
- */
421
- ProviderEndpoint?: string;
422
-
423
- /**
424
- * <p>The VPC configuration of the requested host.</p>
425
- */
426
- VpcConfiguration?: VpcConfiguration;
427
- }
428
-
429
- export namespace GetHostOutput {
430
- /**
431
- * @internal
432
- */
433
- export const filterSensitiveLog = (obj: GetHostOutput): any => ({
434
- ...obj,
435
- });
436
- }
437
-
438
- export interface ListConnectionsInput {
439
- /**
440
- * <p>Filters the list of connections to those associated with a specified provider, such as
441
- * Bitbucket.</p>
442
- */
443
- ProviderTypeFilter?: ProviderType | string;
444
-
445
- /**
446
- * <p>Filters the list of connections to those associated with a specified host.</p>
447
- */
448
- HostArnFilter?: string;
449
-
450
- /**
451
- * <p>The maximum number of results to return in a single call. To retrieve the remaining
452
- * results, make another call with the returned <code>nextToken</code> value.</p>
453
- */
454
- MaxResults?: number;
455
-
456
- /**
457
- * <p>The token that was returned from the previous <code>ListConnections</code> call, which
458
- * can be used to return the next set of connections in the list.</p>
459
- */
460
- NextToken?: string;
461
- }
462
-
463
- export namespace ListConnectionsInput {
464
- /**
465
- * @internal
466
- */
467
- export const filterSensitiveLog = (obj: ListConnectionsInput): any => ({
468
- ...obj,
469
- });
470
- }
471
-
472
- export interface ListConnectionsOutput {
473
- /**
474
- * <p>A list of connections and the details for each connection, such as status, owner, and
475
- * provider type.</p>
476
- */
477
- Connections?: Connection[];
478
-
479
- /**
480
- * <p>A token that can be used in the next <code>ListConnections</code> call. To view all
481
- * items in the list, continue to call this operation with each subsequent token until no more
482
- * <code>nextToken</code> values are returned.</p>
483
- */
484
- NextToken?: string;
485
- }
486
-
487
- export namespace ListConnectionsOutput {
488
- /**
489
- * @internal
490
- */
491
- export const filterSensitiveLog = (obj: ListConnectionsOutput): any => ({
492
- ...obj,
493
- });
494
- }
495
-
496
- export interface ListHostsInput {
497
- /**
498
- * <p>The maximum number of results to return in a single call. To retrieve the remaining
499
- * results, make another call with the returned <code>nextToken</code> value.</p>
500
- */
501
- MaxResults?: number;
502
-
503
- /**
504
- * <p>The token that was returned from the previous <code>ListHosts</code> call, which can be
505
- * used to return the next set of hosts in the list.</p>
506
- */
507
- NextToken?: string;
508
- }
509
-
510
- export namespace ListHostsInput {
511
- /**
512
- * @internal
513
- */
514
- export const filterSensitiveLog = (obj: ListHostsInput): any => ({
515
- ...obj,
516
- });
517
- }
518
-
519
- /**
520
- * <p>A resource that represents the infrastructure where a third-party provider is installed.
521
- * The host is used when you create connections to an installed third-party provider type, such
522
- * as GitHub Enterprise Server. You create one host for all connections to that provider.</p>
523
- * <note>
524
- * <p>A host created through the CLI or the SDK is in `PENDING` status by
525
- * default. You can make its status `AVAILABLE` by setting up the host in the console.</p>
526
- * </note>
527
- */
528
- export interface Host {
529
- /**
530
- * <p>The name of the host.</p>
531
- */
532
- Name?: string;
533
-
534
- /**
535
- * <p>The Amazon Resource Name (ARN) of the host.</p>
536
- */
537
- HostArn?: string;
538
-
539
- /**
540
- * <p>The name of the installed provider to be associated with your connection. The host
541
- * resource represents the infrastructure where your provider type is installed. The valid
542
- * provider type is GitHub Enterprise Server.</p>
543
- */
544
- ProviderType?: ProviderType | string;
545
-
546
- /**
547
- * <p>The endpoint of the infrastructure where your provider type is installed.</p>
548
- */
549
- ProviderEndpoint?: string;
550
-
551
- /**
552
- * <p>The VPC configuration provisioned for the host.</p>
553
- */
554
- VpcConfiguration?: VpcConfiguration;
555
-
556
- /**
557
- * <p>The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.</p>
558
- */
559
- Status?: string;
560
-
561
- /**
562
- * <p>The status description for the host.</p>
563
- */
564
- StatusMessage?: string;
565
- }
566
-
567
- export namespace Host {
568
- /**
569
- * @internal
570
- */
571
- export const filterSensitiveLog = (obj: Host): any => ({
572
- ...obj,
573
- });
574
- }
575
-
576
- export interface ListHostsOutput {
577
- /**
578
- * <p>A list of hosts and the details for each host, such as status, endpoint, and provider
579
- * type.</p>
580
- */
581
- Hosts?: Host[];
582
-
583
- /**
584
- * <p>A token that can be used in the next <code>ListHosts</code> call. To view all items in the
585
- * list, continue to call this operation with each subsequent token until no more
586
- * <code>nextToken</code> values are returned.</p>
587
- */
588
- NextToken?: string;
589
- }
590
-
591
- export namespace ListHostsOutput {
592
- /**
593
- * @internal
594
- */
595
- export const filterSensitiveLog = (obj: ListHostsOutput): any => ({
596
- ...obj,
597
- });
598
- }
599
-
600
- export interface ListTagsForResourceInput {
601
- /**
602
- * <p>The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.</p>
603
- */
604
- ResourceArn: string | undefined;
605
- }
606
-
607
- export namespace ListTagsForResourceInput {
608
- /**
609
- * @internal
610
- */
611
- export const filterSensitiveLog = (obj: ListTagsForResourceInput): any => ({
612
- ...obj,
613
- });
614
- }
615
-
616
- export interface ListTagsForResourceOutput {
617
- /**
618
- * <p>A list of tag key and value pairs associated with the specified resource.</p>
619
- */
620
- Tags?: Tag[];
621
- }
622
-
623
- export namespace ListTagsForResourceOutput {
624
- /**
625
- * @internal
626
- */
627
- export const filterSensitiveLog = (obj: ListTagsForResourceOutput): any => ({
628
- ...obj,
629
- });
630
- }
631
-
632
- export interface TagResourceInput {
633
- /**
634
- * <p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>
635
- */
636
- ResourceArn: string | undefined;
637
-
638
- /**
639
- * <p>The tags you want to modify or add to the resource.</p>
640
- */
641
- Tags: Tag[] | undefined;
642
- }
643
-
644
- export namespace TagResourceInput {
645
- /**
646
- * @internal
647
- */
648
- export const filterSensitiveLog = (obj: TagResourceInput): any => ({
649
- ...obj,
650
- });
651
- }
652
-
653
- export interface TagResourceOutput {}
654
-
655
- export namespace TagResourceOutput {
656
- /**
657
- * @internal
658
- */
659
- export const filterSensitiveLog = (obj: TagResourceOutput): any => ({
660
- ...obj,
661
- });
662
- }
663
-
664
- export interface UntagResourceInput {
665
- /**
666
- * <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
667
- */
668
- ResourceArn: string | undefined;
669
-
670
- /**
671
- * <p>The list of keys for the tags to be removed from the resource.</p>
672
- */
673
- TagKeys: string[] | undefined;
674
- }
675
-
676
- export namespace UntagResourceInput {
677
- /**
678
- * @internal
679
- */
680
- export const filterSensitiveLog = (obj: UntagResourceInput): any => ({
681
- ...obj,
682
- });
683
- }
684
-
685
- export interface UntagResourceOutput {}
686
-
687
- export namespace UntagResourceOutput {
688
- /**
689
- * @internal
690
- */
691
- export const filterSensitiveLog = (obj: UntagResourceOutput): any => ({
692
- ...obj,
693
- });
694
- }
695
-
696
- /**
697
- * <p>Two conflicting operations have been made on the same resource.</p>
698
- */
699
- export interface ConflictException extends __SmithyException, $MetadataBearer {
700
- name: "ConflictException";
701
- $fault: "client";
702
- Message?: string;
703
- }
704
-
705
- export namespace ConflictException {
706
- /**
707
- * @internal
708
- */
709
- export const filterSensitiveLog = (obj: ConflictException): any => ({
710
- ...obj,
711
- });
712
- }
713
-
714
- /**
715
- * <p>The operation is not supported. Check the connection status and try again.</p>
716
- */
717
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
718
- name: "UnsupportedOperationException";
719
- $fault: "client";
720
- Message?: string;
721
- }
722
-
723
- export namespace UnsupportedOperationException {
724
- /**
725
- * @internal
726
- */
727
- export const filterSensitiveLog = (obj: UnsupportedOperationException): any => ({
728
- ...obj,
729
- });
730
- }
731
-
732
- export interface UpdateHostInput {
733
- /**
734
- * <p>The Amazon Resource Name (ARN) of the host to be updated.</p>
735
- */
736
- HostArn: string | undefined;
737
-
738
- /**
739
- * <p>The URL or endpoint of the host to be updated.</p>
740
- */
741
- ProviderEndpoint?: string;
742
-
743
- /**
744
- * <p>The VPC configuration of the host to be updated. A VPC must be configured and the
745
- * infrastructure to be represented by the host must already be connected to the VPC.</p>
746
- */
747
- VpcConfiguration?: VpcConfiguration;
748
- }
749
-
750
- export namespace UpdateHostInput {
751
- /**
752
- * @internal
753
- */
754
- export const filterSensitiveLog = (obj: UpdateHostInput): any => ({
755
- ...obj,
756
- });
757
- }
758
-
759
- export interface UpdateHostOutput {}
760
-
761
- export namespace UpdateHostOutput {
762
- /**
763
- * @internal
764
- */
765
- export const filterSensitiveLog = (obj: UpdateHostOutput): any => ({
766
- ...obj,
767
- });
768
- }