@aws-sdk/client-codeconnections 3.1172.0 → 3.1174.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1171.0";
72
+ var version = "3.1173.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -154,6 +154,21 @@ class AccessDeniedException extends CodeConnectionsServiceException {
154
154
  this.Message = opts.Message;
155
155
  }
156
156
  }
157
+ class InvalidInputException extends CodeConnectionsServiceException {
158
+ static shapeId = "com.amazonaws.codeconnections#InvalidInputException";
159
+ name = "InvalidInputException";
160
+ $fault = "client";
161
+ Message;
162
+ constructor(opts) {
163
+ super({
164
+ name: "InvalidInputException",
165
+ $fault: "client",
166
+ ...opts,
167
+ });
168
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
169
+ this.Message = opts.Message;
170
+ }
171
+ }
157
172
  class LimitExceededException extends CodeConnectionsServiceException {
158
173
  static shapeId = "com.amazonaws.codeconnections#LimitExceededException";
159
174
  name = "LimitExceededException";
@@ -199,6 +214,21 @@ class ResourceUnavailableException extends CodeConnectionsServiceException {
199
214
  this.Message = opts.Message;
200
215
  }
201
216
  }
217
+ class UnsupportedProviderTypeException extends CodeConnectionsServiceException {
218
+ static shapeId = "com.amazonaws.codeconnections#UnsupportedProviderTypeException";
219
+ name = "UnsupportedProviderTypeException";
220
+ $fault = "client";
221
+ Message;
222
+ constructor(opts) {
223
+ super({
224
+ name: "UnsupportedProviderTypeException",
225
+ $fault: "client",
226
+ ...opts,
227
+ });
228
+ Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
229
+ this.Message = opts.Message;
230
+ }
231
+ }
202
232
  class ConcurrentModificationException extends CodeConnectionsServiceException {
203
233
  static shapeId = "com.amazonaws.codeconnections#ConcurrentModificationException";
204
234
  name = "ConcurrentModificationException";
@@ -229,21 +259,6 @@ class InternalServerException extends CodeConnectionsServiceException {
229
259
  this.Message = opts.Message;
230
260
  }
231
261
  }
232
- class InvalidInputException extends CodeConnectionsServiceException {
233
- static shapeId = "com.amazonaws.codeconnections#InvalidInputException";
234
- name = "InvalidInputException";
235
- $fault = "client";
236
- Message;
237
- constructor(opts) {
238
- super({
239
- name: "InvalidInputException",
240
- $fault: "client",
241
- ...opts,
242
- });
243
- Object.setPrototypeOf(this, InvalidInputException.prototype);
244
- this.Message = opts.Message;
245
- }
246
- }
247
262
  class ResourceAlreadyExistsException extends CodeConnectionsServiceException {
248
263
  static shapeId = "com.amazonaws.codeconnections#ResourceAlreadyExistsException";
249
264
  name = "ResourceAlreadyExistsException";
@@ -289,21 +304,6 @@ class SyncConfigurationStillExistsException extends CodeConnectionsServiceExcept
289
304
  this.Message = opts.Message;
290
305
  }
291
306
  }
