Skip to content

Instantly share code, notes, and snippets.

@sorah
Created May 28, 2019 16:30
Show Gist options
  • Save sorah/e2b2890233cbb3c865a5364632ed6aea to your computer and use it in GitHub Desktop.
Save sorah/e2b2890233cbb3c865a5364632ed6aea to your computer and use it in GitHub Desktop.
$ irb -r aws-sdk-core
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/plugin.rb:61: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
>> Aws::STS::Client.new.get_caller_identity
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/configuration.rb:107: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/http/response.rb:133: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/http/response.rb:133: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/http/response.rb:133: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/http/response.rb:133: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/sorah/.rbenv/versions/trunk/lib/ruby/gems/2.7.0/gems/aws-sdk-core-3.53.1/lib/seahorse/client/http/response.rb:133: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
=> #<struct Aws::STS::Types::GetCallerIdentityResponse [REDACTED]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment