@aws-sdk/client-medical-imaging 3.987.0 → 3.988.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.MedicalImagingServiceException = 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 MedicalImagingServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, MedicalImagingServiceException.prototype);
10
+ }
11
+ }
12
+ exports.MedicalImagingServiceException = MedicalImagingServiceException;
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
+ const MedicalImagingServiceException_1 = require("./MedicalImagingServiceException");
5
+ class AccessDeniedException extends MedicalImagingServiceException_1.MedicalImagingServiceException {
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 MedicalImagingServiceException_1.MedicalImagingServiceException {
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 MedicalImagingServiceException_1.MedicalImagingServiceException {
32
+ name = "InternalServerException";
33
+ $fault = "server";
34
+ constructor(opts) {
35
+ super({
36
+ name: "InternalServerException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InternalServerException.prototype);
41
+ }
42
+ }
43
+ exports.InternalServerException = InternalServerException;
44
+ class ResourceNotFoundException extends MedicalImagingServiceException_1.MedicalImagingServiceException {
45
+ name = "ResourceNotFoundException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "ResourceNotFoundException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
54
+ }
55
+ }
56
+ exports.ResourceNotFoundException = ResourceNotFoundException;
57
+ class ServiceQuotaExceededException extends MedicalImagingServiceException_1.MedicalImagingServiceException {
58
+ name = "ServiceQuotaExceededException";
59
+ $fault = "client";
60
+ constructor(opts) {
61
+ super({
62
+ name: "ServiceQuotaExceededException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
67
+ }
68
+ }
69
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
70
+ class ThrottlingException extends MedicalImagingServiceException_1.MedicalImagingServiceException {
71
+ name = "ThrottlingException";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "ThrottlingException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
80
+ }
81
+ }
82
+ exports.ThrottlingException = ThrottlingException;
83
+ class ValidationException extends MedicalImagingServiceException_1.MedicalImagingServiceException {
84
+ name = "ValidationException";
85
+ $fault = "client";
86
+ constructor(opts) {
87
+ super({
88
+ name: "ValidationException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ValidationException.prototype);
93
+ }
94
+ }
95
+ exports.ValidationException = ValidationException;
@@ -10,6 +10,7 @@ const util_stream_1 = require("@smithy/util-stream");
10
10
  const util_utf8_1 = require("@smithy/util-utf8");
11
11
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
12
12
  const endpointResolver_1 = require("./endpoint/endpointResolver");
13
+ const schemas_0_1 = require("./schemas/schemas_0");
13
14
  const getRuntimeConfig = (config) => {
14
15
  return {
15
16
  apiVersion: "2023-07-19",
@@ -30,6 +31,7 @@ const getRuntimeConfig = (config) => {
30
31
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
31
32
  protocolSettings: config?.protocolSettings ?? {
32
33
  defaultNamespace: "com.amazonaws.medicalimaging",
34
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
33
35
  version: "2023-07-19",
34
36
  serviceTarget: "AHIGatewayService",
35
37
  },