292
- class UnsupportedProviderTypeException extends CodeConnectionsServiceException {
293
- static shapeId = "com.amazonaws.codeconnections#UnsupportedProviderTypeException";
294
- name = "UnsupportedProviderTypeException";
295
- $fault = "client";
296
- Message;
297
- constructor(opts) {
298
- super({
299
- name: "UnsupportedProviderTypeException",
300
- $fault: "client",
301
- ...opts,
302
- });
303
- Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
304
- this.Message = opts.Message;
305
- }
306
- }
307
307
  class ConflictException extends CodeConnectionsServiceException {
308
308
  static shapeId = "com.amazonaws.codeconnections#ConflictException";
309
309
  name = "ConflictException";
@@ -701,13 +701,13 @@ const errorTypeRegistries = [
701
701
  ];
702
702
  var Connection$ = [3, n0, _C,
703
703
  0,
704
- [_CN, _CA, _PT, _OAI, _CS, _HA],
705
- [0, 0, 0, 0, 0, 0]
704
+ [_CN, _CA, _PT, _OAI, _CS, _HA, _PE],
705
+ [0, 0, 0, 0, 0, 0, 0]
706
706
  ];
707
707
  var CreateConnectionInput$ = [3, n0, _CCI,
708
708
  0,
709
- [_CN, _PT, _T, _HA],
710
- [0, 0, () => TagList, 0], 1
709
+ [_CN, _PT, _T, _HA, _PE],
710
+ [0, 0, () => TagList, 0, 0], 1
711
711
  ];
712
712
  var CreateConnectionOutput$ = [3, n0, _CCO,
713
713
  0,
@@ -861,7 +861,7 @@ var Host$ = [3, n0, _H,
861
861
  ];
862
862
  var ListConnectionsInput$ = [3, n0, _LCI,
863
863
  0,
864
- [_PTF, _HAF, _MR, _NT],
864
+ [_HAF, _PTF, _MR, _NT],
865
865
  [0, 0, 1, 0]
866
866
  ];
867
867
  var ListConnectionsOutput$ = [3, n0, _LCO,
@@ -1446,6 +1446,7 @@ const ProviderType = {
1446
1446
  AZURE_DEV_OPS: "AzureDevOps",
1447
1447
  BITBUCKET: "Bitbucket",
1448
1448
  GITHUB: "GitHub",
1449
+ GITHUB_ENTERPRISE_CLOUD_DATA_RESIDENCY: "GitHubEnterpriseCloudDataResidency",
1449
1450
  GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
1450
1451
  GITLAB: "GitLab",
1451
1452
  GITLAB_SELF_MANAGED: "GitLabSelfManaged",
@@ -9,6 +9,7 @@ export const ProviderType = {
9
9
  AZURE_DEV_OPS: "AzureDevOps",
10
10
  BITBUCKET: "Bitbucket",
11
11
  GITHUB: "GitHub",
12
+ GITHUB_ENTERPRISE_CLOUD_DATA_RESIDENCY: "GitHubEnterpriseCloudDataResidency",
12
13
  GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
13
14
  GITLAB: "GitLab",
14
15
  GITLAB_SELF_MANAGED: "GitLabSelfManaged",
@@ -14,6 +14,21 @@ export class AccessDeniedException extends __BaseException {
14
14
  this.Message = opts.Message;
15
15
  }
16
16
  }
17
+ export class InvalidInputException extends __BaseException {
18
+ static shapeId = "com.amazonaws.codeconnections#InvalidInputException";
19
+ name = "InvalidInputException";
20
+ $fault = "client";
21
+ Message;
22
+ constructor(opts) {
23
+ super({
24
+ name: "InvalidInputException",
25
+ $fault: "client",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
29
+ this.Message = opts.Message;
30
+ }
31
+ }
17
32
  export class LimitExceededException extends __BaseException {
18
33
  static shapeId = "com.amazonaws.codeconnections#LimitExceededException";
19
34
  name = "LimitExceededException";
@@ -59,6 +74,21 @@ export class ResourceUnavailableException extends __BaseException {
59
74
  this.Message = opts.Message;
60
75
  }
61
76
  }
77
+ export class UnsupportedProviderTypeException extends __BaseException {
78
+ static shapeId = "com.amazonaws.codeconnections#UnsupportedProviderTypeException";
79
+ name = "UnsupportedProviderTypeException";
80
+ $fault = "client";
81
+ Message;
82
+ constructor(opts) {
83
+ super({
84
+ name: "UnsupportedProviderTypeException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
89
+ this.Message = opts.Message;
90
+ }
91
+ }
62
92
  export class ConcurrentModificationException extends __BaseException {
63
93
  static shapeId = "com.amazonaws.codeconnections#ConcurrentModificationException";
64
94
  name = "ConcurrentModificationException";
@@ -89,21 +119,6 @@ export class InternalServerException extends __BaseException {
89
119
  this.Message = opts.Message;
90
120
  }
91
121
  }
92
- export class InvalidInputException extends __BaseException {
93
- static shapeId = "com.amazonaws.codeconnections#InvalidInputException";
94
- name = "InvalidInputException";
95
- $fault = "client";
96
- Message;
97
- constructor(opts) {
98
- super({
99
- name: "InvalidInputException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- Object.setPrototypeOf(this, InvalidInputException.prototype);
104
- this.Message = opts.Message;
105
- }
106
- }
107
122
  export class ResourceAlreadyExistsException extends __BaseException {
108
123
  static shapeId = "com.amazonaws.codeconnections#ResourceAlreadyExistsException";
109
124
  name = "ResourceAlreadyExistsException";
@@ -149,21 +164,6 @@ export class SyncConfigurationStillExistsException extends __BaseException {
149
164
  this.Message = opts.Message;
150
165
  }
151
166
  }
152
- export class UnsupportedProviderTypeException extends __BaseException {
153
- static shapeId = "com.amazonaws.codeconnections#UnsupportedProviderTypeException";
154
- name = "UnsupportedProviderTypeException";
155
- $fault = "client";
156
- Message;
157
- constructor(opts) {
158
- super({
159
- name: "UnsupportedProviderTypeException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
164
- this.Message = opts.Message;
165
- }
166
- }
167
167
  export class ConflictException extends __BaseException {
168
168
  static shapeId = "com.amazonaws.codeconnections#ConflictException";
169
169
  name = "ConflictException";
@@ -307,13 +307,13 @@ export const errorTypeRegistries = [
307
307
  ];
308
308
  export var Connection$ = [3, n0, _C,
309
309
  0,
310
- [_CN, _CA, _PT, _OAI, _CS, _HA],
311
- [0, 0, 0, 0, 0, 0]
310
+ [_CN, _CA, _PT, _OAI, _CS, _HA, _PE],
311
+ [0, 0, 0, 0, 0, 0, 0]
312
312
  ];
313
313
  export var CreateConnectionInput$ = [3, n0, _CCI,
314
314
  0,
315
- [_CN, _PT, _T, _HA],
316
- [0, 0, () => TagList, 0], 1
315
+ [_CN, _PT, _T, _HA, _PE],
316
+ [0, 0, () => TagList, 0, 0], 1
317
317
  ];
318
318
  export var CreateConnectionOutput$ = [3, n0, _CCO,
319
319
  0,
@@ -467,7 +467,7 @@ export var Host$ = [3, n0, _H,
467
467
  ];
468
468
  export var ListConnectionsInput$ = [3, n0, _LCI,
469
469
  0,
470
- [_PTF, _HAF, _MR, _NT],
470
+ [_HAF, _PTF, _MR, _NT],
471
471
  [0, 0, 1, 0]
472
472
  ];
473
473
  export var ListConnectionsOutput$ = [3, n0, _LCO,
@@ -36,7 +36,7 @@ declare const CreateConnectionCommand_base: {
36
36
  * const config = {}; // type is CodeConnectionsClientConfig
37
37
  * const client = new CodeConnectionsClient(config);
38
38
  * const input = { // CreateConnectionInput
39
- * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps",
39
+ * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency",
40
40
  * ConnectionName: "STRING_VALUE", // required
41
41
  * Tags: [ // TagList
42
42
  * { // Tag
@@ -45,6 +45,7 @@ declare const CreateConnectionCommand_base: {
45
45
  * },
46
46
  * ],
47
47
  * HostArn: "STRING_VALUE",
48
+ * ProviderEndpoint: "STRING_VALUE",
48
49
  * };
49
50
  * const command = new CreateConnectionCommand(input);
50
51
  * const response = await client.send(command);
@@ -66,6 +67,9 @@ declare const CreateConnectionCommand_base: {
66
67
  * @see {@link CreateConnectionCommandOutput} for command's `response` shape.
67
68
  * @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
68
69
  *
70
+ * @throws {@link InvalidInputException} (client fault)
71
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
72
+ *
69
73
  * @throws {@link LimitExceededException} (client fault)
70
74
  * <p>Exceeded the maximum limit for connections.</p>
71
75
  *
@@ -75,6 +79,9 @@ declare const CreateConnectionCommand_base: {
75
79
  * @throws {@link ResourceUnavailableException} (client fault)
76
80
  * <p>Resource not found. Verify the ARN for the host resource and try again.</p>
77
81
  *
82
+ * @throws {@link UnsupportedProviderTypeException} (client fault)
83
+ * <p>The specified provider type is not supported for connections.</p>
84
+ *
78
85
  * @throws {@link CodeConnectionsServiceException}
79
86
  * <p>Base exception class for all service exceptions from CodeConnections service.</p>
80
87
  *
@@ -42,7 +42,7 @@ declare const CreateHostCommand_base: {
42
42
  * const client = new CodeConnectionsClient(config);
43
43
  * const input = { // CreateHostInput
44
44
  * Name: "STRING_VALUE", // required
45
- * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
45
+ * ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
46
46
  * ProviderEndpoint: "STRING_VALUE", // required
47
47
  * VpcConfiguration: { // VpcConfiguration
48
48
  * VpcId: "STRING_VALUE", // required
@@ -52,7 +52,7 @@ declare const CreateRepositoryLinkCommand_base: {
52
52
  * // ConnectionArn: "STRING_VALUE", // required
53
53
  * // EncryptionKeyArn: "STRING_VALUE",
54
54
  * // OwnerId: "STRING_VALUE", // required
55
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
55
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
56
56
  * // RepositoryLinkArn: "STRING_VALUE", // required
57
57
  * // RepositoryLinkId: "STRING_VALUE", // required
58
58
  * // RepositoryName: "STRING_VALUE", // required
@@ -85,6 +85,9 @@ declare const CreateRepositoryLinkCommand_base: {
85
85
  * @throws {@link ResourceAlreadyExistsException} (client fault)
86
86
  * <p>Unable to create resource. Resource already exists.</p>
87
87
  *
88
+ * @throws {@link ResourceNotFoundException} (client fault)
89
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
90
+ *
88
91
  * @throws {@link ThrottlingException} (client fault)
89
92
  * <p>The request was denied due to request throttling.</p>
90
93
  *
@@ -53,7 +53,7 @@ declare const CreateSyncConfigurationCommand_base: {
53
53
  * // Branch: "STRING_VALUE", // required
54
54
  * // ConfigFile: "STRING_VALUE",
55
55
  * // OwnerId: "STRING_VALUE", // required
56
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
56
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
57
57
  * // RepositoryLinkId: "STRING_VALUE", // required
58
58
  * // RepositoryName: "STRING_VALUE", // required
59
59
  * // ResourceName: "STRING_VALUE", // required
@@ -91,6 +91,9 @@ declare const CreateSyncConfigurationCommand_base: {
91
91
  * @throws {@link ResourceAlreadyExistsException} (client fault)
92
92
  * <p>Unable to create resource. Resource already exists.</p>
93
93
  *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
96
+ *
94
97
  * @throws {@link ThrottlingException} (client fault)
95
98
  * <p>The request was denied due to request throttling.</p>
96
99
  *
@@ -42,10 +42,11 @@ declare const GetConnectionCommand_base: {
42
42
  * // Connection: { // Connection
43
43
  * // ConnectionName: "STRING_VALUE",
44
44
  * // ConnectionArn: "STRING_VALUE",
45
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps",
45
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency",
46
46
  * // OwnerAccountId: "STRING_VALUE",
47
47
  * // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR",
48
48
  * // HostArn: "STRING_VALUE",
49
+ * // ProviderEndpoint: "STRING_VALUE",
49
50
  * // },
50
51
  * // };
51
52
  *
@@ -42,7 +42,7 @@ declare const GetHostCommand_base: {
42
42
  * // { // GetHostOutput
43
43
  * // Name: "STRING_VALUE",
44
44
  * // Status: "STRING_VALUE",
45
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps",
45
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency",
46
46
  * // ProviderEndpoint: "STRING_VALUE",
47
47
  * // VpcConfiguration: { // VpcConfiguration
48
48
  * // VpcId: "STRING_VALUE", // required
@@ -44,7 +44,7 @@ declare const GetRepositoryLinkCommand_base: {
44
44
  * // ConnectionArn: "STRING_VALUE", // required
45
45
  * // EncryptionKeyArn: "STRING_VALUE",
46
46
  * // OwnerId: "STRING_VALUE", // required
47
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
47
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
48
48
  * // RepositoryLinkArn: "STRING_VALUE", // required
49
49
  * // RepositoryLinkId: "STRING_VALUE", // required
50
50
  * // RepositoryName: "STRING_VALUE", // required
@@ -46,7 +46,7 @@ declare const GetResourceSyncStatusCommand_base: {
46
46
  * // Directory: "STRING_VALUE", // required
47
47
  * // OwnerId: "STRING_VALUE", // required
48
48
  * // RepositoryName: "STRING_VALUE", // required
49
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
49
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
50
50
  * // Sha: "STRING_VALUE", // required
51
51
  * // },
52
52
  * // LatestSuccessfulSync: { // ResourceSyncAttempt
@@ -63,7 +63,7 @@ declare const GetResourceSyncStatusCommand_base: {
63
63
  * // Directory: "STRING_VALUE", // required
64
64
  * // OwnerId: "STRING_VALUE", // required
65
65
  * // RepositoryName: "STRING_VALUE", // required
66
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
66
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
67
67
  * // Sha: "STRING_VALUE", // required
68
68
  * // },
69
69
  * // StartedAt: new Date("TIMESTAMP"), // required
@@ -73,7 +73,7 @@ declare const GetResourceSyncStatusCommand_base: {
73
73
  * // Directory: "STRING_VALUE", // required
74
74
  * // OwnerId: "STRING_VALUE", // required
75
75
  * // RepositoryName: "STRING_VALUE", // required
76
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
76
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
77
77
  * // Sha: "STRING_VALUE", // required
78
78
  * // },
79
79
  * // Target: "STRING_VALUE", // required
@@ -92,7 +92,7 @@ declare const GetResourceSyncStatusCommand_base: {
92
92
  * // Directory: "STRING_VALUE", // required
93
93
  * // OwnerId: "STRING_VALUE", // required
94
94
  * // RepositoryName: "STRING_VALUE", // required
95
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
95
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
96
96
  * // Sha: "STRING_VALUE", // required
97
97
  * // },
98
98
  * // StartedAt: new Date("TIMESTAMP"), // required
@@ -102,7 +102,7 @@ declare const GetResourceSyncStatusCommand_base: {
102
102
  * // Directory: "STRING_VALUE", // required
103
103
  * // OwnerId: "STRING_VALUE", // required
104
104
  * // RepositoryName: "STRING_VALUE", // required
105
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
105
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
106
106
  * // Sha: "STRING_VALUE", // required
107
107
  * // },
108
108
  * // Target: "STRING_VALUE", // required
@@ -44,7 +44,7 @@ declare const GetSyncConfigurationCommand_base: {
44
44
  * // Branch: "STRING_VALUE", // required
45
45
  * // ConfigFile: "STRING_VALUE",
46
46
  * // OwnerId: "STRING_VALUE", // required
47
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
47
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
48
48
  * // RepositoryLinkId: "STRING_VALUE", // required
49
49
  * // RepositoryName: "STRING_VALUE", // required
50
50
  * // ResourceName: "STRING_VALUE", // required
@@ -34,8 +34,8 @@ declare const ListConnectionsCommand_base: {
34
34
  * const config = {}; // type is CodeConnectionsClientConfig
35
35
  * const client = new CodeConnectionsClient(config);
36
36
  * const input = { // ListConnectionsInput
37
- * ProviderTypeFilter: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps",
38
37
  * HostArnFilter: "STRING_VALUE",
38
+ * ProviderTypeFilter: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency",
39
39
  * MaxResults: Number("int"),
40
40
  * NextToken: "STRING_VALUE",
41
41
  * };
@@ -46,10 +46,11 @@ declare const ListConnectionsCommand_base: {
46
46
  * // { // Connection
47
47
  * // ConnectionName: "STRING_VALUE",
48
48
  * // ConnectionArn: "STRING_VALUE",
49
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps",
49
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency",
50
50
  * // OwnerAccountId: "STRING_VALUE",
51
51
  * // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR",
52
52
  * // HostArn: "STRING_VALUE",
53
+ * // ProviderEndpoint: "STRING_VALUE",
53
54
  * // },
54
55
  * // ],
55
56
  * // NextToken: "STRING_VALUE",
@@ -44,7 +44,7 @@ declare const ListHostsCommand_base: {
44
44
  * // { // Host
45
45
  * // Name: "STRING_VALUE",
46
46
  * // HostArn: "STRING_VALUE",
47
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps",
47
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency",
48
48
  * // ProviderEndpoint: "STRING_VALUE",
49
49
  * // VpcConfiguration: { // VpcConfiguration
50
50
  * // VpcId: "STRING_VALUE", // required
@@ -45,7 +45,7 @@ declare const ListRepositoryLinksCommand_base: {
45
45
  * // ConnectionArn: "STRING_VALUE", // required
46
46
  * // EncryptionKeyArn: "STRING_VALUE",
47
47
  * // OwnerId: "STRING_VALUE", // required
48
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
48
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
49
49
  * // RepositoryLinkArn: "STRING_VALUE", // required
50
50
  * // RepositoryLinkId: "STRING_VALUE", // required
51
51
  * // RepositoryName: "STRING_VALUE", // required
@@ -47,7 +47,7 @@ declare const ListSyncConfigurationsCommand_base: {
47
47
  * // Branch: "STRING_VALUE", // required
48
48
  * // ConfigFile: "STRING_VALUE",
49
49
  * // OwnerId: "STRING_VALUE", // required
50
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
50
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
51
51
  * // RepositoryLinkId: "STRING_VALUE", // required
52
52
  * // RepositoryName: "STRING_VALUE", // required
53
53
  * // ResourceName: "STRING_VALUE", // required
@@ -47,7 +47,7 @@ declare const UpdateRepositoryLinkCommand_base: {
47
47
  * // ConnectionArn: "STRING_VALUE", // required
48
48
  * // EncryptionKeyArn: "STRING_VALUE",
49
49
  * // OwnerId: "STRING_VALUE", // required
50
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
50
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
51
51
  * // RepositoryLinkArn: "STRING_VALUE", // required
52
52
  * // RepositoryLinkId: "STRING_VALUE", // required
53
53
  * // RepositoryName: "STRING_VALUE", // required
@@ -51,7 +51,7 @@ declare const UpdateSyncConfigurationCommand_base: {
51
51
  * // Branch: "STRING_VALUE", // required
52
52
  * // ConfigFile: "STRING_VALUE",
53
53
  * // OwnerId: "STRING_VALUE", // required
54
- * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps", // required
54
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged" || "AzureDevOps" || "GitHubEnterpriseCloudDataResidency", // required
55
55
  * // RepositoryLinkId: "STRING_VALUE", // required
56
56
  * // RepositoryName: "STRING_VALUE", // required
57
57
  * // ResourceName: "STRING_VALUE", // required
@@ -29,6 +29,7 @@ export declare const ProviderType: {
29
29
  readonly AZURE_DEV_OPS: "AzureDevOps";
30
30
  readonly BITBUCKET: "Bitbucket";
31
31
  readonly GITHUB: "GitHub";
32
+ readonly GITHUB_ENTERPRISE_CLOUD_DATA_RESIDENCY: "GitHubEnterpriseCloudDataResidency";
32
33
  readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
33
34
  readonly GITLAB: "GitLab";
34
35
  readonly GITLAB_SELF_MANAGED: "GitLabSelfManaged";
@@ -14,6 +14,20 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  */
15
15
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
16
  }
17
+ /**
18
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
19
+ * @public
20
+ */
21
+ export declare class InvalidInputException extends __BaseException {
22
+ static readonly shapeId: string;
23
+ readonly name: "InvalidInputException";
24
+ readonly $fault: "client";
25
+ Message?: string | undefined;
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
30
+ }
17
31
  /**
18
32
  * <p>Exceeded the maximum limit for connections.</p>
19
33
  * @public
@@ -57,46 +71,46 @@ export declare class ResourceUnavailableException extends __BaseException {
57
71
  constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
58
72
  }
59
73
  /**
60
- * <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>
74
+ * <p>The specified provider type is not supported for connections.</p>
61
75
  * @public
62
76
  */
63
- export declare class ConcurrentModificationException extends __BaseException {
77
+ export declare class UnsupportedProviderTypeException extends __BaseException {
64
78
  static readonly shapeId: string;
65
- readonly name: "ConcurrentModificationException";
79
+ readonly name: "UnsupportedProviderTypeException";
66
80
  readonly $fault: "client";
67
81
  Message?: string | undefined;
68
82
  /**
69
83
  * @internal
70
84
  */
71
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
85
+ constructor(opts: __ExceptionOptionType<UnsupportedProviderTypeException, __BaseException>);
72
86
  }
73
87
  /**
74
- * <p>Received an internal server exception. Try again later.</p>
88
+ * <p>Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time. </p>
75
89
  * @public
76
90
  */
77
- export declare class InternalServerException extends __BaseException {
91
+ export declare class ConcurrentModificationException extends __BaseException {
78
92
  static readonly shapeId: string;
79
- readonly name: "InternalServerException";
80
- readonly $fault: "server";
93
+ readonly name: "ConcurrentModificationException";
94
+ readonly $fault: "client";
81
95
  Message?: string | undefined;
82
96
  /**
83
97
  * @internal
84
98
  */
85
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
99
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
86
100
  }
87
101
  /**
88
- * <p>The input is not valid. Verify that the action is typed correctly.</p>
102
+ * <p>Received an internal server exception. Try again later.</p>
89
103
  * @public
90
104
  */
91
- export declare class InvalidInputException extends __BaseException {
105
+ export declare class InternalServerException extends __BaseException {
92
106
  static readonly shapeId: string;
93
- readonly name: "InvalidInputException";
94
- readonly $fault: "client";
107
+ readonly name: "InternalServerException";
108
+ readonly $fault: "server";
95
109
  Message?: string | undefined;
96
110
  /**
97
111
  * @internal
98
112
  */
99
- constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
113
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
100
114
  }
101
115
  /**
102
116
  * <p>Unable to create resource. Resource already exists.</p>
@@ -140,20 +154,6 @@ export declare class SyncConfigurationStillExistsException extends __BaseExcepti
140
154
  */
141
155
  constructor(opts: __ExceptionOptionType<SyncConfigurationStillExistsException, __BaseException>);
142
156
  }
143
- /**
144
- * <p>The specified provider type is not supported for connections.</p>
145
- * @public
146
- */
147
- export declare class UnsupportedProviderTypeException extends __BaseException {
148
- static readonly shapeId: string;
149
- readonly name: "UnsupportedProviderTypeException";
150
- readonly $fault: "client";
151
- Message?: string | undefined;
152
- /**
153
- * @internal
154
- */
155
- constructor(opts: __ExceptionOptionType<UnsupportedProviderTypeException, __BaseException>);
156
- }
157
157
  /**
158
158
  * <p>Two conflicting operations have been made on the same resource.</p>
159
159
  * @public
@@ -41,6 +41,11 @@ export interface CreateConnectionInput {
41
41
  * @public
42
42
  */
43
43
  HostArn?: string | undefined;
44
+ /**
45
+ * <p>The endpoint of the ghe.com tenant where your organization resides. Provide this parameter only when <code>ProviderType</code> is <code>GitHubEnterpriseCloudDataResidency</code>. Leave this parameter empty for all other provider types.</p>
46
+ * @public
47
+ */
48
+ ProviderEndpoint?: string | undefined;
44
49
  }
45
50
  /**
46
51
  * @public
@@ -476,6 +481,11 @@ export interface Connection {
476
481
  * @public
477
482
  */
478
483
  HostArn?: string | undefined;
484
+ /**
485
+ * <p>The endpoint of the ghe.com tenant where your organization resides. This value is populated only for a connection with a <code>ProviderType</code> of <code>GitHubEnterpriseCloudDataResidency</code>. It is empty for all other provider types.</p>
486
+ * @public
487
+ */
488
+ ProviderEndpoint?: string | undefined;
479
489
  }
480
490
  /**
481
491
  * @public
@@ -932,16 +942,16 @@ export interface GetSyncConfigurationOutput {
932
942
  */
933
943
  export interface ListConnectionsInput {
934
944
  /**
935
- * <p>Filters the list of connections to those associated with a specified provider, such as
936
- * Bitbucket.</p>
945
+ * <p>Filters the list of connections to those associated with a specified host.</p>
937
946
  * @public
938
947
  */
939
- ProviderTypeFilter?: ProviderType | undefined;
948
+ HostArnFilter?: string | undefined;
940
949
  /**
941
- * <p>Filters the list of connections to those associated with a specified host.</p>
950
+ * <p>Filters the list of connections to those associated with a specified provider, such as
951
+ * Bitbucket.</p>
942
952
  * @public
943
953
  */
944
- HostArnFilter?: string | undefined;
954
+ ProviderTypeFilter?: ProviderType | undefined;
945
955
  /**
946
956
  * <p>The maximum number of results to return in a single call. To retrieve the remaining
947
957
  * results, make another call with the returned <code>nextToken</code> value.</p>
@@ -11,6 +11,7 @@ export declare const ProviderType: {
11
11
  readonly AZURE_DEV_OPS: "AzureDevOps";
12
12
  readonly BITBUCKET: "Bitbucket";
13
13
  readonly GITHUB: "GitHub";
14
+ readonly GITHUB_ENTERPRISE_CLOUD_DATA_RESIDENCY: "GitHubEnterpriseCloudDataResidency";
14
15
  readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
15
16
  readonly GITLAB: "GitLab";
16
17
  readonly GITLAB_SELF_MANAGED: "GitLabSelfManaged";
@@ -7,6 +7,13 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  Message?: string | undefined;
8
8
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
9
  }
10
+ export declare class InvalidInputException extends __BaseException {
11
+ static readonly shapeId: string;
12
+ readonly name: "InvalidInputException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
16
+ }
10
17
  export declare class LimitExceededException extends __BaseException {
11
18
  static readonly shapeId: string;
12
19
  readonly name: "LimitExceededException";
@@ -28,6 +35,13 @@ export declare class ResourceUnavailableException extends __BaseException {
28
35
  Message?: string | undefined;
29
36
  constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
30
37
  }
38
+ export declare class UnsupportedProviderTypeException extends __BaseException {
39
+ static readonly shapeId: string;
40
+ readonly name: "UnsupportedProviderTypeException";
41
+ readonly $fault: "client";
42
+ Message?: string | undefined;
43
+ constructor(opts: __ExceptionOptionType<UnsupportedProviderTypeException, __BaseException>);
44
+ }
31
45
  export declare class ConcurrentModificationException extends __BaseException {
32
46
  static readonly shapeId: string;
33
47
  readonly name: "ConcurrentModificationException";
@@ -42,13 +56,6 @@ export declare class InternalServerException extends __BaseException {
42
56
  Message?: string | undefined;
43
57
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
44
58
  }
45
- export declare class InvalidInputException extends __BaseException {
46
- static readonly shapeId: string;
47
- readonly name: "InvalidInputException";
48
- readonly $fault: "client";
49
- Message?: string | undefined;
50
- constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
51
- }
52
59
  export declare class ResourceAlreadyExistsException extends __BaseException {
53
60
  static readonly shapeId: string;
54
61
  readonly name: "ResourceAlreadyExistsException";
@@ -70,13 +77,6 @@ export declare class SyncConfigurationStillExistsException extends __BaseExcepti
70
77
  Message?: string | undefined;
71
78
  constructor(opts: __ExceptionOptionType<SyncConfigurationStillExistsException, __BaseException>);
72
79
  }
73
- export declare class UnsupportedProviderTypeException extends __BaseException {
74
- static readonly shapeId: string;
75
- readonly name: "UnsupportedProviderTypeException";
76
- readonly $fault: "client";
77
- Message?: string | undefined;
78
- constructor(opts: __ExceptionOptionType<UnsupportedProviderTypeException, __BaseException>);
79
- }
80
80
  export declare class ConflictException extends __BaseException {
81
81
  static readonly shapeId: string;
82
82
  readonly name: "ConflictException";
@@ -19,6 +19,7 @@ export interface CreateConnectionInput {
19
19
  ConnectionName: string | undefined;
20
20
  Tags?: Tag[] | undefined;
21
21
  HostArn?: string | undefined;
22
+ ProviderEndpoint?: string | undefined;
22
23
  }
23
24
  export interface CreateConnectionOutput {
24
25
  ConnectionArn: string | undefined;
@@ -115,6 +116,7 @@ export interface Connection {
115
116
  OwnerAccountId?: string | undefined;
116
117
  ConnectionStatus?: ConnectionStatus | undefined;
117
118
  HostArn?: string | undefined;
119
+ ProviderEndpoint?: string | undefined;
118
120
  }
119
121
  export interface GetConnectionOutput {
120
122
  Connection?: Connection | undefined;
@@ -219,8 +221,8 @@ export interface GetSyncConfigurationOutput {
219
221
  SyncConfiguration: SyncConfiguration | undefined;
220
222
  }
221
223
  export interface ListConnectionsInput {
222
- ProviderTypeFilter?: ProviderType | undefined;
223
224
  HostArnFilter?: string | undefined;
225
+ ProviderTypeFilter?: ProviderType | undefined;
224
226
  MaxResults?: number | undefined;
225
227
  NextToken?: string | undefined;
226
228
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeconnections",
3
- "version": "3.1172.0",
3
+ "version": "3.1174.0",
4
4
  "description": "AWS SDK for JavaScript Codeconnections Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codeconnections",
6
6
  "license": "Apache-2.0",