@aws-sdk/client-codeconnections 3.654.0 → 3.655.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/models/models_0.js +5 -1
- package/dist-es/models/models_0.js +4 -0
- package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetSyncConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +28 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SyncBlockerDoesNotExistException = exports.RetryLatestCommitFailedException = exports.UpdateOutOfSyncException = exports.ConditionalCheckFailedException = exports.UnsupportedOperationException = exports.ConflictException = exports.ResourceSyncStatus = exports.RepositorySyncStatus = exports.ConnectionStatus = exports.UnsupportedProviderTypeException = exports.SyncConfigurationStillExistsException = exports.TriggerResourceUpdateOn = exports.SyncConfigurationType = exports.PublishDeploymentStatus = exports.ThrottlingException = exports.ResourceAlreadyExistsException = exports.InvalidInputException = exports.InternalServerException = exports.ConcurrentModificationException = exports.ResourceUnavailableException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.ProviderType = exports.BlockerType = exports.BlockerStatus = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.SyncBlockerDoesNotExistException = exports.RetryLatestCommitFailedException = exports.UpdateOutOfSyncException = exports.ConditionalCheckFailedException = exports.UnsupportedOperationException = exports.ConflictException = exports.ResourceSyncStatus = exports.RepositorySyncStatus = exports.ConnectionStatus = exports.UnsupportedProviderTypeException = exports.SyncConfigurationStillExistsException = exports.TriggerResourceUpdateOn = exports.SyncConfigurationType = exports.PullRequestComment = exports.PublishDeploymentStatus = exports.ThrottlingException = exports.ResourceAlreadyExistsException = exports.InvalidInputException = exports.InternalServerException = exports.ConcurrentModificationException = exports.ResourceUnavailableException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.ProviderType = exports.BlockerType = exports.BlockerStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
const CodeConnectionsServiceException_1 = require("./CodeConnectionsServiceException");
|
|
5
5
|
class AccessDeniedException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -146,6 +146,10 @@ exports.PublishDeploymentStatus = {
|
|
|
146
146
|
DISABLED: "DISABLED",
|
|
147
147
|
ENABLED: "ENABLED",
|
|
148
148
|
};
|
|
149
|
+
exports.PullRequestComment = {
|
|
150
|
+
DISABLED: "DISABLED",
|
|
151
|
+
ENABLED: "ENABLED",
|
|
152
|
+
};
|
|
149
153
|
exports.SyncConfigurationType = {
|
|
150
154
|
CFN_STACK_SYNC: "CFN_STACK_SYNC",
|
|
151
155
|
};
|
|
@@ -134,6 +134,10 @@ export const PublishDeploymentStatus = {
|
|
|
134
134
|
DISABLED: "DISABLED",
|
|
135
135
|
ENABLED: "ENABLED",
|
|
136
136
|
};
|
|
137
|
+
export const PullRequestComment = {
|
|
138
|
+
DISABLED: "DISABLED",
|
|
139
|
+
ENABLED: "ENABLED",
|
|
140
|
+
};
|
|
137
141
|
export const SyncConfigurationType = {
|
|
138
142
|
CFN_STACK_SYNC: "CFN_STACK_SYNC",
|
|
139
143
|
};
|
|
@@ -45,6 +45,7 @@ declare const CreateSyncConfigurationCommand_base: {
|
|
|
45
45
|
* SyncType: "CFN_STACK_SYNC", // required
|
|
46
46
|
* PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
47
47
|
* TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
48
|
+
* PullRequestComment: "ENABLED" || "DISABLED",
|
|
48
49
|
* };
|
|
49
50
|
* const command = new CreateSyncConfigurationCommand(input);
|
|
50
51
|
* const response = await client.send(command);
|
|
@@ -61,6 +62,7 @@ declare const CreateSyncConfigurationCommand_base: {
|
|
|
61
62
|
* // SyncType: "CFN_STACK_SYNC", // required
|
|
62
63
|
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
63
64
|
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
65
|
+
* // PullRequestComment: "ENABLED" || "DISABLED",
|
|
64
66
|
* // },
|
|
65
67
|
* // };
|
|
66
68
|
*
|
|
@@ -53,6 +53,7 @@ declare const GetSyncConfigurationCommand_base: {
|
|
|
53
53
|
* // SyncType: "CFN_STACK_SYNC", // required
|
|
54
54
|
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
55
55
|
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
56
|
+
* // PullRequestComment: "ENABLED" || "DISABLED",
|
|
56
57
|
* // },
|
|
57
58
|
* // };
|
|
58
59
|
*
|
|
@@ -56,6 +56,7 @@ declare const ListSyncConfigurationsCommand_base: {
|
|
|
56
56
|
* // SyncType: "CFN_STACK_SYNC", // required
|
|
57
57
|
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
58
58
|
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
59
|
+
* // PullRequestComment: "ENABLED" || "DISABLED",
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
61
62
|
* // NextToken: "STRING_VALUE",
|
|
@@ -43,6 +43,7 @@ declare const UpdateSyncConfigurationCommand_base: {
|
|
|
43
43
|
* SyncType: "CFN_STACK_SYNC", // required
|
|
44
44
|
* PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
45
45
|
* TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
46
|
+
* PullRequestComment: "ENABLED" || "DISABLED",
|
|
46
47
|
* };
|
|
47
48
|
* const command = new UpdateSyncConfigurationCommand(input);
|
|
48
49
|
* const response = await client.send(command);
|
|
@@ -59,6 +60,7 @@ declare const UpdateSyncConfigurationCommand_base: {
|
|
|
59
60
|
* // SyncType: "CFN_STACK_SYNC", // required
|
|
60
61
|
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
61
62
|
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
63
|
+
* // PullRequestComment: "ENABLED" || "DISABLED",
|
|
62
64
|
* // },
|
|
63
65
|
* // };
|
|
64
66
|
*
|
|
@@ -390,6 +390,18 @@ export declare const PublishDeploymentStatus: {
|
|
|
390
390
|
* @public
|
|
391
391
|
*/
|
|
392
392
|
export type PublishDeploymentStatus = (typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus];
|
|
393
|
+
/**
|
|
394
|
+
* @public
|
|
395
|
+
* @enum
|
|
396
|
+
*/
|
|
397
|
+
export declare const PullRequestComment: {
|
|
398
|
+
readonly DISABLED: "DISABLED";
|
|
399
|
+
readonly ENABLED: "ENABLED";
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
export type PullRequestComment = (typeof PullRequestComment)[keyof typeof PullRequestComment];
|
|
393
405
|
/**
|
|
394
406
|
* @public
|
|
395
407
|
* @enum
|
|
@@ -460,6 +472,11 @@ export interface CreateSyncConfigurationInput {
|
|
|
460
472
|
* @public
|
|
461
473
|
*/
|
|
462
474
|
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
475
|
+
/**
|
|
476
|
+
* <p>A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
PullRequestComment?: PullRequestComment;
|
|
463
480
|
}
|
|
464
481
|
/**
|
|
465
482
|
* <p>Information, such as repository, branch, provider, and resource names for a specific sync configuration.</p>
|
|
@@ -523,6 +540,11 @@ export interface SyncConfiguration {
|
|
|
523
540
|
* @public
|
|
524
541
|
*/
|
|
525
542
|
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
543
|
+
/**
|
|
544
|
+
* <p>A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.</p>
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
PullRequestComment?: PullRequestComment;
|
|
526
548
|
}
|
|
527
549
|
/**
|
|
528
550
|
* @public
|
|
@@ -667,7 +689,7 @@ export interface Connection {
|
|
|
667
689
|
ConnectionName?: string;
|
|
668
690
|
/**
|
|
669
691
|
* <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
|
|
692
|
+
* reference when the connection is shared between Amazon Web Servicesservices.</p>
|
|
671
693
|
* <note>
|
|
672
694
|
* <p>The ARN is never reused if the connection is deleted.</p>
|
|
673
695
|
* </note>
|
|
@@ -1722,6 +1744,11 @@ export interface UpdateSyncConfigurationInput {
|
|
|
1722
1744
|
* @public
|
|
1723
1745
|
*/
|
|
1724
1746
|
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
1747
|
+
/**
|
|
1748
|
+
* <p>TA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.</p>
|
|
1749
|
+
* @public
|
|
1750
|
+
*/
|
|
1751
|
+
PullRequestComment?: PullRequestComment;
|
|
1725
1752
|
}
|
|
1726
1753
|
/**
|
|
1727
1754
|
* @public
|
|
@@ -148,6 +148,12 @@ export declare const PublishDeploymentStatus: {
|
|
|
148
148
|
};
|
|
149
149
|
export type PublishDeploymentStatus =
|
|
150
150
|
(typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus];
|
|
151
|
+
export declare const PullRequestComment: {
|
|
152
|
+
readonly DISABLED: "DISABLED";
|
|
153
|
+
readonly ENABLED: "ENABLED";
|
|
154
|
+
};
|
|
155
|
+
export type PullRequestComment =
|
|
156
|
+
(typeof PullRequestComment)[keyof typeof PullRequestComment];
|
|
151
157
|
export declare const SyncConfigurationType: {
|
|
152
158
|
readonly CFN_STACK_SYNC: "CFN_STACK_SYNC";
|
|
153
159
|
};
|
|
@@ -168,6 +174,7 @@ export interface CreateSyncConfigurationInput {
|
|
|
168
174
|
SyncType: SyncConfigurationType | undefined;
|
|
169
175
|
PublishDeploymentStatus?: PublishDeploymentStatus;
|
|
170
176
|
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
177
|
+
PullRequestComment?: PullRequestComment;
|
|
171
178
|
}
|
|
172
179
|
export interface SyncConfiguration {
|
|
173
180
|
Branch: string | undefined;
|
|
@@ -181,6 +188,7 @@ export interface SyncConfiguration {
|
|
|
181
188
|
SyncType: SyncConfigurationType | undefined;
|
|
182
189
|
PublishDeploymentStatus?: PublishDeploymentStatus;
|
|
183
190
|
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
191
|
+
PullRequestComment?: PullRequestComment;
|
|
184
192
|
}
|
|
185
193
|
export interface CreateSyncConfigurationOutput {
|
|
186
194
|
SyncConfiguration: SyncConfiguration | undefined;
|
|
@@ -525,6 +533,7 @@ export interface UpdateSyncConfigurationInput {
|
|
|
525
533
|
SyncType: SyncConfigurationType | undefined;
|
|
526
534
|
PublishDeploymentStatus?: PublishDeploymentStatus;
|
|
527
535
|
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
536
|
+
PullRequestComment?: PullRequestComment;
|
|
528
537
|
}
|
|
529
538
|
export interface UpdateSyncConfigurationOutput {
|
|
530
539
|
SyncConfiguration: SyncConfiguration | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeconnections",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeconnections Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.655.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|