@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.
Files changed (89) hide show
  1. package/README.md +92 -1
  2. package/dist-cjs/index.js +204 -0
  3. package/dist-cjs/schemas/schemas_0.js +375 -77
  4. package/dist-es/DevOpsAgent.js +34 -0
  5. package/dist-es/commands/CreateAssetCommand.js +16 -0
  6. package/dist-es/commands/CreateAssetFileCommand.js +16 -0
  7. package/dist-es/commands/DeleteAssetCommand.js +16 -0
  8. package/dist-es/commands/DeleteAssetFileCommand.js +16 -0
  9. package/dist-es/commands/GetAssetCommand.js +16 -0
  10. package/dist-es/commands/GetAssetContentCommand.js +16 -0
  11. package/dist-es/commands/GetAssetFileCommand.js +16 -0
  12. package/dist-es/commands/ListAssetFilesCommand.js +16 -0
  13. package/dist-es/commands/ListAssetTypesCommand.js +16 -0
  14. package/dist-es/commands/ListAssetVersionsCommand.js +16 -0
  15. package/dist-es/commands/ListAssetsCommand.js +16 -0
  16. package/dist-es/commands/UpdateAssetCommand.js +16 -0
  17. package/dist-es/commands/UpdateAssetFileCommand.js +16 -0
  18. package/dist-es/commands/index.js +13 -0
  19. package/dist-es/models/enums.js +5 -0
  20. package/dist-es/pagination/ListAssetFilesPaginator.js +4 -0
  21. package/dist-es/pagination/ListAssetTypesPaginator.js +4 -0
  22. package/dist-es/pagination/ListAssetVersionsPaginator.js +4 -0
  23. package/dist-es/pagination/ListAssetsPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +4 -0
  25. package/dist-es/schemas/schemas_0.js +369 -71
  26. package/dist-types/DevOpsAgent.d.ts +121 -1
  27. package/dist-types/DevOpsAgentClient.d.ts +16 -3
  28. package/dist-types/commands/CreateAssetCommand.d.ts +126 -0
  29. package/dist-types/commands/CreateAssetFileCommand.d.ts +121 -0
  30. package/dist-types/commands/CreateBacklogTaskCommand.d.ts +1 -1
  31. package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +3 -0
  32. package/dist-types/commands/DeleteAssetCommand.d.ts +102 -0
  33. package/dist-types/commands/DeleteAssetFileCommand.d.ts +103 -0
  34. package/dist-types/commands/DescribePrivateConnectionCommand.d.ts +2 -0
  35. package/dist-types/commands/EnableOperatorAppCommand.d.ts +1 -0
  36. package/dist-types/commands/GetAssetCommand.d.ts +112 -0
  37. package/dist-types/commands/GetAssetContentCommand.d.ts +108 -0
  38. package/dist-types/commands/GetAssetFileCommand.d.ts +116 -0
  39. package/dist-types/commands/GetBacklogTaskCommand.d.ts +1 -1
  40. package/dist-types/commands/GetOperatorAppCommand.d.ts +1 -0
  41. package/dist-types/commands/GetServiceCommand.d.ts +1 -0
  42. package/dist-types/commands/ListAssetFilesCommand.d.ts +116 -0
  43. package/dist-types/commands/ListAssetTypesCommand.d.ts +110 -0
  44. package/dist-types/commands/ListAssetVersionsCommand.d.ts +113 -0
  45. package/dist-types/commands/ListAssetsCommand.d.ts +118 -0
  46. package/dist-types/commands/ListBacklogTasksCommand.d.ts +2 -2
  47. package/dist-types/commands/ListPrivateConnectionsCommand.d.ts +2 -0
  48. package/dist-types/commands/ListServicesCommand.d.ts +1 -0
  49. package/dist-types/commands/RegisterServiceCommand.d.ts +4 -1
  50. package/dist-types/commands/SendMessageCommand.d.ts +3 -0
  51. package/dist-types/commands/UpdateAssetCommand.d.ts +126 -0
  52. package/dist-types/commands/UpdateAssetFileCommand.d.ts +121 -0
  53. package/dist-types/commands/UpdateBacklogTaskCommand.d.ts +2 -2
  54. package/dist-types/commands/UpdatePrivateConnectionCertificateCommand.d.ts +2 -0
  55. package/dist-types/commands/index.d.ts +13 -0
  56. package/dist-types/index.d.ts +1 -1
  57. package/dist-types/models/enums.d.ts +22 -0
  58. package/dist-types/models/models_0.d.ts +879 -27
  59. package/dist-types/pagination/ListAssetFilesPaginator.d.ts +7 -0
  60. package/dist-types/pagination/ListAssetTypesPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListAssetVersionsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListAssetsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +4 -0
  64. package/dist-types/schemas/schemas_0.d.ts +48 -0
  65. package/dist-types/ts3.4/DevOpsAgent.d.ts +250 -0
  66. package/dist-types/ts3.4/DevOpsAgentClient.d.ts +78 -0
  67. package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +49 -0
  68. package/dist-types/ts3.4/commands/CreateAssetFileCommand.d.ts +52 -0
  69. package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +49 -0
  70. package/dist-types/ts3.4/commands/DeleteAssetFileCommand.d.ts +52 -0
  71. package/dist-types/ts3.4/commands/GetAssetCommand.d.ts +45 -0
  72. package/dist-types/ts3.4/commands/GetAssetContentCommand.d.ts +52 -0
  73. package/dist-types/ts3.4/commands/GetAssetFileCommand.d.ts +49 -0
  74. package/dist-types/ts3.4/commands/ListAssetFilesCommand.d.ts +52 -0
  75. package/dist-types/ts3.4/commands/ListAssetTypesCommand.d.ts +52 -0
  76. package/dist-types/ts3.4/commands/ListAssetVersionsCommand.d.ts +53 -0
  77. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +49 -0
  78. package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +49 -0
  79. package/dist-types/ts3.4/commands/UpdateAssetFileCommand.d.ts +52 -0
  80. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  81. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +230 -1
  83. package/dist-types/ts3.4/pagination/ListAssetFilesPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/ListAssetTypesPaginator.d.ts +11 -0
  85. package/dist-types/ts3.4/pagination/ListAssetVersionsPaginator.d.ts +11 -0
  86. package/dist-types/ts3.4/pagination/ListAssetsPaginator.d.ts +11 -0
  87. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  88. package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -0
  89. package/package.json +5 -5
