@aws-sdk/client-codebuild 3.52.0 → 3.54.1
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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CodeBuildServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +70 -4
- package/dist-cjs/protocols/Aws_json1_1.js +358 -979
- package/dist-es/index.js +1 -0
- package/dist-es/models/CodeBuildServiceException.js +12 -0
- package/dist-es/models/models_0.js +62 -1
- package/dist-es/protocols/Aws_json1_1.js +792 -1143
- package/dist-types/CodeBuildClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CodeBuildServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +37 -21
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CodeBuildClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CodeBuildServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -21
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-codebuild
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-codebuild
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-codebuild
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeBuildServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./CodeBuild"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CodeBuildClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var CodeBuildServiceException_1 = require("./models/CodeBuildServiceException");
|
|
11
|
+
Object.defineProperty(exports, "CodeBuildServiceException", { enumerable: true, get: function () { return CodeBuildServiceException_1.CodeBuildServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeBuildServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CodeBuildServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CodeBuildServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CodeBuildServiceException = CodeBuildServiceException;
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateWebhookOutput = exports.UpdateWebhookInput = exports.UpdateReportGroupOutput = exports.UpdateReportGroupInput = exports.UpdateProjectVisibilityOutput = exports.UpdateProjectVisibilityInput = exports.UpdateProjectOutput = exports.UpdateProjectInput = exports.StopBuildBatchOutput = exports.StopBuildBatchInput = exports.StopBuildOutput = exports.StopBuildInput = exports.StartBuildBatchOutput = exports.StartBuildBatchInput = exports.StartBuildOutput = exports.StartBuildInput = exports.RetryBuildBatchOutput = exports.RetryBuildBatchInput = exports.RetryBuildBatchType = exports.RetryBuildOutput = exports.RetryBuildInput = exports.PutResourcePolicyOutput = exports.PutResourcePolicyInput = exports.ListSourceCredentialsOutput = exports.SourceCredentialsInfo = exports.ListSourceCredentialsInput = exports.ListSharedReportGroupsOutput = exports.ListSharedReportGroupsInput = exports.ListSharedProjectsOutput = exports.ListSharedProjectsInput = exports.SharedResourceSortByType = void 0;
|
|
3
|
+
exports.BatchGetBuildsInput = exports.BatchGetBuildBatchesOutput = exports.BuildBatch = exports.VpcConfig = exports.ProjectSourceVersion = exports.ProjectSource = exports.SourceType = exports.GitSubmodulesConfig = exports.BuildStatusConfig = exports.SourceAuth = exports.SourceAuthType = exports.BuildBatchPhase = exports.BuildBatchPhaseType = exports.PhaseContext = exports.LogsConfig = exports.S3LogsConfig = exports.CloudWatchLogsConfig = exports.LogsConfigStatusType = exports.ProjectFileSystemLocation = exports.FileSystemType = exports.ProjectEnvironment = exports.EnvironmentType = exports.RegistryCredential = exports.CredentialProviderType = exports.ImagePullCredentialsType = exports.EnvironmentVariable = exports.EnvironmentVariableType = exports.ComputeType = exports.ProjectCache = exports.CacheType = exports.CacheMode = exports.BuildGroup = exports.BuildSummary = exports.ResolvedArtifact = exports.StatusType = exports.ProjectBuildBatchConfig = exports.BatchRestrictions = exports.BatchReportModeType = exports.BuildArtifacts = exports.BucketOwnerAccess = exports.BatchGetBuildBatchesInput = exports.InvalidInputException = exports.BatchDeleteBuildsOutput = exports.BuildNotDeleted = exports.BatchDeleteBuildsInput = exports.AuthType = exports.ArtifactsType = exports.ArtifactPackaging = exports.ArtifactNamespace = exports.AccountLimitExceededException = void 0;
|
|
4
|
+
exports.DeleteReportOutput = exports.DeleteReportInput = exports.DeleteProjectOutput = exports.DeleteProjectInput = exports.DeleteBuildBatchOutput = exports.DeleteBuildBatchInput = exports.ResourceNotFoundException = exports.OAuthProviderException = exports.CreateWebhookOutput = exports.CreateWebhookInput = exports.CreateReportGroupOutput = exports.CreateReportGroupInput = exports.ResourceAlreadyExistsException = exports.CreateProjectOutput = exports.CreateProjectInput = exports.BuildBatchFilter = exports.BatchGetReportsOutput = exports.Report = exports.TestReportSummary = exports.ReportStatusType = exports.CodeCoverageReportSummary = exports.BatchGetReportsInput = exports.BatchGetReportGroupsOutput = exports.ReportGroup = exports.ReportType = exports.ReportGroupStatusType = exports.ReportExportConfig = exports.S3ReportExportConfig = exports.ReportPackagingType = exports.ReportExportConfigType = exports.BatchGetReportGroupsInput = exports.BatchGetProjectsOutput = exports.Project = exports.Webhook = exports.WebhookFilter = exports.WebhookFilterType = exports.WebhookBuildType = exports.Tag = exports.ProjectVisibilityType = exports.ProjectBadge = exports.ProjectArtifacts = exports.BatchGetProjectsInput = exports.BatchGetBuildsOutput = exports.Build = exports.BuildPhase = exports.BuildPhaseType = exports.NetworkInterface = exports.LogsLocation = exports.ExportedEnvironmentVariable = exports.DebugSession = void 0;
|
|
5
|
+
exports.ListReportGroupsOutput = exports.ListReportGroupsInput = exports.ReportGroupSortByType = exports.ListProjectsOutput = exports.ListProjectsInput = exports.ProjectSortByType = exports.ListCuratedEnvironmentImagesOutput = exports.EnvironmentPlatform = exports.PlatformType = exports.EnvironmentLanguage = exports.LanguageType = exports.EnvironmentImage = exports.ListCuratedEnvironmentImagesInput = exports.ListBuildsForProjectOutput = exports.ListBuildsForProjectInput = exports.ListBuildsOutput = exports.ListBuildsInput = exports.ListBuildBatchesForProjectOutput = exports.ListBuildBatchesForProjectInput = exports.ListBuildBatchesOutput = exports.ListBuildBatchesInput = exports.InvalidateProjectCacheOutput = exports.InvalidateProjectCacheInput = exports.ImportSourceCredentialsOutput = exports.ImportSourceCredentialsInput = exports.ServerType = exports.GetResourcePolicyOutput = exports.GetResourcePolicyInput = exports.GetReportGroupTrendOutput = exports.ReportGroupTrendStats = exports.ReportWithRawData = exports.GetReportGroupTrendInput = exports.ReportGroupTrendFieldType = exports.DescribeTestCasesOutput = exports.TestCase = exports.DescribeTestCasesInput = exports.TestCaseFilter = exports.DescribeCodeCoveragesOutput = exports.CodeCoverage = exports.DescribeCodeCoveragesInput = exports.SortOrderType = exports.ReportCodeCoverageSortByType = exports.DeleteWebhookOutput = exports.DeleteWebhookInput = exports.DeleteSourceCredentialsOutput = exports.DeleteSourceCredentialsInput = exports.DeleteResourcePolicyOutput = exports.DeleteResourcePolicyInput = exports.DeleteReportGroupOutput = exports.DeleteReportGroupInput = void 0;
|
|
6
|
+
exports.UpdateWebhookOutput = exports.UpdateWebhookInput = exports.UpdateReportGroupOutput = exports.UpdateReportGroupInput = exports.UpdateProjectVisibilityOutput = exports.UpdateProjectVisibilityInput = exports.UpdateProjectOutput = exports.UpdateProjectInput = exports.StopBuildBatchOutput = exports.StopBuildBatchInput = exports.StopBuildOutput = exports.StopBuildInput = exports.StartBuildBatchOutput = exports.StartBuildBatchInput = exports.StartBuildOutput = exports.StartBuildInput = exports.RetryBuildBatchOutput = exports.RetryBuildBatchInput = exports.RetryBuildBatchType = exports.RetryBuildOutput = exports.RetryBuildInput = exports.PutResourcePolicyOutput = exports.PutResourcePolicyInput = exports.ListSourceCredentialsOutput = exports.SourceCredentialsInfo = exports.ListSourceCredentialsInput = exports.ListSharedReportGroupsOutput = exports.ListSharedReportGroupsInput = exports.ListSharedProjectsOutput = exports.ListSharedProjectsInput = exports.SharedResourceSortByType = exports.ListReportsForReportGroupOutput = exports.ListReportsForReportGroupInput = exports.ListReportsOutput = exports.ListReportsInput = exports.ReportFilter = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
const CodeBuildServiceException_1 = require("./CodeBuildServiceException");
|
|
9
|
+
class AccountLimitExceededException extends CodeBuildServiceException_1.CodeBuildServiceException {
|
|
10
|
+
constructor(opts) {
|
|
11
|
+
super({
|
|
12
|
+
name: "AccountLimitExceededException",
|
|
13
|
+
$fault: "client",
|
|
14
|
+
...opts,
|
|
15
|
+
});
|
|
16
|
+
this.name = "AccountLimitExceededException";
|
|
17
|
+
this.$fault = "client";
|
|
18
|
+
Object.setPrototypeOf(this, AccountLimitExceededException.prototype);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.AccountLimitExceededException = AccountLimitExceededException;
|
|
8
22
|
var ArtifactNamespace;
|
|
9
23
|
(function (ArtifactNamespace) {
|
|
10
24
|
ArtifactNamespace["BUILD_ID"] = "BUILD_ID";
|
|
@@ -45,6 +59,19 @@ var BatchDeleteBuildsOutput;
|
|
|
45
59
|
...obj,
|
|
46
60
|
});
|
|
47
61
|
})(BatchDeleteBuildsOutput = exports.BatchDeleteBuildsOutput || (exports.BatchDeleteBuildsOutput = {}));
|
|
62
|
+
class InvalidInputException extends CodeBuildServiceException_1.CodeBuildServiceException {
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "InvalidInputException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
this.name = "InvalidInputException";
|
|
70
|
+
this.$fault = "client";
|
|
71
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.InvalidInputException = InvalidInputException;
|
|
48
75
|
var BatchGetBuildBatchesInput;
|
|
49
76
|
(function (BatchGetBuildBatchesInput) {
|
|
50
77
|
BatchGetBuildBatchesInput.filterSensitiveLog = (obj) => ({
|
|
@@ -525,6 +552,19 @@ var CreateProjectOutput;
|
|
|
525
552
|
...obj,
|
|
526
553
|
});
|
|
527
554
|
})(CreateProjectOutput = exports.CreateProjectOutput || (exports.CreateProjectOutput = {}));
|
|
555
|
+
class ResourceAlreadyExistsException extends CodeBuildServiceException_1.CodeBuildServiceException {
|
|
556
|
+
constructor(opts) {
|
|
557
|
+
super({
|
|
558
|
+
name: "ResourceAlreadyExistsException",
|
|
559
|
+
$fault: "client",
|
|
560
|
+
...opts,
|
|
561
|
+
});
|
|
562
|
+
this.name = "ResourceAlreadyExistsException";
|
|
563
|
+
this.$fault = "client";
|
|
564
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
528
568
|
var CreateReportGroupInput;
|
|
529
569
|
(function (CreateReportGroupInput) {
|
|
530
570
|
CreateReportGroupInput.filterSensitiveLog = (obj) => ({
|
|
@@ -549,6 +589,32 @@ var CreateWebhookOutput;
|
|
|
549
589
|
...obj,
|
|
550
590
|
});
|
|
551
591
|
})(CreateWebhookOutput = exports.CreateWebhookOutput || (exports.CreateWebhookOutput = {}));
|
|
592
|
+
class OAuthProviderException extends CodeBuildServiceException_1.CodeBuildServiceException {
|
|
593
|
+
constructor(opts) {
|
|
594
|
+
super({
|
|
595
|
+
name: "OAuthProviderException",
|
|
596
|
+
$fault: "client",
|
|
597
|
+
...opts,
|
|
598
|
+
});
|
|
599
|
+
this.name = "OAuthProviderException";
|
|
600
|
+
this.$fault = "client";
|
|
601
|
+
Object.setPrototypeOf(this, OAuthProviderException.prototype);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
exports.OAuthProviderException = OAuthProviderException;
|
|
605
|
+
class ResourceNotFoundException extends CodeBuildServiceException_1.CodeBuildServiceException {
|
|
606
|
+
constructor(opts) {
|
|
607
|
+
super({
|
|
608
|
+
name: "ResourceNotFoundException",
|
|
609
|
+
$fault: "client",
|
|
610
|
+
...opts,
|
|
611
|
+
});
|
|
612
|
+
this.name = "ResourceNotFoundException";
|
|
613
|
+
this.$fault = "client";
|
|
614
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
552
618
|
var DeleteBuildBatchInput;
|
|
553
619
|
(function (DeleteBuildBatchInput) {
|
|
554
620
|
DeleteBuildBatchInput.filterSensitiveLog = (obj) => ({
|