@aws-sdk/client-codebuild 3.1076.0 → 3.1077.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 (34) hide show
  1. package/dist-cjs/index.js +16 -7
  2. package/dist-es/models/enums.js +5 -0
  3. package/dist-es/runtimeConfig.browser.js +0 -2
  4. package/dist-es/runtimeConfig.js +1 -2
  5. package/dist-es/runtimeConfig.native.js +0 -2
  6. package/dist-es/runtimeConfig.shared.js +2 -0
  7. package/dist-es/schemas/schemas_0.js +6 -4
  8. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +1 -0
  9. package/dist-types/commands/BatchGetBuildsCommand.d.ts +1 -0
  10. package/dist-types/commands/BatchGetProjectsCommand.d.ts +1 -0
  11. package/dist-types/commands/BatchGetSandboxesCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateProjectCommand.d.ts +2 -0
  13. package/dist-types/commands/RetryBuildBatchCommand.d.ts +1 -0
  14. package/dist-types/commands/RetryBuildCommand.d.ts +1 -0
  15. package/dist-types/commands/StartBuildBatchCommand.d.ts +1 -0
  16. package/dist-types/commands/StartBuildCommand.d.ts +2 -0
  17. package/dist-types/commands/StartSandboxCommand.d.ts +1 -0
  18. package/dist-types/commands/StopBuildBatchCommand.d.ts +1 -0
  19. package/dist-types/commands/StopBuildCommand.d.ts +1 -0
  20. package/dist-types/commands/StopSandboxCommand.d.ts +1 -0
  21. package/dist-types/commands/UpdateProjectCommand.d.ts +2 -0
  22. package/dist-types/models/enums.d.ts +13 -0
  23. package/dist-types/models/models_0.d.ts +35 -1
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  25. package/dist-types/runtimeConfig.d.ts +1 -1
  26. package/dist-types/runtimeConfig.native.d.ts +1 -1
  27. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  28. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  34. package/package.json +6 -8
package/dist-cjs/index.js CHANGED
@@ -10,9 +10,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
10
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
11
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
12
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
14
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
15
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
16
17
 
17
18
  const defaultCodeBuildHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
