@aws-sdk/client-application-auto-scaling 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.ApplicationAutoScalingServiceException = 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 ApplicationAutoScalingServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ApplicationAutoScalingServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ApplicationAutoScalingServiceException = ApplicationAutoScalingServiceException;
@@ -0,0 +1,143 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TooManyTagsException = exports.LimitExceededException = exports.ResourceNotFoundException = exports.FailedResourceAccessException = exports.InvalidNextTokenException = exports.ValidationException = exports.ObjectNotFoundException = exports.InternalServiceException = exports.ConcurrentUpdateException = void 0;
4
+ const ApplicationAutoScalingServiceException_1 = require("./ApplicationAutoScalingServiceException");
5
+ class ConcurrentUpdateException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
6
+ name = "ConcurrentUpdateException";
7
+ $fault = "server";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "ConcurrentUpdateException",
12
+ $fault: "server",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.ConcurrentUpdateException = ConcurrentUpdateException;
20
+ class InternalServiceException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
21
+ name = "InternalServiceException";
22
+ $fault = "server";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "InternalServiceException",
27
+ $fault: "server",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.InternalServiceException = InternalServiceException;
35
+ class ObjectNotFoundException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
36
+ name = "ObjectNotFoundException";
37
+ $fault = "client";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "ObjectNotFoundException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.ObjectNotFoundException = ObjectNotFoundException;
50
+ class ValidationException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
51
+ name = "ValidationException";
52
+ $fault = "client";
53
+ Message;
54
+ constructor(opts) {
55
+ super({
56
+ name: "ValidationException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, ValidationException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.ValidationException = ValidationException;
65
+ class InvalidNextTokenException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
66
+ name = "InvalidNextTokenException";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "InvalidNextTokenException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ exports.InvalidNextTokenException = InvalidNextTokenException;
80
+ class FailedResourceAccessException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
81
+ name = "FailedResourceAccessException";
82
+ $fault = "client";
83
+ Message;
84
+ constructor(opts) {
85
+ super({
86
+ name: "FailedResourceAccessException",
87
+ $fault: "client",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, FailedResourceAccessException.prototype);
91
+ this.Message = opts.Message;
92
+ }
93
+ }
94
+ exports.FailedResourceAccessException = FailedResourceAccessException;
95
+ class ResourceNotFoundException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
96
+ name = "ResourceNotFoundException";
97
+ $fault = "client";
98
+ Message;
99
+ ResourceName;
100
+ constructor(opts) {
101
+ super({
102
+ name: "ResourceNotFoundException",
103
+ $fault: "client",
104
+ ...opts,
105
+ });
106
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
107
+ this.Message = opts.Message;
108
+ this.ResourceName = opts.ResourceName;
109
+ }
110
+ }
111
+ exports.ResourceNotFoundException = ResourceNotFoundException;
112
+ class LimitExceededException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
113
+ name = "LimitExceededException";
114
+ $fault = "client";
115
+ Message;
116
+ constructor(opts) {
117
+ super({
118
+ name: "LimitExceededException",
119
+ $fault: "client",
120
+ ...opts,
121
+ });
122
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
123
+ this.Message = opts.Message;
124
+ }
125
+ }
126
+ exports.LimitExceededException = LimitExceededException;
127
+ class TooManyTagsException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
128
+ name = "TooManyTagsException";
129
+ $fault = "client";
130
+ Message;
131
+ ResourceName;
132
+ constructor(opts) {
133
+ super({
134
+ name: "TooManyTagsException",
135
+ $fault: "client",
136
+ ...opts,
137
+ });
138
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
139
+ this.Message = opts.Message;
140
+ this.ResourceName = opts.ResourceName;
141
+ }
142
+ }
143
+ exports.TooManyTagsException = TooManyTagsException;
@@ -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-02-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.applicationautoscaling",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2016-02-06",
33
35
  serviceTarget: "AnyScaleFrontendService",
34
36
  },