change_aws_region: Change the current region in your Amazon Web Services (AWS)

Description Usage Arguments Value See Also Examples

View source: R/connect.R

Description

AWS works in regions. As such, you need to specify the region when connecting for all subsequent actions. You AWS user might not have all regions enabled. Find out more about it in your account settings (https://console.aws.amazon.com/billing/home?#/account).

Usage

1
change_aws_region(aws_connection, new_region = "eu-central-1")

Arguments

aws_connection

AWS connection object, as retrieved from connect_aws(). Holds the current region.

new_region

The new AWS region to connect to (e.g., "eu-central-1" for Frankfurt) as character.

Value

The updated AWS connection object.

See Also

connect_aws()

Examples

1
2
3
4
5
6
## Not run: 

aws_connection <- connect_aws()
change_aws_region(aws_connection, 'us-east-2')

## End(Not run)

MarHai/ScrapeBotR documentation built on March 10, 2021, 10:10 a.m.