@aws-sdk/client-codebuild 3.782.0 → 3.784.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 (56) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +558 -1
  3. package/dist-es/CodeBuild.js +18 -0
  4. package/dist-es/commands/BatchGetCommandExecutionsCommand.js +23 -0
  5. package/dist-es/commands/BatchGetSandboxesCommand.js +22 -0
  6. package/dist-es/commands/ListCommandExecutionsForSandboxCommand.js +23 -0
  7. package/dist-es/commands/ListSandboxesCommand.js +22 -0
  8. package/dist-es/commands/ListSandboxesForProjectCommand.js +23 -0
  9. package/dist-es/commands/StartCommandExecutionCommand.js +23 -0
  10. package/dist-es/commands/StartSandboxCommand.js +23 -0
  11. package/dist-es/commands/StartSandboxConnectionCommand.js +22 -0
  12. package/dist-es/commands/StopSandboxCommand.js +22 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +53 -0
  15. package/dist-es/pagination/ListCommandExecutionsForSandboxPaginator.js +4 -0
  16. package/dist-es/pagination/ListSandboxesForProjectPaginator.js +4 -0
  17. package/dist-es/pagination/ListSandboxesPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +3 -0
  19. package/dist-es/protocols/Aws_json1_1.js +305 -1
  20. package/dist-types/CodeBuild.d.ts +65 -0
  21. package/dist-types/CodeBuildClient.d.ts +11 -2
  22. package/dist-types/commands/BatchGetCommandExecutionsCommand.d.ts +115 -0
  23. package/dist-types/commands/BatchGetSandboxesCommand.d.ts +248 -0
  24. package/dist-types/commands/ListCommandExecutionsForSandboxCommand.d.ts +116 -0
  25. package/dist-types/commands/ListSandboxesCommand.d.ts +80 -0
  26. package/dist-types/commands/ListSandboxesForProjectCommand.d.ts +84 -0
  27. package/dist-types/commands/StartCommandExecutionCommand.d.ts +112 -0
  28. package/dist-types/commands/StartSandboxCommand.d.ts +248 -0
  29. package/dist-types/commands/StartSandboxConnectionCommand.d.ts +82 -0
  30. package/dist-types/commands/StopSandboxCommand.d.ts +244 -0
  31. package/dist-types/commands/index.d.ts +9 -0
  32. package/dist-types/models/models_0.d.ts +639 -0
  33. package/dist-types/pagination/ListCommandExecutionsForSandboxPaginator.d.ts +7 -0
  34. package/dist-types/pagination/ListSandboxesForProjectPaginator.d.ts +7 -0
  35. package/dist-types/pagination/ListSandboxesPaginator.d.ts +7 -0
  36. package/dist-types/pagination/index.d.ts +3 -0
  37. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  38. package/dist-types/ts3.4/CodeBuild.d.ts +155 -0
  39. package/dist-types/ts3.4/CodeBuildClient.d.ts +54 -0
  40. package/dist-types/ts3.4/commands/BatchGetCommandExecutionsCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/BatchGetSandboxesCommand.d.ts +50 -0
  42. package/dist-types/ts3.4/commands/ListCommandExecutionsForSandboxCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListSandboxesCommand.d.ts +47 -0
  44. package/dist-types/ts3.4/commands/ListSandboxesForProjectCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/StartCommandExecutionCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/StartSandboxCommand.d.ts +47 -0
  47. package/dist-types/ts3.4/commands/StartSandboxConnectionCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/StopSandboxCommand.d.ts +47 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +167 -0
  51. package/dist-types/ts3.4/pagination/ListCommandExecutionsForSandboxPaginator.d.ts +11 -0
  52. package/dist-types/ts3.4/pagination/ListSandboxesForProjectPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/ListSandboxesPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  55. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  56. package/package.json +1 -1
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeBuildClient";
4
+ import { BatchGetCommandExecutionsInput, BatchGetCommandExecutionsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchGetCommandExecutionsCommand}.
14
+ */
15
+ export interface BatchGetCommandExecutionsCommandInput extends BatchGetCommandExecutionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetCommandExecutionsCommand}.
21
+ */
22
+ export interface BatchGetCommandExecutionsCommandOutput extends BatchGetCommandExecutionsOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchGetCommandExecutionsCommand_base: {
25
+ new (input: BatchGetCommandExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetCommandExecutionsCommandInput, BatchGetCommandExecutionsCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: BatchGetCommandExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetCommandExecutionsCommandInput, BatchGetCommandExecutionsCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about the command executions.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodeBuildClient, BatchGetCommandExecutionsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
35
+ * // const { CodeBuildClient, BatchGetCommandExecutionsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
36
+ * const client = new CodeBuildClient(config);
37
+ * const input = { // BatchGetCommandExecutionsInput
38
+ * sandboxId: "STRING_VALUE", // required
39
+ * commandExecutionIds: [ // CommandExecutionIds // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new BatchGetCommandExecutionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // BatchGetCommandExecutionsOutput
46
+ * // commandExecutions: [ // CommandExecutions
47
+ * // { // CommandExecution
48
+ * // id: "STRING_VALUE",
49
+ * // sandboxId: "STRING_VALUE",
50
+ * // submitTime: new Date("TIMESTAMP"),
51
+ * // startTime: new Date("TIMESTAMP"),
52
+ * // endTime: new Date("TIMESTAMP"),
53
+ * // status: "STRING_VALUE",
54
+ * // command: "STRING_VALUE",
55
+ * // type: "SHELL",
56
+ * // exitCode: "STRING_VALUE",
57
+ * // standardOutputContent: "STRING_VALUE",
58
+ * // standardErrContent: "STRING_VALUE",
59
+ * // logs: { // LogsLocation
60
+ * // groupName: "STRING_VALUE",
61
+ * // streamName: "STRING_VALUE",
62
+ * // deepLink: "STRING_VALUE",
63
+ * // s3DeepLink: "STRING_VALUE",
64
+ * // cloudWatchLogsArn: "STRING_VALUE",
65
+ * // s3LogsArn: "STRING_VALUE",
66
+ * // cloudWatchLogs: { // CloudWatchLogsConfig
67
+ * // status: "ENABLED" || "DISABLED", // required
68
+ * // groupName: "STRING_VALUE",
69
+ * // streamName: "STRING_VALUE",
70
+ * // },
71
+ * // s3Logs: { // S3LogsConfig
72
+ * // status: "ENABLED" || "DISABLED", // required
73
+ * // location: "STRING_VALUE",
74
+ * // encryptionDisabled: true || false,
75
+ * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
76
+ * // },
77
+ * // },
78
+ * // sandboxArn: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // commandExecutionsNotFound: [ // CommandExecutionIds
82
+ * // "STRING_VALUE",
83
+ * // ],
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param BatchGetCommandExecutionsCommandInput - {@link BatchGetCommandExecutionsCommandInput}
89
+ * @returns {@link BatchGetCommandExecutionsCommandOutput}
90
+ * @see {@link BatchGetCommandExecutionsCommandInput} for command's `input` shape.
91
+ * @see {@link BatchGetCommandExecutionsCommandOutput} for command's `response` shape.
92
+ * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape.
93
+ *
94
+ * @throws {@link InvalidInputException} (client fault)
95
+ * <p>The input value that was provided is not valid.</p>
96
+ *
97
+ * @throws {@link CodeBuildServiceException}
98
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
99
+ *
100
+ *
101
+ * @public
102
+ */
103
+ export declare class BatchGetCommandExecutionsCommand extends BatchGetCommandExecutionsCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: BatchGetCommandExecutionsInput;
108
+ output: BatchGetCommandExecutionsOutput;
109
+ };
110
+ sdk: {
111
+ input: BatchGetCommandExecutionsCommandInput;
112
+ output: BatchGetCommandExecutionsCommandOutput;
113
+ };
114
+ };
115
+ }
@@ -0,0 +1,248 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeBuildClient";
4
+ import { BatchGetSandboxesInput, BatchGetSandboxesOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchGetSandboxesCommand}.
14
+ */
15
+ export interface BatchGetSandboxesCommandInput extends BatchGetSandboxesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetSandboxesCommand}.
21
+ */
22
+ export interface BatchGetSandboxesCommandOutput extends BatchGetSandboxesOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchGetSandboxesCommand_base: {
25
+ new (input: BatchGetSandboxesCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetSandboxesCommandInput, BatchGetSandboxesCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: BatchGetSandboxesCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetSandboxesCommandInput, BatchGetSandboxesCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about the sandbox status.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodeBuildClient, BatchGetSandboxesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
35
+ * // const { CodeBuildClient, BatchGetSandboxesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
36
+ * const client = new CodeBuildClient(config);
37
+ * const input = { // BatchGetSandboxesInput
38
+ * ids: [ // SandboxIds // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new BatchGetSandboxesCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // BatchGetSandboxesOutput
45
+ * // sandboxes: [ // Sandboxes
46
+ * // { // Sandbox
47
+ * // id: "STRING_VALUE",
48
+ * // arn: "STRING_VALUE",
49
+ * // projectName: "STRING_VALUE",
50
+ * // requestTime: new Date("TIMESTAMP"),
51
+ * // startTime: new Date("TIMESTAMP"),
52
+ * // endTime: new Date("TIMESTAMP"),
53
+ * // status: "STRING_VALUE",
54
+ * // source: { // ProjectSource
55
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
56
+ * // location: "STRING_VALUE",
57
+ * // gitCloneDepth: Number("int"),
58
+ * // gitSubmodulesConfig: { // GitSubmodulesConfig
59
+ * // fetchSubmodules: true || false, // required
60
+ * // },
61
+ * // buildspec: "STRING_VALUE",
62
+ * // auth: { // SourceAuth
63
+ * // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
64
+ * // resource: "STRING_VALUE",
65
+ * // },
66
+ * // reportBuildStatus: true || false,
67
+ * // buildStatusConfig: { // BuildStatusConfig
68
+ * // context: "STRING_VALUE",
69
+ * // targetUrl: "STRING_VALUE",
70
+ * // },
71
+ * // insecureSsl: true || false,
72
+ * // sourceIdentifier: "STRING_VALUE",
73
+ * // },
74
+ * // sourceVersion: "STRING_VALUE",
75
+ * // secondarySources: [ // ProjectSources
76
+ * // {
77
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
78
+ * // location: "STRING_VALUE",
79
+ * // gitCloneDepth: Number("int"),
80
+ * // gitSubmodulesConfig: {
81
+ * // fetchSubmodules: true || false, // required
82
+ * // },
83
+ * // buildspec: "STRING_VALUE",
84
+ * // auth: {
85
+ * // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
86
+ * // resource: "STRING_VALUE",
87
+ * // },
88
+ * // reportBuildStatus: true || false,
89
+ * // buildStatusConfig: {
90
+ * // context: "STRING_VALUE",
91
+ * // targetUrl: "STRING_VALUE",
92
+ * // },
93
+ * // insecureSsl: true || false,
94
+ * // sourceIdentifier: "STRING_VALUE",
95
+ * // },
96
+ * // ],
97
+ * // secondarySourceVersions: [ // ProjectSecondarySourceVersions
98
+ * // { // ProjectSourceVersion
99
+ * // sourceIdentifier: "STRING_VALUE", // required
100
+ * // sourceVersion: "STRING_VALUE", // required
101
+ * // },
102
+ * // ],
103
+ * // environment: { // ProjectEnvironment
104
+ * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "WINDOWS_SERVER_2022_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER" || "LINUX_EC2" || "ARM_EC2" || "WINDOWS_EC2" || "MAC_ARM", // required
105
+ * // image: "STRING_VALUE", // required
106
+ * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB" || "ATTRIBUTE_BASED_COMPUTE", // required
107
+ * // computeConfiguration: { // ComputeConfiguration
108
+ * // vCpu: Number("long"),
109
+ * // memory: Number("long"),
110
+ * // disk: Number("long"),
111
+ * // machineType: "GENERAL" || "NVME",
112
+ * // },
113
+ * // fleet: { // ProjectFleet
114
+ * // fleetArn: "STRING_VALUE",
115
+ * // },
116
+ * // environmentVariables: [ // EnvironmentVariables
117
+ * // { // EnvironmentVariable
118
+ * // name: "STRING_VALUE", // required
119
+ * // value: "STRING_VALUE", // required
120
+ * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
121
+ * // },
122
+ * // ],
123
+ * // privilegedMode: true || false,
124
+ * // certificate: "STRING_VALUE",
125
+ * // registryCredential: { // RegistryCredential
126
+ * // credential: "STRING_VALUE", // required
127
+ * // credentialProvider: "SECRETS_MANAGER", // required
128
+ * // },
129
+ * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
130
+ * // },
131
+ * // fileSystemLocations: [ // ProjectFileSystemLocations
132
+ * // { // ProjectFileSystemLocation
133
+ * // type: "EFS",
134
+ * // location: "STRING_VALUE",
135
+ * // mountPoint: "STRING_VALUE",
136
+ * // identifier: "STRING_VALUE",
137
+ * // mountOptions: "STRING_VALUE",
138
+ * // },
139
+ * // ],
140
+ * // timeoutInMinutes: Number("int"),
141
+ * // queuedTimeoutInMinutes: Number("int"),
142
+ * // vpcConfig: { // VpcConfig
143
+ * // vpcId: "STRING_VALUE",
144
+ * // subnets: [ // Subnets
145
+ * // "STRING_VALUE",
146
+ * // ],
147
+ * // securityGroupIds: [ // SecurityGroupIds
148
+ * // "STRING_VALUE",
149
+ * // ],
150
+ * // },
151
+ * // logConfig: { // LogsConfig
152
+ * // cloudWatchLogs: { // CloudWatchLogsConfig
153
+ * // status: "ENABLED" || "DISABLED", // required
154
+ * // groupName: "STRING_VALUE",
155
+ * // streamName: "STRING_VALUE",
156
+ * // },
157
+ * // s3Logs: { // S3LogsConfig
158
+ * // status: "ENABLED" || "DISABLED", // required
159
+ * // location: "STRING_VALUE",
160
+ * // encryptionDisabled: true || false,
161
+ * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
162
+ * // },
163
+ * // },
164
+ * // encryptionKey: "STRING_VALUE",
165
+ * // serviceRole: "STRING_VALUE",
166
+ * // currentSession: { // SandboxSession
167
+ * // id: "STRING_VALUE",
168
+ * // status: "STRING_VALUE",
169
+ * // startTime: new Date("TIMESTAMP"),
170
+ * // endTime: new Date("TIMESTAMP"),
171
+ * // currentPhase: "STRING_VALUE",
172
+ * // phases: [ // SandboxSessionPhases
173
+ * // { // SandboxSessionPhase
174
+ * // phaseType: "STRING_VALUE",
175
+ * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
176
+ * // startTime: new Date("TIMESTAMP"),
177
+ * // endTime: new Date("TIMESTAMP"),
178
+ * // durationInSeconds: Number("long"),
179
+ * // contexts: [ // PhaseContexts
180
+ * // { // PhaseContext
181
+ * // statusCode: "STRING_VALUE",
182
+ * // message: "STRING_VALUE",
183
+ * // },
184
+ * // ],
185
+ * // },
186
+ * // ],
187
+ * // resolvedSourceVersion: "STRING_VALUE",
188
+ * // logs: { // LogsLocation
189
+ * // groupName: "STRING_VALUE",
190
+ * // streamName: "STRING_VALUE",
191
+ * // deepLink: "STRING_VALUE",
192
+ * // s3DeepLink: "STRING_VALUE",
193
+ * // cloudWatchLogsArn: "STRING_VALUE",
194
+ * // s3LogsArn: "STRING_VALUE",
195
+ * // cloudWatchLogs: {
196
+ * // status: "ENABLED" || "DISABLED", // required
197
+ * // groupName: "STRING_VALUE",
198
+ * // streamName: "STRING_VALUE",
199
+ * // },
200
+ * // s3Logs: {
201
+ * // status: "ENABLED" || "DISABLED", // required
202
+ * // location: "STRING_VALUE",
203
+ * // encryptionDisabled: true || false,
204
+ * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
205
+ * // },
206
+ * // },
207
+ * // networkInterface: { // NetworkInterface
208
+ * // subnetId: "STRING_VALUE",
209
+ * // networkInterfaceId: "STRING_VALUE",
210
+ * // },
211
+ * // },
212
+ * // },
213
+ * // ],
214
+ * // sandboxesNotFound: [ // SandboxIds
215
+ * // "STRING_VALUE",
216
+ * // ],
217
+ * // };
218
+ *
219
+ * ```
220
+ *
221
+ * @param BatchGetSandboxesCommandInput - {@link BatchGetSandboxesCommandInput}
222
+ * @returns {@link BatchGetSandboxesCommandOutput}
223
+ * @see {@link BatchGetSandboxesCommandInput} for command's `input` shape.
224
+ * @see {@link BatchGetSandboxesCommandOutput} for command's `response` shape.
225
+ * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape.
226
+ *
227
+ * @throws {@link InvalidInputException} (client fault)
228
+ * <p>The input value that was provided is not valid.</p>
229
+ *
230
+ * @throws {@link CodeBuildServiceException}
231
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
232
+ *
233
+ *
234
+ * @public
235
+ */
236
+ export declare class BatchGetSandboxesCommand extends BatchGetSandboxesCommand_base {
237
+ /** @internal type navigation helper, not in runtime. */
238
+ protected static __types: {
239
+ api: {
240
+ input: BatchGetSandboxesInput;
241
+ output: BatchGetSandboxesOutput;
242
+ };
243
+ sdk: {
244
+ input: BatchGetSandboxesCommandInput;
245
+ output: BatchGetSandboxesCommandOutput;
246
+ };
247
+ };
248
+ }
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeBuildClient";
4
+ import { ListCommandExecutionsForSandboxInput, ListCommandExecutionsForSandboxOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCommandExecutionsForSandboxCommand}.
14
+ */
15
+ export interface ListCommandExecutionsForSandboxCommandInput extends ListCommandExecutionsForSandboxInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCommandExecutionsForSandboxCommand}.
21
+ */
22
+ export interface ListCommandExecutionsForSandboxCommandOutput extends ListCommandExecutionsForSandboxOutput, __MetadataBearer {
23
+ }
24
+ declare const ListCommandExecutionsForSandboxCommand_base: {
25
+ new (input: ListCommandExecutionsForSandboxCommandInput): import("@smithy/smithy-client").CommandImpl<ListCommandExecutionsForSandboxCommandInput, ListCommandExecutionsForSandboxCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListCommandExecutionsForSandboxCommandInput): import("@smithy/smithy-client").CommandImpl<ListCommandExecutionsForSandboxCommandInput, ListCommandExecutionsForSandboxCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets a list of command executions for a sandbox.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodeBuildClient, ListCommandExecutionsForSandboxCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
35
+ * // const { CodeBuildClient, ListCommandExecutionsForSandboxCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
36
+ * const client = new CodeBuildClient(config);
37
+ * const input = { // ListCommandExecutionsForSandboxInput
38
+ * sandboxId: "STRING_VALUE", // required
39
+ * maxResults: Number("int"),
40
+ * sortOrder: "ASCENDING" || "DESCENDING",
41
+ * nextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListCommandExecutionsForSandboxCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListCommandExecutionsForSandboxOutput
46
+ * // commandExecutions: [ // CommandExecutions
47
+ * // { // CommandExecution
48
+ * // id: "STRING_VALUE",
49
+ * // sandboxId: "STRING_VALUE",
50
+ * // submitTime: new Date("TIMESTAMP"),
51
+ * // startTime: new Date("TIMESTAMP"),
52
+ * // endTime: new Date("TIMESTAMP"),
53
+ * // status: "STRING_VALUE",
54
+ * // command: "STRING_VALUE",
55
+ * // type: "SHELL",
56
+ * // exitCode: "STRING_VALUE",
57
+ * // standardOutputContent: "STRING_VALUE",
58
+ * // standardErrContent: "STRING_VALUE",
59
+ * // logs: { // LogsLocation
60
+ * // groupName: "STRING_VALUE",
61
+ * // streamName: "STRING_VALUE",
62
+ * // deepLink: "STRING_VALUE",
63
+ * // s3DeepLink: "STRING_VALUE",
64
+ * // cloudWatchLogsArn: "STRING_VALUE",
65
+ * // s3LogsArn: "STRING_VALUE",
66
+ * // cloudWatchLogs: { // CloudWatchLogsConfig
67
+ * // status: "ENABLED" || "DISABLED", // required
68
+ * // groupName: "STRING_VALUE",
69
+ * // streamName: "STRING_VALUE",
70
+ * // },
71
+ * // s3Logs: { // S3LogsConfig
72
+ * // status: "ENABLED" || "DISABLED", // required
73
+ * // location: "STRING_VALUE",
74
+ * // encryptionDisabled: true || false,
75
+ * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
76
+ * // },
77
+ * // },
78
+ * // sandboxArn: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // nextToken: "STRING_VALUE",
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param ListCommandExecutionsForSandboxCommandInput - {@link ListCommandExecutionsForSandboxCommandInput}
87
+ * @returns {@link ListCommandExecutionsForSandboxCommandOutput}
88
+ * @see {@link ListCommandExecutionsForSandboxCommandInput} for command's `input` shape.
89
+ * @see {@link ListCommandExecutionsForSandboxCommandOutput} for command's `response` shape.
90
+ * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape.
91
+ *
92
+ * @throws {@link InvalidInputException} (client fault)
93
+ * <p>The input value that was provided is not valid.</p>
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>The specified Amazon Web Services resource cannot be found.</p>
97
+ *
98
+ * @throws {@link CodeBuildServiceException}
99
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
100
+ *
101
+ *
102
+ * @public
103
+ */
104
+ export declare class ListCommandExecutionsForSandboxCommand extends ListCommandExecutionsForSandboxCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: ListCommandExecutionsForSandboxInput;
109
+ output: ListCommandExecutionsForSandboxOutput;
110
+ };
111
+ sdk: {
112
+ input: ListCommandExecutionsForSandboxCommandInput;
113
+ output: ListCommandExecutionsForSandboxCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -0,0 +1,80 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeBuildClient";
4
+ import { ListSandboxesInput, ListSandboxesOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListSandboxesCommand}.
14
+ */
15
+ export interface ListSandboxesCommandInput extends ListSandboxesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSandboxesCommand}.
21
+ */
22
+ export interface ListSandboxesCommandOutput extends ListSandboxesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSandboxesCommand_base: {
25
+ new (input: ListSandboxesCommandInput): import("@smithy/smithy-client").CommandImpl<ListSandboxesCommandInput, ListSandboxesCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListSandboxesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListSandboxesCommandInput, ListSandboxesCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets a list of sandboxes.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodeBuildClient, ListSandboxesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
35
+ * // const { CodeBuildClient, ListSandboxesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
36
+ * const client = new CodeBuildClient(config);
37
+ * const input = { // ListSandboxesInput
38
+ * maxResults: Number("int"),
39
+ * sortOrder: "ASCENDING" || "DESCENDING",
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListSandboxesCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListSandboxesOutput
45
+ * // ids: [ // SandboxIds
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // nextToken: "STRING_VALUE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param ListSandboxesCommandInput - {@link ListSandboxesCommandInput}
54
+ * @returns {@link ListSandboxesCommandOutput}
55
+ * @see {@link ListSandboxesCommandInput} for command's `input` shape.
56
+ * @see {@link ListSandboxesCommandOutput} for command's `response` shape.
57
+ * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape.
58
+ *
59
+ * @throws {@link InvalidInputException} (client fault)
60
+ * <p>The input value that was provided is not valid.</p>
61
+ *
62
+ * @throws {@link CodeBuildServiceException}
63
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
64
+ *
65
+ *
66
+ * @public
67
+ */
68
+ export declare class ListSandboxesCommand extends ListSandboxesCommand_base {
69
+ /** @internal type navigation helper, not in runtime. */
70
+ protected static __types: {
71
+ api: {
72
+ input: ListSandboxesInput;
73
+ output: ListSandboxesOutput;
74
+ };
75
+ sdk: {
76
+ input: ListSandboxesCommandInput;
77
+ output: ListSandboxesCommandOutput;
78
+ };
79
+ };
80
+ }
@@ -0,0 +1,84 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeBuildClient";
4
+ import { ListSandboxesForProjectInput, ListSandboxesForProjectOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListSandboxesForProjectCommand}.
14
+ */
15
+ export interface ListSandboxesForProjectCommandInput extends ListSandboxesForProjectInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSandboxesForProjectCommand}.
21
+ */
22
+ export interface ListSandboxesForProjectCommandOutput extends ListSandboxesForProjectOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSandboxesForProjectCommand_base: {
25
+ new (input: ListSandboxesForProjectCommandInput): import("@smithy/smithy-client").CommandImpl<ListSandboxesForProjectCommandInput, ListSandboxesForProjectCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListSandboxesForProjectCommandInput): import("@smithy/smithy-client").CommandImpl<ListSandboxesForProjectCommandInput, ListSandboxesForProjectCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets a list of sandboxes for a given project.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodeBuildClient, ListSandboxesForProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
35
+ * // const { CodeBuildClient, ListSandboxesForProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
36
+ * const client = new CodeBuildClient(config);
37
+ * const input = { // ListSandboxesForProjectInput
38
+ * projectName: "STRING_VALUE", // required
39
+ * maxResults: Number("int"),
40
+ * sortOrder: "ASCENDING" || "DESCENDING",
41
+ * nextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListSandboxesForProjectCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListSandboxesForProjectOutput
46
+ * // ids: [ // SandboxIds
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // nextToken: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListSandboxesForProjectCommandInput - {@link ListSandboxesForProjectCommandInput}
55
+ * @returns {@link ListSandboxesForProjectCommandOutput}
56
+ * @see {@link ListSandboxesForProjectCommandInput} for command's `input` shape.
57
+ * @see {@link ListSandboxesForProjectCommandOutput} for command's `response` shape.
58
+ * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape.
59
+ *
60
+ * @throws {@link InvalidInputException} (client fault)
61
+ * <p>The input value that was provided is not valid.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified Amazon Web Services resource cannot be found.</p>
65
+ *
66
+ * @throws {@link CodeBuildServiceException}
67
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class ListSandboxesForProjectCommand extends ListSandboxesForProjectCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: ListSandboxesForProjectInput;
77
+ output: ListSandboxesForProjectOutput;
78
+ };
79
+ sdk: {
80
+ input: ListSandboxesForProjectCommandInput;
81
+ output: ListSandboxesForProjectCommandOutput;
82
+ };
83
+ };
84
+ }