@aws-sdk/client-devops-agent 3.1067.0 → 3.1069.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/README.md +35 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +298 -244
- package/dist-cjs/models/DevOpsAgentServiceException.js +4 -8
- package/dist-cjs/models/errors.js +21 -34
- package/dist-cjs/runtimeConfig.browser.js +24 -28
- package/dist-cjs/runtimeConfig.js +32 -36
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +776 -423
- package/dist-es/DevOpsAgent.js +12 -0
- package/dist-es/commands/CreateTriggerCommand.js +16 -0
- package/dist-es/commands/DeleteTriggerCommand.js +16 -0
- package/dist-es/commands/GetTriggerCommand.js +16 -0
- package/dist-es/commands/ListTriggersCommand.js +16 -0
- package/dist-es/commands/UpdateTriggerCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/pagination/ListTriggersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +118 -11
- package/dist-types/DevOpsAgent.d.ts +42 -0
- package/dist-types/DevOpsAgentClient.d.ts +7 -2
- package/dist-types/commands/CreateTriggerCommand.d.ts +125 -0
- package/dist-types/commands/DeleteTriggerCommand.d.ts +102 -0
- package/dist-types/commands/GetTriggerCommand.d.ts +117 -0
- package/dist-types/commands/ListTriggersCommand.d.ts +122 -0
- package/dist-types/commands/UpdateTriggerCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +255 -0
- package/dist-types/pagination/ListTriggersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/DevOpsAgent.d.ts +92 -0
- package/dist-types/ts3.4/DevOpsAgentClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateTriggerCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeleteTriggerCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/GetTriggerCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListTriggersCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateTriggerCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +72 -0
- package/dist-types/ts3.4/pagination/ListTriggersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +8 -8
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
CreatePrivateConnectionCommandInput,
|
|
32
32
|
CreatePrivateConnectionCommandOutput,
|
|
33
33
|
} from "./commands/CreatePrivateConnectionCommand";
|
|
34
|
+
import {
|
|
35
|
+
CreateTriggerCommandInput,
|
|
36
|
+
CreateTriggerCommandOutput,
|
|
37
|
+
} from "./commands/CreateTriggerCommand";
|
|
34
38
|
import {
|
|
35
39
|
DeleteAgentSpaceCommandInput,
|
|
36
40
|
DeleteAgentSpaceCommandOutput,
|
|
@@ -47,6 +51,10 @@ import {
|
|
|
47
51
|
DeletePrivateConnectionCommandInput,
|
|
48
52
|
DeletePrivateConnectionCommandOutput,
|
|
49
53
|
} from "./commands/DeletePrivateConnectionCommand";
|
|
54
|
+
import {
|
|
55
|
+
DeleteTriggerCommandInput,
|
|
56
|
+
DeleteTriggerCommandOutput,
|
|
57
|
+
} from "./commands/DeleteTriggerCommand";
|
|
50
58
|
import {
|
|
51
59
|
DeregisterServiceCommandInput,
|
|
52
60
|
DeregisterServiceCommandOutput,
|
|
@@ -107,6 +115,10 @@ import {
|
|
|
107
115
|
GetServiceCommandInput,
|
|
108
116
|
GetServiceCommandOutput,
|
|
109
117
|
} from "./commands/GetServiceCommand";
|
|
118
|
+
import {
|
|
119
|
+
GetTriggerCommandInput,
|
|
120
|
+
GetTriggerCommandOutput,
|
|
121
|
+
} from "./commands/GetTriggerCommand";
|
|
110
122
|
import {
|
|
111
123
|
ListAgentSpacesCommandInput,
|
|
112
124
|
ListAgentSpacesCommandOutput,
|
|
@@ -171,6 +183,10 @@ import {
|
|
|
171
183
|
ListTagsForResourceCommandInput,
|
|
172
184
|
ListTagsForResourceCommandOutput,
|
|
173
185
|
} from "./commands/ListTagsForResourceCommand";
|
|
186
|
+
import {
|
|
187
|
+
ListTriggersCommandInput,
|
|
188
|
+
ListTriggersCommandOutput,
|
|
189
|
+
} from "./commands/ListTriggersCommand";
|
|
174
190
|
import {
|
|
175
191
|
ListWebhooksCommandInput,
|
|
176
192
|
ListWebhooksCommandOutput,
|
|
@@ -227,6 +243,10 @@ import {
|
|
|
227
243
|
UpdateRecommendationCommandInput,
|
|
228
244
|
UpdateRecommendationCommandOutput,
|
|
229
245
|
} from "./commands/UpdateRecommendationCommand";
|
|
246
|
+
import {
|
|
247
|
+
UpdateTriggerCommandInput,
|
|
248
|
+
UpdateTriggerCommandOutput,
|
|
249
|
+
} from "./commands/UpdateTriggerCommand";
|
|
230
250
|
import {
|
|
231
251
|
ValidateAwsAssociationsCommandInput,
|
|
232
252
|
ValidateAwsAssociationsCommandOutput,
|
|
@@ -324,6 +344,19 @@ export interface DevOpsAgent {
|
|
|
324
344
|
options: __HttpHandlerOptions,
|
|
325
345
|
cb: (err: any, data?: CreatePrivateConnectionCommandOutput) => void
|
|
326
346
|
): void;
|
|
347
|
+
createTrigger(
|
|
348
|
+
args: CreateTriggerCommandInput,
|
|
349
|
+
options?: __HttpHandlerOptions
|
|
350
|
+
): Promise<CreateTriggerCommandOutput>;
|
|
351
|
+
createTrigger(
|
|
352
|
+
args: CreateTriggerCommandInput,
|
|
353
|
+
cb: (err: any, data?: CreateTriggerCommandOutput) => void
|
|
354
|
+
): void;
|
|
355
|
+
createTrigger(
|
|
356
|
+
args: CreateTriggerCommandInput,
|
|
357
|
+
options: __HttpHandlerOptions,
|
|
358
|
+
cb: (err: any, data?: CreateTriggerCommandOutput) => void
|
|
359
|
+
): void;
|
|
327
360
|
deleteAgentSpace(
|
|
328
361
|
args: DeleteAgentSpaceCommandInput,
|
|
329
362
|
options?: __HttpHandlerOptions
|
|
@@ -376,6 +409,19 @@ export interface DevOpsAgent {
|
|
|
376
409
|
options: __HttpHandlerOptions,
|
|
377
410
|
cb: (err: any, data?: DeletePrivateConnectionCommandOutput) => void
|
|
378
411
|
): void;
|
|
412
|
+
deleteTrigger(
|
|
413
|
+
args: DeleteTriggerCommandInput,
|
|
414
|
+
options?: __HttpHandlerOptions
|
|
415
|
+
): Promise<DeleteTriggerCommandOutput>;
|
|
416
|
+
deleteTrigger(
|
|
417
|
+
args: DeleteTriggerCommandInput,
|
|
418
|
+
cb: (err: any, data?: DeleteTriggerCommandOutput) => void
|
|
419
|
+
): void;
|
|
420
|
+
deleteTrigger(
|
|
421
|
+
args: DeleteTriggerCommandInput,
|
|
422
|
+
options: __HttpHandlerOptions,
|
|
423
|
+
cb: (err: any, data?: DeleteTriggerCommandOutput) => void
|
|
424
|
+
): void;
|
|
379
425
|
deregisterService(
|
|
380
426
|
args: DeregisterServiceCommandInput,
|
|
381
427
|
options?: __HttpHandlerOptions
|
|
@@ -572,6 +618,19 @@ export interface DevOpsAgent {
|
|
|
572
618
|
options: __HttpHandlerOptions,
|
|
573
619
|
cb: (err: any, data?: GetServiceCommandOutput) => void
|
|
574
620
|
): void;
|
|
621
|
+
getTrigger(
|
|
622
|
+
args: GetTriggerCommandInput,
|
|
623
|
+
options?: __HttpHandlerOptions
|
|
624
|
+
): Promise<GetTriggerCommandOutput>;
|
|
625
|
+
getTrigger(
|
|
626
|
+
args: GetTriggerCommandInput,
|
|
627
|
+
cb: (err: any, data?: GetTriggerCommandOutput) => void
|
|
628
|
+
): void;
|
|
629
|
+
getTrigger(
|
|
630
|
+
args: GetTriggerCommandInput,
|
|
631
|
+
options: __HttpHandlerOptions,
|
|
632
|
+
cb: (err: any, data?: GetTriggerCommandOutput) => void
|
|
633
|
+
): void;
|
|
575
634
|
listAgentSpaces(): Promise<ListAgentSpacesCommandOutput>;
|
|
576
635
|
listAgentSpaces(
|
|
577
636
|
args: ListAgentSpacesCommandInput,
|
|
@@ -784,6 +843,19 @@ export interface DevOpsAgent {
|
|
|
784
843
|
options: __HttpHandlerOptions,
|
|
785
844
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
786
845
|
): void;
|
|
846
|
+
listTriggers(
|
|
847
|
+
args: ListTriggersCommandInput,
|
|
848
|
+
options?: __HttpHandlerOptions
|
|
849
|
+
): Promise<ListTriggersCommandOutput>;
|
|
850
|
+
listTriggers(
|
|
851
|
+
args: ListTriggersCommandInput,
|
|
852
|
+
cb: (err: any, data?: ListTriggersCommandOutput) => void
|
|
853
|
+
): void;
|
|
854
|
+
listTriggers(
|
|
855
|
+
args: ListTriggersCommandInput,
|
|
856
|
+
options: __HttpHandlerOptions,
|
|
857
|
+
cb: (err: any, data?: ListTriggersCommandOutput) => void
|
|
858
|
+
): void;
|
|
787
859
|
listWebhooks(
|
|
788
860
|
args: ListWebhooksCommandInput,
|
|
789
861
|
options?: __HttpHandlerOptions
|
|
@@ -972,6 +1044,19 @@ export interface DevOpsAgent {
|
|
|
972
1044
|
options: __HttpHandlerOptions,
|
|
973
1045
|
cb: (err: any, data?: UpdateRecommendationCommandOutput) => void
|
|
974
1046
|
): void;
|
|
1047
|
+
updateTrigger(
|
|
1048
|
+
args: UpdateTriggerCommandInput,
|
|
1049
|
+
options?: __HttpHandlerOptions
|
|
1050
|
+
): Promise<UpdateTriggerCommandOutput>;
|
|
1051
|
+
updateTrigger(
|
|
1052
|
+
args: UpdateTriggerCommandInput,
|
|
1053
|
+
cb: (err: any, data?: UpdateTriggerCommandOutput) => void
|
|
1054
|
+
): void;
|
|
1055
|
+
updateTrigger(
|
|
1056
|
+
args: UpdateTriggerCommandInput,
|
|
1057
|
+
options: __HttpHandlerOptions,
|
|
1058
|
+
cb: (err: any, data?: UpdateTriggerCommandOutput) => void
|
|
1059
|
+
): void;
|
|
975
1060
|
validateAwsAssociations(
|
|
976
1061
|
args: ValidateAwsAssociationsCommandInput,
|
|
977
1062
|
options?: __HttpHandlerOptions
|
|
@@ -1062,6 +1147,13 @@ export interface DevOpsAgent {
|
|
|
1062
1147
|
Exclude<keyof PaginationConfiguration, "client">
|
|
1063
1148
|
>
|
|
1064
1149
|
): Paginator<ListServicesCommandOutput>;
|
|
1150
|
+
paginateListTriggers(
|
|
1151
|
+
args: ListTriggersCommandInput,
|
|
1152
|
+
paginationConfig?: Pick<
|
|
1153
|
+
PaginationConfiguration,
|
|
1154
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1155
|
+
>
|
|
1156
|
+
): Paginator<ListTriggersCommandOutput>;
|
|
1065
1157
|
}
|
|
1066
1158
|
export declare class DevOpsAgent
|
|
1067
1159
|
extends DevOpsAgentClient
|
|
@@ -69,6 +69,10 @@ import {
|
|
|
69
69
|
CreatePrivateConnectionCommandInput,
|
|
70
70
|
CreatePrivateConnectionCommandOutput,
|
|
71
71
|
} from "./commands/CreatePrivateConnectionCommand";
|
|
72
|
+
import {
|
|
73
|
+
CreateTriggerCommandInput,
|
|
74
|
+
CreateTriggerCommandOutput,
|
|
75
|
+
} from "./commands/CreateTriggerCommand";
|
|
72
76
|
import {
|
|
73
77
|
DeleteAgentSpaceCommandInput,
|
|
74
78
|
DeleteAgentSpaceCommandOutput,
|
|
@@ -85,6 +89,10 @@ import {
|
|
|
85
89
|
DeletePrivateConnectionCommandInput,
|
|
86
90
|
DeletePrivateConnectionCommandOutput,
|
|
87
91
|
} from "./commands/DeletePrivateConnectionCommand";
|
|
92
|
+
import {
|
|
93
|
+
DeleteTriggerCommandInput,
|
|
94
|
+
DeleteTriggerCommandOutput,
|
|
95
|
+
} from "./commands/DeleteTriggerCommand";
|
|
88
96
|
import {
|
|
89
97
|
DeregisterServiceCommandInput,
|
|
90
98
|
DeregisterServiceCommandOutput,
|
|
@@ -145,6 +153,10 @@ import {
|
|
|
145
153
|
GetServiceCommandInput,
|
|
146
154
|
GetServiceCommandOutput,
|
|
147
155
|
} from "./commands/GetServiceCommand";
|
|
156
|
+
import {
|
|
157
|
+
GetTriggerCommandInput,
|
|
158
|
+
GetTriggerCommandOutput,
|
|
159
|
+
} from "./commands/GetTriggerCommand";
|
|
148
160
|
import {
|
|
149
161
|
ListAgentSpacesCommandInput,
|
|
150
162
|
ListAgentSpacesCommandOutput,
|
|
@@ -209,6 +221,10 @@ import {
|
|
|
209
221
|
ListTagsForResourceCommandInput,
|
|
210
222
|
ListTagsForResourceCommandOutput,
|
|
211
223
|
} from "./commands/ListTagsForResourceCommand";
|
|
224
|
+
import {
|
|
225
|
+
ListTriggersCommandInput,
|
|
226
|
+
ListTriggersCommandOutput,
|
|
227
|
+
} from "./commands/ListTriggersCommand";
|
|
212
228
|
import {
|
|
213
229
|
ListWebhooksCommandInput,
|
|
214
230
|
ListWebhooksCommandOutput,
|
|
@@ -265,6 +281,10 @@ import {
|
|
|
265
281
|
UpdateRecommendationCommandInput,
|
|
266
282
|
UpdateRecommendationCommandOutput,
|
|
267
283
|
} from "./commands/UpdateRecommendationCommand";
|
|
284
|
+
import {
|
|
285
|
+
UpdateTriggerCommandInput,
|
|
286
|
+
UpdateTriggerCommandOutput,
|
|
287
|
+
} from "./commands/UpdateTriggerCommand";
|
|
268
288
|
import {
|
|
269
289
|
ValidateAwsAssociationsCommandInput,
|
|
270
290
|
ValidateAwsAssociationsCommandOutput,
|
|
@@ -284,10 +304,12 @@ export type ServiceInputTypes =
|
|
|
284
304
|
| CreateBacklogTaskCommandInput
|
|
285
305
|
| CreateChatCommandInput
|
|
286
306
|
| CreatePrivateConnectionCommandInput
|
|
307
|
+
| CreateTriggerCommandInput
|
|
287
308
|
| DeleteAgentSpaceCommandInput
|
|
288
309
|
| DeleteAssetCommandInput
|
|
289
310
|
| DeleteAssetFileCommandInput
|
|
290
311
|
| DeletePrivateConnectionCommandInput
|
|
312
|
+
| DeleteTriggerCommandInput
|
|
291
313
|
| DeregisterServiceCommandInput
|
|
292
314
|
| DescribePrivateConnectionCommandInput
|
|
293
315
|
| DisableOperatorAppCommandInput
|
|
@@ -303,6 +325,7 @@ export type ServiceInputTypes =
|
|
|
303
325
|
| GetOperatorAppCommandInput
|
|
304
326
|
| GetRecommendationCommandInput
|
|
305
327
|
| GetServiceCommandInput
|
|
328
|
+
| GetTriggerCommandInput
|
|
306
329
|
| ListAgentSpacesCommandInput
|
|
307
330
|
| ListAssetFilesCommandInput
|
|
308
331
|
| ListAssetTypesCommandInput
|
|
@@ -319,6 +342,7 @@ export type ServiceInputTypes =
|
|
|
319
342
|
| ListRecommendationsCommandInput
|
|
320
343
|
| ListServicesCommandInput
|
|
321
344
|
| ListTagsForResourceCommandInput
|
|
345
|
+
| ListTriggersCommandInput
|
|
322
346
|
| ListWebhooksCommandInput
|
|
323
347
|
| RegisterServiceCommandInput
|
|
324
348
|
| SendMessageCommandInput
|
|
@@ -333,6 +357,7 @@ export type ServiceInputTypes =
|
|
|
333
357
|
| UpdateOperatorAppIdpConfigCommandInput
|
|
334
358
|
| UpdatePrivateConnectionCertificateCommandInput
|
|
335
359
|
| UpdateRecommendationCommandInput
|
|
360
|
+
| UpdateTriggerCommandInput
|
|
336
361
|
| ValidateAwsAssociationsCommandInput;
|
|
337
362
|
export type ServiceOutputTypes =
|
|
338
363
|
| AssociateServiceCommandOutput
|
|
@@ -342,10 +367,12 @@ export type ServiceOutputTypes =
|
|
|
342
367
|
| CreateBacklogTaskCommandOutput
|
|
343
368
|
| CreateChatCommandOutput
|
|
344
369
|
| CreatePrivateConnectionCommandOutput
|
|
370
|
+
| CreateTriggerCommandOutput
|
|
345
371
|
| DeleteAgentSpaceCommandOutput
|
|
346
372
|
| DeleteAssetCommandOutput
|
|
347
373
|
| DeleteAssetFileCommandOutput
|
|
348
374
|
| DeletePrivateConnectionCommandOutput
|
|
375
|
+
| DeleteTriggerCommandOutput
|
|
349
376
|
| DeregisterServiceCommandOutput
|
|
350
377
|
| DescribePrivateConnectionCommandOutput
|
|
351
378
|
| DisableOperatorAppCommandOutput
|
|
@@ -361,6 +388,7 @@ export type ServiceOutputTypes =
|
|
|
361
388
|
| GetOperatorAppCommandOutput
|
|
362
389
|
| GetRecommendationCommandOutput
|
|
363
390
|
| GetServiceCommandOutput
|
|
391
|
+
| GetTriggerCommandOutput
|
|
364
392
|
| ListAgentSpacesCommandOutput
|
|
365
393
|
| ListAssetFilesCommandOutput
|
|
366
394
|
| ListAssetTypesCommandOutput
|
|
@@ -377,6 +405,7 @@ export type ServiceOutputTypes =
|
|
|
377
405
|
| ListRecommendationsCommandOutput
|
|
378
406
|
| ListServicesCommandOutput
|
|
379
407
|
| ListTagsForResourceCommandOutput
|
|
408
|
+
| ListTriggersCommandOutput
|
|
380
409
|
| ListWebhooksCommandOutput
|
|
381
410
|
| RegisterServiceCommandOutput
|
|
382
411
|
| SendMessageCommandOutput
|
|
@@ -391,6 +420,7 @@ export type ServiceOutputTypes =
|
|
|
391
420
|
| UpdateOperatorAppIdpConfigCommandOutput
|
|
392
421
|
| UpdatePrivateConnectionCertificateCommandOutput
|
|
393
422
|
| UpdateRecommendationCommandOutput
|
|
423
|
+
| UpdateTriggerCommandOutput
|
|
394
424
|
| ValidateAwsAssociationsCommandOutput;
|
|
395
425
|
export interface ClientDefaults
|
|
396
426
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DevOpsAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DevOpsAgentClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateTriggerRequest,
|
|
10
|
+
CreateTriggerResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateTriggerCommandInput extends CreateTriggerRequest {}
|
|
15
|
+
export interface CreateTriggerCommandOutput
|
|
16
|
+
extends CreateTriggerResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const CreateTriggerCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: CreateTriggerCommandInput
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
|
+
CreateTriggerCommandInput,
|
|
23
|
+
CreateTriggerCommandOutput,
|
|
24
|
+
DevOpsAgentClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: CreateTriggerCommandInput
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
|
+
CreateTriggerCommandInput,
|
|
32
|
+
CreateTriggerCommandOutput,
|
|
33
|
+
DevOpsAgentClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare class CreateTriggerCommand extends CreateTriggerCommand_base {
|
|
42
|
+
protected static __types: {
|
|
43
|
+
api: {
|
|
44
|
+
input: CreateTriggerRequest;
|
|
45
|
+
output: CreateTriggerResponse;
|
|
46
|
+
};
|
|
47
|
+
sdk: {
|
|
48
|
+
input: CreateTriggerCommandInput;
|
|
49
|
+
output: CreateTriggerCommandOutput;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DevOpsAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DevOpsAgentClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteTriggerRequest,
|
|
10
|
+
DeleteTriggerResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteTriggerCommandInput extends DeleteTriggerRequest {}
|
|
15
|
+
export interface DeleteTriggerCommandOutput
|
|
16
|
+
extends DeleteTriggerResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DeleteTriggerCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DeleteTriggerCommandInput
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
|
+
DeleteTriggerCommandInput,
|
|
23
|
+
DeleteTriggerCommandOutput,
|
|
24
|
+
DevOpsAgentClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: DeleteTriggerCommandInput
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
|
+
DeleteTriggerCommandInput,
|
|
32
|
+
DeleteTriggerCommandOutput,
|
|
33
|
+
DevOpsAgentClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare class DeleteTriggerCommand extends DeleteTriggerCommand_base {
|
|
42
|
+
protected static __types: {
|
|
43
|
+
api: {
|
|
44
|
+
input: DeleteTriggerRequest;
|
|
45
|
+
output: {};
|
|
46
|
+
};
|
|
47
|
+
sdk: {
|
|
48
|
+
input: DeleteTriggerCommandInput;
|
|
49
|
+
output: DeleteTriggerCommandOutput;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DevOpsAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DevOpsAgentClient";
|
|
8
|
+
import { GetTriggerRequest, GetTriggerResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetTriggerCommandInput extends GetTriggerRequest {}
|
|
12
|
+
export interface GetTriggerCommandOutput
|
|
13
|
+
extends GetTriggerResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetTriggerCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetTriggerCommandInput
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
GetTriggerCommandInput,
|
|
20
|
+
GetTriggerCommandOutput,
|
|
21
|
+
DevOpsAgentClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: GetTriggerCommandInput
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
GetTriggerCommandInput,
|
|
29
|
+
GetTriggerCommandOutput,
|
|
30
|
+
DevOpsAgentClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class GetTriggerCommand extends GetTriggerCommand_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: GetTriggerRequest;
|
|
42
|
+
output: GetTriggerResponse;
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: GetTriggerCommandInput;
|
|
46
|
+
output: GetTriggerCommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DevOpsAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DevOpsAgentClient";
|
|
8
|
+
import { ListTriggersRequest, ListTriggersResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListTriggersCommandInput extends ListTriggersRequest {}
|
|
12
|
+
export interface ListTriggersCommandOutput
|
|
13
|
+
extends ListTriggersResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListTriggersCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListTriggersCommandInput
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
ListTriggersCommandInput,
|
|
20
|
+
ListTriggersCommandOutput,
|
|
21
|
+
DevOpsAgentClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: ListTriggersCommandInput
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
ListTriggersCommandInput,
|
|
29
|
+
ListTriggersCommandOutput,
|
|
30
|
+
DevOpsAgentClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class ListTriggersCommand extends ListTriggersCommand_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: ListTriggersRequest;
|
|
42
|
+
output: ListTriggersResponse;
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: ListTriggersCommandInput;
|
|
46
|
+
output: ListTriggersCommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DevOpsAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DevOpsAgentClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateTriggerRequest,
|
|
10
|
+
UpdateTriggerResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateTriggerCommandInput extends UpdateTriggerRequest {}
|
|
15
|
+
export interface UpdateTriggerCommandOutput
|
|
16
|
+
extends UpdateTriggerResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateTriggerCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateTriggerCommandInput
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
|
+
UpdateTriggerCommandInput,
|
|
23
|
+
UpdateTriggerCommandOutput,
|
|
24
|
+
DevOpsAgentClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: UpdateTriggerCommandInput
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
|
+
UpdateTriggerCommandInput,
|
|
32
|
+
UpdateTriggerCommandOutput,
|
|
33
|
+
DevOpsAgentClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare class UpdateTriggerCommand extends UpdateTriggerCommand_base {
|
|
42
|
+
protected static __types: {
|
|
43
|
+
api: {
|
|
44
|
+
input: UpdateTriggerRequest;
|
|
45
|
+
output: UpdateTriggerResponse;
|
|
46
|
+
};
|
|
47
|
+
sdk: {
|
|
48
|
+
input: UpdateTriggerCommandInput;
|
|
49
|
+
output: UpdateTriggerCommandOutput;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -5,10 +5,12 @@ export * from "./CreateAssetFileCommand";
|
|
|
5
5
|
export * from "./CreateBacklogTaskCommand";
|
|
6
6
|
export * from "./CreateChatCommand";
|
|
7
7
|
export * from "./CreatePrivateConnectionCommand";
|
|
8
|
+
export * from "./CreateTriggerCommand";
|
|
8
9
|
export * from "./DeleteAgentSpaceCommand";
|
|
9
10
|
export * from "./DeleteAssetCommand";
|
|
10
11
|
export * from "./DeleteAssetFileCommand";
|
|
11
12
|
export * from "./DeletePrivateConnectionCommand";
|
|
13
|
+
export * from "./DeleteTriggerCommand";
|
|
12
14
|
export * from "./DeregisterServiceCommand";
|
|
13
15
|
export * from "./DescribePrivateConnectionCommand";
|
|
14
16
|
export * from "./DisableOperatorAppCommand";
|
|
@@ -24,6 +26,7 @@ export * from "./GetBacklogTaskCommand";
|
|
|
24
26
|
export * from "./GetOperatorAppCommand";
|
|
25
27
|
export * from "./GetRecommendationCommand";
|
|
26
28
|
export * from "./GetServiceCommand";
|
|
29
|
+
export * from "./GetTriggerCommand";
|
|
27
30
|
export * from "./ListAgentSpacesCommand";
|
|
28
31
|
export * from "./ListAssetFilesCommand";
|
|
29
32
|
export * from "./ListAssetTypesCommand";
|
|
@@ -40,6 +43,7 @@ export * from "./ListPrivateConnectionsCommand";
|
|
|
40
43
|
export * from "./ListRecommendationsCommand";
|
|
41
44
|
export * from "./ListServicesCommand";
|
|
42
45
|
export * from "./ListTagsForResourceCommand";
|
|
46
|
+
export * from "./ListTriggersCommand";
|
|
43
47
|
export * from "./ListWebhooksCommand";
|
|
44
48
|
export * from "./RegisterServiceCommand";
|
|
45
49
|
export * from "./SendMessageCommand";
|
|
@@ -54,4 +58,5 @@ export * from "./UpdateGoalCommand";
|
|
|
54
58
|
export * from "./UpdateOperatorAppIdpConfigCommand";
|
|
55
59
|
export * from "./UpdatePrivateConnectionCertificateCommand";
|
|
56
60
|
export * from "./UpdateRecommendationCommand";
|
|
61
|
+
export * from "./UpdateTriggerCommand";
|
|
57
62
|
export * from "./ValidateAwsAssociationsCommand";
|
|
@@ -1278,6 +1278,47 @@ export interface CreatePrivateConnectionOutput {
|
|
|
1278
1278
|
failureMessage?: string | undefined;
|
|
1279
1279
|
tags?: Record<string, string> | undefined;
|
|
1280
1280
|
}
|
|
1281
|
+
export interface ScheduleCondition {
|
|
1282
|
+
expression: string | undefined;
|
|
1283
|
+
}
|
|
1284
|
+
export type TriggerCondition =
|
|
1285
|
+
| TriggerCondition.ScheduleMember
|
|
1286
|
+
| TriggerCondition.$UnknownMember;
|
|
1287
|
+
export declare namespace TriggerCondition {
|
|
1288
|
+
interface ScheduleMember {
|
|
1289
|
+
schedule: ScheduleCondition;
|
|
1290
|
+
$unknown?: never;
|
|
1291
|
+
}
|
|
1292
|
+
interface $UnknownMember {
|
|
1293
|
+
schedule?: never;
|
|
1294
|
+
$unknown: [string, any];
|
|
1295
|
+
}
|
|
1296
|
+
interface Visitor<T> {
|
|
1297
|
+
schedule: (value: ScheduleCondition) => T;
|
|
1298
|
+
_: (name: string, value: any) => T;
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
export interface CreateTriggerRequest {
|
|
1302
|
+
agentSpaceId: string | undefined;
|
|
1303
|
+
type: string | undefined;
|
|
1304
|
+
condition: TriggerCondition | undefined;
|
|
1305
|
+
action: __DocumentType | undefined;
|
|
1306
|
+
status?: string | undefined;
|
|
1307
|
+
clientToken?: string | undefined;
|
|
1308
|
+
}
|
|
1309
|
+
export interface Trigger {
|
|
1310
|
+
triggerId: string | undefined;
|
|
1311
|
+
agentSpaceId: string | undefined;
|
|
1312
|
+
type: string | undefined;
|
|
1313
|
+
condition: TriggerCondition | undefined;
|
|
1314
|
+
action: __DocumentType | undefined;
|
|
1315
|
+
status: string | undefined;
|
|
1316
|
+
createdAt: Date | undefined;
|
|
1317
|
+
updatedAt: Date | undefined;
|
|
1318
|
+
}
|
|
1319
|
+
export interface CreateTriggerResponse {
|
|
1320
|
+
trigger: Trigger | undefined;
|
|
1321
|
+
}
|
|
1281
1322
|
export interface MCPServerAuthorizationDiscoveryConfig {
|
|
1282
1323
|
returnToEndpoint: string | undefined;
|
|
1283
1324
|
}
|
|
@@ -1322,6 +1363,11 @@ export interface DeletePrivateConnectionOutput {
|
|
|
1322
1363
|
name: string | undefined;
|
|
1323
1364
|
status: PrivateConnectionStatus | undefined;
|
|
1324
1365
|
}
|
|
1366
|
+
export interface DeleteTriggerRequest {
|
|
1367
|
+
agentSpaceId: string | undefined;
|
|
1368
|
+
triggerId: string | undefined;
|
|
1369
|
+
}
|
|
1370
|
+
export interface DeleteTriggerResponse {}
|
|
1325
1371
|
export interface DeregisterServiceInput {
|
|
1326
1372
|
serviceId: string | undefined;
|
|
1327
1373
|
}
|
|
@@ -1417,6 +1463,13 @@ export interface Recommendation {
|
|
|
1417
1463
|
export interface GetRecommendationResponse {
|
|
1418
1464
|
recommendation: Recommendation | undefined;
|
|
1419
1465
|
}
|
|
1466
|
+
export interface GetTriggerRequest {
|
|
1467
|
+
agentSpaceId: string | undefined;
|
|
1468
|
+
triggerId: string | undefined;
|
|
1469
|
+
}
|
|
1470
|
+
export interface GetTriggerResponse {
|
|
1471
|
+
trigger: Trigger | undefined;
|
|
1472
|
+
}
|
|
1420
1473
|
export interface ListAssetFilesRequest {
|
|
1421
1474
|
agentSpaceId: string | undefined;
|
|
1422
1475
|
assetId: string | undefined;
|
|
@@ -1653,6 +1706,16 @@ export interface ListTagsForResourceRequest {
|
|
|
1653
1706
|
export interface ListTagsForResourceResponse {
|
|
1654
1707
|
tags: Record<string, string> | undefined;
|
|
1655
1708
|
}
|
|
1709
|
+
export interface ListTriggersRequest {
|
|
1710
|
+
agentSpaceId: string | undefined;
|
|
1711
|
+
status?: string | undefined;
|
|
1712
|
+
nextToken?: string | undefined;
|
|
1713
|
+
maxResults?: number | undefined;
|
|
1714
|
+
}
|
|
1715
|
+
export interface ListTriggersResponse {
|
|
1716
|
+
items: Trigger[] | undefined;
|
|
1717
|
+
nextToken?: string | undefined;
|
|
1718
|
+
}
|
|
1656
1719
|
export interface ListPrivateConnectionsInput {}
|
|
1657
1720
|
export interface PrivateConnectionSummary {
|
|
1658
1721
|
name: string | undefined;
|
|
@@ -2494,3 +2557,12 @@ export interface UpdateRecommendationRequest {
|
|
|
2494
2557
|
export interface UpdateRecommendationResponse {
|
|
2495
2558
|
recommendation: Recommendation | undefined;
|
|
2496
2559
|
}
|
|
2560
|
+
export interface UpdateTriggerRequest {
|
|
2561
|
+
agentSpaceId: string | undefined;
|
|
2562
|
+
triggerId: string | undefined;
|
|
2563
|
+
status?: string | undefined;
|
|
2564
|
+
clientToken?: string | undefined;
|
|
2565
|
+
}
|
|
2566
|
+
export interface UpdateTriggerResponse {
|
|
2567
|
+
trigger: Trigger | undefined;
|
|
2568
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTriggersCommandInput,
|
|
4
|
+
ListTriggersCommandOutput,
|
|
5
|
+
} from "../commands/ListTriggersCommand";
|
|
6
|
+
import { DevOpsAgentPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTriggers: (
|
|
8
|
+
config: DevOpsAgentPaginationConfiguration,
|
|
9
|
+
input: ListTriggersCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTriggersCommandOutput>;
|