Comments (4)
Trying to add this myself to my local copy of the SDK. I changed the ec2/client.rb to new API version, and added the CopySnapshot operation to a new EC2-2012-12-01.yml. When I try to use the EC2.client.copy_snapshot, I am getting back an error like this:
can't convert Symbol into String - (TypeError)
/Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:479:in delete' /Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:479:in
build_request'
/Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:434:in send' /Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:434:in
client_request'
/Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/response.rb:180:in call' /Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/response.rb:180:in
build_request'
/Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/response.rb:108:in initialize' /Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:183:in
new'
/Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:183:in new_response' /Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:433:in
client_request'
/Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:334:in log_client_request' /Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:420:in
client_request'
/Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:316:in return_or_raise' /Library/Ruby/Gems/1.8/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:419:in
client_request'
What am I doing wrong?
thanks for your help
from aws-sdk-ruby.
Found the issue. It was an error with how I was passing the options.
from aws-sdk-ruby.
I pushed a commit earlier today that added support for CopySnapshot to the EC2::Client class (10ace10). I have not added any higher level methods to AWS::EC2::Snapshot at this time.
from aws-sdk-ruby.
when i use copy_snapshot is it copying them to the same region. I created a client for destination region and invoked copy_snapshot. am i missing anything? does copy_snapshot method work across regions?
from aws-sdk-ruby.
Related Issues (20)
- XML Parsing error HOT 2
- s3: Lost metadata after copy_to with multipart_copy option HOT 2
- 429 / too many requests API error reported as missing credentials HOT 8
- URI.parse call too heavy HOT 1
- AWS-SDK-SSM Compilation error during boot time HOT 15
- Accept-Encoding=identity instead of empty value HOT 3
- Kinesis streaming from large feeds - out of memory errors HOT 10
- gem install aws-sdk 3.1.0 / aws-sdk-applicationdiscoveryservice-1.49.0 missing ri file HOT 10
- Include specs in published gems HOT 4
- SESV2 ListContacts breaks with "Content-Length not given and Transfer-Encoding is not `chunked'" HOT 8
- Infer AWS HTTP request payload size HOT 6
- Aws::S3::Presigner #presigned_url to allow a custom hostname HOT 4
- Aws::STS::Errors::InvalidClientTokenId HOT 7
- Feature: Allow QueuePoller to be interrupted from another thread HOT 1
- aws-sdk-s3 fails when downloading file of exactly 20971524 bytes from S3 bucket bug HOT 16
- Feature: Support `stub_responses:` kwarg in InstanceProfileCredentials HOT 4
- Need WorkerId in Mturk Event HOT 2
- Can't decrypt noncurrent versions of files using EncryptionV2 with kms(short issue description) HOT 1
- Can't create S3 presigned URLs HOT 9
- Chime: event_ingestion_url will be nil when use_fips_endpoint is true HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-ruby.