lambda-version-manager 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/client.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b086e02ecc8018071def9877d7bdcaf7c09bce32
|
4
|
+
data.tar.gz: 0cb01c069dd0dd555c840851bada76c19b53741e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ee2495e81a4ba466f7d9ca3997a5628f78b8f154e75156d01423dcd85c80ba5aee1fc97308ead25b05a7d1b1b0a91680f19c242d5681836761ab204ec3b628b
|
7
|
+
data.tar.gz: dae36052d7c9963d33dd1ba6ac492c29821e461b2418022dbbb2f94e5a930a4f85e048d5e518725fd74b29231bea67ac4ac6f270d6aec86585cbcc82364125e6
|
data/lib/client.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require 'aws-sdk'
|
1
|
+
require 'aws-sdk-lambda'
|
2
2
|
class Client
|
3
3
|
attr_accessor :client
|
4
4
|
def initialize(aws_region)
|
5
|
-
@client =
|
5
|
+
@client = Aws::Lambda::Client.new(region: aws_region)
|
6
6
|
end
|
7
7
|
|
8
8
|
def update_function_code(function_name, s3_bucket, s3_key)
|