@aws-sdk/client-bcm-recommended-actions 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.
package/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var BCMRecommendedActionsServiceException = require('./models/BCMRecommendedActionsServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -108,176 +111,6 @@ class BCMRecommendedActionsClient extends smithyClient.Client {
108
111
  }
109
112
  }
110
113
 
111
- class BCMRecommendedActionsServiceException extends smithyClient.ServiceException {
112
- constructor(options) {
113
- super(options);
114
- Object.setPrototypeOf(this, BCMRecommendedActionsServiceException.prototype);
115
- }
116
- }
117
-
118
- class AccessDeniedException extends BCMRecommendedActionsServiceException {
119
- name = "AccessDeniedException";
120
- $fault = "client";
121
- constructor(opts) {
122
- super({
123
- name: "AccessDeniedException",
124
- $fault: "client",
125
- ...opts,
126
- });
127
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
128
- }
129
- }
130
- class InternalServerException extends BCMRecommendedActionsServiceException {
131
- name = "InternalServerException";
132
- $fault = "server";
133
- constructor(opts) {
134
- super({
135
- name: "InternalServerException",
136
- $fault: "server",
137
- ...opts,
138
- });
139
- Object.setPrototypeOf(this, InternalServerException.prototype);
140
- }
141
- }
142
- class ThrottlingException extends BCMRecommendedActionsServiceException {
143
- name = "ThrottlingException";
144
- $fault = "client";
145
- constructor(opts) {
146
- super({
147
- name: "ThrottlingException",
148
- $fault: "client",
149
- ...opts,
150
- });
151
- Object.setPrototypeOf(this, ThrottlingException.prototype);
152
- }
153
- }
154
- class ValidationException extends BCMRecommendedActionsServiceException {
155
- name = "ValidationException";
156
- $fault = "client";
157
- reason;
158
- fieldList;
159
- constructor(opts) {
160
- super({
161
- name: "ValidationException",
162
- $fault: "client",
163
- ...opts,
164
- });
165
- Object.setPrototypeOf(this, ValidationException.prototype);
166
- this.reason = opts.reason;
167
- this.fieldList = opts.fieldList;
168
- }
169
- }
170
-
171
- const _ADE = "AccessDeniedException";
172
- const _AF = "ActionFilter";
173
- const _AFL = "ActionFilterList";
174
- const _ISE = "InternalServerException";
175
- const _LRA = "ListRecommendedActions";
176
- const _LRAR = "ListRecommendedActionsRequest";
177
- const _LRARi = "ListRecommendedActionsResponse";
178
- const _RA = "RecommendedAction";
179
- const _RAe = "RecommendedActions";
180
- const _RF = "RequestFilter";
181
- const _TE = "ThrottlingException";
182
- const _VE = "ValidationException";
183
- const _VEF = "ValidationExceptionField";
184
- const _VEFL = "ValidationExceptionFieldList";
185
- const _a = "actions";
186
- const _aI = "accountId";
187
- const _aQE = "awsQueryError";
188
- const _c = "client";
189
- const _co = "context";
190
- const _e = "error";
191
- const _f = "filter";
192
- const _fL = "fieldList";
193
- const _fe = "feature";
194
- const _hE = "httpError";
195
- const _i = "id";
196
- const _k = "key";
197
- const _lUTS = "lastUpdatedTimeStamp";
198
- const _m = "message";
199
- const _mO = "matchOption";
200
- const _mR = "maxResults";
201
- const _n = "name";
202
- const _nS = "nextSteps";
203
- const _nT = "nextToken";
204
- const _r = "reason";
205
- const _rA = "recommendedActions";
206
- const _s = "server";
207
- const _se = "severity";
208
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bcmrecommendedactions";
209
- const _t = "type";
210
- const _v = "values";
211
- const n0 = "com.amazonaws.bcmrecommendedactions";
212
- var AccessDeniedException$ = [-3, n0, _ADE,
213
- { [_aQE]: [`BCMRecommendedActionsAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
214
- [_m],
215
- [0], 1
216
- ];
217
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
218
- var ActionFilter$ = [3, n0, _AF,
219
- 0,
220
- [_k, _mO, _v],
221
- [0, 0, 64 | 0], 3
222
- ];
223
- var InternalServerException$ = [-3, n0, _ISE,
224
- { [_aQE]: [`BCMRecommendedActionsInternalServer`, 500], [_e]: _s, [_hE]: 500 },
225
- [_m],
226
- [0], 1
227
- ];
228
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
229
- var ListRecommendedActionsRequest$ = [3, n0, _LRAR,
230
- 0,
231
- [_f, _mR, _nT],
232
- [() => RequestFilter$, 1, 0]
233
- ];
234
- var ListRecommendedActionsResponse$ = [3, n0, _LRARi,
235
- 0,
236
- [_rA, _nT],
237
- [() => RecommendedActions, 0], 1
238
- ];
239
- var RecommendedAction$ = [3, n0, _RA,
240
- 0,
241
- [_i, _t, _aI, _se, _fe, _co, _nS, _lUTS],
242
- [0, 0, 0, 0, 0, 128 | 0, 64 | 0, 0]
243
- ];
244
- var RequestFilter$ = [3, n0, _RF,
245
- 0,
246
- [_a],
247
- [() => ActionFilterList]
248
- ];
249
- var ThrottlingException$ = [-3, n0, _TE,
250
- { [_aQE]: [`BCMRecommendedActionsThrottling`, 429], [_e]: _c, [_hE]: 429 },
251
- [_m],
252
- [0], 1
253
- ];
254
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
255
- var ValidationException$ = [-3, n0, _VE,
256
- { [_aQE]: [`BCMRecommendedActionsValidation`, 400], [_e]: _c, [_hE]: 400 },
257
- [_m, _r, _fL],
258
- [0, 0, () => ValidationExceptionFieldList], 2
259
- ];
260
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
261
- var ValidationExceptionField$ = [3, n0, _VEF,
262
- 0,
263
- [_n, _m],
264
- [0, 0], 2
265
- ];
266
- var BCMRecommendedActionsServiceException$ = [-3, _sm, "BCMRecommendedActionsServiceException", 0, [], []];
267
- schema.TypeRegistry.for(_sm).registerError(BCMRecommendedActionsServiceException$, BCMRecommendedActionsServiceException);
268
- var ActionFilterList = [1, n0, _AFL,
269
- 0, () => ActionFilter$
270
- ];
271
- var RecommendedActions = [1, n0, _RAe,
272
- 0, () => RecommendedAction$
273
- ];
274
- var ValidationExceptionFieldList = [1, n0, _VEFL,
275
- 0, () => ValidationExceptionField$
276
- ];
277
- var ListRecommendedActions$ = [9, n0, _LRA,
278
- 0, () => ListRecommendedActionsRequest$, () => ListRecommendedActionsResponse$
279
- ];
280
-
281
114
  class ListRecommendedActionsCommand extends smithyClient.Command
282
115
  .classBuilder()
283
116
  .ep(commonParams)
@@ -286,7 +119,7 @@ class ListRecommendedActionsCommand extends smithyClient.Command
286
119
  })
287
120
  .s("AWSBillingAndCostManagementRecommendedActions", "ListRecommendedActions", {})
288
121
  .n("BCMRecommendedActionsClient", "ListRecommendedActionsCommand")
289
- .sc(ListRecommendedActions$)
122
+ .sc(schemas_0.ListRecommendedActions$)
290
123
  .build() {
291
124
  }
292
125
 
@@ -365,30 +198,29 @@ Object.defineProperty(exports, "__Client", {
365
198
  enumerable: true,
366
199
  get: function () { return smithyClient.Client; }
367
200
  });
368
- exports.AccessDeniedException = AccessDeniedException;
369
- exports.AccessDeniedException$ = AccessDeniedException$;
370
- exports.ActionFilter$ = ActionFilter$;
201
+ Object.defineProperty(exports, "BCMRecommendedActionsServiceException", {
202
+ enumerable: true,
203
+ get: function () { return BCMRecommendedActionsServiceException.BCMRecommendedActionsServiceException; }
204
+ });
371
205
  exports.ActionType = ActionType;
372
206
  exports.BCMRecommendedActions = BCMRecommendedActions;
373
207
  exports.BCMRecommendedActionsClient = BCMRecommendedActionsClient;
374
- exports.BCMRecommendedActionsServiceException = BCMRecommendedActionsServiceException;
375
- exports.BCMRecommendedActionsServiceException$ = BCMRecommendedActionsServiceException$;
376
208
  exports.Feature = Feature;
377
209
  exports.FilterName = FilterName;
378
- exports.InternalServerException = InternalServerException;
379
- exports.InternalServerException$ = InternalServerException$;
380
- exports.ListRecommendedActions$ = ListRecommendedActions$;
381
210
  exports.ListRecommendedActionsCommand = ListRecommendedActionsCommand;
382
- exports.ListRecommendedActionsRequest$ = ListRecommendedActionsRequest$;
383
- exports.ListRecommendedActionsResponse$ = ListRecommendedActionsResponse$;
384
211
  exports.MatchOption = MatchOption;
385
- exports.RecommendedAction$ = RecommendedAction$;
386
- exports.RequestFilter$ = RequestFilter$;
387
212
  exports.Severity = Severity;
388
- exports.ThrottlingException = ThrottlingException;
389
- exports.ThrottlingException$ = ThrottlingException$;
390
- exports.ValidationException = ValidationException;
391
- exports.ValidationException$ = ValidationException$;
392
- exports.ValidationExceptionField$ = ValidationExceptionField$;
393
213
  exports.ValidationExceptionReason = ValidationExceptionReason;
394
214
  exports.paginateListRecommendedActions = paginateListRecommendedActions;
215
+ Object.keys(schemas_0).forEach(function (k) {
216
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
217
+ enumerable: true,
218
+ get: function () { return schemas_0[k]; }
219
+ });
220
+ });
221
+ Object.keys(errors).forEach(function (k) {
222
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
223
+ enumerable: true,
224
+ get: function () { return errors[k]; }
225
+ });
226
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BCMRecommendedActionsServiceException = 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 BCMRecommendedActionsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, BCMRecommendedActionsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.BCMRecommendedActionsServiceException = BCMRecommendedActionsServiceException;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const BCMRecommendedActionsServiceException_1 = require("./BCMRecommendedActionsServiceException");
5
+ class AccessDeniedException extends BCMRecommendedActionsServiceException_1.BCMRecommendedActionsServiceException {
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 InternalServerException extends BCMRecommendedActionsServiceException_1.BCMRecommendedActionsServiceException {
19
+ name = "InternalServerException";
20
+ $fault = "server";
21
+ constructor(opts) {
22
+ super({
23
+ name: "InternalServerException",
24
+ $fault: "server",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InternalServerException.prototype);
28
+ }
29
+ }
30
+ exports.InternalServerException = InternalServerException;
31
+ class ThrottlingException extends BCMRecommendedActionsServiceException_1.BCMRecommendedActionsServiceException {
32
+ name = "ThrottlingException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "ThrottlingException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
41
+ }
42
+ }
43
+ exports.ThrottlingException = ThrottlingException;
44
+ class ValidationException extends BCMRecommendedActionsServiceException_1.BCMRecommendedActionsServiceException {
45
+ name = "ValidationException";
46
+ $fault = "client";
47
+ reason;
48
+ fieldList;
49
+ constructor(opts) {
50
+ super({
51
+ name: "ValidationException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ Object.setPrototypeOf(this, ValidationException.prototype);
56
+ this.reason = opts.reason;
57
+ this.fieldList = opts.fieldList;
58
+ }
59
+ }
60
+ exports.ValidationException = ValidationException;
@@ -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: "2024-11-14",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.bcmrecommendedactions",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2024-11-14",
33
35
  serviceTarget: "AWSBillingAndCostManagementRecommendedActions",
34
36
  },
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListRecommendedActions$ = exports.ValidationExceptionField$ = exports.RequestFilter$ = exports.RecommendedAction$ = exports.ListRecommendedActionsResponse$ = exports.ListRecommendedActionsRequest$ = exports.ActionFilter$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.BCMRecommendedActionsServiceException$ = void 0;
4
+ const _ADE = "AccessDeniedException";
5
+ const _AF = "ActionFilter";
6
+ const _AFL = "ActionFilterList";
7
+ const _ISE = "InternalServerException";
8
+ const _LRA = "ListRecommendedActions";
9
+ const _LRAR = "ListRecommendedActionsRequest";
10
+ const _LRARi = "ListRecommendedActionsResponse";
11
+ const _RA = "RecommendedAction";
12
+ const _RAe = "RecommendedActions";
13
+ const _RF = "RequestFilter";
14
+ const _TE = "ThrottlingException";
15
+ const _VE = "ValidationException";
16
+ const _VEF = "ValidationExceptionField";
17
+ const _VEFL = "ValidationExceptionFieldList";
18
+ const _a = "actions";
19
+ const _aI = "accountId";
20
+ const _aQE = "awsQueryError";
21
+ const _c = "client";
22
+ const _co = "context";
23
+ const _e = "error";
24
+ const _f = "filter";
25
+ const _fL = "fieldList";
26
+ const _fe = "feature";
27
+ const _hE = "httpError";
28
+ const _i = "id";
29
+ const _k = "key";
30
+ const _lUTS = "lastUpdatedTimeStamp";
31
+ const _m = "message";
32
+ const _mO = "matchOption";
33
+ const _mR = "maxResults";
34
+ const _n = "name";
35
+ const _nS = "nextSteps";
36
+ const _nT = "nextToken";
37
+ const _r = "reason";
38
+ const _rA = "recommendedActions";
39
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bcmrecommendedactions";
40
+ const _se = "server";
41
+ const _sev = "severity";
42
+ const _t = "type";
43
+ const _v = "values";
44
+ const n0 = "com.amazonaws.bcmrecommendedactions";
45
+ const schema_1 = require("@smithy/core/schema");
46
+ const BCMRecommendedActionsServiceException_1 = require("../models/BCMRecommendedActionsServiceException");
47
+ const errors_1 = require("../models/errors");
48
+ const _s_registry = schema_1.TypeRegistry.for(_s);
49
+ exports.BCMRecommendedActionsServiceException$ = [-3, _s, "BCMRecommendedActionsServiceException", 0, [], []];
50
+ _s_registry.registerError(exports.BCMRecommendedActionsServiceException$, BCMRecommendedActionsServiceException_1.BCMRecommendedActionsServiceException);
51
+ const n0_registry = schema_1.TypeRegistry.for(n0);
52
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
53
+ { [_aQE]: [`BCMRecommendedActionsAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
54
+ [_m],
55
+ [0], 1
56
+ ];
57
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
58
+ exports.InternalServerException$ = [-3, n0, _ISE,
59
+ { [_aQE]: [`BCMRecommendedActionsInternalServer`, 500], [_e]: _se, [_hE]: 500 },
60
+ [_m],
61
+ [0], 1
62
+ ];
63
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
64
+ exports.ThrottlingException$ = [-3, n0, _TE,
65
+ { [_aQE]: [`BCMRecommendedActionsThrottling`, 429], [_e]: _c, [_hE]: 429 },
66
+ [_m],
67
+ [0], 1
68
+ ];
69
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
70
+ exports.ValidationException$ = [-3, n0, _VE,
71
+ { [_aQE]: [`BCMRecommendedActionsValidation`, 400], [_e]: _c, [_hE]: 400 },
72
+ [_m, _r, _fL],
73
+ [0, 0, () => ValidationExceptionFieldList], 2
74
+ ];
75
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
76
+ exports.errorTypeRegistries = [
77
+ _s_registry,
78
+ n0_registry,
79
+ ];
80
+ exports.ActionFilter$ = [3, n0, _AF,
81
+ 0,
82
+ [_k, _mO, _v],
83
+ [0, 0, 64 | 0], 3
84
+ ];
85
+ exports.ListRecommendedActionsRequest$ = [3, n0, _LRAR,
86
+ 0,
87
+ [_f, _mR, _nT],
88
+ [() => exports.RequestFilter$, 1, 0]
89
+ ];
90
+ exports.ListRecommendedActionsResponse$ = [3, n0, _LRARi,
91
+ 0,
92
+ [_rA, _nT],
93
+ [() => RecommendedActions, 0], 1
94
+ ];
95
+ exports.RecommendedAction$ = [3, n0, _RA,
96
+ 0,
97
+ [_i, _t, _aI, _sev, _fe, _co, _nS, _lUTS],
98
+ [0, 0, 0, 0, 0, 128 | 0, 64 | 0, 0]
99
+ ];
100
+ exports.RequestFilter$ = [3, n0, _RF,
101
+ 0,
102
+ [_a],
103
+ [() => ActionFilterList]
104
+ ];
105
+ exports.ValidationExceptionField$ = [3, n0, _VEF,
106
+ 0,
107
+ [_n, _m],
108
+ [0, 0], 2
109
+ ];
110
+ var ActionFilterList = [1, n0, _AFL,
111
+ 0, () => exports.ActionFilter$
112
+ ];
113
+ var FilterValues = 64 | 0;
114
+ var NextSteps = 64 | 0;
115
+ var RecommendedActions = [1, n0, _RAe,
116
+ 0, () => exports.RecommendedAction$
117
+ ];
118
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
119
+ 0, () => exports.ValidationExceptionField$
120
+ ];
121
+ var Context = 128 | 0;
122
+ exports.ListRecommendedActions$ = [9, n0, _LRA,
123
+ 0, () => exports.ListRecommendedActionsRequest$, () => exports.ListRecommendedActionsResponse$
124
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultBCMRecommendedActionsHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2024-11-14",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_0Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.bcmrecommendedactions",
30
+ errorTypeRegistries,
29
31
  version: "2024-11-14",
30
32
  serviceTarget: "AWSBillingAndCostManagementRecommendedActions",
31
33
  },
@@ -33,32 +33,52 @@ const _nS = "nextSteps";
33
33
  const _nT = "nextToken";
34
34
  const _r = "reason";
35
35
  const _rA = "recommendedActions";
36
- const _s = "server";
37
- const _se = "severity";
38
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bcmrecommendedactions";
36
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bcmrecommendedactions";
37
+ const _se = "server";
38
+ const _sev = "severity";
39
39
  const _t = "type";
40
40
  const _v = "values";
41
41
  const n0 = "com.amazonaws.bcmrecommendedactions";
42
42
  import { TypeRegistry } from "@smithy/core/schema";
43
43
  import { BCMRecommendedActionsServiceException } from "../models/BCMRecommendedActionsServiceException";
44
44
  import { AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, } from "../models/errors";
45
+ const _s_registry = TypeRegistry.for(_s);
46
+ export var BCMRecommendedActionsServiceException$ = [-3, _s, "BCMRecommendedActionsServiceException", 0, [], []];
47
+ _s_registry.registerError(BCMRecommendedActionsServiceException$, BCMRecommendedActionsServiceException);
48
+ const n0_registry = TypeRegistry.for(n0);
45
49
  export var AccessDeniedException$ = [-3, n0, _ADE,
46
50
  { [_aQE]: [`BCMRecommendedActionsAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
47
51
  [_m],
48
52
  [0], 1
49
53
  ];
50
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
54
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
55
+ export var InternalServerException$ = [-3, n0, _ISE,
56
+ { [_aQE]: [`BCMRecommendedActionsInternalServer`, 500], [_e]: _se, [_hE]: 500 },
57
+ [_m],
58
+ [0], 1
59
+ ];
60
+ n0_registry.registerError(InternalServerException$, InternalServerException);
61
+ export var ThrottlingException$ = [-3, n0, _TE,
62
+ { [_aQE]: [`BCMRecommendedActionsThrottling`, 429], [_e]: _c, [_hE]: 429 },
63
+ [_m],
64
+ [0], 1
65
+ ];
66
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
67
+ export var ValidationException$ = [-3, n0, _VE,
68
+ { [_aQE]: [`BCMRecommendedActionsValidation`, 400], [_e]: _c, [_hE]: 400 },
69
+ [_m, _r, _fL],
70
+ [0, 0, () => ValidationExceptionFieldList], 2
71
+ ];
72
+ n0_registry.registerError(ValidationException$, ValidationException);
73
+ export const errorTypeRegistries = [
74
+ _s_registry,
75
+ n0_registry,
76
+ ];
51
77
  export var ActionFilter$ = [3, n0, _AF,
52
78
  0,
53
79
  [_k, _mO, _v],
54
80
  [0, 0, 64 | 0], 3
55
81
  ];
56
- export var InternalServerException$ = [-3, n0, _ISE,
57
- { [_aQE]: [`BCMRecommendedActionsInternalServer`, 500], [_e]: _s, [_hE]: 500 },
58
- [_m],
59
- [0], 1
60
- ];
61
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
62
82
  export var ListRecommendedActionsRequest$ = [3, n0, _LRAR,
63
83
  0,
64
84
  [_f, _mR, _nT],
@@ -71,7 +91,7 @@ export var ListRecommendedActionsResponse$ = [3, n0, _LRARi,
71
91
  ];
72
92
  export var RecommendedAction$ = [3, n0, _RA,
73
93
  0,
74
- [_i, _t, _aI, _se, _fe, _co, _nS, _lUTS],
94
+ [_i, _t, _aI, _sev, _fe, _co, _nS, _lUTS],
75
95
  [0, 0, 0, 0, 0, 128 | 0, 64 | 0, 0]
76
96
  ];
77
97
  export var RequestFilter$ = [3, n0, _RF,
@@ -79,25 +99,11 @@ export var RequestFilter$ = [3, n0, _RF,
79
99
  [_a],
80
100
  [() => ActionFilterList]
81
101
  ];
82
- export var ThrottlingException$ = [-3, n0, _TE,
83
- { [_aQE]: [`BCMRecommendedActionsThrottling`, 429], [_e]: _c, [_hE]: 429 },
84
- [_m],
85
- [0], 1
86
- ];
87
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
88
- export var ValidationException$ = [-3, n0, _VE,
89
- { [_aQE]: [`BCMRecommendedActionsValidation`, 400], [_e]: _c, [_hE]: 400 },
90
- [_m, _r, _fL],
91
- [0, 0, () => ValidationExceptionFieldList], 2
92
- ];
93
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
94
102
  export var ValidationExceptionField$ = [3, n0, _VEF,
95
103
  0,
96
104
  [_n, _m],
97
105
  [0, 0], 2
98
106
  ];
99
- export var BCMRecommendedActionsServiceException$ = [-3, _sm, "BCMRecommendedActionsServiceException", 0, [], []];
100
- TypeRegistry.for(_sm).registerError(BCMRecommendedActionsServiceException$, BCMRecommendedActionsServiceException);
101
107
  var ActionFilterList = [1, n0, _AFL,
102
108
  0, () => ActionFilter$
103
109
  ];
@@ -1,13 +1,20 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var BCMRecommendedActionsServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
3
- export declare var ActionFilter$: StaticStructureSchema;
4
5
  export declare var InternalServerException$: StaticErrorSchema;
6
+ export declare var ThrottlingException$: StaticErrorSchema;
7
+ export declare var ValidationException$: StaticErrorSchema;
8
+ /**
9
+ * TypeRegistry instances containing modeled errors.
10
+ * @internal
11
+ *
12
+ */
13
+ export declare const errorTypeRegistries: TypeRegistry[];
14
+ export declare var ActionFilter$: StaticStructureSchema;
5
15
  export declare var ListRecommendedActionsRequest$: StaticStructureSchema;
6
16
  export declare var ListRecommendedActionsResponse$: StaticStructureSchema;
7
17
  export declare var RecommendedAction$: StaticStructureSchema;
8
18
  export declare var RequestFilter$: StaticStructureSchema;
9
- export declare var ThrottlingException$: StaticErrorSchema;
10
- export declare var ValidationException$: StaticErrorSchema;
11
19
  export declare var ValidationExceptionField$: StaticStructureSchema;
12
- export declare var BCMRecommendedActionsServiceException$: StaticErrorSchema;
13
20
  export declare var ListRecommendedActions$: StaticOperationSchema;
@@ -1,17 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var BCMRecommendedActionsServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
7
- export declare var ActionFilter$: StaticStructureSchema;
8
9
  export declare var InternalServerException$: StaticErrorSchema;
10
+ export declare var ThrottlingException$: StaticErrorSchema;
11
+ export declare var ValidationException$: StaticErrorSchema;
12
+ export declare const errorTypeRegistries: TypeRegistry[];
13
+ export declare var ActionFilter$: StaticStructureSchema;
9
14
  export declare var ListRecommendedActionsRequest$: StaticStructureSchema;
10
15
  export declare var ListRecommendedActionsResponse$: StaticStructureSchema;
11
16
  export declare var RecommendedAction$: StaticStructureSchema;
12
17
  export declare var RequestFilter$: StaticStructureSchema;
13
- export declare var ThrottlingException$: StaticErrorSchema;
14
- export declare var ValidationException$: StaticErrorSchema;
15
18
  export declare var ValidationExceptionField$: StaticStructureSchema;
16
- export declare var BCMRecommendedActionsServiceException$: StaticErrorSchema;
17
19
  export declare var ListRecommendedActions$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bcm-recommended-actions",
3
3
  "description": "AWS SDK for JavaScript Bcm Recommended Actions Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bcm-recommended-actions",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",