@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,244 @@
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 { StopSandboxInput, StopSandboxOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopSandboxCommand}.
14
+ */
15
+ export interface StopSandboxCommandInput extends StopSandboxInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopSandboxCommand}.
21
+ */
22
+ export interface StopSandboxCommandOutput extends StopSandboxOutput, __MetadataBearer {
23
+ }
24
+ declare const StopSandboxCommand_base: {
25
+ new (input: StopSandboxCommandInput): import("@smithy/smithy-client").CommandImpl<StopSandboxCommandInput, StopSandboxCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StopSandboxCommandInput): import("@smithy/smithy-client").CommandImpl<StopSandboxCommandInput, StopSandboxCommandOutput, CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Stops 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, StopSandboxCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
35
+ * // const { CodeBuildClient, StopSandboxCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
36
+ * const client = new CodeBuildClient(config);
37
+ * const input = { // StopSandboxInput
38
+ * id: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new StopSandboxCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // StopSandboxOutput
43
+ * // sandbox: { // Sandbox
44
+ * // id: "STRING_VALUE",
45
+ * // arn: "STRING_VALUE",
46
+ * // projectName: "STRING_VALUE",
47
+ * // requestTime: new Date("TIMESTAMP"),
48
+ * // startTime: new Date("TIMESTAMP"),
49
+ * // endTime: new Date("TIMESTAMP"),
50
+ * // status: "STRING_VALUE",
51
+ * // source: { // ProjectSource
52
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
53
+ * // location: "STRING_VALUE",
54
+ * // gitCloneDepth: Number("int"),
55
+ * // gitSubmodulesConfig: { // GitSubmodulesConfig
56
+ * // fetchSubmodules: true || false, // required
57
+ * // },
58
+ * // buildspec: "STRING_VALUE",
59
+ * // auth: { // SourceAuth
60
+ * // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
61
+ * // resource: "STRING_VALUE",
62
+ * // },
63
+ * // reportBuildStatus: true || false,
64
+ * // buildStatusConfig: { // BuildStatusConfig
65
+ * // context: "STRING_VALUE",
66
+ * // targetUrl: "STRING_VALUE",
67
+ * // },
68
+ * // insecureSsl: true || false,
69
+ * // sourceIdentifier: "STRING_VALUE",
70
+ * // },
71
+ * // sourceVersion: "STRING_VALUE",
72
+ * // secondarySources: [ // ProjectSources
73
+ * // {
74
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
75
+ * // location: "STRING_VALUE",
76
+ * // gitCloneDepth: Number("int"),
77
+ * // gitSubmodulesConfig: {
78
+ * // fetchSubmodules: true || false, // required
79
+ * // },
80
+ * // buildspec: "STRING_VALUE",
81
+ * // auth: {
82
+ * // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
83
+ * // resource: "STRING_VALUE",
84
+ * // },
85
+ * // reportBuildStatus: true || false,
86
+ * // buildStatusConfig: {
87
+ * // context: "STRING_VALUE",
88
+ * // targetUrl: "STRING_VALUE",
89
+ * // },
90
+ * // insecureSsl: true || false,
91
+ * // sourceIdentifier: "STRING_VALUE",
92
+ * // },
93
+ * // ],
94
+ * // secondarySourceVersions: [ // ProjectSecondarySourceVersions
95
+ * // { // ProjectSourceVersion
96
+ * // sourceIdentifier: "STRING_VALUE", // required
97
+ * // sourceVersion: "STRING_VALUE", // required
98
+ * // },
99
+ * // ],
100
+ * // environment: { // ProjectEnvironment
101
+ * // 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
102
+ * // image: "STRING_VALUE", // required
103
+ * // 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
104
+ * // computeConfiguration: { // ComputeConfiguration
105
+ * // vCpu: Number("long"),
106
+ * // memory: Number("long"),
107
+ * // disk: Number("long"),
108
+ * // machineType: "GENERAL" || "NVME",
109
+ * // },
110
+ * // fleet: { // ProjectFleet
111
+ * // fleetArn: "STRING_VALUE",
112
+ * // },
113
+ * // environmentVariables: [ // EnvironmentVariables
114
+ * // { // EnvironmentVariable
115
+ * // name: "STRING_VALUE", // required
116
+ * // value: "STRING_VALUE", // required
117
+ * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
118
+ * // },
119
+ * // ],
120
+ * // privilegedMode: true || false,
121
+ * // certificate: "STRING_VALUE",
122
+ * // registryCredential: { // RegistryCredential
123
+ * // credential: "STRING_VALUE", // required
124
+ * // credentialProvider: "SECRETS_MANAGER", // required
125
+ * // },
126
+ * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
127
+ * // },
128
+ * // fileSystemLocations: [ // ProjectFileSystemLocations
129
+ * // { // ProjectFileSystemLocation
130
+ * // type: "EFS",
131
+ * // location: "STRING_VALUE",
132
+ * // mountPoint: "STRING_VALUE",
133
+ * // identifier: "STRING_VALUE",
134
+ * // mountOptions: "STRING_VALUE",
135
+ * // },
136
+ * // ],
137
+ * // timeoutInMinutes: Number("int"),
138
+ * // queuedTimeoutInMinutes: Number("int"),
139
+ * // vpcConfig: { // VpcConfig
140
+ * // vpcId: "STRING_VALUE",
141
+ * // subnets: [ // Subnets
142
+ * // "STRING_VALUE",
143
+ * // ],
144
+ * // securityGroupIds: [ // SecurityGroupIds
145
+ * // "STRING_VALUE",
146
+ * // ],
147
+ * // },
148
+ * // logConfig: { // LogsConfig
149
+ * // cloudWatchLogs: { // CloudWatchLogsConfig
150
+ * // status: "ENABLED" || "DISABLED", // required
151
+ * // groupName: "STRING_VALUE",
152
+ * // streamName: "STRING_VALUE",
153
+ * // },
154
+ * // s3Logs: { // S3LogsConfig
155
+ * // status: "ENABLED" || "DISABLED", // required
156
+ * // location: "STRING_VALUE",
157
+ * // encryptionDisabled: true || false,
158
+ * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
159
+ * // },
160
+ * // },
161
+ * // encryptionKey: "STRING_VALUE",
162
+ * // serviceRole: "STRING_VALUE",
163
+ * // currentSession: { // SandboxSession
164
+ * // id: "STRING_VALUE",
165
+ * // status: "STRING_VALUE",
166
+ * // startTime: new Date("TIMESTAMP"),
167
+ * // endTime: new Date("TIMESTAMP"),
168
+ * // currentPhase: "STRING_VALUE",
169
+ * // phases: [ // SandboxSessionPhases
170
+ * // { // SandboxSessionPhase
171
+ * // phaseType: "STRING_VALUE",
172
+ * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
173
+ * // startTime: new Date("TIMESTAMP"),
174
+ * // endTime: new Date("TIMESTAMP"),
175
+ * // durationInSeconds: Number("long"),
176
+ * // contexts: [ // PhaseContexts
177
+ * // { // PhaseContext
178
+ * // statusCode: "STRING_VALUE",
179
+ * // message: "STRING_VALUE",
180
+ * // },
181
+ * // ],
182
+ * // },
183
+ * // ],
184
+ * // resolvedSourceVersion: "STRING_VALUE",
185
+ * // logs: { // LogsLocation
186
+ * // groupName: "STRING_VALUE",
187
+ * // streamName: "STRING_VALUE",
188
+ * // deepLink: "STRING_VALUE",
189
+ * // s3DeepLink: "STRING_VALUE",
190
+ * // cloudWatchLogsArn: "STRING_VALUE",
191
+ * // s3LogsArn: "STRING_VALUE",
192
+ * // cloudWatchLogs: {
193
+ * // status: "ENABLED" || "DISABLED", // required
194
+ * // groupName: "STRING_VALUE",
195
+ * // streamName: "STRING_VALUE",
196
+ * // },
197
+ * // s3Logs: {
198
+ * // status: "ENABLED" || "DISABLED", // required
199
+ * // location: "STRING_VALUE",
200
+ * // encryptionDisabled: true || false,
201
+ * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
202
+ * // },
203
+ * // },
204
+ * // networkInterface: { // NetworkInterface
205
+ * // subnetId: "STRING_VALUE",
206
+ * // networkInterfaceId: "STRING_VALUE",
207
+ * // },
208
+ * // },
209
+ * // },
210
+ * // };
211
+ *
212
+ * ```
213
+ *
214
+ * @param StopSandboxCommandInput - {@link StopSandboxCommandInput}
215
+ * @returns {@link StopSandboxCommandOutput}
216
+ * @see {@link StopSandboxCommandInput} for command's `input` shape.
217
+ * @see {@link StopSandboxCommandOutput} for command's `response` shape.
218
+ * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape.
219
+ *
220
+ * @throws {@link InvalidInputException} (client fault)
221
+ * <p>The input value that was provided is not valid.</p>
222
+ *
223
+ * @throws {@link ResourceNotFoundException} (client fault)
224
+ * <p>The specified Amazon Web Services resource cannot be found.</p>
225
+ *
226
+ * @throws {@link CodeBuildServiceException}
227
+ * <p>Base exception class for all service exceptions from CodeBuild service.</p>
228
+ *
229
+ *
230
+ * @public
231
+ */
232
+ export declare class StopSandboxCommand extends StopSandboxCommand_base {
233
+ /** @internal type navigation helper, not in runtime. */
234
+ protected static __types: {
235
+ api: {
236
+ input: StopSandboxInput;
237
+ output: StopSandboxOutput;
238
+ };
239
+ sdk: {
240
+ input: StopSandboxCommandInput;
241
+ output: StopSandboxCommandOutput;
242
+ };
243
+ };
244
+ }
@@ -1,10 +1,12 @@
1
1
  export * from "./BatchDeleteBuildsCommand";
2
2
  export * from "./BatchGetBuildBatchesCommand";
3
3
  export * from "./BatchGetBuildsCommand";
4
+ export * from "./BatchGetCommandExecutionsCommand";
4
5
  export * from "./BatchGetFleetsCommand";
5
6
  export * from "./BatchGetProjectsCommand";
6
7
  export * from "./BatchGetReportGroupsCommand";
7
8
  export * from "./BatchGetReportsCommand";
9
+ export * from "./BatchGetSandboxesCommand";
8
10
  export * from "./CreateFleetCommand";
9
11
  export * from "./CreateProjectCommand";
10
12
  export * from "./CreateReportGroupCommand";
@@ -27,12 +29,15 @@ export * from "./ListBuildBatchesCommand";
27
29
  export * from "./ListBuildBatchesForProjectCommand";
28
30
  export * from "./ListBuildsCommand";
29
31
  export * from "./ListBuildsForProjectCommand";
32
+ export * from "./ListCommandExecutionsForSandboxCommand";
30
33
  export * from "./ListCuratedEnvironmentImagesCommand";
31
34
  export * from "./ListFleetsCommand";
32
35
  export * from "./ListProjectsCommand";
33
36
  export * from "./ListReportGroupsCommand";
34
37
  export * from "./ListReportsCommand";
35
38
  export * from "./ListReportsForReportGroupCommand";
39
+ export * from "./ListSandboxesCommand";
40
+ export * from "./ListSandboxesForProjectCommand";
36
41
  export * from "./ListSharedProjectsCommand";
37
42
  export * from "./ListSharedReportGroupsCommand";
38
43
  export * from "./ListSourceCredentialsCommand";
@@ -41,8 +46,12 @@ export * from "./RetryBuildBatchCommand";
41
46
  export * from "./RetryBuildCommand";
42
47
  export * from "./StartBuildBatchCommand";
43
48
  export * from "./StartBuildCommand";
49
+ export * from "./StartCommandExecutionCommand";
50
+ export * from "./StartSandboxCommand";
51
+ export * from "./StartSandboxConnectionCommand";
44
52
  export * from "./StopBuildBatchCommand";
45
53
  export * from "./StopBuildCommand";
54
+ export * from "./StopSandboxCommand";
46
55
  export * from "./UpdateFleetCommand";
47
56
  export * from "./UpdateProjectCommand";
48
57
  export * from "./UpdateProjectVisibilityCommand";