@aws-sdk/client-greengrass 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 GreengrassServiceException extends ServiceException {
147
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.greengrass#GreengrassServiceException";
147
148
  constructor(options) {
148
149
  super(options);
149
150
  Object.setPrototypeOf(this, GreengrassServiceException.prototype);
@@ -151,6 +152,7 @@ class GreengrassServiceException extends ServiceException {
151
152
  }
152
153
 
153
154
  class BadRequestException extends GreengrassServiceException {
155
+ static shapeId = "com.amazonaws.greengrass#BadRequestException";
154
156
  name = "BadRequestException";
155
157
  $fault = "client";
156
158
  ErrorDetails;
@@ -167,6 +169,7 @@ class BadRequestException extends GreengrassServiceException {
167
169
  }
168
170
  }
169
171
  class InternalServerErrorException extends GreengrassServiceException {
172
+ static shapeId = "com.amazonaws.greengrass#InternalServerErrorException";
170
173
  name = "InternalServerErrorException";
171
174
  $fault = "server";
172
175
  ErrorDetails;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class GreengrassServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.greengrass#GreengrassServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, GreengrassServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { GreengrassServiceException as __BaseException } from "./GreengrassServiceException";
2
2
  export class BadRequestException extends __BaseException {
3
+ static shapeId = "com.amazonaws.greengrass#BadRequestException";
3
4
  name = "BadRequestException";
4
5
  $fault = "client";
5
6
  ErrorDetails;
@@ -16,6 +17,7 @@ export class BadRequestException extends __BaseException {
16
17
  }
17
18
  }
18
19
  export class InternalServerErrorException extends __BaseException {
20
+ static shapeId = "com.amazonaws.greengrass#InternalServerErrorException";
19
21
  name = "InternalServerErrorException";
20
22
  $fault = "server";
21
23
  ErrorDetails;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Greengrass service.
8
8
  */
9
9
  export declare class GreengrassServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -6,6 +6,7 @@ import type { ErrorDetail } from "./models_0";
6
6
  * @public
7
7
  */
8
8
  export declare class BadRequestException extends __BaseException {
9
+ static readonly shapeId: string;
9
10
  readonly name: "BadRequestException";
10
11
  readonly $fault: "client";
11
12
  /**
@@ -28,6 +29,7 @@ export declare class BadRequestException extends __BaseException {
28
29
  * @public
29
30
  */
30
31
  export declare class InternalServerErrorException extends __BaseException {
32
+ static readonly shapeId: string;
31
33
  readonly name: "InternalServerErrorException";
32
34
  readonly $fault: "server";
33
35
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class GreengrassServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -2,6 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
2
2
  import { GreengrassServiceException as __BaseException } from "./GreengrassServiceException";
3
3
  import { ErrorDetail } from "./models_0";
4
4
  export declare class BadRequestException extends __BaseException {
5
+ static readonly shapeId: string;
5
6
  readonly name: "BadRequestException";
6
7
  readonly $fault: "client";
7
8
  ErrorDetails?: ErrorDetail[] | undefined;
@@ -9,6 +10,7 @@ export declare class BadRequestException extends __BaseException {
9
10
  constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
10
11
  }
11
12
  export declare class InternalServerErrorException extends __BaseException {
13
+ static readonly shapeId: string;
12
14
  readonly name: "InternalServerErrorException";
13
15
  readonly $fault: "server";
14
16
  ErrorDetails?: ErrorDetail[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-greengrass",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Greengrass Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-greengrass",
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",