@aws-sdk/client-resource-groups 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 +9 -1
- package/dist-es/models/ResourceGroupsServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/ResourceGroupsServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/ResourceGroupsServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/package.json +4 -4
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.
|
|
72
|
+
var version = "3.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -135,6 +135,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
135
135
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
136
136
|
|
|
137
137
|
class ResourceGroupsServiceException extends ServiceException {
|
|
138
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroups#ResourceGroupsServiceException";
|
|
138
139
|
constructor(options) {
|
|
139
140
|
super(options);
|
|
140
141
|
Object.setPrototypeOf(this, ResourceGroupsServiceException.prototype);
|
|
@@ -142,6 +143,7 @@ class ResourceGroupsServiceException extends ServiceException {
|
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
class BadRequestException extends ResourceGroupsServiceException {
|
|
146
|
+
static shapeId = "com.amazonaws.resourcegroups#BadRequestException";
|
|
145
147
|
name = "BadRequestException";
|
|
146
148
|
$fault = "client";
|
|
147
149
|
Message;
|
|
@@ -156,6 +158,7 @@ class BadRequestException extends ResourceGroupsServiceException {
|
|
|
156
158
|
}
|
|
157
159
|
}
|
|
158
160
|
class ForbiddenException extends ResourceGroupsServiceException {
|
|
161
|
+
static shapeId = "com.amazonaws.resourcegroups#ForbiddenException";
|
|
159
162
|
name = "ForbiddenException";
|
|
160
163
|
$fault = "client";
|
|
161
164
|
Message;
|
|
@@ -170,6 +173,7 @@ class ForbiddenException extends ResourceGroupsServiceException {
|
|
|
170
173
|
}
|
|
171
174
|
}
|
|
172
175
|
class InternalServerErrorException extends ResourceGroupsServiceException {
|
|
176
|
+
static shapeId = "com.amazonaws.resourcegroups#InternalServerErrorException";
|
|
173
177
|
name = "InternalServerErrorException";
|
|
174
178
|
$fault = "server";
|
|
175
179
|
Message;
|
|
@@ -184,6 +188,7 @@ class InternalServerErrorException extends ResourceGroupsServiceException {
|
|
|
184
188
|
}
|
|
185
189
|
}
|
|
186
190
|
class MethodNotAllowedException extends ResourceGroupsServiceException {
|
|
191
|
+
static shapeId = "com.amazonaws.resourcegroups#MethodNotAllowedException";
|
|
187
192
|
name = "MethodNotAllowedException";
|
|
188
193
|
$fault = "client";
|
|
189
194
|
Message;
|
|
@@ -198,6 +203,7 @@ class MethodNotAllowedException extends ResourceGroupsServiceException {
|
|
|
198
203
|
}
|
|
199
204
|
}
|
|
200
205
|
class TooManyRequestsException extends ResourceGroupsServiceException {
|
|
206
|
+
static shapeId = "com.amazonaws.resourcegroups#TooManyRequestsException";
|
|
201
207
|
name = "TooManyRequestsException";
|
|
202
208
|
$fault = "client";
|
|
203
209
|
Message;
|
|
@@ -212,6 +218,7 @@ class TooManyRequestsException extends ResourceGroupsServiceException {
|
|
|
212
218
|
}
|
|
213
219
|
}
|
|
214
220
|
class UnauthorizedException extends ResourceGroupsServiceException {
|
|
221
|
+
static shapeId = "com.amazonaws.resourcegroups#UnauthorizedException";
|
|
215
222
|
name = "UnauthorizedException";
|
|
216
223
|
$fault = "client";
|
|
217
224
|
Message;
|
|
@@ -226,6 +233,7 @@ class UnauthorizedException extends ResourceGroupsServiceException {
|
|
|
226
233
|
}
|
|
227
234
|
}
|
|
228
235
|
class NotFoundException extends ResourceGroupsServiceException {
|
|
236
|
+
static shapeId = "com.amazonaws.resourcegroups#NotFoundException";
|
|
229
237
|
name = "NotFoundException";
|
|
230
238
|
$fault = "client";
|
|
231
239
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class ResourceGroupsServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroups#ResourceGroupsServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, ResourceGroupsServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
|
|
2
2
|
export class BadRequestException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.resourcegroups#BadRequestException";
|
|
3
4
|
name = "BadRequestException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class BadRequestException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ForbiddenException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.resourcegroups#ForbiddenException";
|
|
17
19
|
name = "ForbiddenException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class ForbiddenException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InternalServerErrorException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.resourcegroups#InternalServerErrorException";
|
|
31
34
|
name = "InternalServerErrorException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class InternalServerErrorException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class MethodNotAllowedException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.resourcegroups#MethodNotAllowedException";
|
|
45
49
|
name = "MethodNotAllowedException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -56,6 +60,7 @@ export class MethodNotAllowedException extends __BaseException {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class TooManyRequestsException extends __BaseException {
|
|
63
|
+
static shapeId = "com.amazonaws.resourcegroups#TooManyRequestsException";
|
|
59
64
|
name = "TooManyRequestsException";
|
|
60
65
|
$fault = "client";
|
|
61
66
|
Message;
|
|
@@ -70,6 +75,7 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
export class UnauthorizedException extends __BaseException {
|
|
78
|
+
static shapeId = "com.amazonaws.resourcegroups#UnauthorizedException";
|
|
73
79
|
name = "UnauthorizedException";
|
|
74
80
|
$fault = "client";
|
|
75
81
|
Message;
|
|
@@ -84,6 +90,7 @@ export class UnauthorizedException extends __BaseException {
|
|
|
84
90
|
}
|
|
85
91
|
}
|
|
86
92
|
export class NotFoundException extends __BaseException {
|
|
93
|
+
static shapeId = "com.amazonaws.resourcegroups#NotFoundException";
|
|
87
94
|
name = "NotFoundException";
|
|
88
95
|
$fault = "client";
|
|
89
96
|
Message;
|
|
@@ -5,6 +5,7 @@ import { ResourceGroupsServiceException as __BaseException } from "./ResourceGro
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class BadRequestException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "BadRequestException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
Message?: string | undefined;
|
|
@@ -18,6 +19,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class ForbiddenException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "ForbiddenException";
|
|
22
24
|
readonly $fault: "client";
|
|
23
25
|
Message?: string | undefined;
|
|
@@ -31,6 +33,7 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
31
33
|
* @public
|
|
32
34
|
*/
|
|
33
35
|
export declare class InternalServerErrorException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
34
37
|
readonly name: "InternalServerErrorException";
|
|
35
38
|
readonly $fault: "server";
|
|
36
39
|
Message?: string | undefined;
|
|
@@ -44,6 +47,7 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
44
47
|
* @public
|
|
45
48
|
*/
|
|
46
49
|
export declare class MethodNotAllowedException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
47
51
|
readonly name: "MethodNotAllowedException";
|
|
48
52
|
readonly $fault: "client";
|
|
49
53
|
Message?: string | undefined;
|
|
@@ -58,6 +62,7 @@ export declare class MethodNotAllowedException extends __BaseException {
|
|
|
58
62
|
* @public
|
|
59
63
|
*/
|
|
60
64
|
export declare class TooManyRequestsException extends __BaseException {
|
|
65
|
+
static readonly shapeId: string;
|
|
61
66
|
readonly name: "TooManyRequestsException";
|
|
62
67
|
readonly $fault: "client";
|
|
63
68
|
Message?: string | undefined;
|
|
@@ -72,6 +77,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
72
77
|
* @public
|
|
73
78
|
*/
|
|
74
79
|
export declare class UnauthorizedException extends __BaseException {
|
|
80
|
+
static readonly shapeId: string;
|
|
75
81
|
readonly name: "UnauthorizedException";
|
|
76
82
|
readonly $fault: "client";
|
|
77
83
|
Message?: string | undefined;
|
|
@@ -85,6 +91,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
85
91
|
* @public
|
|
86
92
|
*/
|
|
87
93
|
export declare class NotFoundException extends __BaseException {
|
|
94
|
+
static readonly shapeId: string;
|
|
88
95
|
readonly name: "NotFoundException";
|
|
89
96
|
readonly $fault: "client";
|
|
90
97
|
Message?: string | undefined;
|
|
@@ -1,42 +1,49 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
|
|
3
3
|
export declare class BadRequestException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "BadRequestException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class ForbiddenException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "ForbiddenException";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class InternalServerErrorException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "InternalServerErrorException";
|
|
17
20
|
readonly $fault: "server";
|
|
18
21
|
Message?: string | undefined;
|
|
19
22
|
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
20
23
|
}
|
|
21
24
|
export declare class MethodNotAllowedException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
22
26
|
readonly name: "MethodNotAllowedException";
|
|
23
27
|
readonly $fault: "client";
|
|
24
28
|
Message?: string | undefined;
|
|
25
29
|
constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
export declare class TooManyRequestsException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
28
33
|
readonly name: "TooManyRequestsException";
|
|
29
34
|
readonly $fault: "client";
|
|
30
35
|
Message?: string | undefined;
|
|
31
36
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
32
37
|
}
|
|
33
38
|
export declare class UnauthorizedException extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
34
40
|
readonly name: "UnauthorizedException";
|
|
35
41
|
readonly $fault: "client";
|
|
36
42
|
Message?: string | undefined;
|
|
37
43
|
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
38
44
|
}
|
|
39
45
|
export declare class NotFoundException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
40
47
|
readonly name: "NotFoundException";
|
|
41
48
|
readonly $fault: "client";
|
|
42
49
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-groups",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-resource-groups",
|
|
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.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
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",
|