PawsSession | R Documentation |
A session stores configuration state and allows you to create paws service clients.
aws_access_key_id
aws access key
aws_secret_access_key
aws secret access key
aws_session_token
aws session token
region_name
Default region when creating new connections
profile_name
The name of a profile to use.
endpoint
The complete URL to use for the constructed client.
credentials
Formatted aws credentials to pass to paws objects
new()
Initialize PawsSession class
PawsSession$new( aws_access_key_id = NULL, aws_secret_access_key = NULL, aws_session_token = NULL, region_name = NULL, profile_name = NULL, endpoint = NULL, config = list() )
aws_access_key_id
(str): AWS access key ID
aws_secret_access_key
(str): AWS secret access key
aws_session_token
(str): AWS temporary session token
region_name
(str): Default region when creating new connections
profile_name
(str): The name of a profile to use. If not given, then the default profile is used.
endpoint
(str): The complete URL to use for the constructed client.
config
(list): Optional paws configuration of credentials, endpoint, and/or region.
client()
Create a low-level service client by name.
PawsSession$client(service_name, config = NULL)
service_name
(str): The name of a service, e.g. 's3' or 'ec2'. A list of available services can be found https://paws-r.github.io/docs/
config
(list): Optional paws configuration of credentials, endpoint, and/or region.
format()
format class
PawsSession$format()
clone()
The objects of this class are cloneable with this method.
PawsSession$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other Session:
LocalSession
,
Session
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.