3.679.0 • Published 2 months ago

@aws-sdk/core v3.679.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

@aws-sdk/core

This package provides common or core functionality to the AWS SDK for JavaScript (v3).

You do not need to explicitly install this package, since it will be transitively installed by AWS SDK clients.

@aws-sdk/core submodules

Core submodules are organized for distribution via the package.json exports field.

exports is supported by default by the latest Node.js, webpack, and esbuild. For react-native, it can be enabled via instructions found at reactnative.dev/blog.

Think of @aws-sdk/core as a mono-package within the monorepo. It preserves the benefits of modularization, for example to optimize Node.js initialization speed, while making it easier to have a consistent version of core dependencies, reducing package sprawl when installing an SDK client.

Guide for submodules

  • Each index.ts file corresponding to the pattern ./src/submodules/<MODULE_NAME>/index.ts will be published as a separate dist-cjs bundled submodule index using the Inliner.js build script.
  • create a folder as ./src/submodules/<SUBMODULE> including an index.ts file and a README.md file.
    • The linter will throw an error on missing submodule metadata in package.json and the various tsconfig.json files, but it will automatically fix them if possible.
  • a submodule is equivalent to a standalone @aws-sdk/<pkg> package in that importing it in Node.js will resolve a separate bundle.
  • submodules may not relatively import files from other submodules. Instead, directly use the @scope/pkg/submodule name as the import.
    • The linter will check for this and throw an error.
  • To the extent possible, correctly declaring submodule metadata is validated by the linter in @aws-sdk/core. The linter runs during yarn build and also as yarn lint.

When should I create an @aws-sdk/core/submodule vs. @aws-sdk/new-package?

Keep in mind that the core package is installed by all AWS SDK clients.

If the component functionality is upstream of multiple clients, it is a good candidate for a core submodule. For example, XML serialization.

If the component's functionality is downstream of a client, for example S3 pre-signing, it should be a standalone package with potentially a peer or runtime dependency on an AWS SDK client.

@everything-registry/sub-chunk-102wilbyang-coffee-shop-client@aws-sdk/client-inspector2pd-ts-client@aws-amplify/data-construct@aws-amplify/graphql-api-construct@aws-sdk/client-athena@aws-sdk/client-auditmanager@aws-sdk/client-auto-scaling@aws-sdk/client-auto-scaling-plans@aws-sdk/client-accessanalyzer@aws-sdk/client-account@aws-sdk/client-acm@aws-sdk/client-acm-pca@aws-sdk/client-alexa-for-business@aws-sdk/client-amp@aws-sdk/client-amplify@aws-sdk/client-amplifybackend@aws-sdk/client-amplifyuibuilder@aws-sdk/client-b2bi@aws-sdk/client-backup@aws-sdk/client-backup-gateway@aws-sdk/client-backupstorage@aws-sdk/client-batch@aws-sdk/client-bcm-data-exports@aws-sdk/client-bedrock@aws-sdk/client-appconfig@aws-sdk/client-appconfigdata@aws-sdk/client-appfabric@aws-sdk/client-appflow@aws-sdk/client-appintegrations@aws-sdk/client-appstream@aws-sdk/client-appsync@aws-sdk/client-apptest@aws-sdk/client-arc-zonal-shift@aws-sdk/client-artifact@aws-sdk/client-apprunner@aws-sdk/middleware-user-agent@aws-sdk/middleware-sdk-s3@aws-sdk/client-kafkaconnect@aws-sdk/client-kendra@aws-sdk/client-kendra-ranking@aws-sdk/client-keyspaces@aws-sdk/client-kinesis@aws-sdk/client-kinesis-analytics@aws-sdk/client-iotfleethub@aws-sdk/client-iotfleetwise@aws-sdk/client-iotsecuretunneling@aws-sdk/client-iotsitewise@aws-sdk/client-iotthingsgraph@aws-sdk/client-iot-1click-projects@aws-sdk/client-iot-data-plane@aws-sdk/client-iot-events@aws-sdk/client-iot-events-data@aws-sdk/client-iot-jobs-data-plane@aws-sdk/client-iot-roborunner@aws-sdk/client-iot-wireless@aws-sdk/client-iotanalytics@aws-sdk/client-iotdeviceadvisor@aws-sdk/client-ivs@aws-sdk/client-ivs-realtime@aws-sdk/client-ivschat@aws-sdk/client-kafka@aws-sdk/client-iot@aws-sdk/client-iot-1click-devices-service@aws-sdk/client-iottwinmaker@aws-sdk/client-internetmonitor@aws-sdk/client-swf@aws-sdk/client-synthetics@aws-sdk/client-taxsettings@aws-sdk/client-textract@aws-sdk/client-timestream-influxdb@aws-sdk/client-timestream-query@aws-sdk/client-timestream-write@aws-sdk/client-workmailmessageflow@aws-sdk/client-workspaces@aws-sdk/client-workspaces-thin-client@aws-sdk/client-workspaces-web@aws-sdk/client-xray@aws-sdk/client-verifiedpermissions@aws-sdk/client-voice-id@aws-sdk/client-vpc-lattice@aws-sdk/client-waf@aws-sdk/client-waf-regional@aws-sdk/client-wafv2@aws-sdk/client-wellarchitected@aws-sdk/client-wisdom@aws-sdk/client-workdocs@aws-sdk/client-worklink@aws-sdk/client-workmail@aws-sdk/client-tnb@aws-sdk/client-transcribe@aws-sdk/client-transcribe-streaming@aws-sdk/client-transfer@aws-sdk/client-translate@aws-sdk/client-trustedadvisor@aws-sdk/client-eventbridge@aws-sdk/client-evidently@aws-sdk/client-finspace@aws-sdk/client-finspace-data
3.678.0

2 months ago

3.679.0

2 months ago

3.677.0

2 months ago

3.662.0

3 months ago

3.664.0

3 months ago

3.666.0

3 months ago

3.665.0

3 months ago

3.667.0

3 months ago

3.658.1

3 months ago

3.658.0

3 months ago

3.651.1

3 months ago

3.654.0

3 months ago

3.649.0

3 months ago

3.629.0

4 months ago

3.587.0

7 months ago

3.620.0

5 months ago

3.624.0

5 months ago

3.620.1

5 months ago

3.622.0

5 months ago

3.598.0

6 months ago

3.592.0

7 months ago

3.635.0

4 months ago

3.609.0

6 months ago

3.588.0

7 months ago

3.582.0

7 months ago

3.623.0

5 months ago

3.621.0

5 months ago

3.616.0

5 months ago

3.614.0

6 months ago

3.576.0

7 months ago

3.575.0

7 months ago

3.572.0

8 months ago

3.567.0

8 months ago

3.556.0

8 months ago

3.554.0

9 months ago

3.552.0

9 months ago

3.549.0

9 months ago

3.535.0

9 months ago

3.533.0

9 months ago

3.529.1

10 months ago

3.529.0

10 months ago

3.525.0

10 months ago

3.523.0

10 months ago

3.521.0

10 months ago

3.513.0

10 months ago

3.511.0

11 months ago

3.496.0

11 months ago

3.495.0

11 months ago

3.490.0

12 months ago

3.485.0

12 months ago

3.481.0

12 months ago

3.477.0

1 year ago

3.476.0

1 year ago

3.474.0

1 year ago

3.468.0

1 year ago

3.465.0

1 year ago

3.445.0

1 year ago

3.451.0

1 year ago

3.436.0

1 year ago

3.441.0

1 year ago

3.433.0

1 year ago

3.431.0

1 year ago

3.430.0

1 year ago

3.429.0

1 year ago