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