@aws-sdk/types 3.271.0 → 3.272.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.
@@ -50,5 +50,16 @@ export interface SmithyException {
50
50
  }
51
51
  /**
52
52
  * @deprecated
53
+ * @see https://aws.amazon.com/blogs/developer/service-error-handling-modular-aws-sdk-js/
54
+ *
55
+ * This type should not be used in your application.
56
+ * Users of the AWS SDK for JavaScript v3 service clients should prefer to
57
+ * use the specific Exception classes corresponding to each operation.
58
+ * These can be found as code in the deserializer for the operation's Command class,
59
+ * or as declarations in the service model file in codegen/sdk-codegen/aws-models.
60
+ *
61
+ * If no exceptions are enumerated by a particular Command operation,
62
+ * the base exception for the service should be used. Each client exports
63
+ * a base ServiceException prefixed with the service name.
53
64
  */
54
65
  export declare type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.271.0",
3
+ "version": "3.272.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",