@aws-sdk/client-sustainability 3.1148.0 → 3.1149.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 +6 -1
- package/dist-es/models/SustainabilityServiceException.js +1 -0
- package/dist-es/models/errors.js +4 -0
- package/dist-types/models/SustainabilityServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +4 -0
- package/dist-types/ts3.4/models/SustainabilityServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +4 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -197,11 +197,12 @@ const commonParams = {
|
|
|
197
197
|
Region: { type: "builtInParams", name: "region" },
|
|
198
198
|
};
|
|
199
199
|
|
|
200
|
-
var version = "3.
|
|
200
|
+
var version = "3.1148.0";
|
|
201
201
|
var packageInfo = {
|
|
202
202
|
version: version};
|
|
203
203
|
|
|
204
204
|
class SustainabilityServiceException extends ServiceException {
|
|
205
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sustainability#SustainabilityServiceException";
|
|
205
206
|
constructor(options) {
|
|
206
207
|
super(options);
|
|
207
208
|
Object.setPrototypeOf(this, SustainabilityServiceException.prototype);
|
|
@@ -209,6 +210,7 @@ class SustainabilityServiceException extends ServiceException {
|
|
|
209
210
|
}
|
|
210
211
|
|
|
211
212
|
class AccessDeniedException extends SustainabilityServiceException {
|
|
213
|
+
static shapeId = "com.amazonaws.sustainability#AccessDeniedException";
|
|
212
214
|
name = "AccessDeniedException";
|
|
213
215
|
$fault = "client";
|
|
214
216
|
Message;
|
|
@@ -223,6 +225,7 @@ class AccessDeniedException extends SustainabilityServiceException {
|
|
|
223
225
|
}
|
|
224
226
|
}
|
|
225
227
|
class InternalServerException extends SustainabilityServiceException {
|
|
228
|
+
static shapeId = "com.amazonaws.sustainability#InternalServerException";
|
|
226
229
|
name = "InternalServerException";
|
|
227
230
|
$fault = "server";
|
|
228
231
|
$retryable = {};
|
|
@@ -238,6 +241,7 @@ class InternalServerException extends SustainabilityServiceException {
|
|
|
238
241
|
}
|
|
239
242
|
}
|
|
240
243
|
class ThrottlingException extends SustainabilityServiceException {
|
|
244
|
+
static shapeId = "com.amazonaws.sustainability#ThrottlingException";
|
|
241
245
|
name = "ThrottlingException";
|
|
242
246
|
$fault = "client";
|
|
243
247
|
$retryable = {};
|
|
@@ -253,6 +257,7 @@ class ThrottlingException extends SustainabilityServiceException {
|
|
|
253
257
|
}
|
|
254
258
|
}
|
|
255
259
|
class ValidationException extends SustainabilityServiceException {
|
|
260
|
+
static shapeId = "com.amazonaws.sustainability#ValidationException";
|
|
256
261
|
name = "ValidationException";
|
|
257
262
|
$fault = "client";
|
|
258
263
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SustainabilityServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sustainability#SustainabilityServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, SustainabilityServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SustainabilityServiceException as __BaseException } from "./SustainabilityServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.sustainability#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class InternalServerException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.sustainability#InternalServerException";
|
|
17
19
|
name = "InternalServerException";
|
|
18
20
|
$fault = "server";
|
|
19
21
|
$retryable = {};
|
|
@@ -29,6 +31,7 @@ export class InternalServerException extends __BaseException {
|
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
export class ThrottlingException extends __BaseException {
|
|
34
|
+
static shapeId = "com.amazonaws.sustainability#ThrottlingException";
|
|
32
35
|
name = "ThrottlingException";
|
|
33
36
|
$fault = "client";
|
|
34
37
|
$retryable = {};
|
|
@@ -44,6 +47,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
export class ValidationException extends __BaseException {
|
|
50
|
+
static shapeId = "com.amazonaws.sustainability#ValidationException";
|
|
47
51
|
name = "ValidationException";
|
|
48
52
|
$fault = "client";
|
|
49
53
|
Message;
|
|
@@ -5,6 +5,7 @@ import { SustainabilityServiceException as __BaseException } from "./Sustainabil
|
|
|
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
|
Message: string | undefined;
|
|
@@ -18,6 +19,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "InternalServerException";
|
|
22
24
|
readonly $fault: "server";
|
|
23
25
|
$retryable: {};
|
|
@@ -32,6 +34,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
32
34
|
* @public
|
|
33
35
|
*/
|
|
34
36
|
export declare class ThrottlingException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
35
38
|
readonly name: "ThrottlingException";
|
|
36
39
|
readonly $fault: "client";
|
|
37
40
|
$retryable: {};
|
|
@@ -46,6 +49,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
46
49
|
* @public
|
|
47
50
|
*/
|
|
48
51
|
export declare class ValidationException extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
49
53
|
readonly name: "ValidationException";
|
|
50
54
|
readonly $fault: "client";
|
|
51
55
|
Message: string | undefined;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SustainabilityServiceException as __BaseException } from "./SustainabilityServiceException";
|
|
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
|
Message: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class InternalServerException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "InternalServerException";
|
|
11
13
|
readonly $fault: "server";
|
|
12
14
|
$retryable: {};
|
|
@@ -14,6 +16,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
14
16
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
15
17
|
}
|
|
16
18
|
export declare class ThrottlingException extends __BaseException {
|
|
19
|
+
static readonly shapeId: string;
|
|
17
20
|
readonly name: "ThrottlingException";
|
|
18
21
|
readonly $fault: "client";
|
|
19
22
|
$retryable: {};
|
|
@@ -21,6 +24,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
21
24
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
22
25
|
}
|
|
23
26
|
export declare class ValidationException extends __BaseException {
|
|
27
|
+
static readonly shapeId: string;
|
|
24
28
|
readonly name: "ValidationException";
|
|
25
29
|
readonly $fault: "client";
|
|
26
30
|
Message: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sustainability",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sustainability Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sustainability",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
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.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.48",
|
|
52
52
|
"@aws-sdk/types": "^3.974.6",
|
|
53
|
-
"@smithy/core": "^3.35.
|
|
53
|
+
"@smithy/core": "^3.35.2",
|
|
54
54
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
55
55
|
"@smithy/node-http-handler": "^4.12.1",
|
|
56
56
|
"@smithy/types": "^4.19.0",
|