@aws-sdk/client-drs 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 DrsServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.drs#DrsServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, DrsServiceException.prototype);
@@ -139,6 +140,7 @@ class DrsServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends DrsServiceException {
143
+ static shapeId = "com.amazonaws.drs#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  code;
@@ -153,6 +155,7 @@ class AccessDeniedException extends DrsServiceException {
153
155
  }
154
156
  }
155
157
  class ConflictException extends DrsServiceException {
158
+ static shapeId = "com.amazonaws.drs#ConflictException";
156
159
  name = "ConflictException";
157
160
  $fault = "client";
158
161
  code;
@@ -171,6 +174,7 @@ class ConflictException extends DrsServiceException {
171
174
  }
172
175
  }
173
176
  class InternalServerException extends DrsServiceException {
177
+ static shapeId = "com.amazonaws.drs#InternalServerException";
174
178
  name = "InternalServerException";
175
179
  $fault = "server";
176
180
  retryAfterSeconds;
@@ -185,6 +189,7 @@ class InternalServerException extends DrsServiceException {
185
189
  }
186
190
  }
187
191
  class ResourceNotFoundException extends DrsServiceException {
192
+ static shapeId = "com.amazonaws.drs#ResourceNotFoundException";
188
193
  name = "ResourceNotFoundException";
189
194
  $fault = "client";
190
195
  code;
@@ -203,6 +208,7 @@ class ResourceNotFoundException extends DrsServiceException {
203
208
  }
204
209
  }
205
210
  class ServiceQuotaExceededException extends DrsServiceException {
211
+ static shapeId = "com.amazonaws.drs#ServiceQuotaExceededException";
206
212
  name = "ServiceQuotaExceededException";
207
213
  $fault = "client";
208
214
  code;
@@ -225,6 +231,7 @@ class ServiceQuotaExceededException extends DrsServiceException {
225
231
  }
226
232
  }
227
233
  class ThrottlingException extends DrsServiceException {
234
+ static shapeId = "com.amazonaws.drs#ThrottlingException";
228
235
  name = "ThrottlingException";
229
236
  $fault = "client";
230
237
  serviceCode;
@@ -243,6 +250,7 @@ class ThrottlingException extends DrsServiceException {
243
250
  }
244
251
  }
245
252
  class UninitializedAccountException extends DrsServiceException {
253
+ static shapeId = "com.amazonaws.drs#UninitializedAccountException";
246
254
  name = "UninitializedAccountException";
247
255
  $fault = "client";
248
256
  code;
@@ -257,6 +265,7 @@ class UninitializedAccountException extends DrsServiceException {
257
265
  }
258
266
  }
259
267
  class ValidationException extends DrsServiceException {
268
+ static shapeId = "com.amazonaws.drs#ValidationException";
260
269
  name = "ValidationException";
261
270
  $fault = "client";
262
271
  code;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class DrsServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.drs#DrsServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, DrsServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { DrsServiceException as __BaseException } from "./DrsServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.drs#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  code;
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
14
15
  }
15
16
  }
16
17
  export class ConflictException extends __BaseException {
18
+ static shapeId = "com.amazonaws.drs#ConflictException";
17
19
  name = "ConflictException";
18
20
  $fault = "client";
19
21
  code;
@@ -32,6 +34,7 @@ export class ConflictException extends __BaseException {
32
34
  }
33
35
  }
34
36
  export class InternalServerException extends __BaseException {
37
+ static shapeId = "com.amazonaws.drs#InternalServerException";
35
38
  name = "InternalServerException";
36
39
  $fault = "server";
37
40
  retryAfterSeconds;
@@ -46,6 +49,7 @@ export class InternalServerException extends __BaseException {
46
49
  }
47
50
  }
48
51
  export class ResourceNotFoundException extends __BaseException {
52
+ static shapeId = "com.amazonaws.drs#ResourceNotFoundException";
49
53
  name = "ResourceNotFoundException";
50
54
  $fault = "client";
51
55
  code;
@@ -64,6 +68,7 @@ export class ResourceNotFoundException extends __BaseException {
64
68
  }
65
69
  }
66
70
  export class ServiceQuotaExceededException extends __BaseException {
71
+ static shapeId = "com.amazonaws.drs#ServiceQuotaExceededException";
67
72
  name = "ServiceQuotaExceededException";
68
73
  $fault = "client";
69
74
  code;
@@ -86,6 +91,7 @@ export class ServiceQuotaExceededException extends __BaseException {
86
91
  }
87
92
  }
88
93
  export class ThrottlingException extends __BaseException {
94
+ static shapeId = "com.amazonaws.drs#ThrottlingException";
89
95
  name = "ThrottlingException";
90
96
  $fault = "client";
91
97
  serviceCode;
@@ -104,6 +110,7 @@ export class ThrottlingException extends __BaseException {
104
110
  }
105
111
  }
106
112
  export class UninitializedAccountException extends __BaseException {
113
+ static shapeId = "com.amazonaws.drs#UninitializedAccountException";
107
114
  name = "UninitializedAccountException";
108
115
  $fault = "client";
109
116
  code;
@@ -118,6 +125,7 @@ export class UninitializedAccountException extends __BaseException {
118
125
  }
119
126
  }
