R/client.R

Defines functions client_sns client_rds client_s3 client_ec2 client_cost boto3 paramiko

Documented in boto3 client_cost client_ec2 client_rds client_s3 client_sns paramiko

#' paramiko
#' @export paramiko
paramiko <- function() {
  import("paramiko")
}

#' boto
#' @export boto3
boto3 <- function() {
  import("boto3")
}

#' client_cost
#' @export client_cost
client_cost <- function() {
  boto$client("ce")
}

#' client_ec2
#' @export client_ec2
client_ec2 <- function() {
  boto$client("ec2")
}

#' client_s3
#' @export client_s3
client_s3 <- function() {
  boto$client("s3")
}

#' client rds
#' @export client_rds
client_rds <- function() {
  boto$client("rds")
}

#' client_sns
#' @param region Reason to send the message from
#' @export client_sns
client_sns <- function(region = "us-east-1") {
  boto$client("sns", region_name = region)
}
fdrennan/awsR documentation built on Sept. 26, 2020, 8:28 a.m.