19
  return {
@@ -67,7 +68,7 @@ const commonParams = {
67
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
69
  };
69
70
 
70
- var version = "3.1075.0";
71
+ var version = "3.1076.0";
71
72
  var packageInfo = {
72
73
  version: version};
73
74
 
@@ -629,6 +630,8 @@ const _gCDO = "gitCloneDepthOverride";
629
630
  const _gN = "groupName";
630
631
  const _gSC = "gitSubmodulesConfig";
631
632
  const _gSCO = "gitSubmodulesConfigOverride";
633
+ const _hK = "hostKernel";
634
+ const _hKO = "hostKernelOverride";
632
635
  const _i = "ids";
633
636
  const _iF = "ignoreFailure";
634
637
  const _iI = "imageId";
@@ -1485,8 +1488,8 @@ var ProjectCache$ = [3, n0, _PCr,
1485
1488
  ];
1486
1489
  var ProjectEnvironment$ = [3, n0, _PE,
1487
1490
  0,
1488
- [_t, _ima, _cT, _cC, _fl, _eV, _pM, _ce, _rC, _iPCT, _dSo],
1489
- [0, 0, 0, () => ComputeConfiguration$, () => ProjectFleet$, () => EnvironmentVariables, 2, 0, () => RegistryCredential$, 0, () => DockerServer$], 3
1491
+ [_t, _ima, _cT, _cC, _fl, _eV, _pM, _ce, _rC, _iPCT, _dSo, _hK],
1492
+ [0, 0, 0, () => ComputeConfiguration$, () => ProjectFleet$, () => EnvironmentVariables, 2, 0, () => RegistryCredential$, 0, () => DockerServer$, 0], 3
1490
1493
  ];
1491
1494
  var ProjectFileSystemLocation$ = [3, n0, _PFSL,
1492
1495
  0,
@@ -1655,8 +1658,8 @@ var StartBuildBatchOutput$ = [3, n0, _SBBO,
1655
1658
  ];
1656
1659
  var StartBuildInput$ = [3, n0, _SBI,
1657
1660
  0,
1658
- [_pN, _sSO, _sSVO, _sV, _aO, _sAO, _eVO, _sTO, _sLO, _sAOo, _gCDO, _gSCO, _bOu, _iSO, _rBSO, _bSCO, _eTO, _iO, _cTO, _cO, _cOa, _sRO, _pMO, _tIMO, _qTIMO, _eKO, _iTd, _lCO, _rCO, _iPCTO, _dSE, _fO, _aRLO],
1659
- [0, () => ProjectSources, () => ProjectSecondarySourceVersions, 0, () => ProjectArtifacts$, () => ProjectArtifactsList, () => EnvironmentVariables, 0, 0, () => SourceAuth$, 1, () => GitSubmodulesConfig$, 0, 2, 2, () => BuildStatusConfig$, 0, 0, 0, 0, () => ProjectCache$, 0, 2, 1, 1, 0, 0, () => LogsConfig$, () => RegistryCredential$, 0, 2, () => ProjectFleet$, 1], 1
1661
+ [_pN, _sSO, _sSVO, _sV, _aO, _sAO, _eVO, _sTO, _sLO, _sAOo, _gCDO, _gSCO, _bOu, _iSO, _rBSO, _bSCO, _eTO, _iO, _cTO, _cO, _cOa, _sRO, _pMO, _tIMO, _qTIMO, _eKO, _iTd, _lCO, _rCO, _iPCTO, _dSE, _fO, _aRLO, _hKO],
1662
+ [0, () => ProjectSources, () => ProjectSecondarySourceVersions, 0, () => ProjectArtifacts$, () => ProjectArtifactsList, () => EnvironmentVariables, 0, 0, () => SourceAuth$, 1, () => GitSubmodulesConfig$, 0, 2, 2, () => BuildStatusConfig$, 0, 0, 0, 0, () => ProjectCache$, 0, 2, 1, 1, 0, 0, () => LogsConfig$, () => RegistryCredential$, 0, 2, () => ProjectFleet$, 1, 0], 1
1660
1663
  ];
1661
1664
  var StartBuildOutput$ = [3, n0, _SBO,
1662
1665
  0,
@@ -2122,6 +2125,7 @@ const getRuntimeConfig$1 = (config) => {
2122
2125
  serviceTarget: "CodeBuild_20161006",
2123
2126
  },
2124
2127
  serviceId: config?.serviceId ?? "CodeBuild",
2128
+ sha256: config?.sha256 ?? Sha256,
2125
2129
  urlParser: config?.urlParser ?? parseUrl,
2126
2130
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
2127
2131
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -2155,7 +2159,6 @@ const getRuntimeConfig = (config) => {
2155
2159
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
2156
2160
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
2157
2161
  }, config),
2158
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
2159
2162
  streamCollector: config?.streamCollector ?? streamCollector,
2160
2163
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
2161
2164
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -3136,6 +3139,11 @@ const EnvironmentVariableType = {
3136
3139
  PLAINTEXT: "PLAINTEXT",
3137
3140
  SECRETS_MANAGER: "SECRETS_MANAGER",
3138
3141
  };
3142
+ const HostKernel = {
3143
+ LINUX_KERNEL_4: "LINUX_KERNEL_4",
3144
+ LINUX_KERNEL_6: "LINUX_KERNEL_6",
3145
+ LINUX_KERNEL_LATEST: "LINUX_KERNEL_LATEST",
3146
+ };
3139
3147
  const ImagePullCredentialsType = {
3140
3148
  CODEBUILD: "CODEBUILD",
3141
3149
  SERVICE_ROLE: "SERVICE_ROLE",
@@ -3551,6 +3559,7 @@ exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
3551
3559
  exports.GetResourcePolicyInput$ = GetResourcePolicyInput$;
3552
3560
  exports.GetResourcePolicyOutput$ = GetResourcePolicyOutput$;
3553
3561
  exports.GitSubmodulesConfig$ = GitSubmodulesConfig$;
3562
+ exports.HostKernel = HostKernel;
3554
3563
  exports.ImagePullCredentialsType = ImagePullCredentialsType;
3555
3564
  exports.ImportSourceCredentials$ = ImportSourceCredentials$;
3556
3565
  exports.ImportSourceCredentialsCommand = ImportSourceCredentialsCommand;
@@ -68,6 +68,11 @@ export const EnvironmentVariableType = {
68
68
  PLAINTEXT: "PLAINTEXT",
69
69
  SECRETS_MANAGER: "SECRETS_MANAGER",
70
70
  };
71
+ export const HostKernel = {
72
+ LINUX_KERNEL_4: "LINUX_KERNEL_4",
73
+ LINUX_KERNEL_6: "LINUX_KERNEL_6",
74
+ LINUX_KERNEL_LATEST: "LINUX_KERNEL_LATEST",
75
+ };
71
76
  export const ImagePullCredentialsType = {
72
77
  CODEBUILD: "CODEBUILD",
73
78
  SERVICE_ROLE: "SERVICE_ROLE",
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "CodeBuild_20161006",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "CodeBuild",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -418,6 +418,8 @@ const _gCDO = "gitCloneDepthOverride";
418
418
  const _gN = "groupName";
419
419
  const _gSC = "gitSubmodulesConfig";
420
420
  const _gSCO = "gitSubmodulesConfigOverride";
421
+ const _hK = "hostKernel";
422
+ const _hKO = "hostKernelOverride";
421
423
  const _i = "ids";
422
424
  const _iF = "ignoreFailure";
423
425
  const _iI = "imageId";
@@ -1277,8 +1279,8 @@ export var ProjectCache$ = [3, n0, _PCr,
1277
1279
  ];
1278
1280
  export var ProjectEnvironment$ = [3, n0, _PE,
1279
1281
  0,
1280
- [_t, _ima, _cT, _cC, _fl, _eV, _pM, _ce, _rC, _iPCT, _dSo],
1281
- [0, 0, 0, () => ComputeConfiguration$, () => ProjectFleet$, () => EnvironmentVariables, 2, 0, () => RegistryCredential$, 0, () => DockerServer$], 3
1282
+ [_t, _ima, _cT, _cC, _fl, _eV, _pM, _ce, _rC, _iPCT, _dSo, _hK],
1283
+ [0, 0, 0, () => ComputeConfiguration$, () => ProjectFleet$, () => EnvironmentVariables, 2, 0, () => RegistryCredential$, 0, () => DockerServer$, 0], 3
1282
1284
  ];
1283
1285
  export var ProjectFileSystemLocation$ = [3, n0, _PFSL,
1284
1286
  0,
@@ -1447,8 +1449,8 @@ export var StartBuildBatchOutput$ = [3, n0, _SBBO,
1447
1449
  ];
1448
1450
  export var StartBuildInput$ = [3, n0, _SBI,
1449
1451
  0,
1450
- [_pN, _sSO, _sSVO, _sV, _aO, _sAO, _eVO, _sTO, _sLO, _sAOo, _gCDO, _gSCO, _bOu, _iSO, _rBSO, _bSCO, _eTO, _iO, _cTO, _cO, _cOa, _sRO, _pMO, _tIMO, _qTIMO, _eKO, _iTd, _lCO, _rCO, _iPCTO, _dSE, _fO, _aRLO],
1451
- [0, () => ProjectSources, () => ProjectSecondarySourceVersions, 0, () => ProjectArtifacts$, () => ProjectArtifactsList, () => EnvironmentVariables, 0, 0, () => SourceAuth$, 1, () => GitSubmodulesConfig$, 0, 2, 2, () => BuildStatusConfig$, 0, 0, 0, 0, () => ProjectCache$, 0, 2, 1, 1, 0, 0, () => LogsConfig$, () => RegistryCredential$, 0, 2, () => ProjectFleet$, 1], 1
1452
+ [_pN, _sSO, _sSVO, _sV, _aO, _sAO, _eVO, _sTO, _sLO, _sAOo, _gCDO, _gSCO, _bOu, _iSO, _rBSO, _bSCO, _eTO, _iO, _cTO, _cO, _cOa, _sRO, _pMO, _tIMO, _qTIMO, _eKO, _iTd, _lCO, _rCO, _iPCTO, _dSE, _fO, _aRLO, _hKO],
1453
+ [0, () => ProjectSources, () => ProjectSecondarySourceVersions, 0, () => ProjectArtifacts$, () => ProjectArtifactsList, () => EnvironmentVariables, 0, 0, () => SourceAuth$, 1, () => GitSubmodulesConfig$, 0, 2, 2, () => BuildStatusConfig$, 0, 0, 0, 0, () => ProjectCache$, 0, 2, 1, 1, 0, 0, () => LogsConfig$, () => RegistryCredential$, 0, 2, () => ProjectFleet$, 1, 0], 1
1452
1454
  ];
1453
1455
  export var StartBuildOutput$ = [3, n0, _SBO,
1454
1456
  0,
@@ -186,6 +186,7 @@ declare const BatchGetBuildBatchesCommand_base: {
186
186
  * // message: "STRING_VALUE",
187
187
  * // },
188
188
  * // },
189
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
189
190
  * // },
190
191
  * // serviceRole: "STRING_VALUE",
191
192
  * // logConfig: { // LogsConfig
@@ -187,6 +187,7 @@ declare const BatchGetBuildsCommand_base: {
187
187
  * // message: "STRING_VALUE",
188
188
  * // },
189
189
  * // },
190
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
190
191
  * // },
191
192
  * // serviceRole: "STRING_VALUE",
192
193
  * // logs: { // LogsLocation
@@ -172,6 +172,7 @@ declare const BatchGetProjectsCommand_base: {
172
172
  * // message: "STRING_VALUE",
173
173
  * // },
174
174
  * // },
175
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
175
176
  * // },
176
177
  * // serviceRole: "STRING_VALUE",
177
178
  * // timeoutInMinutes: Number("int"),
@@ -142,6 +142,7 @@ declare const BatchGetSandboxesCommand_base: {
142
142
  * // message: "STRING_VALUE",
143
143
  * // },
144
144
  * // },
145
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
145
146
  * // },
146
147
  * // fileSystemLocations: [ // ProjectFileSystemLocations
147
148
  * // { // ProjectFileSystemLocation
@@ -162,6 +162,7 @@ declare const CreateProjectCommand_base: {
162
162
  * message: "STRING_VALUE",
163
163
  * },
164
164
  * },
165
+ * hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
165
166
  * },
166
167
  * serviceRole: "STRING_VALUE", // required
167
168
  * timeoutInMinutes: Number("int"),
@@ -351,6 +352,7 @@ declare const CreateProjectCommand_base: {
351
352
  * // message: "STRING_VALUE",
352
353
  * // },
353
354
  * // },
355
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
354
356
  * // },
355
357
  * // serviceRole: "STRING_VALUE",
356
358
  * // timeoutInMinutes: Number("int"),
@@ -185,6 +185,7 @@ declare const RetryBuildBatchCommand_base: {
185
185
  * // message: "STRING_VALUE",
186
186
  * // },
187
187
  * // },
188
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
188
189
  * // },
189
190
  * // serviceRole: "STRING_VALUE",
190
191
  * // logConfig: { // LogsConfig
@@ -185,6 +185,7 @@ declare const RetryBuildCommand_base: {
185
185
  * // message: "STRING_VALUE",
186
186
  * // },
187
187
  * // },
188
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
188
189
  * // },
189
190
  * // serviceRole: "STRING_VALUE",
190
191
  * // logs: { // LogsLocation
@@ -310,6 +310,7 @@ declare const StartBuildBatchCommand_base: {
310
310
  * // message: "STRING_VALUE",
311
311
  * // },
312
312
  * // },
313
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
313
314
  * // },
314
315
  * // serviceRole: "STRING_VALUE",
315
316
  * // logConfig: { // LogsConfig
@@ -163,6 +163,7 @@ declare const StartBuildCommand_base: {
163
163
  * fleetArn: "STRING_VALUE",
164
164
  * },
165
165
  * autoRetryLimitOverride: Number("int"),
166
+ * hostKernelOverride: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
166
167
  * };
167
168
  * const command = new StartBuildCommand(input);
168
169
  * const response = await client.send(command);
@@ -307,6 +308,7 @@ declare const StartBuildCommand_base: {
307
308
  * // message: "STRING_VALUE",
308
309
  * // },
309
310
  * // },
311
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
310
312
  * // },
311
313
  * // serviceRole: "STRING_VALUE",
312
314
  * // logs: { // LogsLocation
@@ -140,6 +140,7 @@ declare const StartSandboxCommand_base: {
140
140
  * // message: "STRING_VALUE",
141
141
  * // },
142
142
  * // },
143
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
143
144
  * // },
144
145
  * // fileSystemLocations: [ // ProjectFileSystemLocations
145
146
  * // { // ProjectFileSystemLocation
@@ -183,6 +183,7 @@ declare const StopBuildBatchCommand_base: {
183
183
  * // message: "STRING_VALUE",
184
184
  * // },
185
185
  * // },
186
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
186
187
  * // },
187
188
  * // serviceRole: "STRING_VALUE",
188
189
  * // logConfig: { // LogsConfig
@@ -184,6 +184,7 @@ declare const StopBuildCommand_base: {
184
184
  * // message: "STRING_VALUE",
185
185
  * // },
186
186
  * // },
187
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
187
188
  * // },
188
189
  * // serviceRole: "STRING_VALUE",
189
190
  * // logs: { // LogsLocation
@@ -139,6 +139,7 @@ declare const StopSandboxCommand_base: {
139
139
  * // message: "STRING_VALUE",
140
140
  * // },
141
141
  * // },
142
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
142
143
  * // },
143
144
  * // fileSystemLocations: [ // ProjectFileSystemLocations
144
145
  * // { // ProjectFileSystemLocation
@@ -162,6 +162,7 @@ declare const UpdateProjectCommand_base: {
162
162
  * message: "STRING_VALUE",
163
163
  * },
164
164
  * },
165
+ * hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
165
166
  * },
166
167
  * serviceRole: "STRING_VALUE",
167
168
  * timeoutInMinutes: Number("int"),
@@ -351,6 +352,7 @@ declare const UpdateProjectCommand_base: {
351
352
  * // message: "STRING_VALUE",
352
353
  * // },
353
354
  * // },
355
+ * // hostKernel: "LINUX_KERNEL_4" || "LINUX_KERNEL_6" || "LINUX_KERNEL_LATEST",
354
356
  * // },
355
357
  * // serviceRole: "STRING_VALUE",
356
358
  * // timeoutInMinutes: Number("int"),
@@ -164,6 +164,19 @@ export declare const EnvironmentVariableType: {
164
164
  * @public
165
165
  */
166
166
  export type EnvironmentVariableType = (typeof EnvironmentVariableType)[keyof typeof EnvironmentVariableType];
167
+ /**
168
+ * @public
169
+ * @enum
170
+ */
171
+ export declare const HostKernel: {
172
+ readonly LINUX_KERNEL_4: "LINUX_KERNEL_4";
173
+ readonly LINUX_KERNEL_6: "LINUX_KERNEL_6";
174
+ readonly LINUX_KERNEL_LATEST: "LINUX_KERNEL_LATEST";
175
+ };
176
+ /**
177
+ * @public
178
+ */
179
+ export type HostKernel = (typeof HostKernel)[keyof typeof HostKernel];
167
180
  /**
168
181
  * @public
169
182
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ArtifactNamespace, ArtifactPackaging, ArtifactsType, AuthType, BatchReportModeType, BucketOwnerAccess, BuildBatchPhaseType, BuildPhaseType, CacheMode, CacheType, CommandType, ComputeType, CredentialProviderType, EnvironmentType, EnvironmentVariableType, FileSystemType, FleetContextCode, FleetOverflowBehavior, FleetProxyRuleBehavior, FleetProxyRuleEffectType, FleetProxyRuleType, FleetScalingMetricType, FleetScalingType, FleetSortByType, FleetStatusCode, ImagePullCredentialsType, LanguageType, LogsConfigStatusType, MachineType, PlatformType, ProjectSortByType, ProjectVisibilityType, PullRequestBuildApproverRole, PullRequestBuildCommentApproval, ReportCodeCoverageSortByType, ReportExportConfigType, ReportGroupSortByType, ReportGroupStatusType, ReportGroupTrendFieldType, ReportPackagingType, ReportStatusType, ReportType, RetryBuildBatchType, ServerType, SharedResourceSortByType, SortOrderType, SourceAuthType, SourceType, StatusType, WebhookBuildType, WebhookFilterType, WebhookScopeType, WebhookStatus } from "./enums";
1
+ import type { ArtifactNamespace, ArtifactPackaging, ArtifactsType, AuthType, BatchReportModeType, BucketOwnerAccess, BuildBatchPhaseType, BuildPhaseType, CacheMode, CacheType, CommandType, ComputeType, CredentialProviderType, EnvironmentType, EnvironmentVariableType, FileSystemType, FleetContextCode, FleetOverflowBehavior, FleetProxyRuleBehavior, FleetProxyRuleEffectType, FleetProxyRuleType, FleetScalingMetricType, FleetScalingType, FleetSortByType, FleetStatusCode, HostKernel, ImagePullCredentialsType, LanguageType, LogsConfigStatusType, MachineType, PlatformType, ProjectSortByType, ProjectVisibilityType, PullRequestBuildApproverRole, PullRequestBuildCommentApproval, ReportCodeCoverageSortByType, ReportExportConfigType, ReportGroupSortByType, ReportGroupStatusType, ReportGroupTrendFieldType, ReportPackagingType, ReportStatusType, ReportType, RetryBuildBatchType, ServerType, SharedResourceSortByType, SortOrderType, SourceAuthType, SourceType, StatusType, WebhookBuildType, WebhookFilterType, WebhookScopeType, WebhookStatus } from "./enums";
2
2
  /**
3
3
  * <p>Information about the auto-retry configuration for the build.</p>
4
4
  * @public
@@ -570,6 +570,9 @@ export interface DockerServer {
570
570
  securityGroupIds?: string[] | undefined;
571
571
  /**
572
572
  * <p>A DockerServerStatus object to use for this docker server.</p>
573
+ * <note>
574
+ * <p>Note that <code>status</code> is only an output and cannot be passed in as an input.</p>
575
+ * </note>
573
576
  * @public
574
577
  */
575
578
  status?: DockerServerStatus | undefined;
@@ -890,6 +893,31 @@ export interface ProjectEnvironment {
890
893
  * @public
891
894
  */
892
895
  dockerServer?: DockerServer | undefined;
896
+ /**
897
+ * <p>The host operating system kernel used for on-demand builds in the build project.
898
+ * The host kernel does not affect the build environment operating system, which is determined by the image you specify.
899
+ * Valid values are:</p>
900
+ * <ul>
901
+ * <li>
902
+ * <p>
903
+ * <code>LINUX_KERNEL_4</code>: Runs on an Amazon Linux 2 host (kernel 4.x).</p>
904
+ * </li>
905
+ * <li>
906
+ * <p>
907
+ * <code>LINUX_KERNEL_6</code>: Runs on an Amazon Linux 2023 host (kernel 6.x).</p>
908
+ * </li>
909
+ * <li>
910
+ * <p>
911
+ * <code>LINUX_KERNEL_LATEST</code>: Runs on the latest supported host kernel.</p>
912
+ * </li>
913
+ * </ul>
914
+ * <p>This setting applies to the <code>LINUX_CONTAINER</code>, <code>ARM_CONTAINER</code>,
915
+ * <code>LINUX_EC2</code>, and <code>ARM_EC2</code>
916
+ * environment types. It is not applicable to Windows, Lambda, or Mac environment
917
+ * types.</p>
918
+ * @public
919
+ */
920
+ hostKernel?: HostKernel | undefined;
893
921
  }
894
922
  /**
895
923
  * <p> Information about a file system created by Amazon Elastic File System (EFS). For more
@@ -6957,6 +6985,12 @@ export interface StartBuildInput {
6957
6985
  * @public
6958
6986
  */
6959
6987
  autoRetryLimitOverride?: number | undefined;
6988
+ /**
6989
+ * <p>The host operating system kernel for this build that overrides the one specified in the
6990
+ * build project.</p>
6991
+ * @public
6992
+ */
6993
+ hostKernelOverride?: HostKernel | undefined;
6960
6994
  }
6961
6995
  /**
6962
6996
  * @public
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
- sha256: import("@smithy/types").HashConstructor;
18
17
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
26
25
  [setting: string]: unknown;
27
26
  };
28
27
  apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  base64Decoder: import("@smithy/types").Decoder;
31
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { CodeBuildClientConfig } from "./CodeBuildClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
21
21
  defaultNamespace?: string;
22
22
  };
23
23
  serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
24
25
  urlParser: import("@smithy/types").UrlParser;
25
26
  utf8Decoder: import("@smithy/types").Decoder;
26
27
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -85,6 +85,12 @@ export declare const EnvironmentVariableType: {
85
85
  };
86
86
  export type EnvironmentVariableType =
87
87
  (typeof EnvironmentVariableType)[keyof typeof EnvironmentVariableType];
88
+ export declare const HostKernel: {
89
+ readonly LINUX_KERNEL_4: "LINUX_KERNEL_4";
90
+ readonly LINUX_KERNEL_6: "LINUX_KERNEL_6";
91
+ readonly LINUX_KERNEL_LATEST: "LINUX_KERNEL_LATEST";
92
+ };
93
+ export type HostKernel = (typeof HostKernel)[keyof typeof HostKernel];
88
94
  export declare const ImagePullCredentialsType: {
89
95
  readonly CODEBUILD: "CODEBUILD";
90
96
  readonly SERVICE_ROLE: "SERVICE_ROLE";
@@ -24,6 +24,7 @@ import {
24
24
  FleetScalingType,
25
25
  FleetSortByType,
26
26
  FleetStatusCode,
27
+ HostKernel,
27
28
  ImagePullCredentialsType,
28
29
  LanguageType,
29
30
  LogsConfigStatusType,
@@ -159,6 +160,7 @@ export interface ProjectEnvironment {
159
160
  registryCredential?: RegistryCredential | undefined;
160
161
  imagePullCredentialsType?: ImagePullCredentialsType | undefined;
161
162
  dockerServer?: DockerServer | undefined;
163
+ hostKernel?: HostKernel | undefined;
162
164
  }
163
165
  export interface ProjectFileSystemLocation {
164
166
  type?: FileSystemType | undefined;
@@ -1032,6 +1034,7 @@ export interface StartBuildInput {
1032
1034
  debugSessionEnabled?: boolean | undefined;
1033
1035
  fleetOverride?: ProjectFleet | undefined;
1034
1036
  autoRetryLimitOverride?: number | undefined;
1037
+ hostKernelOverride?: HostKernel | undefined;
1035
1038
  }
1036
1039
  export interface StartBuildOutput {
1037
1040
  build?: Build | undefined;
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
23
  streamCollector: (
25
24
  stream:
26
25
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
24
  streamCollector: (
26
25
  stream:
27
26
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { CodeBuildClientConfig } from "./CodeBuildClient";
2
2
  export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: CodeBuildClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codebuild",
3
3
  "description": "AWS SDK for JavaScript Codebuild Client for Node.js, Browser and React Native",
4
- "version": "3.1076.0",
4
+ "version": "3.1077.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,14 +19,12 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.59",
22
+ "@aws-sdk/core": "^3.974.25",
23
+ "@aws-sdk/credential-provider-node": "^3.972.60",
26
24
  "@aws-sdk/types": "^3.973.14",
27
- "@smithy/core": "^3.27.0",
28
- "@smithy/fetch-http-handler": "^5.6.0",
29
- "@smithy/node-http-handler": "^4.9.0",
25
+ "@smithy/core": "^3.28.0",
26
+ "@smithy/fetch-http-handler": "^5.6.1",
27
+ "@smithy/node-http-handler": "^4.9.1",
30
28
  "@smithy/types": "^4.15.0",
31
29
  "tslib": "^2.6.2"
32
30
  },