120
127
  export class ValidationException extends __BaseException {
128
+ static shapeId = "com.amazonaws.drs#ValidationException";
121
129
  name = "ValidationException";
122
130
  $fault = "client";
123
131
  code;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Drs service.
8
8
  */
9
9
  export declare class DrsServiceException 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
  code?: string | undefined;
@@ -20,6 +21,7 @@ export declare class AccessDeniedException extends __BaseException {
20
21
  * @public
21
22
  */
22
23
  export declare class ConflictException extends __BaseException {
24
+ static readonly shapeId: string;
23
25
  readonly name: "ConflictException";
24
26
  readonly $fault: "client";
25
27
  code?: string | undefined;
@@ -43,6 +45,7 @@ export declare class ConflictException extends __BaseException {
43
45
  * @public
44
46
  */
45
47
  export declare class InternalServerException extends __BaseException {
48
+ static readonly shapeId: string;
46
49
  readonly name: "InternalServerException";
47
50
  readonly $fault: "server";
48
51
  /**
@@ -60,6 +63,7 @@ export declare class InternalServerException extends __BaseException {
60
63
  * @public
61
64
  */
62
65
  export declare class ResourceNotFoundException extends __BaseException {
66
+ static readonly shapeId: string;
63
67
  readonly name: "ResourceNotFoundException";
64
68
  readonly $fault: "client";
65
69
  code?: string | undefined;
@@ -83,6 +87,7 @@ export declare class ResourceNotFoundException extends __BaseException {
83
87
  * @public
84
88
  */
85
89
  export declare class ServiceQuotaExceededException extends __BaseException {
90
+ static readonly shapeId: string;
86
91
  readonly name: "ServiceQuotaExceededException";
87
92
  readonly $fault: "client";
88
93
  code?: string | undefined;
@@ -116,6 +121,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
116
121
  * @public
117
122
  */
118
123
  export declare class ThrottlingException extends __BaseException {
124
+ static readonly shapeId: string;
119
125
  readonly name: "ThrottlingException";
120
126
  readonly $fault: "client";
121
127
  /**
@@ -143,6 +149,7 @@ export declare class ThrottlingException extends __BaseException {
143
149
  * @public
144
150
  */
145
151
  export declare class UninitializedAccountException extends __BaseException {
152
+ static readonly shapeId: string;
146
153
  readonly name: "UninitializedAccountException";
147
154
  readonly $fault: "client";
148
155
  code?: string | undefined;
@@ -156,6 +163,7 @@ export declare class UninitializedAccountException extends __BaseException {
156
163
  * @public
157
164
  */
158
165
  export declare class ValidationException extends __BaseException {
166
+ static readonly shapeId: string;
159
167
  readonly name: "ValidationException";
160
168
  readonly $fault: "client";
161
169
  code?: string | undefined;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class DrsServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,12 +3,14 @@ import { DrsServiceException as __BaseException } from "./DrsServiceException";
3
3
  import { ValidationExceptionReason } from "./enums";
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
  code?: string | undefined;
9
10
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
11
  }
11
12
  export declare class ConflictException extends __BaseException {
13
+ static readonly shapeId: string;
12
14
  readonly name: "ConflictException";
13
15
  readonly $fault: "client";
14
16
  code?: string | undefined;
@@ -17,12 +19,14 @@ export declare class ConflictException extends __BaseException {
17
19
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
20
  }
19
21
  export declare class InternalServerException extends __BaseException {
22
+ static readonly shapeId: string;
20
23
  readonly name: "InternalServerException";
21
24
  readonly $fault: "server";
22
25
  retryAfterSeconds?: number | undefined;
23
26
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
24
27
  }
25
28
  export declare class ResourceNotFoundException extends __BaseException {
29
+ static readonly shapeId: string;
26
30
  readonly name: "ResourceNotFoundException";
27
31
  readonly $fault: "client";
28
32
  code?: string | undefined;
@@ -31,6 +35,7 @@ export declare class ResourceNotFoundException extends __BaseException {
31
35
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
32
36
  }
33
37
  export declare class ServiceQuotaExceededException extends __BaseException {
38
+ static readonly shapeId: string;
34
39
  readonly name: "ServiceQuotaExceededException";
35
40
  readonly $fault: "client";
36
41
  code?: string | undefined;
@@ -41,6 +46,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
41
46
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
42
47
  }
43
48
  export declare class ThrottlingException extends __BaseException {
49
+ static readonly shapeId: string;
44
50
  readonly name: "ThrottlingException";
45
51
  readonly $fault: "client";
46
52
  serviceCode?: string | undefined;
@@ -49,12 +55,14 @@ export declare class ThrottlingException extends __BaseException {
49
55
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
50
56
  }
51
57
  export declare class UninitializedAccountException extends __BaseException {
58
+ static readonly shapeId: string;
52
59
  readonly name: "UninitializedAccountException";
53
60
  readonly $fault: "client";
54
61
  code?: string | undefined;
55
62
  constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
56
63
  }
57
64
  export declare class ValidationException extends __BaseException {
65
+ static readonly shapeId: string;
58
66
  readonly name: "ValidationException";
59
67
  readonly $fault: "client";
60
68
  code?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-drs",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Drs Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-drs",
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",