@aws-sdk/client-greengrassv2 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
 
@@ -144,6 +144,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
144
144
  customEndpointFunctions.aws = awsEndpointFunctions;
145
145
 
146
146
  class GreengrassV2ServiceException extends ServiceException {
147
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.greengrassv2#GreengrassV2ServiceException";
147
148
  constructor(options) {
148
149
  super(options);
149
150
  Object.setPrototypeOf(this, GreengrassV2ServiceException.prototype);
@@ -151,6 +152,7 @@ class GreengrassV2ServiceException extends ServiceException {
151
152
  }
152
153
 
153
154
  class AccessDeniedException extends GreengrassV2ServiceException {
155
+ static shapeId = "com.amazonaws.greengrassv2#AccessDeniedException";
154
156
  name = "AccessDeniedException";
155
157
  $fault = "client";
156
158
  constructor(opts) {
@@ -163,6 +165,7 @@ class AccessDeniedException extends GreengrassV2ServiceException {
163
165
  }
164
166
  }
165
167
  class InternalServerException extends GreengrassV2ServiceException {
168
+ static shapeId = "com.amazonaws.greengrassv2#InternalServerException";
166
169
  name = "InternalServerException";
167
170
  $fault = "server";
168
171
  retryAfterSeconds;
@@ -177,6 +180,7 @@ class InternalServerException extends GreengrassV2ServiceException {
177
180
  }
178
181
  }
179
182
  class ValidationException extends GreengrassV2ServiceException {
183
+ static shapeId = "com.amazonaws.greengrassv2#ValidationException";
180
184
  name = "ValidationException";
181
185
  $fault = "client";
182
186
  reason;
@@ -193,6 +197,7 @@ class ValidationException extends GreengrassV2ServiceException {
193
197
  }
194
198
  }
195
199
  class ResourceNotFoundException extends GreengrassV2ServiceException {
200
+ static shapeId = "com.amazonaws.greengrassv2#ResourceNotFoundException";
196
201
  name = "ResourceNotFoundException";
197
202
  $fault = "client";
198
203
  resourceId;
@@ -209,6 +214,7 @@ class ResourceNotFoundException extends GreengrassV2ServiceException {
209
214
  }
210
215
  }
211
216
  class ThrottlingException extends GreengrassV2ServiceException {
217
+ static shapeId = "com.amazonaws.greengrassv2#ThrottlingException";
212
218
  name = "ThrottlingException";
213
219
  $fault = "client";
214
220
  quotaCode;
@@ -227,6 +233,7 @@ class ThrottlingException extends GreengrassV2ServiceException {
227
233
  }
228
234
  }
229
235
  class ConflictException extends GreengrassV2ServiceException {
236
+ static shapeId = "com.amazonaws.greengrassv2#ConflictException";
230
237
  name = "ConflictException";
231
238
  $fault = "client";
232
239
  resourceId;
@@ -243,6 +250,7 @@ class ConflictException extends GreengrassV2ServiceException {
243
250
  }
244
251
  }
245
252
  class RequestAlreadyInProgressException extends GreengrassV2ServiceException {
253
+ static shapeId = "com.amazonaws.greengrassv2#RequestAlreadyInProgressException";
246
254
  name = "RequestAlreadyInProgressException";
247
255
  $fault = "client";
248
256
  constructor(opts) {
@@ -255,6 +263,7 @@ class RequestAlreadyInProgressException extends GreengrassV2ServiceException {
255
263
  }
256
264
  }
257
265
  class ServiceQuotaExceededException extends GreengrassV2ServiceException {
266
+ static shapeId = "com.amazonaws.greengrassv2#ServiceQuotaExceededException";
258
267
  name = "ServiceQuotaExceededException";
259
268
  $fault = "client";
260
269
  resourceId;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class GreengrassV2ServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.greengrassv2#GreengrassV2ServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, GreengrassV2ServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { GreengrassV2ServiceException as __BaseException } from "./GreengrassV2ServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.greengrassv2#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 InternalServerException extends __BaseException {
16
+ static shapeId = "com.amazonaws.greengrassv2#InternalServerException";
15
17
  name = "InternalServerException";
16
18
  $fault = "server";
17
19
  retryAfterSeconds;
@@ -26,6 +28,7 @@ export class InternalServerException extends __BaseException {
26
28
  }
27
29
  }
28
30
  export class ValidationException extends __BaseException {
31
+ static shapeId = "com.amazonaws.greengrassv2#ValidationException";
29
32
  name = "ValidationException";
30
33
  $fault = "client";
31
34
  reason;
@@ -42,6 +45,7 @@ export class ValidationException extends __BaseException {
42
45
  }
43
46
  }
44
47
  export class ResourceNotFoundException extends __BaseException {
48
+ static shapeId = "com.amazonaws.greengrassv2#ResourceNotFoundException";
45
49
  name = "ResourceNotFoundException";
46
50
  $fault = "client";
47
51
  resourceId;
@@ -58,6 +62,7 @@ export class ResourceNotFoundException extends __BaseException {
58
62
  }
59
63
  }
60
64
  export class ThrottlingException extends __BaseException {
65
+ static shapeId = "com.amazonaws.greengrassv2#ThrottlingException";
61
66
  name = "ThrottlingException";
62
67
  $fault = "client";
63
68
  quotaCode;
@@ -76,6 +81,7 @@ export class ThrottlingException extends __BaseException {
76
81
  }
77
82
  }
78
83
  export class ConflictException extends __BaseException {
84
+ static shapeId = "com.amazonaws.greengrassv2#ConflictException";
79
85
  name = "ConflictException";
80
86
  $fault = "client";
81
87
  resourceId;
@@ -92,6 +98,7 @@ export class ConflictException extends __BaseException {
92
98
  }
93
99
  }
94
100
  export class RequestAlreadyInProgressException extends __BaseException {
101
+ static shapeId = "com.amazonaws.greengrassv2#RequestAlreadyInProgressException";
95
102
  name = "RequestAlreadyInProgressException";
96
103
  $fault = "client";
97
104
  constructor(opts) {
@@ -104,6 +111,7 @@ export class RequestAlreadyInProgressException extends __BaseException {
104
111
  }
105
112
  }
106
113
  export class ServiceQuotaExceededException extends __BaseException {
114
+ static shapeId = "com.amazonaws.greengrassv2#ServiceQuotaExceededException";
107
115
  name = "ServiceQuotaExceededException";
108
116
  $fault = "client";
109
117
  resourceId;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from GreengrassV2 service.
8
8
  */
9
9
  export declare class GreengrassV2ServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import type { ValidationExceptionField } from "./models_0";
7
7
  * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  /**
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
19
20
  * @public
20
21
  */
21
22
  export declare class InternalServerException extends __BaseException {
23
+ static readonly shapeId: string;
22
24
  readonly name: "InternalServerException";
23
25
  readonly $fault: "server";
24
26
  /**
@@ -37,6 +39,7 @@ export declare class InternalServerException extends __BaseException {
37
39
  * @public
38
40
  */
39
41
  export declare class ValidationException extends __BaseException {
42
+ static readonly shapeId: string;
40
43
  readonly name: "ValidationException";
41
44
  readonly $fault: "client";
42
45
  /**
@@ -59,6 +62,7 @@ export declare class ValidationException extends __BaseException {
59
62
  * @public
60
63
  */
61
64
  export declare class ResourceNotFoundException extends __BaseException {
65
+ static readonly shapeId: string;
62
66
  readonly name: "ResourceNotFoundException";
63
67
  readonly $fault: "client";
64
68
  /**
@@ -82,6 +86,7 @@ export declare class ResourceNotFoundException extends __BaseException {
82
86
  * @public
83
87
  */
84
88
  export declare class ThrottlingException extends __BaseException {
89
+ static readonly shapeId: string;
85
90
  readonly name: "ThrottlingException";
86
91
  readonly $fault: "client";
87
92
  /**
@@ -110,6 +115,7 @@ export declare class ThrottlingException extends __BaseException {
110
115
  * @public
111
116
  */
112
117
  export declare class ConflictException extends __BaseException {
118
+ static readonly shapeId: string;
113
119
  readonly name: "ConflictException";
114
120
  readonly $fault: "client";
115
121
  /**
@@ -134,6 +140,7 @@ export declare class ConflictException extends __BaseException {
134
140
  * @public
135
141
  */
136
142
  export declare class RequestAlreadyInProgressException extends __BaseException {
143
+ static readonly shapeId: string;
137
144
  readonly name: "RequestAlreadyInProgressException";
138
145
  readonly $fault: "client";
139
146
  /**
@@ -147,6 +154,7 @@ export declare class RequestAlreadyInProgressException extends __BaseException {
147
154
  * @public
148
155
  */
149
156
  export declare class ServiceQuotaExceededException extends __BaseException {
157
+ static readonly shapeId: string;
150
158
  readonly name: "ServiceQuotaExceededException";
151
159
  readonly $fault: "client";
152
160
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class GreengrassV2ServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,17 +3,20 @@ import { ValidationExceptionReason } from "./enums";
3
3
  import { GreengrassV2ServiceException as __BaseException } from "./GreengrassV2ServiceException";
4
4
  import { ValidationExceptionField } from "./models_0";
5
5
  export declare class AccessDeniedException extends __BaseException {
6
+ static readonly shapeId: string;
6
7
  readonly name: "AccessDeniedException";
7
8
  readonly $fault: "client";
8
9
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
10
  }
10
11
  export declare class InternalServerException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "InternalServerException";
12
14
  readonly $fault: "server";
13
15
  retryAfterSeconds?: number | undefined;
14
16
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
15
17
  }
16
18
  export declare class ValidationException extends __BaseException {
19
+ static readonly shapeId: string;
17
20
  readonly name: "ValidationException";
18
21
  readonly $fault: "client";
19
22
  reason?: ValidationExceptionReason | undefined;
@@ -21,6 +24,7 @@ export declare class ValidationException extends __BaseException {
21
24
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
22
25
  }
23
26
  export declare class ResourceNotFoundException extends __BaseException {
27
+ static readonly shapeId: string;
24
28
  readonly name: "ResourceNotFoundException";
25
29
  readonly $fault: "client";
26
30
  resourceId: string | undefined;
@@ -28,6 +32,7 @@ export declare class ResourceNotFoundException extends __BaseException {
28
32
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
29
33
  }
30
34
  export declare class ThrottlingException extends __BaseException {
35
+ static readonly shapeId: string;
31
36
  readonly name: "ThrottlingException";
32
37
  readonly $fault: "client";
33
38
  quotaCode?: string | undefined;
@@ -36,6 +41,7 @@ export declare class ThrottlingException extends __BaseException {
36
41
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
37
42
  }
38
43
  export declare class ConflictException extends __BaseException {
44
+ static readonly shapeId: string;
39
45
  readonly name: "ConflictException";
40
46
  readonly $fault: "client";
41
47
  resourceId: string | undefined;
@@ -43,11 +49,13 @@ export declare class ConflictException extends __BaseException {
43
49
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
44
50
  }
45
51
  export declare class RequestAlreadyInProgressException extends __BaseException {
52
+ static readonly shapeId: string;
46
53
  readonly name: "RequestAlreadyInProgressException";
47
54
  readonly $fault: "client";
48
55
  constructor(opts: __ExceptionOptionType<RequestAlreadyInProgressException, __BaseException>);
49
56
  }
50
57
  export declare class ServiceQuotaExceededException extends __BaseException {
58
+ static readonly shapeId: string;
51
59
  readonly name: "ServiceQuotaExceededException";
52
60
  readonly $fault: "client";
53
61
  resourceId?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-greengrassv2",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Greengrassv2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-greengrassv2",
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",