@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
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type AssociateServiceCommandInput, type AssociateServiceCommandOutput } from "./commands/AssociateServiceCommand";
|
|
3
3
|
import { type CreateAgentSpaceCommandInput, type CreateAgentSpaceCommandOutput } from "./commands/CreateAgentSpaceCommand";
|
|
4
|
+
import { type CreateAssetCommandInput, type CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
|
|
5
|
+
import { type CreateAssetFileCommandInput, type CreateAssetFileCommandOutput } from "./commands/CreateAssetFileCommand";
|
|
4
6
|
import { type CreateBacklogTaskCommandInput, type CreateBacklogTaskCommandOutput } from "./commands/CreateBacklogTaskCommand";
|
|
5
7
|
import { type CreateChatCommandInput, type CreateChatCommandOutput } from "./commands/CreateChatCommand";
|
|
6
8
|
import { type CreatePrivateConnectionCommandInput, type CreatePrivateConnectionCommandOutput } from "./commands/CreatePrivateConnectionCommand";
|
|
7
9
|
import { type DeleteAgentSpaceCommandInput, type DeleteAgentSpaceCommandOutput } from "./commands/DeleteAgentSpaceCommand";
|
|
10
|
+
import { type DeleteAssetCommandInput, type DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
11
|
+
import { type DeleteAssetFileCommandInput, type DeleteAssetFileCommandOutput } from "./commands/DeleteAssetFileCommand";
|
|
8
12
|
import { type DeletePrivateConnectionCommandInput, type DeletePrivateConnectionCommandOutput } from "./commands/DeletePrivateConnectionCommand";
|
|
9
13
|
import { type DeregisterServiceCommandInput, type DeregisterServiceCommandOutput } from "./commands/DeregisterServiceCommand";
|
|
10
14
|
import { type DescribePrivateConnectionCommandInput, type DescribePrivateConnectionCommandOutput } from "./commands/DescribePrivateConnectionCommand";
|
|
@@ -13,12 +17,19 @@ import { type DisassociateServiceCommandInput, type DisassociateServiceCommandOu
|
|
|
13
17
|
import { type EnableOperatorAppCommandInput, type EnableOperatorAppCommandOutput } from "./commands/EnableOperatorAppCommand";
|
|
14
18
|
import { type GetAccountUsageCommandInput, type GetAccountUsageCommandOutput } from "./commands/GetAccountUsageCommand";
|
|
15
19
|
import { type GetAgentSpaceCommandInput, type GetAgentSpaceCommandOutput } from "./commands/GetAgentSpaceCommand";
|
|
20
|
+
import { type GetAssetCommandInput, type GetAssetCommandOutput } from "./commands/GetAssetCommand";
|
|
21
|
+
import { type GetAssetContentCommandInput, type GetAssetContentCommandOutput } from "./commands/GetAssetContentCommand";
|
|
22
|
+
import { type GetAssetFileCommandInput, type GetAssetFileCommandOutput } from "./commands/GetAssetFileCommand";
|
|
16
23
|
import { type GetAssociationCommandInput, type GetAssociationCommandOutput } from "./commands/GetAssociationCommand";
|
|
17
24
|
import { type GetBacklogTaskCommandInput, type GetBacklogTaskCommandOutput } from "./commands/GetBacklogTaskCommand";
|
|
18
25
|
import { type GetOperatorAppCommandInput, type GetOperatorAppCommandOutput } from "./commands/GetOperatorAppCommand";
|
|
19
26
|
import { type GetRecommendationCommandInput, type GetRecommendationCommandOutput } from "./commands/GetRecommendationCommand";
|
|
20
27
|
import { type GetServiceCommandInput, type GetServiceCommandOutput } from "./commands/GetServiceCommand";
|
|
21
28
|
import { type ListAgentSpacesCommandInput, type ListAgentSpacesCommandOutput } from "./commands/ListAgentSpacesCommand";
|
|
29
|
+
import { type ListAssetFilesCommandInput, type ListAssetFilesCommandOutput } from "./commands/ListAssetFilesCommand";
|
|
30
|
+
import { type ListAssetsCommandInput, type ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
31
|
+
import { type ListAssetTypesCommandInput, type ListAssetTypesCommandOutput } from "./commands/ListAssetTypesCommand";
|
|
32
|
+
import { type ListAssetVersionsCommandInput, type ListAssetVersionsCommandOutput } from "./commands/ListAssetVersionsCommand";
|
|
22
33
|
import { type ListAssociationsCommandInput, type ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand";
|
|
23
34
|
import { type ListBacklogTasksCommandInput, type ListBacklogTasksCommandOutput } from "./commands/ListBacklogTasksCommand";
|
|
24
35
|
import { type ListChatsCommandInput, type ListChatsCommandOutput } from "./commands/ListChatsCommand";
|
|
@@ -36,6 +47,8 @@ import { type SendMessageCommandInput, type SendMessageCommandOutput } from "./c
|
|
|
36
47
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
37
48
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
38
49
|
import { type UpdateAgentSpaceCommandInput, type UpdateAgentSpaceCommandOutput } from "./commands/UpdateAgentSpaceCommand";
|
|
50
|
+
import { type UpdateAssetCommandInput, type UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
|
|
51
|
+
import { type UpdateAssetFileCommandInput, type UpdateAssetFileCommandOutput } from "./commands/UpdateAssetFileCommand";
|
|
39
52
|
import { type UpdateAssociationCommandInput, type UpdateAssociationCommandOutput } from "./commands/UpdateAssociationCommand";
|
|
40
53
|
import { type UpdateBacklogTaskCommandInput, type UpdateBacklogTaskCommandOutput } from "./commands/UpdateBacklogTaskCommand";
|
|
41
54
|
import { type UpdateGoalCommandInput, type UpdateGoalCommandOutput } from "./commands/UpdateGoalCommand";
|
|
@@ -57,6 +70,18 @@ export interface DevOpsAgent {
|
|
|
57
70
|
createAgentSpace(args: CreateAgentSpaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentSpaceCommandOutput>;
|
|
58
71
|
createAgentSpace(args: CreateAgentSpaceCommandInput, cb: (err: any, data?: CreateAgentSpaceCommandOutput) => void): void;
|
|
59
72
|
createAgentSpace(args: CreateAgentSpaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentSpaceCommandOutput) => void): void;
|
|
73
|
+
/**
|
|
74
|
+
* @see {@link CreateAssetCommand}
|
|
75
|
+
*/
|
|
76
|
+
createAsset(args: CreateAssetCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssetCommandOutput>;
|
|
77
|
+
createAsset(args: CreateAssetCommandInput, cb: (err: any, data?: CreateAssetCommandOutput) => void): void;
|
|
78
|
+
createAsset(args: CreateAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssetCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link CreateAssetFileCommand}
|
|
81
|
+
*/
|
|
82
|
+
createAssetFile(args: CreateAssetFileCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssetFileCommandOutput>;
|
|
83
|
+
createAssetFile(args: CreateAssetFileCommandInput, cb: (err: any, data?: CreateAssetFileCommandOutput) => void): void;
|
|
84
|
+
createAssetFile(args: CreateAssetFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssetFileCommandOutput) => void): void;
|
|
60
85
|
/**
|
|
61
86
|
* @see {@link CreateBacklogTaskCommand}
|
|
62
87
|
*/
|
|
@@ -81,6 +106,18 @@ export interface DevOpsAgent {
|
|
|
81
106
|
deleteAgentSpace(args: DeleteAgentSpaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentSpaceCommandOutput>;
|
|
82
107
|
deleteAgentSpace(args: DeleteAgentSpaceCommandInput, cb: (err: any, data?: DeleteAgentSpaceCommandOutput) => void): void;
|
|
83
108
|
deleteAgentSpace(args: DeleteAgentSpaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentSpaceCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link DeleteAssetCommand}
|
|
111
|
+
*/
|
|
112
|
+
deleteAsset(args: DeleteAssetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssetCommandOutput>;
|
|
113
|
+
deleteAsset(args: DeleteAssetCommandInput, cb: (err: any, data?: DeleteAssetCommandOutput) => void): void;
|
|
114
|
+
deleteAsset(args: DeleteAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssetCommandOutput) => void): void;
|
|
115
|
+
/**
|
|
116
|
+
* @see {@link DeleteAssetFileCommand}
|
|
117
|
+
*/
|
|
118
|
+
deleteAssetFile(args: DeleteAssetFileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssetFileCommandOutput>;
|
|
119
|
+
deleteAssetFile(args: DeleteAssetFileCommandInput, cb: (err: any, data?: DeleteAssetFileCommandOutput) => void): void;
|
|
120
|
+
deleteAssetFile(args: DeleteAssetFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssetFileCommandOutput) => void): void;
|
|
84
121
|
/**
|
|
85
122
|
* @see {@link DeletePrivateConnectionCommand}
|
|
86
123
|
*/
|
|
@@ -130,6 +167,24 @@ export interface DevOpsAgent {
|
|
|
130
167
|
getAgentSpace(args: GetAgentSpaceCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentSpaceCommandOutput>;
|
|
131
168
|
getAgentSpace(args: GetAgentSpaceCommandInput, cb: (err: any, data?: GetAgentSpaceCommandOutput) => void): void;
|
|
132
169
|
getAgentSpace(args: GetAgentSpaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentSpaceCommandOutput) => void): void;
|
|
170
|
+
/**
|
|
171
|
+
* @see {@link GetAssetCommand}
|
|
172
|
+
*/
|
|
173
|
+
getAsset(args: GetAssetCommandInput, options?: __HttpHandlerOptions): Promise<GetAssetCommandOutput>;
|
|
174
|
+
getAsset(args: GetAssetCommandInput, cb: (err: any, data?: GetAssetCommandOutput) => void): void;
|
|
175
|
+
getAsset(args: GetAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssetCommandOutput) => void): void;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link GetAssetContentCommand}
|
|
178
|
+
*/
|
|
179
|
+
getAssetContent(args: GetAssetContentCommandInput, options?: __HttpHandlerOptions): Promise<GetAssetContentCommandOutput>;
|
|
180
|
+
getAssetContent(args: GetAssetContentCommandInput, cb: (err: any, data?: GetAssetContentCommandOutput) => void): void;
|
|
181
|
+
getAssetContent(args: GetAssetContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssetContentCommandOutput) => void): void;
|
|
182
|
+
/**
|
|
183
|
+
* @see {@link GetAssetFileCommand}
|
|
184
|
+
*/
|
|
185
|
+
getAssetFile(args: GetAssetFileCommandInput, options?: __HttpHandlerOptions): Promise<GetAssetFileCommandOutput>;
|
|
186
|
+
getAssetFile(args: GetAssetFileCommandInput, cb: (err: any, data?: GetAssetFileCommandOutput) => void): void;
|
|
187
|
+
getAssetFile(args: GetAssetFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssetFileCommandOutput) => void): void;
|
|
133
188
|
/**
|
|
134
189
|
* @see {@link GetAssociationCommand}
|
|
135
190
|
*/
|
|
@@ -167,6 +222,31 @@ export interface DevOpsAgent {
|
|
|
167
222
|
listAgentSpaces(args: ListAgentSpacesCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentSpacesCommandOutput>;
|
|
168
223
|
listAgentSpaces(args: ListAgentSpacesCommandInput, cb: (err: any, data?: ListAgentSpacesCommandOutput) => void): void;
|
|
169
224
|
listAgentSpaces(args: ListAgentSpacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentSpacesCommandOutput) => void): void;
|
|
225
|
+
/**
|
|
226
|
+
* @see {@link ListAssetFilesCommand}
|
|
227
|
+
*/
|
|
228
|
+
listAssetFiles(args: ListAssetFilesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetFilesCommandOutput>;
|
|
229
|
+
listAssetFiles(args: ListAssetFilesCommandInput, cb: (err: any, data?: ListAssetFilesCommandOutput) => void): void;
|
|
230
|
+
listAssetFiles(args: ListAssetFilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetFilesCommandOutput) => void): void;
|
|
231
|
+
/**
|
|
232
|
+
* @see {@link ListAssetsCommand}
|
|
233
|
+
*/
|
|
234
|
+
listAssets(args: ListAssetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetsCommandOutput>;
|
|
235
|
+
listAssets(args: ListAssetsCommandInput, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
|
|
236
|
+
listAssets(args: ListAssetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
|
|
237
|
+
/**
|
|
238
|
+
* @see {@link ListAssetTypesCommand}
|
|
239
|
+
*/
|
|
240
|
+
listAssetTypes(): Promise<ListAssetTypesCommandOutput>;
|
|
241
|
+
listAssetTypes(args: ListAssetTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetTypesCommandOutput>;
|
|
242
|
+
listAssetTypes(args: ListAssetTypesCommandInput, cb: (err: any, data?: ListAssetTypesCommandOutput) => void): void;
|
|
243
|
+
listAssetTypes(args: ListAssetTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetTypesCommandOutput) => void): void;
|
|
244
|
+
/**
|
|
245
|
+
* @see {@link ListAssetVersionsCommand}
|
|
246
|
+
*/
|
|
247
|
+
listAssetVersions(args: ListAssetVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetVersionsCommandOutput>;
|
|
248
|
+
listAssetVersions(args: ListAssetVersionsCommandInput, cb: (err: any, data?: ListAssetVersionsCommandOutput) => void): void;
|
|
249
|
+
listAssetVersions(args: ListAssetVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetVersionsCommandOutput) => void): void;
|
|
170
250
|
/**
|
|
171
251
|
* @see {@link ListAssociationsCommand}
|
|
172
252
|
*/
|
|
@@ -271,6 +351,18 @@ export interface DevOpsAgent {
|
|
|
271
351
|
updateAgentSpace(args: UpdateAgentSpaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentSpaceCommandOutput>;
|
|
272
352
|
updateAgentSpace(args: UpdateAgentSpaceCommandInput, cb: (err: any, data?: UpdateAgentSpaceCommandOutput) => void): void;
|
|
273
353
|
updateAgentSpace(args: UpdateAgentSpaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentSpaceCommandOutput) => void): void;
|
|
354
|
+
/**
|
|
355
|
+
* @see {@link UpdateAssetCommand}
|
|
356
|
+
*/
|
|
357
|
+
updateAsset(args: UpdateAssetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAssetCommandOutput>;
|
|
358
|
+
updateAsset(args: UpdateAssetCommandInput, cb: (err: any, data?: UpdateAssetCommandOutput) => void): void;
|
|
359
|
+
updateAsset(args: UpdateAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssetCommandOutput) => void): void;
|
|
360
|
+
/**
|
|
361
|
+
* @see {@link UpdateAssetFileCommand}
|
|
362
|
+
*/
|
|
363
|
+
updateAssetFile(args: UpdateAssetFileCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAssetFileCommandOutput>;
|
|
364
|
+
updateAssetFile(args: UpdateAssetFileCommandInput, cb: (err: any, data?: UpdateAssetFileCommandOutput) => void): void;
|
|
365
|
+
updateAssetFile(args: UpdateAssetFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssetFileCommandOutput) => void): void;
|
|
274
366
|
/**
|
|
275
367
|
* @see {@link UpdateAssociationCommand}
|
|
276
368
|
*/
|
|
@@ -320,6 +412,34 @@ export interface DevOpsAgent {
|
|
|
320
412
|
* @returns AsyncIterable of {@link ListAgentSpacesCommandOutput}.
|
|
321
413
|
*/
|
|
322
414
|
paginateListAgentSpaces(args?: ListAgentSpacesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAgentSpacesCommandOutput>;
|
|
415
|
+
/**
|
|
416
|
+
* @see {@link ListAssetFilesCommand}
|
|
417
|
+
* @param args - command input.
|
|
418
|
+
* @param paginationConfig - optional pagination config.
|
|
419
|
+
* @returns AsyncIterable of {@link ListAssetFilesCommandOutput}.
|
|
420
|
+
*/
|
|
421
|
+
paginateListAssetFiles(args: ListAssetFilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssetFilesCommandOutput>;
|
|
422
|
+
/**
|
|
423
|
+
* @see {@link ListAssetsCommand}
|
|
424
|
+
* @param args - command input.
|
|
425
|
+
* @param paginationConfig - optional pagination config.
|
|
426
|
+
* @returns AsyncIterable of {@link ListAssetsCommandOutput}.
|
|
427
|
+
*/
|
|
428
|
+
paginateListAssets(args: ListAssetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssetsCommandOutput>;
|
|
429
|
+
/**
|
|
430
|
+
* @see {@link ListAssetTypesCommand}
|
|
431
|
+
* @param args - command input.
|
|
432
|
+
* @param paginationConfig - optional pagination config.
|
|
433
|
+
* @returns AsyncIterable of {@link ListAssetTypesCommandOutput}.
|
|
434
|
+
*/
|
|
435
|
+
paginateListAssetTypes(args?: ListAssetTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssetTypesCommandOutput>;
|
|
436
|
+
/**
|
|
437
|
+
* @see {@link ListAssetVersionsCommand}
|
|
438
|
+
* @param args - command input.
|
|
439
|
+
* @param paginationConfig - optional pagination config.
|
|
440
|
+
* @returns AsyncIterable of {@link ListAssetVersionsCommandOutput}.
|
|
441
|
+
*/
|
|
442
|
+
paginateListAssetVersions(args: ListAssetVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssetVersionsCommandOutput>;
|
|
323
443
|
/**
|
|
324
444
|
* @see {@link ListAssociationsCommand}
|
|
325
445
|
* @param args - command input.
|
|
@@ -364,7 +484,7 @@ export interface DevOpsAgent {
|
|
|
364
484
|
paginateListServices(args?: ListServicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServicesCommandOutput>;
|
|
365
485
|
}
|
|
366
486
|
/**
|
|
367
|
-
* <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
|
|
487
|
+
* <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>
|
|
368
488
|
* @public
|
|
369
489
|
*/
|
|
370
490
|
export declare class DevOpsAgent extends DevOpsAgentClient implements DevOpsAgent {
|
|
@@ -9,10 +9,14 @@ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengt
|
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { AssociateServiceCommandInput, AssociateServiceCommandOutput } from "./commands/AssociateServiceCommand";
|
|
11
11
|
import type { CreateAgentSpaceCommandInput, CreateAgentSpaceCommandOutput } from "./commands/CreateAgentSpaceCommand";
|
|
12
|
+
import type { CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
|
|
13
|
+
import type { CreateAssetFileCommandInput, CreateAssetFileCommandOutput } from "./commands/CreateAssetFileCommand";
|
|
12
14
|
import type { CreateBacklogTaskCommandInput, CreateBacklogTaskCommandOutput } from "./commands/CreateBacklogTaskCommand";
|
|
13
15
|
import type { CreateChatCommandInput, CreateChatCommandOutput } from "./commands/CreateChatCommand";
|
|
14
16
|
import type { CreatePrivateConnectionCommandInput, CreatePrivateConnectionCommandOutput } from "./commands/CreatePrivateConnectionCommand";
|
|
15
17
|
import type { DeleteAgentSpaceCommandInput, DeleteAgentSpaceCommandOutput } from "./commands/DeleteAgentSpaceCommand";
|
|
18
|
+
import type { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
19
|
+
import type { DeleteAssetFileCommandInput, DeleteAssetFileCommandOutput } from "./commands/DeleteAssetFileCommand";
|
|
16
20
|
import type { DeletePrivateConnectionCommandInput, DeletePrivateConnectionCommandOutput } from "./commands/DeletePrivateConnectionCommand";
|
|
17
21
|
import type { DeregisterServiceCommandInput, DeregisterServiceCommandOutput } from "./commands/DeregisterServiceCommand";
|
|
18
22
|
import type { DescribePrivateConnectionCommandInput, DescribePrivateConnectionCommandOutput } from "./commands/DescribePrivateConnectionCommand";
|
|
@@ -21,12 +25,19 @@ import type { DisassociateServiceCommandInput, DisassociateServiceCommandOutput
|
|
|
21
25
|
import type { EnableOperatorAppCommandInput, EnableOperatorAppCommandOutput } from "./commands/EnableOperatorAppCommand";
|
|
22
26
|
import type { GetAccountUsageCommandInput, GetAccountUsageCommandOutput } from "./commands/GetAccountUsageCommand";
|
|
23
27
|
import type { GetAgentSpaceCommandInput, GetAgentSpaceCommandOutput } from "./commands/GetAgentSpaceCommand";
|
|
28
|
+
import type { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
|
|
29
|
+
import type { GetAssetContentCommandInput, GetAssetContentCommandOutput } from "./commands/GetAssetContentCommand";
|
|
30
|
+
import type { GetAssetFileCommandInput, GetAssetFileCommandOutput } from "./commands/GetAssetFileCommand";
|
|
24
31
|
import type { GetAssociationCommandInput, GetAssociationCommandOutput } from "./commands/GetAssociationCommand";
|
|
25
32
|
import type { GetBacklogTaskCommandInput, GetBacklogTaskCommandOutput } from "./commands/GetBacklogTaskCommand";
|
|
26
33
|
import type { GetOperatorAppCommandInput, GetOperatorAppCommandOutput } from "./commands/GetOperatorAppCommand";
|
|
27
34
|
import type { GetRecommendationCommandInput, GetRecommendationCommandOutput } from "./commands/GetRecommendationCommand";
|
|
28
35
|
import type { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
|
|
29
36
|
import type { ListAgentSpacesCommandInput, ListAgentSpacesCommandOutput } from "./commands/ListAgentSpacesCommand";
|
|
37
|
+
import type { ListAssetFilesCommandInput, ListAssetFilesCommandOutput } from "./commands/ListAssetFilesCommand";
|
|
38
|
+
import type { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
39
|
+
import type { ListAssetTypesCommandInput, ListAssetTypesCommandOutput } from "./commands/ListAssetTypesCommand";
|
|
40
|
+
import type { ListAssetVersionsCommandInput, ListAssetVersionsCommandOutput } from "./commands/ListAssetVersionsCommand";
|
|
30
41
|
import type { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand";
|
|
31
42
|
import type { ListBacklogTasksCommandInput, ListBacklogTasksCommandOutput } from "./commands/ListBacklogTasksCommand";
|
|
32
43
|
import type { ListChatsCommandInput, ListChatsCommandOutput } from "./commands/ListChatsCommand";
|
|
@@ -44,6 +55,8 @@ import type { SendMessageCommandInput, SendMessageCommandOutput } from "./comman
|
|
|
44
55
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
45
56
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
46
57
|
import type { UpdateAgentSpaceCommandInput, UpdateAgentSpaceCommandOutput } from "./commands/UpdateAgentSpaceCommand";
|
|
58
|
+
import type { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
|
|
59
|
+
import type { UpdateAssetFileCommandInput, UpdateAssetFileCommandOutput } from "./commands/UpdateAssetFileCommand";
|
|
47
60
|
import type { UpdateAssociationCommandInput, UpdateAssociationCommandOutput } from "./commands/UpdateAssociationCommand";
|
|
48
61
|
import type { UpdateBacklogTaskCommandInput, UpdateBacklogTaskCommandOutput } from "./commands/UpdateBacklogTaskCommand";
|
|
49
62
|
import type { UpdateGoalCommandInput, UpdateGoalCommandOutput } from "./commands/UpdateGoalCommand";
|
|
@@ -57,11 +70,11 @@ export { __Client };
|
|
|
57
70
|
/**
|
|
58
71
|
* @public
|
|
59
72
|
*/
|
|
60
|
-
export type ServiceInputTypes = AssociateServiceCommandInput | CreateAgentSpaceCommandInput | CreateBacklogTaskCommandInput | CreateChatCommandInput | CreatePrivateConnectionCommandInput | DeleteAgentSpaceCommandInput | DeletePrivateConnectionCommandInput | DeregisterServiceCommandInput | DescribePrivateConnectionCommandInput | DisableOperatorAppCommandInput | DisassociateServiceCommandInput | EnableOperatorAppCommandInput | GetAccountUsageCommandInput | GetAgentSpaceCommandInput | GetAssociationCommandInput | GetBacklogTaskCommandInput | GetOperatorAppCommandInput | GetRecommendationCommandInput | GetServiceCommandInput | ListAgentSpacesCommandInput | ListAssociationsCommandInput | ListBacklogTasksCommandInput | ListChatsCommandInput | ListExecutionsCommandInput | ListGoalsCommandInput | ListJournalRecordsCommandInput | ListPendingMessagesCommandInput | ListPrivateConnectionsCommandInput | ListRecommendationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | RegisterServiceCommandInput | SendMessageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateAssociationCommandInput | UpdateBacklogTaskCommandInput | UpdateGoalCommandInput | UpdateOperatorAppIdpConfigCommandInput | UpdatePrivateConnectionCertificateCommandInput | UpdateRecommendationCommandInput | ValidateAwsAssociationsCommandInput;
|
|
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;
|
|
61
74
|
/**
|
|
62
75
|
* @public
|
|
63
76
|
*/
|
|
64
|
-
export type ServiceOutputTypes = AssociateServiceCommandOutput | CreateAgentSpaceCommandOutput | CreateBacklogTaskCommandOutput | CreateChatCommandOutput | CreatePrivateConnectionCommandOutput | DeleteAgentSpaceCommandOutput | DeletePrivateConnectionCommandOutput | DeregisterServiceCommandOutput | DescribePrivateConnectionCommandOutput | DisableOperatorAppCommandOutput | DisassociateServiceCommandOutput | EnableOperatorAppCommandOutput | GetAccountUsageCommandOutput | GetAgentSpaceCommandOutput | GetAssociationCommandOutput | GetBacklogTaskCommandOutput | GetOperatorAppCommandOutput | GetRecommendationCommandOutput | GetServiceCommandOutput | ListAgentSpacesCommandOutput | ListAssociationsCommandOutput | ListBacklogTasksCommandOutput | ListChatsCommandOutput | ListExecutionsCommandOutput | ListGoalsCommandOutput | ListJournalRecordsCommandOutput | ListPendingMessagesCommandOutput | ListPrivateConnectionsCommandOutput | ListRecommendationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | RegisterServiceCommandOutput | SendMessageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateAssociationCommandOutput | UpdateBacklogTaskCommandOutput | UpdateGoalCommandOutput | UpdateOperatorAppIdpConfigCommandOutput | UpdatePrivateConnectionCertificateCommandOutput | UpdateRecommendationCommandOutput | ValidateAwsAssociationsCommandOutput;
|
|
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;
|
|
65
78
|
/**
|
|
66
79
|
* @public
|
|
67
80
|
*/
|
|
@@ -217,7 +230,7 @@ export type DevOpsAgentClientResolvedConfigType = __SmithyResolvedConfiguration<
|
|
|
217
230
|
export interface DevOpsAgentClientResolvedConfig extends DevOpsAgentClientResolvedConfigType {
|
|
218
231
|
}
|
|
219
232
|
/**
|
|
220
|
-
* <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
|
|
233
|
+
* <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>
|
|
221
234
|
* @public
|
|
222
235
|
*/
|
|
223
236
|
export declare class DevOpsAgentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DevOpsAgentClientResolvedConfig> {
|
|
@@ -0,0 +1,126 @@
|
|
|
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 { CreateAssetRequest, CreateAssetResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateAssetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAssetCommandInput extends CreateAssetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAssetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAssetCommandOutput extends CreateAssetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAssetCommand_base: {
|
|
25
|
+
new (input: CreateAssetCommandInput): import("@smithy/core/client").CommandImpl<CreateAssetCommandInput, CreateAssetCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAssetCommandInput): import("@smithy/core/client").CommandImpl<CreateAssetCommandInput, CreateAssetCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a new asset 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, CreateAssetCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, CreateAssetCommand } = 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 = { // CreateAssetRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* assetType: "STRING_VALUE", // required
|
|
44
|
+
* metadata: "DOCUMENT_VALUE",
|
|
45
|
+
* content: { // AssetContent Union: only one key present
|
|
46
|
+
* file: { // AssetFileContent
|
|
47
|
+
* path: "STRING_VALUE", // required
|
|
48
|
+
* body: { // AssetFileBody Union: only one key present
|
|
49
|
+
* bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
50
|
+
* text: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* metadata: "DOCUMENT_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* zip: { // AssetZipContent
|
|
55
|
+
* zipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* clientToken: "STRING_VALUE",
|
|
59
|
+
* };
|
|
60
|
+
* const command = new CreateAssetCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // CreateAssetResponse
|
|
63
|
+
* // asset: { // Asset
|
|
64
|
+
* // assetId: "STRING_VALUE", // required
|
|
65
|
+
* // assetType: "STRING_VALUE", // required
|
|
66
|
+
* // metadata: "DOCUMENT_VALUE", // required
|
|
67
|
+
* // version: Number("int"), // required
|
|
68
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param CreateAssetCommandInput - {@link CreateAssetCommandInput}
|
|
76
|
+
* @returns {@link CreateAssetCommandOutput}
|
|
77
|
+
* @see {@link CreateAssetCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link CreateAssetCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
97
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
100
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
103
|
+
* <p>The requested resource could not be found.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
106
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
110
|
+
*
|
|
111
|
+
*
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class CreateAssetCommand extends CreateAssetCommand_base {
|
|
115
|
+
/** @internal type navigation helper, not in runtime. */
|
|
116
|
+
protected static __types: {
|
|
117
|
+
api: {
|
|
118
|
+
input: CreateAssetRequest;
|
|
119
|
+
output: CreateAssetResponse;
|
|
120
|
+
};
|
|
121
|
+
sdk: {
|
|
122
|
+
input: CreateAssetCommandInput;
|
|
123
|
+
output: CreateAssetCommandOutput;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -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 { CreateAssetFileRequest, CreateAssetFileResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateAssetFileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAssetFileCommandInput extends CreateAssetFileRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAssetFileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAssetFileCommandOutput extends CreateAssetFileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAssetFileCommand_base: {
|
|
25
|
+
new (input: CreateAssetFileCommandInput): import("@smithy/core/client").CommandImpl<CreateAssetFileCommandInput, CreateAssetFileCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAssetFileCommandInput): import("@smithy/core/client").CommandImpl<CreateAssetFileCommandInput, CreateAssetFileCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates 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, CreateAssetFileCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, CreateAssetFileCommand } = 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 = { // CreateAssetFileRequest
|
|
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 CreateAssetFileCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // CreateAssetFileResponse
|
|
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 CreateAssetFileCommandInput - {@link CreateAssetFileCommandInput}
|
|
71
|
+
* @returns {@link CreateAssetFileCommandOutput}
|
|
72
|
+
* @see {@link CreateAssetFileCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link CreateAssetFileCommandOutput} 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 CreateAssetFileCommand extends CreateAssetFileCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: CreateAssetFileRequest;
|
|
114
|
+
output: CreateAssetFileResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: CreateAssetFileCommandInput;
|
|
118
|
+
output: CreateAssetFileCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -71,7 +71,7 @@ declare const CreateBacklogTaskCommand_base: {
|
|
|
71
71
|
* // },
|
|
72
72
|
* // taskType: "INVESTIGATION" || "EVALUATION", // required
|
|
73
73
|
* // priority: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL", // required
|
|
74
|
-
* // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED", // required
|
|
74
|
+
* // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED" || "SKIPPED", // required
|
|
75
75
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
76
76
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
77
77
|
* // version: Number("int"), // required
|
|
@@ -56,6 +56,7 @@ declare const CreatePrivateConnectionCommand_base: {
|
|
|
56
56
|
* "STRING_VALUE",
|
|
57
57
|
* ],
|
|
58
58
|
* certificate: "STRING_VALUE",
|
|
59
|
+
* dnsResolution: "PUBLIC" || "IN_VPC",
|
|
59
60
|
* },
|
|
60
61
|
* selfManaged: { // SelfManagedInput
|
|
61
62
|
* resourceConfigurationId: "STRING_VALUE", // required
|
|
@@ -77,6 +78,8 @@ declare const CreatePrivateConnectionCommand_base: {
|
|
|
77
78
|
* // resourceConfigurationId: "STRING_VALUE",
|
|
78
79
|
* // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
|
|
79
80
|
* // certificateExpiryTime: new Date("TIMESTAMP"),
|
|
81
|
+
* // dnsResolution: "PUBLIC" || "IN_VPC",
|
|
82
|
+
* // failureMessage: "STRING_VALUE",
|
|
80
83
|
* // tags: { // Tags
|
|
81
84
|
* // "<keys>": "STRING_VALUE",
|
|
82
85
|
* // },
|