@aws-sdk/client-rtbfabric 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.RTBFabricServiceException = 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 RTBFabricServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, RTBFabricServiceException.prototype);
10
+ }
11
+ }
12
+ exports.RTBFabricServiceException = RTBFabricServiceException;
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceQuotaExceededException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
+ const RTBFabricServiceException_1 = require("./RTBFabricServiceException");
5
+ class AccessDeniedException extends RTBFabricServiceException_1.RTBFabricServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ }
16
+ }
17
+ exports.AccessDeniedException = AccessDeniedException;
18
+ class ConflictException extends RTBFabricServiceException_1.RTBFabricServiceException {
19
+ name = "ConflictException";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "ConflictException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, ConflictException.prototype);
28
+ }
29
+ }
30
+ exports.ConflictException = ConflictException;
31
+ class InternalServerException extends RTBFabricServiceException_1.RTBFabricServiceException {
32
+ name = "InternalServerException";
33
+ $fault = "server";
34
+ $retryable = {};
35
+ constructor(opts) {
36
+ super({
37
+ name: "InternalServerException",
38
+ $fault: "server",
39
+ ...opts,
40
+ });
41
+ Object.setPrototypeOf(this, InternalServerException.prototype);
42
+ }
43
+ }
44
+ exports.InternalServerException = InternalServerException;
45
+ class ResourceNotFoundException extends RTBFabricServiceException_1.RTBFabricServiceException {
46
+ name = "ResourceNotFoundException";
47
+ $fault = "client";
48
+ constructor(opts) {
49
+ super({
50
+ name: "ResourceNotFoundException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
55
+ }
56
+ }
57
+ exports.ResourceNotFoundException = ResourceNotFoundException;
58
+ class ThrottlingException extends RTBFabricServiceException_1.RTBFabricServiceException {
59
+ name = "ThrottlingException";
60
+ $fault = "client";
61
+ $retryable = {};
62
+ constructor(opts) {
63
+ super({
64
+ name: "ThrottlingException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
69
+ }
70
+ }
71
+ exports.ThrottlingException = ThrottlingException;
72
+ class ValidationException extends RTBFabricServiceException_1.RTBFabricServiceException {
73
+ name = "ValidationException";
74
+ $fault = "client";
75
+ constructor(opts) {
76
+ super({
77
+ name: "ValidationException",
78
+ $fault: "client",
79
+ ...opts,
80
+ });
81
+ Object.setPrototypeOf(this, ValidationException.prototype);
82
+ }
83
+ }
84
+ exports.ValidationException = ValidationException;
85
+ class ServiceQuotaExceededException extends RTBFabricServiceException_1.RTBFabricServiceException {
86
+ name = "ServiceQuotaExceededException";
87
+ $fault = "client";
88
+ constructor(opts) {
89
+ super({
90
+ name: "ServiceQuotaExceededException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
95
+ }
96
+ }
97
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
@@ -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: "2023-05-15",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.rtbfabric",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2023-05-15",
33
35
  serviceTarget: "RTBFabric",
34
36
  },