@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,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 { DeleteAssetRequest, DeleteAssetResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAssetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAssetCommandInput extends DeleteAssetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAssetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAssetCommandOutput extends DeleteAssetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAssetCommand_base: {
|
|
25
|
+
new (input: DeleteAssetCommandInput): import("@smithy/core/client").CommandImpl<DeleteAssetCommandInput, DeleteAssetCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAssetCommandInput): import("@smithy/core/client").CommandImpl<DeleteAssetCommandInput, DeleteAssetCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes an asset and all its files 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, DeleteAssetCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, DeleteAssetCommand } = 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 = { // DeleteAssetRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* assetId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteAssetCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DeleteAssetCommandInput - {@link DeleteAssetCommandInput}
|
|
52
|
+
* @returns {@link DeleteAssetCommandOutput}
|
|
53
|
+
* @see {@link DeleteAssetCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DeleteAssetCommandOutput} 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 DeleteAssetCommand extends DeleteAssetCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: DeleteAssetRequest;
|
|
95
|
+
output: {};
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: DeleteAssetCommandInput;
|
|
99
|
+
output: DeleteAssetCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { DeleteAssetFileRequest, DeleteAssetFileResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAssetFileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAssetFileCommandInput extends DeleteAssetFileRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAssetFileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAssetFileCommandOutput extends DeleteAssetFileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAssetFileCommand_base: {
|
|
25
|
+
new (input: DeleteAssetFileCommandInput): import("@smithy/core/client").CommandImpl<DeleteAssetFileCommandInput, DeleteAssetFileCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAssetFileCommandInput): import("@smithy/core/client").CommandImpl<DeleteAssetFileCommandInput, DeleteAssetFileCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a file from 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, DeleteAssetFileCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, DeleteAssetFileCommand } = 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 = { // DeleteAssetFileRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* assetId: "STRING_VALUE", // required
|
|
44
|
+
* path: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DeleteAssetFileCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteAssetFileCommandInput - {@link DeleteAssetFileCommandInput}
|
|
53
|
+
* @returns {@link DeleteAssetFileCommandOutput}
|
|
54
|
+
* @see {@link DeleteAssetFileCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteAssetFileCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>The requested resource could not be found.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConflictException} (client fault)
|
|
74
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
80
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
83
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class DeleteAssetFileCommand extends DeleteAssetFileCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: DeleteAssetFileRequest;
|
|
96
|
+
output: {};
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: DeleteAssetFileCommandInput;
|
|
100
|
+
output: DeleteAssetFileCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -52,6 +52,8 @@ declare const DescribePrivateConnectionCommand_base: {
|
|
|
52
52
|
* // resourceConfigurationId: "STRING_VALUE",
|
|
53
53
|
* // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
|
|
54
54
|
* // certificateExpiryTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // dnsResolution: "PUBLIC" || "IN_VPC",
|
|
56
|
+
* // failureMessage: "STRING_VALUE",
|
|
55
57
|
* // tags: { // Tags
|
|
56
58
|
* // "<keys>": "STRING_VALUE",
|
|
57
59
|
* // },
|
|
@@ -52,6 +52,7 @@ declare const EnableOperatorAppCommand_base: {
|
|
|
52
52
|
* const response = await client.send(command);
|
|
53
53
|
* // { // EnableOperatorAppOutput
|
|
54
54
|
* // agentSpaceId: "STRING_VALUE", // required
|
|
55
|
+
* // operatorAppUrl: "STRING_VALUE",
|
|
55
56
|
* // iam: { // IamAuthConfiguration
|
|
56
57
|
* // operatorAppRoleArn: "STRING_VALUE", // required
|
|
57
58
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
@@ -0,0 +1,112 @@
|
|
|
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 { GetAssetRequest, GetAssetResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAssetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAssetCommandInput extends GetAssetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAssetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAssetCommandOutput extends GetAssetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAssetCommand_base: {
|
|
25
|
+
new (input: GetAssetCommandInput): import("@smithy/core/client").CommandImpl<GetAssetCommandInput, GetAssetCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAssetCommandInput): import("@smithy/core/client").CommandImpl<GetAssetCommandInput, GetAssetCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Gets an asset 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, GetAssetCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, GetAssetCommand } = 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 = { // GetAssetRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* assetId: "STRING_VALUE", // required
|
|
44
|
+
* assetVersion: Number("int"),
|
|
45
|
+
* };
|
|
46
|
+
* const command = new GetAssetCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // GetAssetResponse
|
|
49
|
+
* // asset: { // Asset
|
|
50
|
+
* // assetId: "STRING_VALUE", // required
|
|
51
|
+
* // assetType: "STRING_VALUE", // required
|
|
52
|
+
* // metadata: "DOCUMENT_VALUE", // required
|
|
53
|
+
* // version: Number("int"), // required
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetAssetCommandInput - {@link GetAssetCommandInput}
|
|
62
|
+
* @returns {@link GetAssetCommandOutput}
|
|
63
|
+
* @see {@link GetAssetCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetAssetCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The requested resource could not be found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ConflictException} (client fault)
|
|
83
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
86
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
89
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
92
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetAssetCommand extends GetAssetCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: GetAssetRequest;
|
|
105
|
+
output: GetAssetResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: GetAssetCommandInput;
|
|
109
|
+
output: GetAssetCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 { GetAssetContentRequest, GetAssetContentResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAssetContentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAssetContentCommandInput extends GetAssetContentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAssetContentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAssetContentCommandOutput extends GetAssetContentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAssetContentCommand_base: {
|
|
25
|
+
new (input: GetAssetContentCommandInput): import("@smithy/core/client").CommandImpl<GetAssetContentCommandInput, GetAssetContentCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAssetContentCommandInput): import("@smithy/core/client").CommandImpl<GetAssetContentCommandInput, GetAssetContentCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Gets an asset's content as a zip bundle</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DevOpsAgentClient, GetAssetContentCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, GetAssetContentCommand } = 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 = { // GetAssetContentRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* assetId: "STRING_VALUE", // required
|
|
44
|
+
* assetVersion: Number("int"),
|
|
45
|
+
* };
|
|
46
|
+
* const command = new GetAssetContentCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // GetAssetContentResponse
|
|
49
|
+
* // content: { // AssetZipContent
|
|
50
|
+
* // zipFile: new Uint8Array(), // required
|
|
51
|
+
* // },
|
|
52
|
+
* // version: Number("int"), // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param GetAssetContentCommandInput - {@link GetAssetContentCommandInput}
|
|
58
|
+
* @returns {@link GetAssetContentCommandOutput}
|
|
59
|
+
* @see {@link GetAssetContentCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link GetAssetContentCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The requested resource could not be found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
82
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
85
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
88
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class GetAssetContentCommand extends GetAssetContentCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: GetAssetContentRequest;
|
|
101
|
+
output: GetAssetContentResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: GetAssetContentCommandInput;
|
|
105
|
+
output: GetAssetContentCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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 { GetAssetFileRequest, GetAssetFileResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAssetFileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAssetFileCommandInput extends GetAssetFileRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAssetFileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAssetFileCommandOutput extends GetAssetFileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAssetFileCommand_base: {
|
|
25
|
+
new (input: GetAssetFileCommandInput): import("@smithy/core/client").CommandImpl<GetAssetFileCommandInput, GetAssetFileCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAssetFileCommandInput): import("@smithy/core/client").CommandImpl<GetAssetFileCommandInput, GetAssetFileCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Gets a file from 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, GetAssetFileCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
37
|
+
* // const { DevOpsAgentClient, GetAssetFileCommand } = 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 = { // GetAssetFileRequest
|
|
42
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
43
|
+
* assetId: "STRING_VALUE", // required
|
|
44
|
+
* path: "STRING_VALUE", // required
|
|
45
|
+
* assetVersion: Number("int"),
|
|
46
|
+
* };
|
|
47
|
+
* const command = new GetAssetFileCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // GetAssetFileResponse
|
|
50
|
+
* // file: { // AssetFile
|
|
51
|
+
* // path: "STRING_VALUE", // required
|
|
52
|
+
* // content: { // AssetFileBody Union: only one key present
|
|
53
|
+
* // bytes: new Uint8Array(),
|
|
54
|
+
* // text: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // metadata: "DOCUMENT_VALUE",
|
|
57
|
+
* // version: Number("int"), // required
|
|
58
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetAssetFileCommandInput - {@link GetAssetFileCommandInput}
|
|
66
|
+
* @returns {@link GetAssetFileCommandOutput}
|
|
67
|
+
* @see {@link GetAssetFileCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetAssetFileCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>Access to the requested resource is denied due to insufficient permissions.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The requested resource could not be found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was throttled due to too many requests. Please slow down and try again.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConflictException} (client fault)
|
|
87
|
+
* <p>The request conflicts with the current state of the resource.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
90
|
+
* <p>This exception is thrown when the content size exceeds the allowed limit.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
93
|
+
* <p>One or more parameters provided in the request are invalid.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
96
|
+
* <p>The request would exceed the service quota limit.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class GetAssetFileCommand extends GetAssetFileCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: GetAssetFileRequest;
|
|
109
|
+
output: GetAssetFileResponse;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: GetAssetFileCommandInput;
|
|
113
|
+
output: GetAssetFileCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -60,7 +60,7 @@ declare const GetBacklogTaskCommand_base: {
|
|
|
60
60
|
* // },
|
|
61
61
|
* // taskType: "INVESTIGATION" || "EVALUATION", // required
|
|
62
62
|
* // priority: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL", // required
|
|
63
|
-
* // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED", // required
|
|
63
|
+
* // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED" || "SKIPPED", // required
|
|
64
64
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
65
65
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
66
66
|
* // version: Number("int"), // required
|
|
@@ -44,6 +44,7 @@ declare const GetOperatorAppCommand_base: {
|
|
|
44
44
|
* const command = new GetOperatorAppCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
46
|
* // { // GetOperatorAppOutput
|
|
47
|
+
* // operatorAppUrl: "STRING_VALUE",
|
|
47
48
|
* // iam: { // IamAuthConfiguration
|
|
48
49
|
* // operatorAppRoleArn: "STRING_VALUE", // required
|
|
49
50
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
@@ -122,6 +122,7 @@ declare const GetServiceCommand_base: {
|
|
|
122
122
|
* // region: "STRING_VALUE", // required
|
|
123
123
|
* // service: "STRING_VALUE", // required
|
|
124
124
|
* // roleArn: "STRING_VALUE", // required
|
|
125
|
+
* // mcpRoleArn: "STRING_VALUE",
|
|
125
126
|
* // customHeaders: { // CustomHeaders
|
|
126
127
|
* // "<keys>": "STRING_VALUE",
|
|
127
128
|
* // },
|