aws-sdk-simpledb-v2
v1.0.12
Published
AWS-SDK simpledb stand alone client.
Downloads
32
Readme
Standalone client for aws-sdk/clients/simpledb.
Overview
aws-sdk-simpledb-v2
is a specialized standalone client designed for seamless integration with AWS SimpleDB using the latest AWS SDK versions. This package caters specifically to developers working with AWS Lambda functions, where the official AWS SDK v3 lacks native SimpleDB support. Incorporating the entire AWS SDK v2 just to access SimpleDB can significantly bloat your deployment package. aws-sdk-simpledb-v2 resolves this issue by providing a lightweight, efficient solution to use SimpleDB without the need to revert to older SDK versions or resort to complex bundling strategies.
This package ensures that you can continue to leverage SimpleDB in your serverless architectures while adopting the modern features and improvements offered by AWS SDK v3. aws-sdk-simpledb-v2 is self-contained, eliminating the need for aws-sdk as either a peer or production dependency.
Key Features
- Lightweight and Efficient: Minimizes deployment package size by excluding unnecessary AWS V2 SDK components.
- Seamless Integration: Works alongside AWS SDK v3, allowing you to use the latest features for other AWS services.
- Familiar Interface: Provides the same SimpleDB client interface as AWS SDK v2, ensuring a smooth transition.
- Language Support: Fully supports JavaScript and TypeScript, catering to a wide range of development preferences.
Installation
Begin by installing the package using your preferred package manager:
npm install aws-sdk-simpledb-v2
# or
yarn add aws-sdk-simpledb-v2
Usage
After installation, import the required entities from the aws-sdk-simpledb-v2 package. The following imports are supported, providing you with the essential components to interact with SimpleDB:
import {
Attribute,
GetAttributesRequest,
PutAttributesRequest,
SelectRequest,
SimpleDB
} from 'aws-sdk-simpledb-v2';
You can now instantiate the SimpleDB client and use it to perform various operations such as getting or putting attributes, and executing select queries against your SimpleDB domains.
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.