@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
|
@@ -6,10 +6,12 @@ import { type CreateAssetFileCommandInput, type CreateAssetFileCommandOutput } f
|
|
|
6
6
|
import { type CreateBacklogTaskCommandInput, type CreateBacklogTaskCommandOutput } from "./commands/CreateBacklogTaskCommand";
|
|
7
7
|
import { type CreateChatCommandInput, type CreateChatCommandOutput } from "./commands/CreateChatCommand";
|
|
8
8
|
import { type CreatePrivateConnectionCommandInput, type CreatePrivateConnectionCommandOutput } from "./commands/CreatePrivateConnectionCommand";
|
|
9
|
+
import { type CreateTriggerCommandInput, type CreateTriggerCommandOutput } from "./commands/CreateTriggerCommand";
|
|
9
10
|
import { type DeleteAgentSpaceCommandInput, type DeleteAgentSpaceCommandOutput } from "./commands/DeleteAgentSpaceCommand";
|
|
10
11
|
import { type DeleteAssetCommandInput, type DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
11
12
|
import { type DeleteAssetFileCommandInput, type DeleteAssetFileCommandOutput } from "./commands/DeleteAssetFileCommand";
|
|
12
13
|
import { type DeletePrivateConnectionCommandInput, type DeletePrivateConnectionCommandOutput } from "./commands/DeletePrivateConnectionCommand";
|
|
14
|
+
import { type DeleteTriggerCommandInput, type DeleteTriggerCommandOutput } from "./commands/DeleteTriggerCommand";
|
|
13
15
|
import { type DeregisterServiceCommandInput, type DeregisterServiceCommandOutput } from "./commands/DeregisterServiceCommand";
|
|
14
16
|
import { type DescribePrivateConnectionCommandInput, type DescribePrivateConnectionCommandOutput } from "./commands/DescribePrivateConnectionCommand";
|
|
15
17
|
import { type DisableOperatorAppCommandInput, type DisableOperatorAppCommandOutput } from "./commands/DisableOperatorAppCommand";
|
|
@@ -25,6 +27,7 @@ import { type GetBacklogTaskCommandInput, type GetBacklogTaskCommandOutput } fro
|
|
|
25
27
|
import { type GetOperatorAppCommandInput, type GetOperatorAppCommandOutput } from "./commands/GetOperatorAppCommand";
|
|
26
28
|
import { type GetRecommendationCommandInput, type GetRecommendationCommandOutput } from "./commands/GetRecommendationCommand";
|
|
27
29
|
import { type GetServiceCommandInput, type GetServiceCommandOutput } from "./commands/GetServiceCommand";
|
|
30
|
+
import { type GetTriggerCommandInput, type GetTriggerCommandOutput } from "./commands/GetTriggerCommand";
|
|
28
31
|
import { type ListAgentSpacesCommandInput, type ListAgentSpacesCommandOutput } from "./commands/ListAgentSpacesCommand";
|
|
29
32
|
import { type ListAssetFilesCommandInput, type ListAssetFilesCommandOutput } from "./commands/ListAssetFilesCommand";
|
|
30
33
|
import { type ListAssetsCommandInput, type ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
@@ -41,6 +44,7 @@ import { type ListPrivateConnectionsCommandInput, type ListPrivateConnectionsCom
|
|
|
41
44
|
import { type ListRecommendationsCommandInput, type ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
|
|
42
45
|
import { type ListServicesCommandInput, type ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
43
46
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
47
|
+
import { type ListTriggersCommandInput, type ListTriggersCommandOutput } from "./commands/ListTriggersCommand";
|
|
44
48
|
import { type ListWebhooksCommandInput, type ListWebhooksCommandOutput } from "./commands/ListWebhooksCommand";
|
|
45
49
|
import { type RegisterServiceCommandInput, type RegisterServiceCommandOutput } from "./commands/RegisterServiceCommand";
|
|
46
50
|
import { type SendMessageCommandInput, type SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
@@ -55,6 +59,7 @@ import { type UpdateGoalCommandInput, type UpdateGoalCommandOutput } from "./com
|
|
|
55
59
|
import { type UpdateOperatorAppIdpConfigCommandInput, type UpdateOperatorAppIdpConfigCommandOutput } from "./commands/UpdateOperatorAppIdpConfigCommand";
|
|
56
60
|
import { type UpdatePrivateConnectionCertificateCommandInput, type UpdatePrivateConnectionCertificateCommandOutput } from "./commands/UpdatePrivateConnectionCertificateCommand";
|
|
57
61
|
import { type UpdateRecommendationCommandInput, type UpdateRecommendationCommandOutput } from "./commands/UpdateRecommendationCommand";
|
|
62
|
+
import { type UpdateTriggerCommandInput, type UpdateTriggerCommandOutput } from "./commands/UpdateTriggerCommand";
|
|
58
63
|
import { type ValidateAwsAssociationsCommandInput, type ValidateAwsAssociationsCommandOutput } from "./commands/ValidateAwsAssociationsCommand";
|
|
59
64
|
import { DevOpsAgentClient } from "./DevOpsAgentClient";
|
|
60
65
|
export interface DevOpsAgent {
|
|
@@ -100,6 +105,12 @@ export interface DevOpsAgent {
|
|
|
100
105
|
createPrivateConnection(args: CreatePrivateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<CreatePrivateConnectionCommandOutput>;
|
|
101
106
|
createPrivateConnection(args: CreatePrivateConnectionCommandInput, cb: (err: any, data?: CreatePrivateConnectionCommandOutput) => void): void;
|
|
102
107
|
createPrivateConnection(args: CreatePrivateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePrivateConnectionCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* @see {@link CreateTriggerCommand}
|
|
110
|
+
*/
|
|
111
|
+
createTrigger(args: CreateTriggerCommandInput, options?: __HttpHandlerOptions): Promise<CreateTriggerCommandOutput>;
|
|
112
|
+
createTrigger(args: CreateTriggerCommandInput, cb: (err: any, data?: CreateTriggerCommandOutput) => void): void;
|
|
113
|
+
createTrigger(args: CreateTriggerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTriggerCommandOutput) => void): void;
|
|
103
114
|
/**
|
|
104
115
|
* @see {@link DeleteAgentSpaceCommand}
|
|
105
116
|
*/
|
|
@@ -124,6 +135,12 @@ export interface DevOpsAgent {
|
|
|
124
135
|
deletePrivateConnection(args: DeletePrivateConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeletePrivateConnectionCommandOutput>;
|
|
125
136
|
deletePrivateConnection(args: DeletePrivateConnectionCommandInput, cb: (err: any, data?: DeletePrivateConnectionCommandOutput) => void): void;
|
|
126
137
|
deletePrivateConnection(args: DeletePrivateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePrivateConnectionCommandOutput) => void): void;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link DeleteTriggerCommand}
|
|
140
|
+
*/
|
|
141
|
+
deleteTrigger(args: DeleteTriggerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTriggerCommandOutput>;
|
|
142
|
+
deleteTrigger(args: DeleteTriggerCommandInput, cb: (err: any, data?: DeleteTriggerCommandOutput) => void): void;
|
|
143
|
+
deleteTrigger(args: DeleteTriggerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTriggerCommandOutput) => void): void;
|
|
127
144
|
/**
|
|
128
145
|
* @see {@link DeregisterServiceCommand}
|
|
129
146
|
*/
|
|
@@ -215,6 +232,12 @@ export interface DevOpsAgent {
|
|
|
215
232
|
getService(args: GetServiceCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceCommandOutput>;
|
|
216
233
|
getService(args: GetServiceCommandInput, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
|
|
217
234
|
getService(args: GetServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
|
|
235
|
+
/**
|
|
236
|
+
* @see {@link GetTriggerCommand}
|
|
237
|
+
*/
|
|
238
|
+
getTrigger(args: GetTriggerCommandInput, options?: __HttpHandlerOptions): Promise<GetTriggerCommandOutput>;
|
|
239
|
+
getTrigger(args: GetTriggerCommandInput, cb: (err: any, data?: GetTriggerCommandOutput) => void): void;
|
|
240
|
+
getTrigger(args: GetTriggerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTriggerCommandOutput) => void): void;
|
|
218
241
|
/**
|
|
219
242
|
* @see {@link ListAgentSpacesCommand}
|
|
220
243
|
*/
|
|
@@ -315,6 +338,12 @@ export interface DevOpsAgent {
|
|
|
315
338
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
316
339
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
317
340
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
341
|
+
/**
|
|
342
|
+
* @see {@link ListTriggersCommand}
|
|
343
|
+
*/
|
|
344
|
+
listTriggers(args: ListTriggersCommandInput, options?: __HttpHandlerOptions): Promise<ListTriggersCommandOutput>;
|
|
345
|
+
listTriggers(args: ListTriggersCommandInput, cb: (err: any, data?: ListTriggersCommandOutput) => void): void;
|
|
346
|
+
listTriggers(args: ListTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTriggersCommandOutput) => void): void;
|
|
318
347
|
/**
|
|
319
348
|
* @see {@link ListWebhooksCommand}
|
|
320
349
|
*/
|
|
@@ -399,6 +428,12 @@ export interface DevOpsAgent {
|
|
|
399
428
|
updateRecommendation(args: UpdateRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRecommendationCommandOutput>;
|
|
400
429
|
updateRecommendation(args: UpdateRecommendationCommandInput, cb: (err: any, data?: UpdateRecommendationCommandOutput) => void): void;
|
|
401
430
|
updateRecommendation(args: UpdateRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRecommendationCommandOutput) => void): void;
|
|
431
|
+
/**
|
|
432
|
+
* @see {@link UpdateTriggerCommand}
|
|
433
|
+
*/
|
|
434
|
+
updateTrigger(args: UpdateTriggerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTriggerCommandOutput>;
|
|
435
|
+
updateTrigger(args: UpdateTriggerCommandInput, cb: (err: any, data?: UpdateTriggerCommandOutput) => void): void;
|
|
436
|
+
updateTrigger(args: UpdateTriggerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTriggerCommandOutput) => void): void;
|
|
402
437
|
/**
|
|
403
438
|
* @see {@link ValidateAwsAssociationsCommand}
|
|
404
439
|
*/
|
|
@@ -482,6 +517,13 @@ export interface DevOpsAgent {
|
|
|
482
517
|
* @returns AsyncIterable of {@link ListServicesCommandOutput}.
|
|
483
518
|
*/
|
|
484
519
|
paginateListServices(args?: ListServicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServicesCommandOutput>;
|
|
520
|
+
/**
|
|
521
|
+
* @see {@link ListTriggersCommand}
|
|
522
|
+
* @param args - command input.
|
|
523
|
+
* @param paginationConfig - optional pagination config.
|
|
524
|
+
* @returns AsyncIterable of {@link ListTriggersCommandOutput}.
|
|
525
|
+
*/
|
|
526
|
+
paginateListTriggers(args: ListTriggersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTriggersCommandOutput>;
|
|
485
527
|
}
|
|
486
528
|
/**
|
|
487
529
|
* <p>AWS DevOps Agent is your always-available operations teammate. It resolves and proactively prevents incidents, optimizes application reliability and performance, and handles on-demand SRE tasks across AWS, multicloud, and on-premises environments. AWS DevOps Agent investigates incidents as an experienced DevOps engineer would. It learns your applications and their relationships. It works with your observability tools, runbooks, code repositories, and CI/CD pipelines. The agent correlates telemetry, code, and deployment data across all of them.</p>
|
|
@@ -14,10 +14,12 @@ import type { CreateAssetFileCommandInput, CreateAssetFileCommandOutput } from "
|
|
|
14
14
|
import type { CreateBacklogTaskCommandInput, CreateBacklogTaskCommandOutput } from "./commands/CreateBacklogTaskCommand";
|
|
15
15
|
import type { CreateChatCommandInput, CreateChatCommandOutput } from "./commands/CreateChatCommand";
|
|
16
16
|
import type { CreatePrivateConnectionCommandInput, CreatePrivateConnectionCommandOutput } from "./commands/CreatePrivateConnectionCommand";
|
|
17
|
+
import type { CreateTriggerCommandInput, CreateTriggerCommandOutput } from "./commands/CreateTriggerCommand";
|
|
17
18
|
import type { DeleteAgentSpaceCommandInput, DeleteAgentSpaceCommandOutput } from "./commands/DeleteAgentSpaceCommand";
|
|
18
19
|
import type { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
19
20
|
import type { DeleteAssetFileCommandInput, DeleteAssetFileCommandOutput } from "./commands/DeleteAssetFileCommand";
|
|
20
21
|
import type { DeletePrivateConnectionCommandInput, DeletePrivateConnectionCommandOutput } from "./commands/DeletePrivateConnectionCommand";
|
|
22
|
+
import type { DeleteTriggerCommandInput, DeleteTriggerCommandOutput } from "./commands/DeleteTriggerCommand";
|
|
21
23
|
import type { DeregisterServiceCommandInput, DeregisterServiceCommandOutput } from "./commands/DeregisterServiceCommand";
|
|
22
24
|
import type { DescribePrivateConnectionCommandInput, DescribePrivateConnectionCommandOutput } from "./commands/DescribePrivateConnectionCommand";
|
|
23
25
|
import type { DisableOperatorAppCommandInput, DisableOperatorAppCommandOutput } from "./commands/DisableOperatorAppCommand";
|
|
@@ -33,6 +35,7 @@ import type { GetBacklogTaskCommandInput, GetBacklogTaskCommandOutput } from "./
|
|
|
33
35
|
import type { GetOperatorAppCommandInput, GetOperatorAppCommandOutput } from "./commands/GetOperatorAppCommand";
|
|
34
36
|
import type { GetRecommendationCommandInput, GetRecommendationCommandOutput } from "./commands/GetRecommendationCommand";
|
|
35
37
|
import type { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
|
|
38
|
+
import type { GetTriggerCommandInput, GetTriggerCommandOutput } from "./commands/GetTriggerCommand";
|
|
36
39
|
import type { ListAgentSpacesCommandInput, ListAgentSpacesCommandOutput } from "./commands/ListAgentSpacesCommand";
|
|
37
40
|
import type { ListAssetFilesCommandInput, ListAssetFilesCommandOutput } from "./commands/ListAssetFilesCommand";
|
|
38
41
|
import type { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
@@ -49,6 +52,7 @@ import type { ListPrivateConnectionsCommandInput, ListPrivateConnectionsCommandO
|
|
|
49
52
|
import type { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
|
|
50
53
|
import type { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
51
54
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
55
|
+
import type { ListTriggersCommandInput, ListTriggersCommandOutput } from "./commands/ListTriggersCommand";
|
|
52
56
|
import type { ListWebhooksCommandInput, ListWebhooksCommandOutput } from "./commands/ListWebhooksCommand";
|
|
53
57
|
import type { RegisterServiceCommandInput, RegisterServiceCommandOutput } from "./commands/RegisterServiceCommand";
|
|
54
58
|
import type { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
@@ -63,6 +67,7 @@ import type { UpdateGoalCommandInput, UpdateGoalCommandOutput } from "./commands
|
|
|
63
67
|
import type { UpdateOperatorAppIdpConfigCommandInput, UpdateOperatorAppIdpConfigCommandOutput } from "./commands/UpdateOperatorAppIdpConfigCommand";
|
|
64
68
|
import type { UpdatePrivateConnectionCertificateCommandInput, UpdatePrivateConnectionCertificateCommandOutput } from "./commands/UpdatePrivateConnectionCertificateCommand";
|
|
65
69
|
import type { UpdateRecommendationCommandInput, UpdateRecommendationCommandOutput } from "./commands/UpdateRecommendationCommand";
|
|
70
|
+
import type { UpdateTriggerCommandInput, UpdateTriggerCommandOutput } from "./commands/UpdateTriggerCommand";
|
|
66
71
|
import type { ValidateAwsAssociationsCommandInput, ValidateAwsAssociationsCommandOutput } from "./commands/ValidateAwsAssociationsCommand";
|
|
67
72
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
68
73
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -70,11 +75,11 @@ export { __Client };
|
|
|
70
75
|
/**
|
|
71
76
|
* @public
|
|
72
77
|
*/
|
|
73
|
-
export type ServiceInputTypes = AssociateServiceCommandInput | CreateAgentSpaceCommandInput | CreateAssetCommandInput | CreateAssetFileCommandInput | CreateBacklogTaskCommandInput | CreateChatCommandInput | CreatePrivateConnectionCommandInput | DeleteAgentSpaceCommandInput | DeleteAssetCommandInput | DeleteAssetFileCommandInput | DeletePrivateConnectionCommandInput | DeregisterServiceCommandInput | DescribePrivateConnectionCommandInput | DisableOperatorAppCommandInput | DisassociateServiceCommandInput | EnableOperatorAppCommandInput | GetAccountUsageCommandInput | GetAgentSpaceCommandInput | GetAssetCommandInput | GetAssetContentCommandInput | GetAssetFileCommandInput | GetAssociationCommandInput | GetBacklogTaskCommandInput | GetOperatorAppCommandInput | GetRecommendationCommandInput | GetServiceCommandInput | ListAgentSpacesCommandInput | ListAssetFilesCommandInput | ListAssetTypesCommandInput | ListAssetVersionsCommandInput | ListAssetsCommandInput | ListAssociationsCommandInput | ListBacklogTasksCommandInput | ListChatsCommandInput | ListExecutionsCommandInput | ListGoalsCommandInput | ListJournalRecordsCommandInput | ListPendingMessagesCommandInput | ListPrivateConnectionsCommandInput | ListRecommendationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | RegisterServiceCommandInput | SendMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateAssetCommandInput | UpdateAssetFileCommandInput | UpdateAssociationCommandInput | UpdateBacklogTaskCommandInput | UpdateGoalCommandInput | UpdateOperatorAppIdpConfigCommandInput | UpdatePrivateConnectionCertificateCommandInput | UpdateRecommendationCommandInput | ValidateAwsAssociationsCommandInput;
|
|
78
|
+
export type ServiceInputTypes = AssociateServiceCommandInput | CreateAgentSpaceCommandInput | CreateAssetCommandInput | CreateAssetFileCommandInput | CreateBacklogTaskCommandInput | CreateChatCommandInput | CreatePrivateConnectionCommandInput | CreateTriggerCommandInput | DeleteAgentSpaceCommandInput | DeleteAssetCommandInput | DeleteAssetFileCommandInput | DeletePrivateConnectionCommandInput | DeleteTriggerCommandInput | DeregisterServiceCommandInput | DescribePrivateConnectionCommandInput | DisableOperatorAppCommandInput | DisassociateServiceCommandInput | EnableOperatorAppCommandInput | GetAccountUsageCommandInput | GetAgentSpaceCommandInput | GetAssetCommandInput | GetAssetContentCommandInput | GetAssetFileCommandInput | GetAssociationCommandInput | GetBacklogTaskCommandInput | GetOperatorAppCommandInput | GetRecommendationCommandInput | GetServiceCommandInput | GetTriggerCommandInput | ListAgentSpacesCommandInput | ListAssetFilesCommandInput | ListAssetTypesCommandInput | ListAssetVersionsCommandInput | ListAssetsCommandInput | ListAssociationsCommandInput | ListBacklogTasksCommandInput | ListChatsCommandInput | ListExecutionsCommandInput | ListGoalsCommandInput | ListJournalRecordsCommandInput | ListPendingMessagesCommandInput | ListPrivateConnectionsCommandInput | ListRecommendationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTriggersCommandInput | ListWebhooksCommandInput | RegisterServiceCommandInput | SendMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateAssetCommandInput | UpdateAssetFileCommandInput | UpdateAssociationCommandInput | UpdateBacklogTaskCommandInput | UpdateGoalCommandInput | UpdateOperatorAppIdpConfigCommandInput | UpdatePrivateConnectionCertificateCommandInput | UpdateRecommendationCommandInput | UpdateTriggerCommandInput | ValidateAwsAssociationsCommandInput;
|
|
74
79
|
/**
|
|
75
80
|
* @public
|
|
76
81
|
*/
|
|
77
|
-
export type ServiceOutputTypes = AssociateServiceCommandOutput | CreateAgentSpaceCommandOutput | CreateAssetCommandOutput | CreateAssetFileCommandOutput | CreateBacklogTaskCommandOutput | CreateChatCommandOutput | CreatePrivateConnectionCommandOutput | DeleteAgentSpaceCommandOutput | DeleteAssetCommandOutput | DeleteAssetFileCommandOutput | DeletePrivateConnectionCommandOutput | DeregisterServiceCommandOutput | DescribePrivateConnectionCommandOutput | DisableOperatorAppCommandOutput | DisassociateServiceCommandOutput | EnableOperatorAppCommandOutput | GetAccountUsageCommandOutput | GetAgentSpaceCommandOutput | GetAssetCommandOutput | GetAssetContentCommandOutput | GetAssetFileCommandOutput | GetAssociationCommandOutput | GetBacklogTaskCommandOutput | GetOperatorAppCommandOutput | GetRecommendationCommandOutput | GetServiceCommandOutput | ListAgentSpacesCommandOutput | ListAssetFilesCommandOutput | ListAssetTypesCommandOutput | ListAssetVersionsCommandOutput | ListAssetsCommandOutput | ListAssociationsCommandOutput | ListBacklogTasksCommandOutput | ListChatsCommandOutput | ListExecutionsCommandOutput | ListGoalsCommandOutput | ListJournalRecordsCommandOutput | ListPendingMessagesCommandOutput | ListPrivateConnectionsCommandOutput | ListRecommendationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | RegisterServiceCommandOutput | SendMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateAssetCommandOutput | UpdateAssetFileCommandOutput | UpdateAssociationCommandOutput | UpdateBacklogTaskCommandOutput | UpdateGoalCommandOutput | UpdateOperatorAppIdpConfigCommandOutput | UpdatePrivateConnectionCertificateCommandOutput | UpdateRecommendationCommandOutput | ValidateAwsAssociationsCommandOutput;
|
|
82
|
+
export type ServiceOutputTypes = AssociateServiceCommandOutput | CreateAgentSpaceCommandOutput | CreateAssetCommandOutput | CreateAssetFileCommandOutput | CreateBacklogTaskCommandOutput | CreateChatCommandOutput | CreatePrivateConnectionCommandOutput | CreateTriggerCommandOutput | DeleteAgentSpaceCommandOutput | DeleteAssetCommandOutput | DeleteAssetFileCommandOutput | DeletePrivateConnectionCommandOutput | DeleteTriggerCommandOutput | DeregisterServiceCommandOutput | DescribePrivateConnectionCommandOutput | DisableOperatorAppCommandOutput | DisassociateServiceCommandOutput | EnableOperatorAppCommandOutput | GetAccountUsageCommandOutput | GetAgentSpaceCommandOutput | GetAssetCommandOutput | GetAssetContentCommandOutput | GetAssetFileCommandOutput | GetAssociationCommandOutput | GetBacklogTaskCommandOutput | GetOperatorAppCommandOutput | GetRecommendationCommandOutput | GetServiceCommandOutput | GetTriggerCommandOutput | ListAgentSpacesCommandOutput | ListAssetFilesCommandOutput | ListAssetTypesCommandOutput | ListAssetVersionsCommandOutput | ListAssetsCommandOutput | ListAssociationsCommandOutput | ListBacklogTasksCommandOutput | ListChatsCommandOutput | ListExecutionsCommandOutput | ListGoalsCommandOutput | ListJournalRecordsCommandOutput | ListPendingMessagesCommandOutput | ListPrivateConnectionsCommandOutput | ListRecommendationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTriggersCommandOutput | ListWebhooksCommandOutput | RegisterServiceCommandOutput | SendMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateAssetCommandOutput | UpdateAssetFileCommandOutput | UpdateAssociationCommandOutput | UpdateBacklogTaskCommandOutput | UpdateGoalCommandOutput | UpdateOperatorAppIdpConfigCommandOutput | UpdatePrivateConnectionCertificateCommandOutput | UpdateRecommendationCommandOutput | UpdateTriggerCommandOutput | ValidateAwsAssociationsCommandOutput;
|
|
78
83
|
/**
|
|
79
84
|
* @public
|
|
80
85
|
*/
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
|
|
4
|
+
import type { CreateTriggerRequest, CreateTriggerResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateTriggerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTriggerCommandInput extends CreateTriggerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTriggerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTriggerCommandOutput extends CreateTriggerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateTriggerCommand_base: {
|
|
25
|
+
new (input: CreateTriggerCommandInput): import("@smithy/core/client").CommandImpl<CreateTriggerCommandInput, CreateTriggerCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateTriggerCommandInput): import("@smithy/core/client").CommandImpl<CreateTriggerCommandInput, CreateTriggerCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a new Trigger in the specified agent space</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DevOpsAgentClient, CreateTriggerCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, CreateTriggerCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
|
|
38
|
+
* // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
|
|
39
|
+
* const config = {}; // type is DevOpsAgentClientConfig
|
|
40
|
+
* const client = new DevOpsAgentClient(config);
|
|
41
|
+
* const input = { // CreateTriggerRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* type: "STRING_VALUE", // required
|
|
44
|
+
* condition: { // TriggerCondition Union: only one key present
|
|
45
|
+
* schedule: { // ScheduleCondition
|
|
46
|
+
* expression: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* action: "DOCUMENT_VALUE", // required
|
|
50
|
+
* status: "STRING_VALUE",
|
|
51
|
+
* clientToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
53
|
+
* const command = new CreateTriggerCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // CreateTriggerResponse
|
|
56
|
+
* // trigger: { // Trigger
|
|
57
|
+
* // triggerId: "STRING_VALUE", // required
|
|
58
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
59
|
+
* // type: "STRING_VALUE", // required
|
|
60
|
+
* // condition: { // TriggerCondition Union: only one key present
|
|
61
|
+
* // schedule: { // ScheduleCondition
|
|
62
|
+
* // expression: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // action: "DOCUMENT_VALUE", // required
|
|
66
|
+
* // status: "STRING_VALUE", // required
|
|
67
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param CreateTriggerCommandInput - {@link CreateTriggerCommandInput}
|
|
75
|
+
* @returns {@link CreateTriggerCommandOutput}
|
|
76
|
+
* @see {@link CreateTriggerCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link CreateTriggerCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ConflictException} (client fault)
|
|
84
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
|
+
* <p>The requested resource could not be found.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
99
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
102
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
105
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
108
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class CreateTriggerCommand extends CreateTriggerCommand_base {
|
|
114
|
+
/** @internal type navigation helper, not in runtime. */
|
|
115
|
+
protected static __types: {
|
|
116
|
+
api: {
|
|
117
|
+
input: CreateTriggerRequest;
|
|
118
|
+
output: CreateTriggerResponse;
|
|
119
|
+
};
|
|
120
|
+
sdk: {
|
|
121
|
+
input: CreateTriggerCommandInput;
|
|
122
|
+
output: CreateTriggerCommandOutput;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
|
|
4
|
+
import type { DeleteTriggerRequest, DeleteTriggerResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteTriggerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteTriggerCommandInput extends DeleteTriggerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteTriggerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteTriggerCommandOutput extends DeleteTriggerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteTriggerCommand_base: {
|
|
25
|
+
new (input: DeleteTriggerCommandInput): import("@smithy/core/client").CommandImpl<DeleteTriggerCommandInput, DeleteTriggerCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteTriggerCommandInput): import("@smithy/core/client").CommandImpl<DeleteTriggerCommandInput, DeleteTriggerCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a Trigger from the specified agent space</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DevOpsAgentClient, DeleteTriggerCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, DeleteTriggerCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
|
|
38
|
+
* // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
|
|
39
|
+
* const config = {}; // type is DevOpsAgentClientConfig
|
|
40
|
+
* const client = new DevOpsAgentClient(config);
|
|
41
|
+
* const input = { // DeleteTriggerRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* triggerId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteTriggerCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DeleteTriggerCommandInput - {@link DeleteTriggerCommandInput}
|
|
52
|
+
* @returns {@link DeleteTriggerCommandOutput}
|
|
53
|
+
* @see {@link DeleteTriggerCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DeleteTriggerCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The requested resource could not be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
76
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
79
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class DeleteTriggerCommand extends DeleteTriggerCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: DeleteTriggerRequest;
|
|
95
|
+
output: {};
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: DeleteTriggerCommandInput;
|
|
99
|
+
output: DeleteTriggerCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
|
|
4
|
+
import type { GetTriggerRequest, GetTriggerResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetTriggerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTriggerCommandInput extends GetTriggerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTriggerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTriggerCommandOutput extends GetTriggerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTriggerCommand_base: {
|
|
25
|
+
new (input: GetTriggerCommandInput): import("@smithy/core/client").CommandImpl<GetTriggerCommandInput, GetTriggerCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTriggerCommandInput): import("@smithy/core/client").CommandImpl<GetTriggerCommandInput, GetTriggerCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Gets a Trigger from the specified agent space</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DevOpsAgentClient, GetTriggerCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, GetTriggerCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
|
|
38
|
+
* // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
|
|
39
|
+
* const config = {}; // type is DevOpsAgentClientConfig
|
|
40
|
+
* const client = new DevOpsAgentClient(config);
|
|
41
|
+
* const input = { // GetTriggerRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* triggerId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetTriggerCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetTriggerResponse
|
|
48
|
+
* // trigger: { // Trigger
|
|
49
|
+
* // triggerId: "STRING_VALUE", // required
|
|
50
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
51
|
+
* // type: "STRING_VALUE", // required
|
|
52
|
+
* // condition: { // TriggerCondition Union: only one key present
|
|
53
|
+
* // schedule: { // ScheduleCondition
|
|
54
|
+
* // expression: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // action: "DOCUMENT_VALUE", // required
|
|
58
|
+
* // status: "STRING_VALUE", // required
|
|
59
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param GetTriggerCommandInput - {@link GetTriggerCommandInput}
|
|
67
|
+
* @returns {@link GetTriggerCommandOutput}
|
|
68
|
+
* @see {@link GetTriggerCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link GetTriggerCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The requested resource could not be found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ConflictException} (client fault)
|
|
88
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
91
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
94
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
97
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class GetTriggerCommand extends GetTriggerCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: GetTriggerRequest;
|
|
110
|
+
output: GetTriggerResponse;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: GetTriggerCommandInput;
|
|
114
|
+
output: GetTriggerCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
|
|
4
|
+
import type { ListTriggersRequest, ListTriggersResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTriggersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTriggersCommandInput extends ListTriggersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTriggersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTriggersCommandOutput extends ListTriggersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTriggersCommand_base: {
|
|
25
|
+
new (input: ListTriggersCommandInput): import("@smithy/core/client").CommandImpl<ListTriggersCommandInput, ListTriggersCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTriggersCommandInput): import("@smithy/core/client").CommandImpl<ListTriggersCommandInput, ListTriggersCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists Triggers in the specified agent space</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DevOpsAgentClient, ListTriggersCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, ListTriggersCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
|
|
38
|
+
* // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
|
|
39
|
+
* const config = {}; // type is DevOpsAgentClientConfig
|
|
40
|
+
* const client = new DevOpsAgentClient(config);
|
|
41
|
+
* const input = { // ListTriggersRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* status: "STRING_VALUE",
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* maxResults: Number("int"),
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListTriggersCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListTriggersResponse
|
|
50
|
+
* // items: [ // TriggerList // required
|
|
51
|
+
* // { // Trigger
|
|
52
|
+
* // triggerId: "STRING_VALUE", // required
|
|
53
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
54
|
+
* // type: "STRING_VALUE", // required
|
|
55
|
+
* // condition: { // TriggerCondition Union: only one key present
|
|
56
|
+
* // schedule: { // ScheduleCondition
|
|
57
|
+
* // expression: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // action: "DOCUMENT_VALUE", // required
|
|
61
|
+
* // status: "STRING_VALUE", // required
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // nextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param ListTriggersCommandInput - {@link ListTriggersCommandInput}
|
|
72
|
+
* @returns {@link ListTriggersCommandOutput}
|
|
73
|
+
* @see {@link ListTriggersCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link ListTriggersCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The requested resource could not be found.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ConflictException} (client fault)
|
|
93
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
96
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
99
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
102
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
106
|
+
*
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class ListTriggersCommand extends ListTriggersCommand_base {
|
|
111
|
+
/** @internal type navigation helper, not in runtime. */
|
|
112
|
+
protected static __types: {
|
|
113
|
+
api: {
|
|
114
|
+
input: ListTriggersRequest;
|
|
115
|
+
output: ListTriggersResponse;
|
|
116
|
+
};
|
|
117
|
+
sdk: {
|
|
118
|
+
input: ListTriggersCommandInput;
|
|
119
|
+
output: ListTriggersCommandOutput;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}
|