class Deploy::IAM::Client
Constants
- CREDENTIALS_ERROR
- REGION_ERROR
Public Class Methods
connection()
click to toggle source
# File lib/deploy/iam/client.rb, line 13 def self.connection Aws::IAM::CurrentUser.new.arn rescue Aws::Errors::MissingRegionError fail ArgumentError, REGION_ERROR rescue Aws::Errors::MissingCredentialsError fail ArgumentError, CREDENTIALS_ERROR end