@aws-sdk/client-devops-agent 3.1063.0 → 3.1065.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 +92 -1
- package/dist-cjs/index.js +204 -0
- package/dist-cjs/schemas/schemas_0.js +375 -77
- package/dist-es/DevOpsAgent.js +34 -0
- package/dist-es/commands/CreateAssetCommand.js +16 -0
- package/dist-es/commands/CreateAssetFileCommand.js +16 -0
- package/dist-es/commands/DeleteAssetCommand.js +16 -0
- package/dist-es/commands/DeleteAssetFileCommand.js +16 -0
- package/dist-es/commands/GetAssetCommand.js +16 -0
- package/dist-es/commands/GetAssetContentCommand.js +16 -0
- package/dist-es/commands/GetAssetFileCommand.js +16 -0
- package/dist-es/commands/ListAssetFilesCommand.js +16 -0
- package/dist-es/commands/ListAssetTypesCommand.js +16 -0
- package/dist-es/commands/ListAssetVersionsCommand.js +16 -0
- package/dist-es/commands/ListAssetsCommand.js +16 -0
- package/dist-es/commands/UpdateAssetCommand.js +16 -0
- package/dist-es/commands/UpdateAssetFileCommand.js +16 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/pagination/ListAssetFilesPaginator.js +4 -0
- package/dist-es/pagination/ListAssetTypesPaginator.js +4 -0
- package/dist-es/pagination/ListAssetVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAssetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +369 -71
- package/dist-types/DevOpsAgent.d.ts +121 -1
- package/dist-types/DevOpsAgentClient.d.ts +16 -3
- package/dist-types/commands/CreateAssetCommand.d.ts +126 -0
- package/dist-types/commands/CreateAssetFileCommand.d.ts +121 -0
- package/dist-types/commands/CreateBacklogTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAssetCommand.d.ts +102 -0
- package/dist-types/commands/DeleteAssetFileCommand.d.ts +103 -0
- package/dist-types/commands/DescribePrivateConnectionCommand.d.ts +2 -0
- package/dist-types/commands/EnableOperatorAppCommand.d.ts +1 -0
- package/dist-types/commands/GetAssetCommand.d.ts +112 -0
- package/dist-types/commands/GetAssetContentCommand.d.ts +108 -0
- package/dist-types/commands/GetAssetFileCommand.d.ts +116 -0
- package/dist-types/commands/GetBacklogTaskCommand.d.ts +1 -1
- package/dist-types/commands/GetOperatorAppCommand.d.ts +1 -0
- package/dist-types/commands/GetServiceCommand.d.ts +1 -0
- package/dist-types/commands/ListAssetFilesCommand.d.ts +116 -0
- package/dist-types/commands/ListAssetTypesCommand.d.ts +110 -0
- package/dist-types/commands/ListAssetVersionsCommand.d.ts +113 -0
- package/dist-types/commands/ListAssetsCommand.d.ts +118 -0
- package/dist-types/commands/ListBacklogTasksCommand.d.ts +2 -2
- package/dist-types/commands/ListPrivateConnectionsCommand.d.ts +2 -0
- package/dist-types/commands/ListServicesCommand.d.ts +1 -0
- package/dist-types/commands/RegisterServiceCommand.d.ts +4 -1
- package/dist-types/commands/SendMessageCommand.d.ts +3 -0
- package/dist-types/commands/UpdateAssetCommand.d.ts +126 -0
- package/dist-types/commands/UpdateAssetFileCommand.d.ts +121 -0
- package/dist-types/commands/UpdateBacklogTaskCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePrivateConnectionCertificateCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +22 -0
- package/dist-types/models/models_0.d.ts +879 -27
- package/dist-types/pagination/ListAssetFilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssetTypesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssetVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +48 -0
- package/dist-types/ts3.4/DevOpsAgent.d.ts +250 -0
- package/dist-types/ts3.4/DevOpsAgentClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/CreateAssetFileCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteAssetFileCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/GetAssetCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetAssetContentCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/GetAssetFileCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListAssetFilesCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListAssetTypesCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListAssetVersionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateAssetFileCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +230 -1
- package/dist-types/ts3.4/pagination/ListAssetFilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssetTypesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssetVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -0
- package/package.json +5 -5
|
@@ -0,0 +1,121 @@
|
|
|
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 { UpdateAssetFileRequest, UpdateAssetFileResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateAssetFileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAssetFileCommandInput extends UpdateAssetFileRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAssetFileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAssetFileCommandOutput extends UpdateAssetFileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAssetFileCommand_base: {
|
|
25
|
+
new (input: UpdateAssetFileCommandInput): import("@smithy/core/client").CommandImpl<UpdateAssetFileCommandInput, UpdateAssetFileCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAssetFileCommandInput): import("@smithy/core/client").CommandImpl<UpdateAssetFileCommandInput, UpdateAssetFileCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Updates a file in an asset</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DevOpsAgentClient, UpdateAssetFileCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, UpdateAssetFileCommand } = 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 = { // UpdateAssetFileRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* assetId: "STRING_VALUE", // required
|
|
44
|
+
* path: "STRING_VALUE", // required
|
|
45
|
+
* content: { // AssetFileBody Union: only one key present
|
|
46
|
+
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
47
|
+
* text: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* metadata: "DOCUMENT_VALUE",
|
|
50
|
+
* clientToken: "STRING_VALUE",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new UpdateAssetFileCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // UpdateAssetFileResponse
|
|
55
|
+
* // file: { // AssetFile
|
|
56
|
+
* // path: "STRING_VALUE", // required
|
|
57
|
+
* // content: { // AssetFileBody Union: only one key present
|
|
58
|
+
* // bytes: new Uint8Array(),
|
|
59
|
+
* // text: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // metadata: "DOCUMENT_VALUE",
|
|
62
|
+
* // version: Number("int"), // required
|
|
63
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
65
|
+
* // },
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param UpdateAssetFileCommandInput - {@link UpdateAssetFileCommandInput}
|
|
71
|
+
* @returns {@link UpdateAssetFileCommandOutput}
|
|
72
|
+
* @see {@link UpdateAssetFileCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link UpdateAssetFileCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ConflictException} (client fault)
|
|
80
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
83
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The requested resource could not be found.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
98
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
101
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class UpdateAssetFileCommand extends UpdateAssetFileCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: UpdateAssetFileRequest;
|
|
114
|
+
output: UpdateAssetFileResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: UpdateAssetFileCommandInput;
|
|
118
|
+
output: UpdateAssetFileCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -41,7 +41,7 @@ declare const UpdateBacklogTaskCommand_base: {
|
|
|
41
41
|
* const input = { // UpdateBacklogTaskRequest
|
|
42
42
|
* agentSpaceId: "STRING_VALUE", // required
|
|
43
43
|
* taskId: "STRING_VALUE", // required
|
|
44
|
-
* taskStatus: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED",
|
|
44
|
+
* taskStatus: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED" || "SKIPPED",
|
|
45
45
|
* clientToken: "STRING_VALUE",
|
|
46
46
|
* };
|
|
47
47
|
* const command = new UpdateBacklogTaskCommand(input);
|
|
@@ -62,7 +62,7 @@ declare const UpdateBacklogTaskCommand_base: {
|
|
|
62
62
|
* // },
|
|
63
63
|
* // taskType: "INVESTIGATION" || "EVALUATION", // required
|
|
64
64
|
* // priority: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL", // required
|
|
65
|
-
* // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED", // required
|
|
65
|
+
* // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED" || "SKIPPED", // required
|
|
66
66
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
67
67
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
68
68
|
* // version: Number("int"), // required
|
|
@@ -53,6 +53,8 @@ declare const UpdatePrivateConnectionCertificateCommand_base: {
|
|
|
53
53
|
* // resourceConfigurationId: "STRING_VALUE",
|
|
54
54
|
* // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
|
|
55
55
|
* // certificateExpiryTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // dnsResolution: "PUBLIC" || "IN_VPC",
|
|
57
|
+
* // failureMessage: "STRING_VALUE",
|
|
56
58
|
* // };
|
|
57
59
|
*
|
|
58
60
|
* ```
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export * from "./AssociateServiceCommand";
|
|
2
2
|
export * from "./CreateAgentSpaceCommand";
|
|
3
|
+
export * from "./CreateAssetCommand";
|
|
4
|
+
export * from "./CreateAssetFileCommand";
|
|
3
5
|
export * from "./CreateBacklogTaskCommand";
|
|
4
6
|
export * from "./CreateChatCommand";
|
|
5
7
|
export * from "./CreatePrivateConnectionCommand";
|
|
6
8
|
export * from "./DeleteAgentSpaceCommand";
|
|
9
|
+
export * from "./DeleteAssetCommand";
|
|
10
|
+
export * from "./DeleteAssetFileCommand";
|
|
7
11
|
export * from "./DeletePrivateConnectionCommand";
|
|
8
12
|
export * from "./DeregisterServiceCommand";
|
|
9
13
|
export * from "./DescribePrivateConnectionCommand";
|
|
@@ -12,12 +16,19 @@ export * from "./DisassociateServiceCommand";
|
|
|
12
16
|
export * from "./EnableOperatorAppCommand";
|
|
13
17
|
export * from "./GetAccountUsageCommand";
|
|
14
18
|
export * from "./GetAgentSpaceCommand";
|
|
19
|
+
export * from "./GetAssetCommand";
|
|
20
|
+
export * from "./GetAssetContentCommand";
|
|
21
|
+
export * from "./GetAssetFileCommand";
|
|
15
22
|
export * from "./GetAssociationCommand";
|
|
16
23
|
export * from "./GetBacklogTaskCommand";
|
|
17
24
|
export * from "./GetOperatorAppCommand";
|
|
18
25
|
export * from "./GetRecommendationCommand";
|
|
19
26
|
export * from "./GetServiceCommand";
|
|
20
27
|
export * from "./ListAgentSpacesCommand";
|
|
28
|
+
export * from "./ListAssetFilesCommand";
|
|
29
|
+
export * from "./ListAssetTypesCommand";
|
|
30
|
+
export * from "./ListAssetVersionsCommand";
|
|
31
|
+
export * from "./ListAssetsCommand";
|
|
21
32
|
export * from "./ListAssociationsCommand";
|
|
22
33
|
export * from "./ListBacklogTasksCommand";
|
|
23
34
|
export * from "./ListChatsCommand";
|
|
@@ -35,6 +46,8 @@ export * from "./SendMessageCommand";
|
|
|
35
46
|
export * from "./TagResourceCommand";
|
|
36
47
|
export * from "./UntagResourceCommand";
|
|
37
48
|
export * from "./UpdateAgentSpaceCommand";
|
|
49
|
+
export * from "./UpdateAssetCommand";
|
|
50
|
+
export * from "./UpdateAssetFileCommand";
|
|
38
51
|
export * from "./UpdateAssociationCommand";
|
|
39
52
|
export * from "./UpdateBacklogTaskCommand";
|
|
40
53
|
export * from "./UpdateGoalCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <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
|
|
2
|
+
* <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>
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -255,6 +255,10 @@ export declare const TaskStatus: {
|
|
|
255
255
|
* <p>Task is awaiting triage analysis</p>
|
|
256
256
|
*/
|
|
257
257
|
readonly PENDING_TRIAGE: "PENDING_TRIAGE";
|
|
258
|
+
/**
|
|
259
|
+
* <p>Task has been skipped by triage</p>
|
|
260
|
+
*/
|
|
261
|
+
readonly SKIPPED: "SKIPPED";
|
|
258
262
|
/**
|
|
259
263
|
* <p>Task has exceeded its time limit</p>
|
|
260
264
|
*/
|
|
@@ -286,6 +290,24 @@ export declare const UserType: {
|
|
|
286
290
|
* @public
|
|
287
291
|
*/
|
|
288
292
|
export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
* @enum
|
|
296
|
+
*/
|
|
297
|
+
export declare const ResourceConfigDnsResolution: {
|
|
298
|
+
/**
|
|
299
|
+
* <p>Enable private DNS resolution within VPC for resources behind this resource gateway.</p>
|
|
300
|
+
*/
|
|
301
|
+
readonly IN_VPC: "IN_VPC";
|
|
302
|
+
/**
|
|
303
|
+
* <p>Use public DNS resolution for resources behind this resource gateway.</p>
|
|
304
|
+
*/
|
|
305
|
+
readonly PUBLIC: "PUBLIC";
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
export type ResourceConfigDnsResolution = (typeof ResourceConfigDnsResolution)[keyof typeof ResourceConfigDnsResolution];
|
|
289
311
|
/**
|
|
290
312
|
* @public
|
|
291
313
|
* @enum
|