@aws-sdk/client-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.AutoScalingServiceException = 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 AutoScalingServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, AutoScalingServiceException.prototype);
10
+ }
11
+ }
12
+ exports.AutoScalingServiceException = AutoScalingServiceException;
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IrreversibleInstanceRefreshFault = exports.IdempotentParameterMismatchError = exports.InvalidNextToken = exports.ScalingActivityInProgressFault = exports.ResourceInUseFault = exports.LimitExceededFault = exports.InstanceRefreshInProgressFault = exports.ServiceLinkedRoleFailure = exports.ResourceContentionFault = exports.AlreadyExistsFault = exports.ActiveInstanceRefreshNotFoundFault = void 0;
4
+ const AutoScalingServiceException_1 = require("./AutoScalingServiceException");
5
+ class ActiveInstanceRefreshNotFoundFault extends AutoScalingServiceException_1.AutoScalingServiceException {
6
+ name = "ActiveInstanceRefreshNotFoundFault";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "ActiveInstanceRefreshNotFoundFault",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, ActiveInstanceRefreshNotFoundFault.prototype);
15
+ }
16
+ }
17
+ exports.ActiveInstanceRefreshNotFoundFault = ActiveInstanceRefreshNotFoundFault;
18
+ class AlreadyExistsFault extends AutoScalingServiceException_1.AutoScalingServiceException {
19
+ name = "AlreadyExistsFault";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "AlreadyExistsFault",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, AlreadyExistsFault.prototype);
28
+ }
29
+ }
30
+ exports.AlreadyExistsFault = AlreadyExistsFault;
31
+ class ResourceContentionFault extends AutoScalingServiceException_1.AutoScalingServiceException {
32
+ name = "ResourceContentionFault";
33
+ $fault = "server";
34
+ constructor(opts) {
35
+ super({
36
+ name: "ResourceContentionFault",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ResourceContentionFault.prototype);
41
+ }
42
+ }
43
+ exports.ResourceContentionFault = ResourceContentionFault;
44
+ class ServiceLinkedRoleFailure extends AutoScalingServiceException_1.AutoScalingServiceException {
45
+ name = "ServiceLinkedRoleFailure";
46
+ $fault = "server";
47
+ constructor(opts) {
48
+ super({
49
+ name: "ServiceLinkedRoleFailure",
50
+ $fault: "server",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ServiceLinkedRoleFailure.prototype);
54
+ }
55
+ }
56
+ exports.ServiceLinkedRoleFailure = ServiceLinkedRoleFailure;
57
+ class InstanceRefreshInProgressFault extends AutoScalingServiceException_1.AutoScalingServiceException {
58
+ name = "InstanceRefreshInProgressFault";
59
+ $fault = "client";
60
+ constructor(opts) {
61
+ super({
62
+ name: "InstanceRefreshInProgressFault",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, InstanceRefreshInProgressFault.prototype);
67
+ }
68
+ }
69
+ exports.InstanceRefreshInProgressFault = InstanceRefreshInProgressFault;
70
+ class LimitExceededFault extends AutoScalingServiceException_1.AutoScalingServiceException {
71
+ name = "LimitExceededFault";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "LimitExceededFault",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, LimitExceededFault.prototype);
80
+ }
81
+ }
82
+ exports.LimitExceededFault = LimitExceededFault;
83
+ class ResourceInUseFault extends AutoScalingServiceException_1.AutoScalingServiceException {
84
+ name = "ResourceInUseFault";
85
+ $fault = "client";
86
+ constructor(opts) {
87
+ super({
88
+ name: "ResourceInUseFault",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ResourceInUseFault.prototype);
93
+ }
94
+ }
95
+ exports.ResourceInUseFault = ResourceInUseFault;
96
+ class ScalingActivityInProgressFault extends AutoScalingServiceException_1.AutoScalingServiceException {
97
+ name = "ScalingActivityInProgressFault";
98
+ $fault = "client";
99
+ constructor(opts) {
100
+ super({
101
+ name: "ScalingActivityInProgressFault",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, ScalingActivityInProgressFault.prototype);
106
+ }
107
+ }
108
+ exports.ScalingActivityInProgressFault = ScalingActivityInProgressFault;
109
+ class InvalidNextToken extends AutoScalingServiceException_1.AutoScalingServiceException {
110
+ name = "InvalidNextToken";
111
+ $fault = "client";
112
+ constructor(opts) {
113
+ super({
114
+ name: "InvalidNextToken",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, InvalidNextToken.prototype);
119
+ }
120
+ }
121
+ exports.InvalidNextToken = InvalidNextToken;
122
+ class IdempotentParameterMismatchError extends AutoScalingServiceException_1.AutoScalingServiceException {
123
+ name = "IdempotentParameterMismatchError";
124
+ $fault = "client";
125
+ Message;
126
+ constructor(opts) {
127
+ super({
128
+ name: "IdempotentParameterMismatchError",
129
+ $fault: "client",
130
+ ...opts,
131
+ });
132
+ Object.setPrototypeOf(this, IdempotentParameterMismatchError.prototype);
133
+ this.Message = opts.Message;
134
+ }
135
+ }
136
+ exports.IdempotentParameterMismatchError = IdempotentParameterMismatchError;
137
+ class IrreversibleInstanceRefreshFault extends AutoScalingServiceException_1.AutoScalingServiceException {
138
+ name = "IrreversibleInstanceRefreshFault";
139
+ $fault = "client";
140
+ constructor(opts) {
141
+ super({
142
+ name: "IrreversibleInstanceRefreshFault",
143
+ $fault: "client",
144
+ ...opts,
145
+ });
146
+ Object.setPrototypeOf(this, IrreversibleInstanceRefreshFault.prototype);
147
+ }
148
+ }
149
+ exports.IrreversibleInstanceRefreshFault = IrreversibleInstanceRefreshFault;
@@ -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: "2011-01-01",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.autoscaling",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  xmlNamespace: "http://autoscaling.amazonaws.com/doc/2011-01-01/",
33
35
  version: "2011-01-01",
34
36
  serviceTarget: "AutoScaling_2011_01_01",