@@ -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 { ListAssetFilesRequest, ListAssetFilesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAssetFilesCommand}.
14
+ */
15
+ export interface ListAssetFilesCommandInput extends ListAssetFilesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAssetFilesCommand}.
21
+ */
22
+ export interface ListAssetFilesCommandOutput extends ListAssetFilesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAssetFilesCommand_base: {
25
+ new (input: ListAssetFilesCommandInput): import("@smithy/core/client").CommandImpl<ListAssetFilesCommandInput, ListAssetFilesCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAssetFilesCommandInput): import("@smithy/core/client").CommandImpl<ListAssetFilesCommandInput, ListAssetFilesCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists files 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, ListAssetFilesCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
37
+ * // const { DevOpsAgentClient, ListAssetFilesCommand } = 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 = { // ListAssetFilesRequest
42
+ * agentSpaceId: "STRING_VALUE", // required
43
+ * assetId: "STRING_VALUE", // required
44
+ * assetVersion: Number("int"),
45
+ * nextToken: "STRING_VALUE",
46
+ * maxResults: Number("int"),
47
+ * };
48
+ * const command = new ListAssetFilesCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListAssetFilesResponse
51
+ * // items: [ // AssetFileSummaryList // required
52
+ * // { // AssetFileSummary
53
+ * // path: "STRING_VALUE", // required
54
+ * // metadata: "DOCUMENT_VALUE",
55
+ * // version: Number("int"), // required
56
+ * // createdAt: new Date("TIMESTAMP"), // required
57
+ * // updatedAt: new Date("TIMESTAMP"), // required
58
+ * // },
59
+ * // ],
60
+ * // nextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListAssetFilesCommandInput - {@link ListAssetFilesCommandInput}
66
+ * @returns {@link ListAssetFilesCommandOutput}
67
+ * @see {@link ListAssetFilesCommandInput} for command's `input` shape.
68
+ * @see {@link ListAssetFilesCommandOutput} 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 ListAssetFilesCommand extends ListAssetFilesCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: ListAssetFilesRequest;
109
+ output: ListAssetFilesResponse;
110
+ };
111
+ sdk: {
112
+ input: ListAssetFilesCommandInput;
113
+ output: ListAssetFilesCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -0,0 +1,110 @@
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 { ListAssetTypesRequest, ListAssetTypesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAssetTypesCommand}.
14
+ */
15
+ export interface ListAssetTypesCommandInput extends ListAssetTypesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAssetTypesCommand}.
21
+ */
22
+ export interface ListAssetTypesCommandOutput extends ListAssetTypesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAssetTypesCommand_base: {
25
+ new (input: ListAssetTypesCommandInput): import("@smithy/core/client").CommandImpl<ListAssetTypesCommandInput, ListAssetTypesCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListAssetTypesCommandInput]): import("@smithy/core/client").CommandImpl<ListAssetTypesCommandInput, ListAssetTypesCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists the supported asset types</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { DevOpsAgentClient, ListAssetTypesCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
37
+ * // const { DevOpsAgentClient, ListAssetTypesCommand } = 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 = { // ListAssetTypesRequest
42
+ * nextToken: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * };
45
+ * const command = new ListAssetTypesCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListAssetTypesResponse
48
+ * // items: [ // AssetTypeList // required
49
+ * // { // AssetTypeSummary
50
+ * // assetType: "STRING_VALUE", // required
51
+ * // description: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListAssetTypesCommandInput - {@link ListAssetTypesCommandInput}
60
+ * @returns {@link ListAssetTypesCommandOutput}
61
+ * @see {@link ListAssetTypesCommandInput} for command's `input` shape.
62
+ * @see {@link ListAssetTypesCommandOutput} for command's `response` shape.
63
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>Access to the requested resource is denied due to insufficient permissions.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was throttled due to too many requests. Please slow down and try again.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
76
+ *
77
+ * @throws {@link ConflictException} (client fault)
78
+ * <p>The request conflicts with the current state of the resource.</p>
79
+ *
80
+ * @throws {@link ContentSizeExceededException} (client fault)
81
+ * <p>This exception is thrown when the content size exceeds the allowed limit.</p>
82
+ *
83
+ * @throws {@link InvalidParameterException} (client fault)
84
+ * <p>One or more parameters provided in the request are invalid.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>The requested resource could not be found.</p>
88
+ *
89
+ * @throws {@link ServiceQuotaExceededException} (client fault)
90
+ * <p>The request would exceed the service quota limit.</p>
91
+ *
92
+ * @throws {@link DevOpsAgentServiceException}
93
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
94
+ *
95
+ *
96
+ * @public
97
+ */
98
+ export declare class ListAssetTypesCommand extends ListAssetTypesCommand_base {
99
+ /** @internal type navigation helper, not in runtime. */
100
+ protected static __types: {
101
+ api: {
102
+ input: ListAssetTypesRequest;
103
+ output: ListAssetTypesResponse;
104
+ };
105
+ sdk: {
106
+ input: ListAssetTypesCommandInput;
107
+ output: ListAssetTypesCommandOutput;
108
+ };
109
+ };
110
+ }
@@ -0,0 +1,113 @@
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 { ListAssetVersionsRequest, ListAssetVersionsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAssetVersionsCommand}.
14
+ */
15
+ export interface ListAssetVersionsCommandInput extends ListAssetVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAssetVersionsCommand}.
21
+ */
22
+ export interface ListAssetVersionsCommandOutput extends ListAssetVersionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAssetVersionsCommand_base: {
25
+ new (input: ListAssetVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListAssetVersionsCommandInput, ListAssetVersionsCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAssetVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListAssetVersionsCommandInput, ListAssetVersionsCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists versions of an 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, ListAssetVersionsCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
37
+ * // const { DevOpsAgentClient, ListAssetVersionsCommand } = 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 = { // ListAssetVersionsRequest
42
+ * agentSpaceId: "STRING_VALUE", // required
43
+ * assetId: "STRING_VALUE", // required
44
+ * maxResults: Number("int"),
45
+ * nextToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListAssetVersionsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListAssetVersionsResponse
50
+ * // items: [ // AssetVersionMetadataList // required
51
+ * // { // AssetVersionMetadata
52
+ * // version: Number("int"), // required
53
+ * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // updatedAt: new Date("TIMESTAMP"), // required
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListAssetVersionsCommandInput - {@link ListAssetVersionsCommandInput}
63
+ * @returns {@link ListAssetVersionsCommandOutput}
64
+ * @see {@link ListAssetVersionsCommandInput} for command's `input` shape.
65
+ * @see {@link ListAssetVersionsCommandOutput} for command's `response` shape.
66
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>Access to the requested resource is denied due to insufficient permissions.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The requested resource could not be found.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was throttled due to too many requests. Please slow down and try again.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
82
+ *
83
+ * @throws {@link ConflictException} (client fault)
84
+ * <p>The request conflicts with the current state of the resource.</p>
85
+ *
86
+ * @throws {@link ContentSizeExceededException} (client fault)
87
+ * <p>This exception is thrown when the content size exceeds the allowed limit.</p>
88
+ *
89
+ * @throws {@link InvalidParameterException} (client fault)
90
+ * <p>One or more parameters provided in the request are invalid.</p>
91
+ *
92
+ * @throws {@link ServiceQuotaExceededException} (client fault)
93
+ * <p>The request would exceed the service quota limit.</p>
94
+ *
95
+ * @throws {@link DevOpsAgentServiceException}
96
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class ListAssetVersionsCommand extends ListAssetVersionsCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: ListAssetVersionsRequest;
106
+ output: ListAssetVersionsResponse;
107
+ };
108
+ sdk: {
109
+ input: ListAssetVersionsCommandInput;
110
+ output: ListAssetVersionsCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,118 @@
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 { ListAssetsRequest, ListAssetsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAssetsCommand}.
14
+ */
15
+ export interface ListAssetsCommandInput extends ListAssetsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAssetsCommand}.
21
+ */
22
+ export interface ListAssetsCommandOutput extends ListAssetsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAssetsCommand_base: {
25
+ new (input: ListAssetsCommandInput): import("@smithy/core/client").CommandImpl<ListAssetsCommandInput, ListAssetsCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAssetsCommandInput): import("@smithy/core/client").CommandImpl<ListAssetsCommandInput, ListAssetsCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Lists assets 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, ListAssetsCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
37
+ * // const { DevOpsAgentClient, ListAssetsCommand } = 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 = { // ListAssetsRequest
42
+ * agentSpaceId: "STRING_VALUE", // required
43
+ * assetType: "STRING_VALUE",
44
+ * updatedAfter: new Date("TIMESTAMP"),
45
+ * updatedBefore: new Date("TIMESTAMP"),
46
+ * nextToken: "STRING_VALUE",
47
+ * maxResults: Number("int"),
48
+ * };
49
+ * const command = new ListAssetsCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // ListAssetsResponse
52
+ * // items: [ // AssetList // required
53
+ * // { // Asset
54
+ * // assetId: "STRING_VALUE", // required
55
+ * // assetType: "STRING_VALUE", // required
56
+ * // metadata: "DOCUMENT_VALUE", // required
57
+ * // version: Number("int"), // required
58
+ * // createdAt: new Date("TIMESTAMP"), // required
59
+ * // updatedAt: new Date("TIMESTAMP"), // required
60
+ * // },
61
+ * // ],
62
+ * // nextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListAssetsCommandInput - {@link ListAssetsCommandInput}
68
+ * @returns {@link ListAssetsCommandOutput}
69
+ * @see {@link ListAssetsCommandInput} for command's `input` shape.
70
+ * @see {@link ListAssetsCommandOutput} for command's `response` shape.
71
+ * @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>Access to the requested resource is denied due to insufficient permissions.</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>This exception is thrown when an unexpected error occurs in the processing of a request.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The request was throttled due to too many requests. Please slow down and try again.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
84
+ *
85
+ * @throws {@link ConflictException} (client fault)
86
+ * <p>The request conflicts with the current state of the resource.</p>
87
+ *
88
+ * @throws {@link ContentSizeExceededException} (client fault)
89
+ * <p>This exception is thrown when the content size exceeds the allowed limit.</p>
90
+ *
91
+ * @throws {@link InvalidParameterException} (client fault)
92
+ * <p>One or more parameters provided in the request are invalid.</p>
93
+ *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p>The requested resource could not be found.</p>
96
+ *
97
+ * @throws {@link ServiceQuotaExceededException} (client fault)
98
+ * <p>The request would exceed the service quota limit.</p>
99
+ *
100
+ * @throws {@link DevOpsAgentServiceException}
101
+ * <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
102
+ *
103
+ *
104
+ * @public
105
+ */
106
+ export declare class ListAssetsCommand extends ListAssetsCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: ListAssetsRequest;
111
+ output: ListAssetsResponse;
112
+ };
113
+ sdk: {
114
+ input: ListAssetsCommandInput;
115
+ output: ListAssetsCommandOutput;
116
+ };
117
+ };
118
+ }
@@ -47,7 +47,7 @@ declare const ListBacklogTasksCommand_base: {
47
47
  * "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL",
48
48
  * ],
