@aws-sdk/client-codebuild 3.987.0 → 3.989.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CodeBuildServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class CodeBuildServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, CodeBuildServiceException.prototype);
10
+ }
11
+ }
12
+ exports.CodeBuildServiceException = CodeBuildServiceException;
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceNotFoundException = exports.OAuthProviderException = exports.ResourceAlreadyExistsException = exports.InvalidInputException = exports.AccountSuspendedException = exports.AccountLimitExceededException = void 0;
4
+ const CodeBuildServiceException_1 = require("./CodeBuildServiceException");
5
+ class AccountLimitExceededException extends CodeBuildServiceException_1.CodeBuildServiceException {
6
+ name = "AccountLimitExceededException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccountLimitExceededException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccountLimitExceededException.prototype);
15
+ }
16
+ }
17
+ exports.AccountLimitExceededException = AccountLimitExceededException;
18
+ class AccountSuspendedException extends CodeBuildServiceException_1.CodeBuildServiceException {
19
+ name = "AccountSuspendedException";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "AccountSuspendedException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, AccountSuspendedException.prototype);
28
+ }
29
+ }
30
+ exports.AccountSuspendedException = AccountSuspendedException;
31
+ class InvalidInputException extends CodeBuildServiceException_1.CodeBuildServiceException {
32
+ name = "InvalidInputException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "InvalidInputException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
41
+ }
42
+ }
43
+ exports.InvalidInputException = InvalidInputException;
44
+ class ResourceAlreadyExistsException extends CodeBuildServiceException_1.CodeBuildServiceException {
45
+ name = "ResourceAlreadyExistsException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "ResourceAlreadyExistsException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
54
+ }
55
+ }
56
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
57
+ class OAuthProviderException extends CodeBuildServiceException_1.CodeBuildServiceException {
58
+ name = "OAuthProviderException";
59
+ $fault = "client";
60
+ constructor(opts) {
61
+ super({
62
+ name: "OAuthProviderException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, OAuthProviderException.prototype);
67
+ }
68
+ }
69
+ exports.OAuthProviderException = OAuthProviderException;
70
+ class ResourceNotFoundException extends CodeBuildServiceException_1.CodeBuildServiceException {
71
+ name = "ResourceNotFoundException";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "ResourceNotFoundException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
80
+ }
81
+ }
82
+ exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2016-10-06",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.codebuild",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2016-10-06",
33
35
  serviceTarget: "CodeBuild_20161006",
34
36
  },