aws-sdk-go-v2-wrapper

module
v0.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2021 License: MIT

README

aws-sdk-go-v2-wrapper

GoDoc Release Build Status Coveralls Coverage Codecov Coverage Go Report Card Code Climate BCH compliance CodeFactor codebeat Scrutinizer Code Quality FOSSA Status

Simple wrapper for aws-sdk-go-v2

What's for?

The primary motivation is for my personal uses. AWS SDK provides solid and rubust APIs. But sometimes it's very painful for me, too much parameters and many pointer values. (I don't want to check nil every lines.)

I don't know it's useful for others. It might helpful to just see these codes to know how to use aws-sdk-go-v2 SDK besides official example test code.

(* Target version: v0.24.0 on 2020-07-21)

APIs

aws-sdk-go-v2-wrapper provides three types of APIs.

Type Description NamingRule
Wrapper API This type APIs wraps Raw API to avoid pointer values. -
Raw API This type APIs just call methods of aws-sdk-go-v2. You can use it when the APIs are not implemented in this repo (or Wrapper APIs are buggy 😅 ). Raw...
X API This type APIs provides easy way to call frequently used functions. X...

Services

Name
athena
cloudwatchlogs
dynamodb
kms
pinpoint
pinpointemail
s3
ses
ssm

Environment variables

Name Description
AWS_REGION Default AWS region for clients.
AWS_ENDPOINT Default endpoints for clients.
AWS_ATHENA_ENDPOINT Custom endpoint for Athena client.
AWS_CLOUDWATCH_LOGS_ENDPOINT Custom endpoint for Cloudwatch Logs client.
AWS_DYNAMODB_ENDPOINT Custom endpoint for DynamoDB client.
AWS_KMS_ENDPOINT Custom endpoint for KMS client.
AWS_PINPOINT_ENDPOINT Custom endpoint for Pinpoint client.
AWS_PINPOINT_EMAIL_ENDPOINT Custom endpoint for PinpointEmail client.
AWS_S3_ENDPOINT Custom endpoint for S3 client.
AWS_SES_ENDPOINT Custom endpoint for SES client.
AWS_SSM_ENDPOINT Custom endpoint for SSM client.

Besides above, supported some values from official env_config

License

FOSSA Status

Directories

Path Synopsis
private

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL