@aws-sdk/client-codestar-connections 3.934.0 → 3.936.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.
@@ -1,30 +1,14 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CodeStarConnectionsServiceException as __BaseException } from "./CodeStarConnectionsServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare const BlockerStatus: {
12
- readonly ACTIVE: "ACTIVE";
13
- readonly RESOLVED: "RESOLVED";
14
- };
15
- export type BlockerStatus = (typeof BlockerStatus)[keyof typeof BlockerStatus];
16
- export declare const BlockerType: {
17
- readonly AUTOMATED: "AUTOMATED";
18
- };
19
- export type BlockerType = (typeof BlockerType)[keyof typeof BlockerType];
20
- export declare const ProviderType: {
21
- readonly BITBUCKET: "Bitbucket";
22
- readonly GITHUB: "GitHub";
23
- readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
24
- readonly GITLAB: "GitLab";
25
- readonly GITLAB_SELF_MANAGED: "GitLabSelfManaged";
26
- };
27
- export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
1
+ import {
2
+ BlockerStatus,
3
+ BlockerType,
4
+ ConnectionStatus,
5
+ ProviderType,
6
+ PublishDeploymentStatus,
7
+ RepositorySyncStatus,
8
+ ResourceSyncStatus,
9
+ SyncConfigurationType,
10
+ TriggerResourceUpdateOn,
11
+ } from "./enums";
28
12
  export interface Tag {
29
13
  Key: string | undefined;
30
14
  Value: string | undefined;
@@ -39,30 +23,6 @@ export interface CreateConnectionOutput {
39
23
  ConnectionArn: string | undefined;
40
24
  Tags?: Tag[] | undefined;
41
25
  }
42
- export declare class LimitExceededException extends __BaseException {
43
- readonly name: "LimitExceededException";
44
- readonly $fault: "client";
45
- Message?: string | undefined;
46
- constructor(
47
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
48
- );
49
- }
50
- export declare class ResourceNotFoundException extends __BaseException {
51
- readonly name: "ResourceNotFoundException";
52
- readonly $fault: "client";
53
- Message?: string | undefined;
54
- constructor(
55
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
56
- );
57
- }
58
- export declare class ResourceUnavailableException extends __BaseException {
59
- readonly name: "ResourceUnavailableException";
60
- readonly $fault: "client";
61
- Message?: string | undefined;
62
- constructor(
63
- opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
64
- );
65
- }
66
26
  export interface VpcConfiguration {
67
27
  VpcId: string | undefined;
68
28
  SubnetIds: string[] | undefined;
@@ -80,17 +40,6 @@ export interface CreateHostOutput {
80
40
  HostArn?: string | undefined;
81
41
  Tags?: Tag[] | undefined;
82
42
  }
83
- export declare class ConcurrentModificationException extends __BaseException {
84
- readonly name: "ConcurrentModificationException";
85
- readonly $fault: "client";
86
- Message?: string | undefined;
87
- constructor(
88
- opts: __ExceptionOptionType<
89
- ConcurrentModificationException,
90
- __BaseException
91
- >
92
- );
93
- }
94
43
  export interface CreateRepositoryLinkInput {
95
44
  ConnectionArn: string | undefined;
96
45
  OwnerId: string | undefined;
@@ -110,55 +59,6 @@ export interface RepositoryLinkInfo {
110
59
  export interface CreateRepositoryLinkOutput {
111
60
  RepositoryLinkInfo: RepositoryLinkInfo | undefined;
112
61
  }
113
- export declare class InternalServerException extends __BaseException {
114
- readonly name: "InternalServerException";
115
- readonly $fault: "server";
116
- Message?: string | undefined;
117
- constructor(
118
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
119
- );
120
- }
121
- export declare class InvalidInputException extends __BaseException {
122
- readonly name: "InvalidInputException";
123
- readonly $fault: "client";
124
- Message?: string | undefined;
125
- constructor(
126
- opts: __ExceptionOptionType<InvalidInputException, __BaseException>
127
- );
128
- }
129
- export declare class ResourceAlreadyExistsException extends __BaseException {
130
- readonly name: "ResourceAlreadyExistsException";
131
- readonly $fault: "client";
132
- Message?: string | undefined;
133
- constructor(
134
- opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
135
- );
136
- }
137
- export declare class ThrottlingException extends __BaseException {
138
- readonly name: "ThrottlingException";
139
- readonly $fault: "client";
140
- Message?: string | undefined;
141
- constructor(
142
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
143
- );
144
- }
145
- export declare const PublishDeploymentStatus: {
146
- readonly DISABLED: "DISABLED";
147
- readonly ENABLED: "ENABLED";
148
- };
149
- export type PublishDeploymentStatus =
150
- (typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus];
151
- export declare const SyncConfigurationType: {
152
- readonly CFN_STACK_SYNC: "CFN_STACK_SYNC";
153
- };
154
- export type SyncConfigurationType =
155
- (typeof SyncConfigurationType)[keyof typeof SyncConfigurationType];
156
- export declare const TriggerResourceUpdateOn: {
157
- readonly ANY_CHANGE: "ANY_CHANGE";
158
- readonly FILE_CHANGE: "FILE_CHANGE";
159
- };
160
- export type TriggerResourceUpdateOn =
161
- (typeof TriggerResourceUpdateOn)[keyof typeof TriggerResourceUpdateOn];
162
62
  export interface CreateSyncConfigurationInput {
163
63
  Branch: string | undefined;
164
64
  ConfigFile: string | undefined;
@@ -197,28 +97,6 @@ export interface DeleteRepositoryLinkInput {
197
97
  RepositoryLinkId: string | undefined;
198
98
  }
199
99
  export interface DeleteRepositoryLinkOutput {}
200
- export declare class SyncConfigurationStillExistsException extends __BaseException {
201
- readonly name: "SyncConfigurationStillExistsException";
202
- readonly $fault: "client";
203
- Message?: string | undefined;
204
- constructor(
205
- opts: __ExceptionOptionType<
206
- SyncConfigurationStillExistsException,
207
- __BaseException
208
- >
209
- );
210
- }
211
- export declare class UnsupportedProviderTypeException extends __BaseException {
212
- readonly name: "UnsupportedProviderTypeException";
213
- readonly $fault: "client";
214
- Message?: string | undefined;
215
- constructor(
216
- opts: __ExceptionOptionType<
217
- UnsupportedProviderTypeException,
218
- __BaseException
219
- >
220
- );
221
- }
222
100
  export interface DeleteSyncConfigurationInput {
223
101
  SyncType: SyncConfigurationType | undefined;
224
102
  ResourceName: string | undefined;
@@ -227,13 +105,6 @@ export interface DeleteSyncConfigurationOutput {}
227
105
  export interface GetConnectionInput {
228
106
  ConnectionArn: string | undefined;
229
107
  }
230
- export declare const ConnectionStatus: {
231
- readonly AVAILABLE: "AVAILABLE";
232
- readonly ERROR: "ERROR";
233
- readonly PENDING: "PENDING";
234
- };
235
- export type ConnectionStatus =
236
- (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
237
108
  export interface Connection {
238
109
  ConnectionName?: string | undefined;
239
110
  ConnectionArn?: string | undefined;
@@ -272,15 +143,6 @@ export interface RepositorySyncEvent {
272
143
  Time: Date | undefined;
273
144
  Type: string | undefined;
274
145
  }
275
- export declare const RepositorySyncStatus: {
276
- readonly FAILED: "FAILED";
277
- readonly INITIATED: "INITIATED";
278
- readonly IN_PROGRESS: "IN_PROGRESS";
279
- readonly QUEUED: "QUEUED";
280
- readonly SUCCEEDED: "SUCCEEDED";
281
- };
282
- export type RepositorySyncStatus =
283
- (typeof RepositorySyncStatus)[keyof typeof RepositorySyncStatus];
284
146
  export interface RepositorySyncAttempt {
285
147
  StartedAt: Date | undefined;
286
148
  Status: RepositorySyncStatus | undefined;
@@ -307,14 +169,6 @@ export interface ResourceSyncEvent {
307
169
  Time: Date | undefined;
308
170
  Type: string | undefined;
309
171
  }
310
- export declare const ResourceSyncStatus: {
311
- readonly FAILED: "FAILED";
312
- readonly INITIATED: "INITIATED";
313
- readonly IN_PROGRESS: "IN_PROGRESS";
314
- readonly SUCCEEDED: "SUCCEEDED";
315
- };
316
- export type ResourceSyncStatus =
317
- (typeof ResourceSyncStatus)[keyof typeof ResourceSyncStatus];
318
172
  export interface ResourceSyncAttempt {
319
173
  Events: ResourceSyncEvent[] | undefined;
320
174
  InitialRevision: Revision | undefined;
@@ -436,45 +290,12 @@ export interface UntagResourceInput {
436
290
  TagKeys: string[] | undefined;
437
291
  }
438
292
  export interface UntagResourceOutput {}
439
- export declare class ConflictException extends __BaseException {
440
- readonly name: "ConflictException";
441
- readonly $fault: "client";
442
- Message?: string | undefined;
443
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
444
- }
445
- export declare class UnsupportedOperationException extends __BaseException {
446
- readonly name: "UnsupportedOperationException";
447
- readonly $fault: "client";
448
- Message?: string | undefined;
449
- constructor(
450
- opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
451
- );
452
- }
453
293
  export interface UpdateHostInput {
454
294
  HostArn: string | undefined;
455
295
  ProviderEndpoint?: string | undefined;
456
296
  VpcConfiguration?: VpcConfiguration | undefined;
457
297
  }
458
298
  export interface UpdateHostOutput {}
459
- export declare class ConditionalCheckFailedException extends __BaseException {
460
- readonly name: "ConditionalCheckFailedException";
461
- readonly $fault: "client";
462
- Message?: string | undefined;
463
- constructor(
464
- opts: __ExceptionOptionType<
465
- ConditionalCheckFailedException,
466
- __BaseException
467
- >
468
- );
469
- }
470
- export declare class UpdateOutOfSyncException extends __BaseException {
471
- readonly name: "UpdateOutOfSyncException";
472
- readonly $fault: "client";
473
- Message?: string | undefined;
474
- constructor(
475
- opts: __ExceptionOptionType<UpdateOutOfSyncException, __BaseException>
476
- );
477
- }
478
299
  export interface UpdateRepositoryLinkInput {
479
300
  ConnectionArn?: string | undefined;
480
301
  EncryptionKeyArn?: string | undefined;
@@ -483,28 +304,6 @@ export interface UpdateRepositoryLinkInput {
483
304
  export interface UpdateRepositoryLinkOutput {
484
305
  RepositoryLinkInfo: RepositoryLinkInfo | undefined;
485
306
  }
486
- export declare class RetryLatestCommitFailedException extends __BaseException {
487
- readonly name: "RetryLatestCommitFailedException";
488
- readonly $fault: "server";
489
- Message?: string | undefined;
490
- constructor(
491
- opts: __ExceptionOptionType<
492
- RetryLatestCommitFailedException,
493
- __BaseException
494
- >
495
- );
496
- }
497
- export declare class SyncBlockerDoesNotExistException extends __BaseException {
498
- readonly name: "SyncBlockerDoesNotExistException";
499
- readonly $fault: "client";
500
- Message?: string | undefined;
501
- constructor(
502
- opts: __ExceptionOptionType<
503
- SyncBlockerDoesNotExistException,
504
- __BaseException
505
- >
506
- );
507
- }
508
307
  export interface UpdateSyncBlockerInput {
509
308
  Id: string | undefined;
510
309
  SyncType: SyncConfigurationType | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codestar-connections",
3
3
  "description": "AWS SDK for JavaScript Codestar Connections Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codestar-connections",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";