@aws-sdk/client-devops-agent 3.1118.0 → 3.1120.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 +29 -3
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +23 -2
- package/dist-types/commands/AssociateServiceCommand.d.ts +24 -0
- package/dist-types/commands/GetAssociationCommand.d.ts +12 -0
- package/dist-types/commands/ListAssociationsCommand.d.ts +12 -0
- package/dist-types/commands/UpdateAssociationCommand.d.ts +24 -0
- package/dist-types/models/enums.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +33 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -68,7 +68,7 @@ const commonParams = {
|
|
|
68
68
|
Region: { type: "builtInParams", name: "region" },
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
var version = "3.
|
|
71
|
+
var version = "3.1119.0";
|
|
72
72
|
var packageInfo = {
|
|
73
73
|
version: version};
|
|
74
74
|
|
|
@@ -490,6 +490,7 @@ const _PDAC = "PagerDutyAuthorizationConfig";
|
|
|
490
490
|
const _PDC = "PagerDutyConfiguration";
|
|
491
491
|
const _PDD = "PagerDutyDetails";
|
|
492
492
|
const _PDOACCC = "PagerDutyOAuthClientCredentialsConfig";
|
|
493
|
+
const _PF = "PatternFilter";
|
|
493
494
|
const _PM = "PendingMessage";
|
|
494
495
|
const _PMe = "PendingMessages";
|
|
495
496
|
const _R = "Recommendation";
|
|
@@ -561,6 +562,8 @@ const _T = "Task";
|
|
|
561
562
|
const _TC = "TriggerCondition";
|
|
562
563
|
const _TE = "ThrottlingException";
|
|
563
564
|
const _TF = "TaskFilter";
|
|
565
|
+
const _TFG = "TriggerFilterGroup";
|
|
566
|
+
const _TFGr = "TriggerFilterGroups";
|
|
564
567
|
const _TL = "TaskList";
|
|
565
568
|
const _TLr = "TriggerList";
|
|
566
569
|
const _TR = "TagResource";
|
|
@@ -810,6 +813,7 @@ const _pR = "portRanges";
|
|
|
810
813
|
const _pTI = "primaryTaskId";
|
|
811
814
|
const _pa = "path";
|
|
812
815
|
const _pag = "pagerduty";
|
|
816
|
+
const _pat = "patterns";
|
|
813
817
|
const _pr = "priority";
|
|
814
818
|
const _pro = "provider";
|
|
815
819
|
const _r = "reference";
|
|
@@ -873,9 +877,11 @@ const _str = "streaming";
|
|
|
873
877
|
const _su = "summary";
|
|
874
878
|
const _sy = "system";
|
|
875
879
|
const _t = "tool";
|
|
880
|
+
const _tB = "targetBranches";
|
|
876
881
|
const _tC = "toolClassification";
|
|
877
882
|
const _tD = "toolDetails";
|
|
878
883
|
const _tDe = "textDelta";
|
|
884
|
+
const _tFG = "triggerFilterGroups";
|
|
879
885
|
const _tI = "triggerId";
|
|
880
886
|
const _tIa = "taskId";
|
|
881
887
|
const _tIe = "tenantId";
|
|
@@ -1100,8 +1106,8 @@ var AzureDevOpsConfiguration$ = [3, n0, _ADOC,
|
|
|
1100
1106
|
];
|
|
1101
1107
|
var CapabilityConfiguration$ = [3, n0, _CC,
|
|
1102
1108
|
0,
|
|
1103
|
-
[_en],
|
|
1104
|
-
[2]
|
|
1109
|
+
[_en, _tFG],
|
|
1110
|
+
[2, () => TriggerFilterGroups]
|
|
1105
1111
|
];
|
|
1106
1112
|
var ChatExecution$ = [3, n0, _CEh,
|
|
1107
1113
|
0,
|
|
@@ -1768,6 +1774,11 @@ var PagerDutyOAuthClientCredentialsConfig$ = [3, n0, _PDOACCC,
|
|
|
1768
1774
|
[_cI, _cS, _cN, _eP],
|
|
1769
1775
|
[[() => ClientId, 0], [() => ClientSecret, 0], 0, [() => ExchangeParameters, 0]], 2
|
|
1770
1776
|
];
|
|
1777
|
+
var PatternFilter$ = [3, n0, _PF,
|
|
1778
|
+
0,
|
|
1779
|
+
[_pat],
|
|
1780
|
+
[64 | 0], 1
|
|
1781
|
+
];
|
|
1771
1782
|
var PendingMessage$ = [3, n0, _PM,
|
|
1772
1783
|
0,
|
|
1773
1784
|
[_mI, _m],
|
|
@@ -2068,6 +2079,11 @@ var Trigger$ = [3, n0, _Tr,
|
|
|
2068
2079
|
[_tI, _aSI, _ty, _cond, _a, _st, _cA, _uA],
|
|
2069
2080
|
[0, 0, 0, () => TriggerCondition$, 15, 0, 4, 4], 8
|
|
2070
2081
|
];
|
|
2082
|
+
var TriggerFilterGroup$ = [3, n0, _TFG,
|
|
2083
|
+
0,
|
|
2084
|
+
[_ev, _tB],
|
|
2085
|
+
[64 | 0, () => PatternFilter$]
|
|
2086
|
+
];
|
|
2071
2087
|
var UntagResourceRequest$ = [3, n0, _URR,
|
|
2072
2088
|
0,
|
|
2073
2089
|
[_rA, _tK],
|
|
@@ -2273,6 +2289,9 @@ var RegisteredServicesList = [1, n0, _RSL,
|
|
|
2273
2289
|
var TaskList = [1, n0, _TL,
|
|
2274
2290
|
0, () => Task$
|
|
2275
2291
|
];
|
|
2292
|
+
var TriggerFilterGroups = [1, n0, _TFGr,
|
|
2293
|
+
0, () => TriggerFilterGroup$
|
|
2294
|
+
];
|
|
2276
2295
|
var TriggerList = [1, n0, _TLr,
|
|
2277
2296
|
0, () => Trigger$
|
|
2278
2297
|
];
|
|
@@ -3069,6 +3088,10 @@ const CapabilityType = {
|
|
|
3069
3088
|
RELEASE_READINESS_REVIEW: "RELEASE_READINESS_REVIEW",
|
|
3070
3089
|
RELEASE_READINESS_REVIEW_AUTOMATED_TESTING: "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING",
|
|
3071
3090
|
};
|
|
3091
|
+
const TriggerEvent = {
|
|
3092
|
+
PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT",
|
|
3093
|
+
PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW",
|
|
3094
|
+
};
|
|
3072
3095
|
const MonitorAccountType = {
|
|
3073
3096
|
MONITOR: "monitor",
|
|
3074
3097
|
};
|
|
@@ -3532,6 +3555,7 @@ exports.PagerDutyAuthorizationConfig$ = PagerDutyAuthorizationConfig$;
|
|
|
3532
3555
|
exports.PagerDutyConfiguration$ = PagerDutyConfiguration$;
|
|
3533
3556
|
exports.PagerDutyDetails$ = PagerDutyDetails$;
|
|
3534
3557
|
exports.PagerDutyOAuthClientCredentialsConfig$ = PagerDutyOAuthClientCredentialsConfig$;
|
|
3558
|
+
exports.PatternFilter$ = PatternFilter$;
|
|
3535
3559
|
exports.PendingMessage$ = PendingMessage$;
|
|
3536
3560
|
exports.PostRegisterServiceSupportedService = PostRegisterServiceSupportedService;
|
|
3537
3561
|
exports.Priority = Priority;
|
|
@@ -3628,6 +3652,8 @@ exports.ThrottlingException$ = ThrottlingException$;
|
|
|
3628
3652
|
exports.ToolClassification = ToolClassification;
|
|
3629
3653
|
exports.Trigger$ = Trigger$;
|
|
3630
3654
|
exports.TriggerCondition$ = TriggerCondition$;
|
|
3655
|
+
exports.TriggerEvent = TriggerEvent;
|
|
3656
|
+
exports.TriggerFilterGroup$ = TriggerFilterGroup$;
|
|
3631
3657
|
exports.UntagResource$ = UntagResource$;
|
|
3632
3658
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
3633
3659
|
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -29,6 +29,10 @@ export const CapabilityType = {
|
|
|
29
29
|
RELEASE_READINESS_REVIEW: "RELEASE_READINESS_REVIEW",
|
|
30
30
|
RELEASE_READINESS_REVIEW_AUTOMATED_TESTING: "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING",
|
|
31
31
|
};
|
|
32
|
+
export const TriggerEvent = {
|
|
33
|
+
PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT",
|
|
34
|
+
PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW",
|
|
35
|
+
};
|
|
32
36
|
export const MonitorAccountType = {
|
|
33
37
|
MONITOR: "monitor",
|
|
34
38
|
};
|
|
@@ -241,6 +241,7 @@ const _PDAC = "PagerDutyAuthorizationConfig";
|
|
|
241
241
|
const _PDC = "PagerDutyConfiguration";
|
|
242
242
|
const _PDD = "PagerDutyDetails";
|
|
243
243
|
const _PDOACCC = "PagerDutyOAuthClientCredentialsConfig";
|
|
244
|
+
const _PF = "PatternFilter";
|
|
244
245
|
const _PM = "PendingMessage";
|
|
245
246
|
const _PMe = "PendingMessages";
|
|
246
247
|
const _R = "Recommendation";
|
|
@@ -312,6 +313,8 @@ const _T = "Task";
|
|
|
312
313
|
const _TC = "TriggerCondition";
|
|
313
314
|
const _TE = "ThrottlingException";
|
|
314
315
|
const _TF = "TaskFilter";
|
|
316
|
+
const _TFG = "TriggerFilterGroup";
|
|
317
|
+
const _TFGr = "TriggerFilterGroups";
|
|
315
318
|
const _TL = "TaskList";
|
|
316
319
|
const _TLr = "TriggerList";
|
|
317
320
|
const _TR = "TagResource";
|
|
@@ -561,6 +564,7 @@ const _pR = "portRanges";
|
|
|
561
564
|
const _pTI = "primaryTaskId";
|
|
562
565
|
const _pa = "path";
|
|
563
566
|
const _pag = "pagerduty";
|
|
567
|
+
const _pat = "patterns";
|
|
564
568
|
const _pr = "priority";
|
|
565
569
|
const _pro = "provider";
|
|
566
570
|
const _r = "reference";
|
|
@@ -624,9 +628,11 @@ const _str = "streaming";
|
|
|
624
628
|
const _su = "summary";
|
|
625
629
|
const _sy = "system";
|
|
626
630
|
const _t = "tool";
|
|
631
|
+
const _tB = "targetBranches";
|
|
627
632
|
const _tC = "toolClassification";
|
|
628
633
|
const _tD = "toolDetails";
|
|
629
634
|
const _tDe = "textDelta";
|
|
635
|
+
const _tFG = "triggerFilterGroups";
|
|
630
636
|
const _tI = "triggerId";
|
|
631
637
|
const _tIa = "taskId";
|
|
632
638
|
const _tIe = "tenantId";
|
|
@@ -854,8 +860,8 @@ export var AzureDevOpsConfiguration$ = [3, n0, _ADOC,
|
|
|
854
860
|
];
|
|
855
861
|
export var CapabilityConfiguration$ = [3, n0, _CC,
|
|
856
862
|
0,
|
|
857
|
-
[_en],
|
|
858
|
-
[2]
|
|
863
|
+
[_en, _tFG],
|
|
864
|
+
[2, () => TriggerFilterGroups]
|
|
859
865
|
];
|
|
860
866
|
export var ChatExecution$ = [3, n0, _CEh,
|
|
861
867
|
0,
|
|
@@ -1522,6 +1528,11 @@ export var PagerDutyOAuthClientCredentialsConfig$ = [3, n0, _PDOACCC,
|
|
|
1522
1528
|
[_cI, _cS, _cN, _eP],
|
|
1523
1529
|
[[() => ClientId, 0], [() => ClientSecret, 0], 0, [() => ExchangeParameters, 0]], 2
|
|
1524
1530
|
];
|
|
1531
|
+
export var PatternFilter$ = [3, n0, _PF,
|
|
1532
|
+
0,
|
|
1533
|
+
[_pat],
|
|
1534
|
+
[64 | 0], 1
|
|
1535
|
+
];
|
|
1525
1536
|
export var PendingMessage$ = [3, n0, _PM,
|
|
1526
1537
|
0,
|
|
1527
1538
|
[_mI, _m],
|
|
@@ -1822,6 +1833,11 @@ export var Trigger$ = [3, n0, _Tr,
|
|
|
1822
1833
|
[_tI, _aSI, _ty, _cond, _a, _st, _cA, _uA],
|
|
1823
1834
|
[0, 0, 0, () => TriggerCondition$, 15, 0, 4, 4], 8
|
|
1824
1835
|
];
|
|
1836
|
+
export var TriggerFilterGroup$ = [3, n0, _TFG,
|
|
1837
|
+
0,
|
|
1838
|
+
[_ev, _tB],
|
|
1839
|
+
[64 | 0, () => PatternFilter$]
|
|
1840
|
+
];
|
|
1825
1841
|
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
1826
1842
|
0,
|
|
1827
1843
|
[_rA, _tK],
|
|
@@ -2046,9 +2062,14 @@ var TaskList = [1, n0, _TL,
|
|
|
2046
2062
|
];
|
|
2047
2063
|
var TaskStatusList = 64 | 0;
|
|
2048
2064
|
var TaskTypeList = 64 | 0;
|
|
2065
|
+
var TriggerEventList = 64 | 0;
|
|
2066
|
+
var TriggerFilterGroups = [1, n0, _TFGr,
|
|
2067
|
+
0, () => TriggerFilterGroup$
|
|
2068
|
+
];
|
|
2049
2069
|
var TriggerList = [1, n0, _TLr,
|
|
2050
2070
|
0, () => Trigger$
|
|
2051
2071
|
];
|
|
2072
|
+
var TriggerRegexPatternList = 64 | 0;
|
|
2052
2073
|
var UserMessage = [1, n0, _UMs,
|
|
2053
2074
|
0, () => UserMessageBlock$
|
|
2054
2075
|
];
|
|
@@ -161,6 +161,18 @@ declare const AssociateServiceCommand_base: {
|
|
|
161
161
|
* capabilities: { // AssociationCapabilities
|
|
162
162
|
* "<keys>": { // CapabilityConfiguration
|
|
163
163
|
* enabled: true || false,
|
|
164
|
+
* triggerFilterGroups: [ // TriggerFilterGroups
|
|
165
|
+
* { // TriggerFilterGroup
|
|
166
|
+
* events: [ // TriggerEventList
|
|
167
|
+
* "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT",
|
|
168
|
+
* ],
|
|
169
|
+
* targetBranches: { // PatternFilter
|
|
170
|
+
* patterns: [ // TriggerRegexPatternList // required
|
|
171
|
+
* "STRING_VALUE",
|
|
172
|
+
* ],
|
|
173
|
+
* },
|
|
174
|
+
* },
|
|
175
|
+
* ],
|
|
164
176
|
* },
|
|
165
177
|
* },
|
|
166
178
|
* };
|
|
@@ -299,6 +311,18 @@ declare const AssociateServiceCommand_base: {
|
|
|
299
311
|
* // capabilities: { // AssociationCapabilities
|
|
300
312
|
* // "<keys>": { // CapabilityConfiguration
|
|
301
313
|
* // enabled: true || false,
|
|
314
|
+
* // triggerFilterGroups: [ // TriggerFilterGroups
|
|
315
|
+
* // { // TriggerFilterGroup
|
|
316
|
+
* // events: [ // TriggerEventList
|
|
317
|
+
* // "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT",
|
|
318
|
+
* // ],
|
|
319
|
+
* // targetBranches: { // PatternFilter
|
|
320
|
+
* // patterns: [ // TriggerRegexPatternList // required
|
|
321
|
+
* // "STRING_VALUE",
|
|
322
|
+
* // ],
|
|
323
|
+
* // },
|
|
324
|
+
* // },
|
|
325
|
+
* // ],
|
|
302
326
|
* // },
|
|
303
327
|
* // },
|
|
304
328
|
* // },
|
|
@@ -172,6 +172,18 @@ declare const GetAssociationCommand_base: {
|
|
|
172
172
|
* // capabilities: { // AssociationCapabilities
|
|
173
173
|
* // "<keys>": { // CapabilityConfiguration
|
|
174
174
|
* // enabled: true || false,
|
|
175
|
+
* // triggerFilterGroups: [ // TriggerFilterGroups
|
|
176
|
+
* // { // TriggerFilterGroup
|
|
177
|
+
* // events: [ // TriggerEventList
|
|
178
|
+
* // "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT",
|
|
179
|
+
* // ],
|
|
180
|
+
* // targetBranches: { // PatternFilter
|
|
181
|
+
* // patterns: [ // TriggerRegexPatternList // required
|
|
182
|
+
* // "STRING_VALUE",
|
|
183
|
+
* // ],
|
|
184
|
+
* // },
|
|
185
|
+
* // },
|
|
186
|
+
* // ],
|
|
175
187
|
* // },
|
|
176
188
|
* // },
|
|
177
189
|
* // },
|
|
@@ -176,6 +176,18 @@ declare const ListAssociationsCommand_base: {
|
|
|
176
176
|
* // capabilities: { // AssociationCapabilities
|
|
177
177
|
* // "<keys>": { // CapabilityConfiguration
|
|
178
178
|
* // enabled: true || false,
|
|
179
|
+
* // triggerFilterGroups: [ // TriggerFilterGroups
|
|
180
|
+
* // { // TriggerFilterGroup
|
|
181
|
+
* // events: [ // TriggerEventList
|
|
182
|
+
* // "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT",
|
|
183
|
+
* // ],
|
|
184
|
+
* // targetBranches: { // PatternFilter
|
|
185
|
+
* // patterns: [ // TriggerRegexPatternList // required
|
|
186
|
+
* // "STRING_VALUE",
|
|
187
|
+
* // ],
|
|
188
|
+
* // },
|
|
189
|
+
* // },
|
|
190
|
+
* // ],
|
|
179
191
|
* // },
|
|
180
192
|
* // },
|
|
181
193
|
* // },
|
|
@@ -161,6 +161,18 @@ declare const UpdateAssociationCommand_base: {
|
|
|
161
161
|
* capabilities: { // AssociationCapabilities
|
|
162
162
|
* "<keys>": { // CapabilityConfiguration
|
|
163
163
|
* enabled: true || false,
|
|
164
|
+
* triggerFilterGroups: [ // TriggerFilterGroups
|
|
165
|
+
* { // TriggerFilterGroup
|
|
166
|
+
* events: [ // TriggerEventList
|
|
167
|
+
* "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT",
|
|
168
|
+
* ],
|
|
169
|
+
* targetBranches: { // PatternFilter
|
|
170
|
+
* patterns: [ // TriggerRegexPatternList // required
|
|
171
|
+
* "STRING_VALUE",
|
|
172
|
+
* ],
|
|
173
|
+
* },
|
|
174
|
+
* },
|
|
175
|
+
* ],
|
|
164
176
|
* },
|
|
165
177
|
* },
|
|
166
178
|
* };
|
|
@@ -299,6 +311,18 @@ declare const UpdateAssociationCommand_base: {
|
|
|
299
311
|
* // capabilities: { // AssociationCapabilities
|
|
300
312
|
* // "<keys>": { // CapabilityConfiguration
|
|
301
313
|
* // enabled: true || false,
|
|
314
|
+
* // triggerFilterGroups: [ // TriggerFilterGroups
|
|
315
|
+
* // { // TriggerFilterGroup
|
|
316
|
+
* // events: [ // TriggerEventList
|
|
317
|
+
* // "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT",
|
|
318
|
+
* // ],
|
|
319
|
+
* // targetBranches: { // PatternFilter
|
|
320
|
+
* // patterns: [ // TriggerRegexPatternList // required
|
|
321
|
+
* // "STRING_VALUE",
|
|
322
|
+
* // ],
|
|
323
|
+
* // },
|
|
324
|
+
* // },
|
|
325
|
+
* // ],
|
|
302
326
|
* // },
|
|
303
327
|
* // },
|
|
304
328
|
* // },
|
|
@@ -130,6 +130,24 @@ export declare const CapabilityType: {
|
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
|
132
132
|
export type CapabilityType = (typeof CapabilityType)[keyof typeof CapabilityType];
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
* @enum
|
|
136
|
+
*/
|
|
137
|
+
export declare const TriggerEvent: {
|
|
138
|
+
/**
|
|
139
|
+
* <p>A change request is created or updated while in draft state.</p>
|
|
140
|
+
*/
|
|
141
|
+
readonly PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT";
|
|
142
|
+
/**
|
|
143
|
+
* <p>A change request is created, updated, or marked ready for review while in a non-draft state.</p>
|
|
144
|
+
*/
|
|
145
|
+
readonly PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW";
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export type TriggerEvent = (typeof TriggerEvent)[keyof typeof TriggerEvent];
|
|
133
151
|
/**
|
|
134
152
|
* @public
|
|
135
153
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AgentSpacePreferenceKey, ApprovalActionType, ApprovalStatus, AuthFlow, CapabilityType, EventChannelType, ExecutionStatus, GithubRepoOwnerType, GitLabTokenType, GoalStatus, GoalType, IpAddressType, MCPServerAuthorizationMethod, MonitorAccountType, NewRelicRegion, OrderType, PostRegisterServiceSupportedService, Priority, PrivateConnectionStatus, PrivateConnectionType, RecommendationPriority, RecommendationStatus, RemoteAgentAuthorizationMethod, ResourceConfigDnsResolution, SchedulerState, Service, SourceAccountType, TaskSortField, TaskSortOrder, TaskStatus, TaskType, ToolClassification, UserType, ValidationStatus, WebhookType } from "./enums";
|
|
2
|
+
import type { AgentSpacePreferenceKey, ApprovalActionType, ApprovalStatus, AuthFlow, CapabilityType, EventChannelType, ExecutionStatus, GithubRepoOwnerType, GitLabTokenType, GoalStatus, GoalType, IpAddressType, MCPServerAuthorizationMethod, MonitorAccountType, NewRelicRegion, OrderType, PostRegisterServiceSupportedService, Priority, PrivateConnectionStatus, PrivateConnectionType, RecommendationPriority, RecommendationStatus, RemoteAgentAuthorizationMethod, ResourceConfigDnsResolution, SchedulerState, Service, SourceAccountType, TaskSortField, TaskSortOrder, TaskStatus, TaskType, ToolClassification, TriggerEvent, UserType, ValidationStatus, WebhookType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Details specific to a registered Azure DevOps service.</p>
|
|
5
5
|
* @public
|
|
@@ -773,6 +773,33 @@ export interface AgentSpace {
|
|
|
773
773
|
*/
|
|
774
774
|
preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
|
|
775
775
|
}
|
|
776
|
+
/**
|
|
777
|
+
* <p>A regex-based match condition. Passes when the value matches any pattern.</p>
|
|
778
|
+
* @public
|
|
779
|
+
*/
|
|
780
|
+
export interface PatternFilter {
|
|
781
|
+
/**
|
|
782
|
+
* <p>Anchored full-match regex patterns. The condition passes when the value matches at least one pattern.</p>
|
|
783
|
+
* @public
|
|
784
|
+
*/
|
|
785
|
+
patterns: string[] | undefined;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* <p>A group of trigger conditions. The group matches when ALL present conditions pass. A group cannot be empty: at least one condition must be present.</p>
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
export interface TriggerFilterGroup {
|
|
792
|
+
/**
|
|
793
|
+
* <p>Passes when the webhook event is one of the listed events.</p>
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
796
|
+
events?: TriggerEvent[] | undefined;
|
|
797
|
+
/**
|
|
798
|
+
* <p>Passes when the change request target branch matches. Applicable to RELEASE_READINESS_REVIEW only.</p>
|
|
799
|
+
* @public
|
|
800
|
+
*/
|
|
801
|
+
targetBranches?: PatternFilter | undefined;
|
|
802
|
+
}
|
|
776
803
|
/**
|
|
777
804
|
* <p>Capability configuration for the AWS DevOps Agent.</p>
|
|
778
805
|
* @public
|
|
@@ -783,6 +810,11 @@ export interface CapabilityConfiguration {
|
|
|
783
810
|
* @public
|
|
784
811
|
*/
|
|
785
812
|
enabled?: boolean | undefined;
|
|
813
|
+
/**
|
|
814
|
+
* <p>Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.</p>
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
817
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
786
818
|
}
|
|
787
819
|
/**
|
|
788
820
|
* <p>Configuration for AWS monitor account integration, allowing AIDevOps to monitor AWS resources.</p>
|
|
@@ -168,6 +168,7 @@ export declare var OAuthAdditionalStepDetails$: StaticStructureSchema;
|
|
|
168
168
|
export declare var PagerDutyConfiguration$: StaticStructureSchema;
|
|
169
169
|
export declare var PagerDutyDetails$: StaticStructureSchema;
|
|
170
170
|
export declare var PagerDutyOAuthClientCredentialsConfig$: StaticStructureSchema;
|
|
171
|
+
export declare var PatternFilter$: StaticStructureSchema;
|
|
171
172
|
export declare var PendingMessage$: StaticStructureSchema;
|
|
172
173
|
export declare var PrivateConnectionSummary$: StaticStructureSchema;
|
|
173
174
|
export declare var Recommendation$: StaticStructureSchema;
|
|
@@ -228,6 +229,7 @@ export declare var TagResourceResponse$: StaticStructureSchema;
|
|
|
228
229
|
export declare var Task$: StaticStructureSchema;
|
|
229
230
|
export declare var TaskFilter$: StaticStructureSchema;
|
|
230
231
|
export declare var Trigger$: StaticStructureSchema;
|
|
232
|
+
export declare var TriggerFilterGroup$: StaticStructureSchema;
|
|
231
233
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
232
234
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
233
235
|
export declare var UpdateAgentSpaceInput$: StaticStructureSchema;
|
|
@@ -39,6 +39,11 @@ export declare const CapabilityType: {
|
|
|
39
39
|
readonly RELEASE_READINESS_REVIEW_AUTOMATED_TESTING: "RELEASE_READINESS_REVIEW_AUTOMATED_TESTING";
|
|
40
40
|
};
|
|
41
41
|
export type CapabilityType = (typeof CapabilityType)[keyof typeof CapabilityType];
|
|
42
|
+
export declare const TriggerEvent: {
|
|
43
|
+
readonly PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT";
|
|
44
|
+
readonly PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW";
|
|
45
|
+
};
|
|
46
|
+
export type TriggerEvent = (typeof TriggerEvent)[keyof typeof TriggerEvent];
|
|
42
47
|
export declare const MonitorAccountType: {
|
|
43
48
|
readonly MONITOR: "monitor";
|
|
44
49
|
};
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
TaskStatus,
|
|
33
33
|
TaskType,
|
|
34
34
|
ToolClassification,
|
|
35
|
+
TriggerEvent,
|
|
35
36
|
UserType,
|
|
36
37
|
ValidationStatus,
|
|
37
38
|
WebhookType,
|
|
@@ -461,8 +462,16 @@ export interface AgentSpace {
|
|
|
461
462
|
agentSpaceId: string | undefined;
|
|
462
463
|
preferences?: Partial<Record<AgentSpacePreferenceKey, boolean>> | undefined;
|
|
463
464
|
}
|
|
465
|
+
export interface PatternFilter {
|
|
466
|
+
patterns: string[] | undefined;
|
|
467
|
+
}
|
|
468
|
+
export interface TriggerFilterGroup {
|
|
469
|
+
events?: TriggerEvent[] | undefined;
|
|
470
|
+
targetBranches?: PatternFilter | undefined;
|
|
471
|
+
}
|
|
464
472
|
export interface CapabilityConfiguration {
|
|
465
473
|
enabled?: boolean | undefined;
|
|
474
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
466
475
|
}
|
|
467
476
|
export interface AWSConfiguration {
|
|
468
477
|
assumableRoleArn: string | undefined;
|
|
@@ -168,6 +168,7 @@ export declare var OAuthAdditionalStepDetails$: StaticStructureSchema;
|
|
|
168
168
|
export declare var PagerDutyConfiguration$: StaticStructureSchema;
|
|
169
169
|
export declare var PagerDutyDetails$: StaticStructureSchema;
|
|
170
170
|
export declare var PagerDutyOAuthClientCredentialsConfig$: StaticStructureSchema;
|
|
171
|
+
export declare var PatternFilter$: StaticStructureSchema;
|
|
171
172
|
export declare var PendingMessage$: StaticStructureSchema;
|
|
172
173
|
export declare var PrivateConnectionSummary$: StaticStructureSchema;
|
|
173
174
|
export declare var Recommendation$: StaticStructureSchema;
|
|
@@ -228,6 +229,7 @@ export declare var TagResourceResponse$: StaticStructureSchema;
|
|
|
228
229
|
export declare var Task$: StaticStructureSchema;
|
|
229
230
|
export declare var TaskFilter$: StaticStructureSchema;
|
|
230
231
|
export declare var Trigger$: StaticStructureSchema;
|
|
232
|
+
export declare var TriggerFilterGroup$: StaticStructureSchema;
|
|
231
233
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
232
234
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
233
235
|
export declare var UpdateAgentSpaceInput$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-devops-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1120.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Devops Agent Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-devops-agent",
|
|
6
6
|
"license": "Apache-2.0",
|