@aws-sdk/client-devops-agent 3.1066.0 → 3.1068.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.
Files changed (38) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +74 -0
  3. package/dist-cjs/schemas/schemas_0.js +125 -17
  4. package/dist-es/DevOpsAgent.js +12 -0
  5. package/dist-es/commands/CreateTriggerCommand.js +16 -0
  6. package/dist-es/commands/DeleteTriggerCommand.js +16 -0
  7. package/dist-es/commands/GetTriggerCommand.js +16 -0
  8. package/dist-es/commands/ListTriggersCommand.js +16 -0
  9. package/dist-es/commands/UpdateTriggerCommand.js +16 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/pagination/ListTriggersPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +118 -11
  14. package/dist-types/DevOpsAgent.d.ts +42 -0
  15. package/dist-types/DevOpsAgentClient.d.ts +7 -2
  16. package/dist-types/commands/CreateTriggerCommand.d.ts +125 -0
  17. package/dist-types/commands/DeleteTriggerCommand.d.ts +102 -0
  18. package/dist-types/commands/GetTriggerCommand.d.ts +117 -0
  19. package/dist-types/commands/ListTriggersCommand.d.ts +122 -0
  20. package/dist-types/commands/UpdateTriggerCommand.d.ts +119 -0
  21. package/dist-types/commands/index.d.ts +5 -0
  22. package/dist-types/models/models_0.d.ts +255 -0
  23. package/dist-types/pagination/ListTriggersPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +18 -0
  26. package/dist-types/ts3.4/DevOpsAgent.d.ts +92 -0
  27. package/dist-types/ts3.4/DevOpsAgentClient.d.ts +30 -0
  28. package/dist-types/ts3.4/commands/CreateTriggerCommand.d.ts +52 -0
  29. package/dist-types/ts3.4/commands/DeleteTriggerCommand.d.ts +52 -0
  30. package/dist-types/ts3.4/commands/GetTriggerCommand.d.ts +49 -0
  31. package/dist-types/ts3.4/commands/ListTriggersCommand.d.ts +49 -0
  32. package/dist-types/ts3.4/commands/UpdateTriggerCommand.d.ts +52 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +72 -0
  35. package/dist-types/ts3.4/pagination/ListTriggersPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
  38. package/package.json +1 -1
@@ -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
+ }
@@ -0,0 +1,119 @@
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 { UpdateTriggerRequest, UpdateTriggerResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateTriggerCommand}.
14
+ */
15
+ export interface UpdateTriggerCommandInput extends UpdateTriggerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateTriggerCommand}.
21
+ */
22
+ export interface UpdateTriggerCommandOutput extends UpdateTriggerResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateTriggerCommand_base: {
25
+ new (input: UpdateTriggerCommandInput): import("@smithy/core/client").CommandImpl<UpdateTriggerCommandInput, UpdateTriggerCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateTriggerCommandInput): import("@smithy/core/client").CommandImpl<UpdateTriggerCommandInput, UpdateTriggerCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates the status of an existing Trigger</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { DevOpsAgentClient, UpdateTriggerCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
37
+ * // const { DevOpsAgentClient, UpdateTriggerCommand } = 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 = { // UpdateTriggerRequest
42
+ * agentSpaceId: "STRING_VALUE", // required
43
+ * triggerId: "STRING_VALUE", // required
44
+ * status: "STRING_VALUE",
45
+ * clientToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new UpdateTriggerCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateTriggerResponse
50
+ * // trigger: { // Trigger
51
+ * // triggerId: "STRING_VALUE", // required
52
+ * // agentSpaceId: "STRING_VALUE", // required
53
+ * // type: "STRING_VALUE", // required
54
+ * // condition: { // TriggerCondition Union: only one key present
55
+ * // schedule: { // ScheduleCondition
56
+ * // expression: "STRING_VALUE", // required
57
+ * // },
58
+ * // },
59
+ * // action: "DOCUMENT_VALUE", // required
60
+ * // status: "STRING_VALUE", // required
61
+ * // createdAt: new Date("TIMESTAMP"), // required
62
+ * // updatedAt: new Date("TIMESTAMP"), // required
63
+ * // },
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param UpdateTriggerCommandInput - {@link UpdateTriggerCommandInput}
69
+ * @returns {@link UpdateTriggerCommandOutput}
70
+ * @see {@link UpdateTriggerCommandInput} for command's `input` shape.
71
+ * @see {@link UpdateTriggerCommandOutput} for command's `response` shape.
72
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>Access to the requested resource is denied due to insufficient permissions.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The requested resource could not be found.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The request was throttled due to too many requests. Please slow down and try again.</p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
88
+ *
89
+ * @throws {@link ConflictException} (client fault)
90
+ * <p>The request conflicts with the current state of the resource.</p>
91
+ *
92
+ * @throws {@link ContentSizeExceededException} (client fault)
93
+ * <p>This exception is thrown when the content size exceeds the allowed limit.</p>
94
+ *
95
+ * @throws {@link InvalidParameterException} (client fault)
96
+ * <p>One or more parameters provided in the request are invalid.</p>
97
+ *
98
+ * @throws {@link ServiceQuotaExceededException} (client fault)
99
+ * <p>The request would exceed the service quota limit.</p>
100
+ *
101
+ * @throws {@link DevOpsAgentServiceException}
102
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class UpdateTriggerCommand extends UpdateTriggerCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: UpdateTriggerRequest;
112
+ output: UpdateTriggerResponse;
113
+ };
114
+ sdk: {
115
+ input: UpdateTriggerCommandInput;
116
+ output: UpdateTriggerCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -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";