Prerequisite
To use Object Storage in different programming languages, you need to install the AWSSDK.S3 library. You can install this library using the following commands.
- .NET
- PHP
- Python
- Javascript
- GO
dotnet new console --name <PROJECT_NAME>
cd <PROJECT_NAME>
dotnet add package AWSSDK.S3
dotnet run
Also, to get more information about the features of this library, you can visit the documents and GitHub of these libraries.
composer install aws/aws-sdk-php
or
composer require aws/aws-sdk-php
Also, to get more information about the features of this library, you can visit the documents and GitHub of these libraries.
pip install boto3
If you're using pip3:
pip3 install boto3
Also, to get more information about the features of this library, you can visit the documents and GitHub of these libraries.
npm install @aws-sdk/client-s3
Or
yarn add @aws-sdk/client-s3
Also, to get more information about the features of this library, you can visit the documents and GitHub of these libraries.
go get github.com/aws/aws-sdk-go
To update this library:
go get -u github.com/aws/aws-sdk-go
go get github.com/aws/aws-sdk-go/aws
go get github.com/aws/aws-sdk-go/aws/session
go get github.com/aws/aws-sdk-go/service/s3
If you want to use second version of this library:
mkdir ~/helloaws
cd ~/helloaws
go mod init helloaws
go get github.com/aws/aws-sdk-go-v2/aws
go get github.com/aws/aws-sdk-go-v2/config
go get github.com/aws/aws-sdk-go-v2/service/dynamodb
To run your code you can use:
go run .
Also, to get more information about the features of this library, you can visit the documents and GitHub of these libraries.