49
49
  * status: [ // TaskStatusList
50
- * "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED",
50
+ * "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED" || "SKIPPED",
51
51
  * ],
52
52
  * taskType: [ // TaskTypeList
53
53
  * "INVESTIGATION" || "EVALUATION",
@@ -78,7 +78,7 @@ declare const ListBacklogTasksCommand_base: {
78
78
  * // },
79
79
  * // taskType: "INVESTIGATION" || "EVALUATION", // required
80
80
  * // priority: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL", // required
81
- * // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED", // required
81
+ * // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED" || "SKIPPED", // required
82
82
  * // createdAt: new Date("TIMESTAMP"), // required
83
83
  * // updatedAt: new Date("TIMESTAMP"), // required
84
84
  * // version: Number("int"), // required
@@ -52,6 +52,8 @@ declare const ListPrivateConnectionsCommand_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
  * // },
56
58
  * // ],
57
59
  * // };
@@ -126,6 +126,7 @@ declare const ListServicesCommand_base: {
126
126
  * // region: "STRING_VALUE", // required
127
127
  * // service: "STRING_VALUE", // required
128
128
  * // roleArn: "STRING_VALUE", // required
129
+ * // mcpRoleArn: "STRING_VALUE",
129
130
  * // customHeaders: { // CustomHeaders
130
131
  * // "<keys>": "STRING_VALUE",
131
132
  * // },
@@ -265,7 +265,8 @@ declare const RegisterServiceCommand_base: {
265
265
  * authorizationConfig: { // MCPServerSigV4AuthorizationConfig
266
266
  * region: "STRING_VALUE", // required
267
267
  * service: "STRING_VALUE", // required
268
- * roleArn: "STRING_VALUE", // required
268
+ * roleArn: "STRING_VALUE",
269
+ * mcpRoleArn: "STRING_VALUE",
269
270
  * customHeaders: { // CustomHeaders
270
271
  * "<keys>": "STRING_VALUE",
271
272
  * },
@@ -274,6 +275,8 @@ declare const RegisterServiceCommand_base: {
274
275
  * },
275
276
  * kmsKeyArn: "STRING_VALUE",
276
277
  * privateConnectionName: "STRING_VALUE",
278
+ * targetUrlPrivateConnectionName: "STRING_VALUE",
279
+ * exchangeUrlPrivateConnectionName: "STRING_VALUE",
277
280
  * name: "STRING_VALUE",
278
281
  * tags: { // Tags
279
282
  * "<keys>": "STRING_VALUE",
@@ -48,6 +48,9 @@ declare const SendMessageCommand_base: {
48
48
  * userActionResponse: "STRING_VALUE",
49
49
  * },
50
50
  * userId: "STRING_VALUE",
51
+ * assetIds: [ // AssetIdList
52
+ * "STRING_VALUE",
53
+ * ],
51
54
  * };
52
55
  * const command = new SendMessageCommand(input);
53
56
  * const response = await client.send(command);
@@ -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 { UpdateAssetRequest, UpdateAssetResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAssetCommand}.
14
+ */
15
+ export interface UpdateAssetCommandInput extends UpdateAssetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAssetCommand}.
21
+ */
22
+ export interface UpdateAssetCommandOutput extends UpdateAssetResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateAssetCommand_base: {
25
+ new (input: UpdateAssetCommandInput): import("@smithy/core/client").CommandImpl<UpdateAssetCommandInput, UpdateAssetCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateAssetCommandInput): import("@smithy/core/client").CommandImpl<UpdateAssetCommandInput, UpdateAssetCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates an 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, UpdateAssetCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
37
+ * // const { DevOpsAgentClient, UpdateAssetCommand } = 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 = { // UpdateAssetRequest
42
+ * agentSpaceId: "STRING_VALUE", // required
43
+ * assetId: "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 UpdateAssetCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // UpdateAssetResponse
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 UpdateAssetCommandInput - {@link UpdateAssetCommandInput}
76
+ * @returns {@link UpdateAssetCommandOutput}
77
+ * @see {@link UpdateAssetCommandInput} for command's `input` shape.
78
+ * @see {@link UpdateAssetCommandOutput} 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 ResourceNotFoundException} (client fault)
91
+ * <p>The requested resource could not be found.</p>
92
+ *
93
+ * @throws {@link ThrottlingException} (client fault)
94
+ * <p>The request was throttled due to too many requests. Please slow down and try again.</p>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
98
+ *
99
+ * @throws {@link ContentSizeExceededException} (client fault)
100
+ * <p>This exception is thrown when the content size exceeds the allowed limit.</p>
101
+ *
102
+ * @throws {@link InvalidParameterException} (client fault)
103
+ * <p>One or more parameters provided in the request are invalid.</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 UpdateAssetCommand extends UpdateAssetCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: UpdateAssetRequest;
119
+ output: UpdateAssetResponse;
120
+ };
121
+ sdk: {
122
+ input: UpdateAssetCommandInput;
123
+ output: UpdateAssetCommandOutput;
124
+ };
125
+ };
126
+ }