@aws-sdk/client-compute-optimizer-automation 3.1148.0 → 3.1150.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1149.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class ComputeOptimizerAutomationServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.computeoptimizerautomation#ComputeOptimizerAutomationServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, ComputeOptimizerAutomationServiceException.prototype);
@@ -139,6 +140,7 @@ class ComputeOptimizerAutomationServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends ComputeOptimizerAutomationServiceException {
143
+ static shapeId = "com.amazonaws.computeoptimizerautomation#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class AccessDeniedException extends ComputeOptimizerAutomationServiceException {
151
153
  }
152
154
  }
153
155
  class ForbiddenException extends ComputeOptimizerAutomationServiceException {
156
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ForbiddenException";
154
157
  name = "ForbiddenException";
155
158
  $fault = "client";
156
159
  constructor(opts) {
@@ -163,6 +166,7 @@ class ForbiddenException extends ComputeOptimizerAutomationServiceException {
163
166
  }
164
167
  }
165
168
  class IdempotencyTokenInUseException extends ComputeOptimizerAutomationServiceException {
169
+ static shapeId = "com.amazonaws.computeoptimizerautomation#IdempotencyTokenInUseException";
166
170
  name = "IdempotencyTokenInUseException";
167
171
  $fault = "client";
168
172
  constructor(opts) {
@@ -175,6 +179,7 @@ class IdempotencyTokenInUseException extends ComputeOptimizerAutomationServiceEx
175
179
  }
176
180
  }
177
181
  class IdempotentParameterMismatchException extends ComputeOptimizerAutomationServiceException {
182
+ static shapeId = "com.amazonaws.computeoptimizerautomation#IdempotentParameterMismatchException";
178
183
  name = "IdempotentParameterMismatchException";
179
184
  $fault = "client";
180
185
  constructor(opts) {
@@ -187,6 +192,7 @@ class IdempotentParameterMismatchException extends ComputeOptimizerAutomationSer
187
192
  }
188
193
  }
189
194
  class InternalServerException extends ComputeOptimizerAutomationServiceException {
195
+ static shapeId = "com.amazonaws.computeoptimizerautomation#InternalServerException";
190
196
  name = "InternalServerException";
191
197
  $fault = "server";
192
198
  constructor(opts) {
@@ -199,6 +205,7 @@ class InternalServerException extends ComputeOptimizerAutomationServiceException
199
205
  }
200
206
  }
201
207
  class InvalidParameterValueException extends ComputeOptimizerAutomationServiceException {
208
+ static shapeId = "com.amazonaws.computeoptimizerautomation#InvalidParameterValueException";
202
209
  name = "InvalidParameterValueException";
203
210
  $fault = "client";
204
211
  constructor(opts) {
@@ -211,6 +218,7 @@ class InvalidParameterValueException extends ComputeOptimizerAutomationServiceEx
211
218
  }
212
219
  }
213
220
  class NotManagementAccountException extends ComputeOptimizerAutomationServiceException {
221
+ static shapeId = "com.amazonaws.computeoptimizerautomation#NotManagementAccountException";
214
222
  name = "NotManagementAccountException";
215
223
  $fault = "client";
216
224
  constructor(opts) {
@@ -223,6 +231,7 @@ class NotManagementAccountException extends ComputeOptimizerAutomationServiceExc
223
231
  }
224
232
  }
225
233
  class OptInRequiredException extends ComputeOptimizerAutomationServiceException {
234
+ static shapeId = "com.amazonaws.computeoptimizerautomation#OptInRequiredException";
226
235
  name = "OptInRequiredException";
227
236
  $fault = "client";
228
237
  constructor(opts) {
@@ -235,6 +244,7 @@ class OptInRequiredException extends ComputeOptimizerAutomationServiceException
235
244
  }
236
245
  }
237
246
  class ServiceUnavailableException extends ComputeOptimizerAutomationServiceException {
247
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ServiceUnavailableException";
238
248
  name = "ServiceUnavailableException";
239
249
  $fault = "server";
240
250
  constructor(opts) {
@@ -247,6 +257,7 @@ class ServiceUnavailableException extends ComputeOptimizerAutomationServiceExcep
247
257
  }
248
258
  }
249
259
  class ThrottlingException extends ComputeOptimizerAutomationServiceException {
260
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ThrottlingException";
250
261
  name = "ThrottlingException";
251
262
  $fault = "client";
252
263
  constructor(opts) {
@@ -259,6 +270,7 @@ class ThrottlingException extends ComputeOptimizerAutomationServiceException {
259
270
  }
260
271
  }
261
272
  class ResourceNotFoundException extends ComputeOptimizerAutomationServiceException {
273
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ResourceNotFoundException";
262
274
  name = "ResourceNotFoundException";
263
275
  $fault = "client";
264
276
  constructor(opts) {
@@ -271,6 +283,7 @@ class ResourceNotFoundException extends ComputeOptimizerAutomationServiceExcepti
271
283
  }
272
284
  }
273
285
  class ServiceQuotaExceededException extends ComputeOptimizerAutomationServiceException {
286
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ServiceQuotaExceededException";
274
287
  name = "ServiceQuotaExceededException";
275
288
  $fault = "client";
276
289
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class ComputeOptimizerAutomationServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.computeoptimizerautomation#ComputeOptimizerAutomationServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, ComputeOptimizerAutomationServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { ComputeOptimizerAutomationServiceException as __BaseException, } from "./ComputeOptimizerAutomationServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.computeoptimizerautomation#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class ForbiddenException extends __BaseException {
16
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ForbiddenException";
15
17
  name = "ForbiddenException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class ForbiddenException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class IdempotencyTokenInUseException extends __BaseException {
29
+ static shapeId = "com.amazonaws.computeoptimizerautomation#IdempotencyTokenInUseException";
27
30
  name = "IdempotencyTokenInUseException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class IdempotencyTokenInUseException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class IdempotentParameterMismatchException extends __BaseException {
42
+ static shapeId = "com.amazonaws.computeoptimizerautomation#IdempotentParameterMismatchException";
39
43
  name = "IdempotentParameterMismatchException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class IdempotentParameterMismatchException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class InternalServerException extends __BaseException {
55
+ static shapeId = "com.amazonaws.computeoptimizerautomation#InternalServerException";
51
56
  name = "InternalServerException";
52
57
  $fault = "server";
53
58
  constructor(opts) {
@@ -60,6 +65,7 @@ export class InternalServerException extends __BaseException {
60
65
  }
61
66
  }
62
67
  export class InvalidParameterValueException extends __BaseException {
68
+ static shapeId = "com.amazonaws.computeoptimizerautomation#InvalidParameterValueException";
63
69
  name = "InvalidParameterValueException";
64
70
  $fault = "client";
65
71
  constructor(opts) {
@@ -72,6 +78,7 @@ export class InvalidParameterValueException extends __BaseException {
72
78
  }
73
79
  }
74
80
  export class NotManagementAccountException extends __BaseException {
81
+ static shapeId = "com.amazonaws.computeoptimizerautomation#NotManagementAccountException";
75
82
  name = "NotManagementAccountException";
76
83
  $fault = "client";
77
84
  constructor(opts) {
@@ -84,6 +91,7 @@ export class NotManagementAccountException extends __BaseException {
84
91
  }
85
92
  }
86
93
  export class OptInRequiredException extends __BaseException {
94
+ static shapeId = "com.amazonaws.computeoptimizerautomation#OptInRequiredException";
87
95
  name = "OptInRequiredException";
88
96
  $fault = "client";
89
97
  constructor(opts) {
@@ -96,6 +104,7 @@ export class OptInRequiredException extends __BaseException {
96
104
  }
97
105
  }
98
106
  export class ServiceUnavailableException extends __BaseException {
107
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ServiceUnavailableException";
99
108
  name = "ServiceUnavailableException";
100
109
  $fault = "server";
101
110
  constructor(opts) {
@@ -108,6 +117,7 @@ export class ServiceUnavailableException extends __BaseException {
108
117
  }
109
118
  }
110
119
  export class ThrottlingException extends __BaseException {
120
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ThrottlingException";
111
121
  name = "ThrottlingException";
112
122
  $fault = "client";
113
123
  constructor(opts) {
@@ -120,6 +130,7 @@ export class ThrottlingException extends __BaseException {
120
130
  }
121
131
  }
122
132
  export class ResourceNotFoundException extends __BaseException {
133
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ResourceNotFoundException";
123
134
  name = "ResourceNotFoundException";
124
135
  $fault = "client";
125
136
  constructor(opts) {
@@ -132,6 +143,7 @@ export class ResourceNotFoundException extends __BaseException {
132
143
  }
133
144
  }
134
145
  export class ServiceQuotaExceededException extends __BaseException {
146
+ static shapeId = "com.amazonaws.computeoptimizerautomation#ServiceQuotaExceededException";
135
147
  name = "ServiceQuotaExceededException";
136
148
  $fault = "client";
137
149
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from ComputeOptimizerAutomation service.
8
8
  */
9
9
  export declare class ComputeOptimizerAutomationServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { ComputeOptimizerAutomationServiceException as __BaseException } from ".
5
5
  * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "AccessDeniedException";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -17,6 +18,7 @@ export declare class AccessDeniedException extends __BaseException {
17
18
  * @public
18
19
  */
19
20
  export declare class ForbiddenException extends __BaseException {
21
+ static readonly shapeId: string;
20
22
  readonly name: "ForbiddenException";
21
23
  readonly $fault: "client";
22
24
  /**
@@ -29,6 +31,7 @@ export declare class ForbiddenException extends __BaseException {
29
31
  * @public
30
32
  */
31
33
  export declare class IdempotencyTokenInUseException extends __BaseException {
34
+ static readonly shapeId: string;
32
35
  readonly name: "IdempotencyTokenInUseException";
33
36
  readonly $fault: "client";
34
37
  /**
@@ -41,6 +44,7 @@ export declare class IdempotencyTokenInUseException extends __BaseException {
41
44
  * @public
42
45
  */
43
46
  export declare class IdempotentParameterMismatchException extends __BaseException {
47
+ static readonly shapeId: string;
44
48
  readonly name: "IdempotentParameterMismatchException";
45
49
  readonly $fault: "client";
46
50
  /**
@@ -53,6 +57,7 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
53
57
  * @public
54
58
  */
55
59
  export declare class InternalServerException extends __BaseException {
60
+ static readonly shapeId: string;
56
61
  readonly name: "InternalServerException";
57
62
  readonly $fault: "server";
58
63
  /**
@@ -65,6 +70,7 @@ export declare class InternalServerException extends __BaseException {
65
70
  * @public
66
71
  */
67
72
  export declare class InvalidParameterValueException extends __BaseException {
73
+ static readonly shapeId: string;
68
74
  readonly name: "InvalidParameterValueException";
69
75
  readonly $fault: "client";
70
76
  /**
@@ -77,6 +83,7 @@ export declare class InvalidParameterValueException extends __BaseException {
77
83
  * @public
78
84
  */
79
85
  export declare class NotManagementAccountException extends __BaseException {
86
+ static readonly shapeId: string;
80
87
  readonly name: "NotManagementAccountException";
81
88
  readonly $fault: "client";
82
89
  /**
@@ -89,6 +96,7 @@ export declare class NotManagementAccountException extends __BaseException {
89
96
  * @public
90
97
  */
91
98
  export declare class OptInRequiredException extends __BaseException {
99
+ static readonly shapeId: string;
92
100
  readonly name: "OptInRequiredException";
93
101
  readonly $fault: "client";
94
102
  /**
@@ -101,6 +109,7 @@ export declare class OptInRequiredException extends __BaseException {
101
109
  * @public
102
110
  */
103
111
  export declare class ServiceUnavailableException extends __BaseException {
112
+ static readonly shapeId: string;
104
113
  readonly name: "ServiceUnavailableException";
105
114
  readonly $fault: "server";
106
115
  /**
@@ -113,6 +122,7 @@ export declare class ServiceUnavailableException extends __BaseException {
113
122
  * @public
114
123
  */
115
124
  export declare class ThrottlingException extends __BaseException {
125
+ static readonly shapeId: string;
116
126
  readonly name: "ThrottlingException";
117
127
  readonly $fault: "client";
118
128
  /**
@@ -125,6 +135,7 @@ export declare class ThrottlingException extends __BaseException {
125
135
  * @public
126
136
  */
127
137
  export declare class ResourceNotFoundException extends __BaseException {
138
+ static readonly shapeId: string;
128
139
  readonly name: "ResourceNotFoundException";
129
140
  readonly $fault: "client";
130
141
  /**
@@ -137,6 +148,7 @@ export declare class ResourceNotFoundException extends __BaseException {
137
148
  * @public
138
149
  */
139
150
  export declare class ServiceQuotaExceededException extends __BaseException {
151
+ static readonly shapeId: string;
140
152
  readonly name: "ServiceQuotaExceededException";
141
153
  readonly $fault: "client";
142
154
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class ComputeOptimizerAutomationServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,61 +1,73 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { ComputeOptimizerAutomationServiceException as __BaseException } from "./ComputeOptimizerAutomationServiceException";
3
3
  export declare class AccessDeniedException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "AccessDeniedException";
5
6
  readonly $fault: "client";
6
7
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
8
  }
8
9
  export declare class ForbiddenException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "ForbiddenException";
10
12
  readonly $fault: "client";
11
13
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
12
14
  }
13
15
  export declare class IdempotencyTokenInUseException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "IdempotencyTokenInUseException";
15
18
  readonly $fault: "client";
16
19
  constructor(opts: __ExceptionOptionType<IdempotencyTokenInUseException, __BaseException>);
17
20
  }
18
21
  export declare class IdempotentParameterMismatchException extends __BaseException {
22
+ static readonly shapeId: string;
19
23
  readonly name: "IdempotentParameterMismatchException";
20
24
  readonly $fault: "client";
21
25
  constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
22
26
  }
23
27
  export declare class InternalServerException extends __BaseException {
28
+ static readonly shapeId: string;
24
29
  readonly name: "InternalServerException";
25
30
  readonly $fault: "server";
26
31
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
27
32
  }
28
33
  export declare class InvalidParameterValueException extends __BaseException {
34
+ static readonly shapeId: string;
29
35
  readonly name: "InvalidParameterValueException";
30
36
  readonly $fault: "client";
31
37
  constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
32
38
  }
33
39
  export declare class NotManagementAccountException extends __BaseException {
40
+ static readonly shapeId: string;
34
41
  readonly name: "NotManagementAccountException";
35
42
  readonly $fault: "client";
36
43
  constructor(opts: __ExceptionOptionType<NotManagementAccountException, __BaseException>);
37
44
  }
38
45
  export declare class OptInRequiredException extends __BaseException {
46
+ static readonly shapeId: string;
39
47
  readonly name: "OptInRequiredException";
40
48
  readonly $fault: "client";
41
49
  constructor(opts: __ExceptionOptionType<OptInRequiredException, __BaseException>);
42
50
  }
43
51
  export declare class ServiceUnavailableException extends __BaseException {
52
+ static readonly shapeId: string;
44
53
  readonly name: "ServiceUnavailableException";
45
54
  readonly $fault: "server";
46
55
  constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
47
56
  }
48
57
  export declare class ThrottlingException extends __BaseException {
58
+ static readonly shapeId: string;
49
59
  readonly name: "ThrottlingException";
50
60
  readonly $fault: "client";
51
61
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
52
62
  }
53
63
  export declare class ResourceNotFoundException extends __BaseException {
64
+ static readonly shapeId: string;
54
65
  readonly name: "ResourceNotFoundException";
55
66
  readonly $fault: "client";
56
67
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
57
68
  }
58
69
  export declare class ServiceQuotaExceededException extends __BaseException {
70
+ static readonly shapeId: string;
59
71
  readonly name: "ServiceQuotaExceededException";
60
72
  readonly $fault: "client";
61
73
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-compute-optimizer-automation",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Compute Optimizer Automation Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-compute-optimizer-automation",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",