botor_client {botor}R Documentation

Creates an initial or reinitialize an already existing AWS client or resource cached in the package's namespace

Description

Creates an initial or reinitialize an already existing AWS client or resource cached in the package's namespace

Usage

botor_client(service, type = c("client", "resource"), cache = TRUE,
  ...)

Arguments

service

string, eg S3 or IAM

type

AWS service client or resource to be created, eg s3

cache

booelan flag for caching the client or resource in the package namespace. For (internal) package functions, it's best to set to TRUE to avoid reinitializing the client/resource, but for custom use and when you need to use multiple clients for the same service in parallel (eg working with different regions etc), you might want to set this to FALSE

...

further parameters passed to the client or resource, eg endpoint_url

Value

cached AWS client

References

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html


[Package botor version 0.3.0 Index]