Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Pete Lypkie
@doviende_twitter
(rails 5.2, ruby 2.3, aws-sdk 3)
Omer Saeed
@omersaeed
Wow! Lots of noise here
I was wondering if there is a way to define a private endpoint for AWS rekognition service
Omer Saeed
@omersaeed
and then use said endpoints with the ruby API
jeffalexs
@jeffalexs
Hi, there!
One simple question, for you guys, it's possible to sort or descending order the response for list_objects or list_objects_v2 methods?
jeffalexs
@jeffalexs
Don't worry i get done!
Dheeraj Singh Dubey
@dheerajd-msys_gitlab
Wow! feeling enthusiastic to join the community of AWS experts! Have a simple question I wanted to make use of MFA enabled IAM user? Would AWS::EC2.client would work?
for making connections?
Little confused between AWS::STS.client
Mike
@MikeBlom
Hi! I'm new here. I'm looking at https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-core/lib/aws-sdk-core/ecs_credentials.rb#L89 and am seeing a failure, because my c['Expiration'] == '' which is passing the ternary true check, and I get a subsequent fail for ArgumentError: invalid date: "" Would this be considered a bug, or should I make sure I have a expiration set? Reading the ternary, seems like '' or nil expiration should be allowed? I could fix by doing c['Expiration'].present ? ... : nil
A P
@antdrums
Hi folks. Has anyone got SecretsManager to work with v2 of the Ruby SDK? I'm trying
require 'aws-sdk'
require 'aws-sdk-resources'
sm = Aws::SecretsManager::Client.new(region: 'us-west-2')
But get an error : NameError: uninitialized constant Aws::SecretsManager . This is v2 of the SDK. I've got aws-sdk and aws-sdk-resources in my Gemfile. Is there any gem I'm missing? I thought v2 was self contained
A P
@antdrums

On v2 of Aws ruby SDK I get uninitialized constant Aws::SecretsManager (NameError). SecretsManager has a page in their documentations saying defined in: (unknown). Could this be an error in documentation? reference: https://docs.aws.amazon.com/sdkforruby/api/Aws/SecretsManager/Client.html

I'm getting the same issue, @akabhirav

Dennis van der Vliet
@dennisvdvliet

Hi,
We run into an issue when generating lots (5000+) presigned_urls. We use the following code to generate the urls

bucket.object(full_s3_key).presigned_url(:get, expires_in: S3_PRESIGNED_URL_TTL)

When we run this for 5000 objects this takes around 5 seconds on my local machine. We profiled the code and found that a lot of calls are being made to AssumeRoleCredentials#refresh.

http://clipboard.dvdv.co/Slack__julik__WeTransfer__10_new_items_2019-11-07_20-36-51.jpg

Is there any way to get presigned urls without invoking that credentials refresh?

dilmuhammad717
@dilmuhammad717
Hi
I want to validate phone number in ruby via AWS pinpoint service
can someone help me
to send message I am using SNS service but before sending message I want to check if phone number is valid
David Florez
@dflorez6
Hi, I have a question. I'm new to AWS in general, so what I want to know is the following. I want to create an online radio station. I already set up an EC2 (ubuntu) to use Icecast2 as my radio server, I'm developing a rails app to stream from the icecast server. Currently I have to ssh from my terminal to connect to my EC2 instance and then start the Icecast server. So is it possible to use this gem to accomplish the same thing, but instead of going through the hassle of ssh, use it to connect to the instance from my app to start the radio server from my instance?
bitinblock
@bitinblock_twitter
Anyone here that can answer related to Lex ?
karthikeyanraman5
@karthikeyanraman5
Hi
i want to write testcase for cognitoidentity.getId(params) in jest, can any one please help me in this?
captproton
@captproton
hi all
sathish5566
@sathish5566
Hi all.. anybody know how to send hyperlink as a response
muslimecoin
@muslimecoin
how to deploy multiple images docker in this projecthttps://github.com/aviacommerce/avia
Maheshwar Rao Anethala
@manethala_gitlab

Hi all..

How would I directly stream a large CSV file without loading the entire file in-memory and without downloading the file into the system ?

Platform: Ruby

I have tried this which downloads the file into the system.

s3.get_object({ bucket: bucket_name, key: s3_key }, target: 'downloaded_file.csv')

rupam-ruby
@rupam-ruby
Helo
rupam-ruby
@rupam-ruby
how do I modify certificate one by one for all RDS inside one account?
Anubhav Jain
@anubhav8421
I developed a ruby script to load data into dynamodb from a CSV file. I want to log the response of the put_item request
Any suggestion if logging functionality can be enabled from with the dbynamodb client
Tim Lieberman
@tmli3b3rm4n
How do i use the aws-sdk-ruby with localstack? asw-sdk-javascript allows me to modify endpoints. There are some endpoint properties I saw but none of them seem to be equivalent.
Anubhav Jain
@anubhav8421
@tmli3b3rm4n what aws service are you using.
I have not used localstack before. At some point i wqs working with dybamodb so just fired up the docker image for that and set the endpoint: 'http://localhost:8000' while initializing the dynamodb client
Anubhav Jain
@anubhav8421
As I can see thier
documentation, they have endpoint url for each of the services. So while using a service you shoul
*so while initializing a service client you should be set the endpoint as the option
Hope this helps
Tiago Cássio
@tiagocassio
Hi
i'm trying to use aws-inspector to get findings with list_findings method
but for some reason, the returned finding_arns is empty
anybody getting same error?
Tiago Cássio
@tiagocassio
i'm using the aws-sdk-ruby gem
Anubhav Jain
@anubhav8421
which service are you using?
Luissette Figueroa
@lulz010
I'm looking for some guidance on how to unit test STS, specifically getFederationToken.
Luissette Figueroa
@lulz010
Is there a library that could be used to mock an STS client and test getFederationToken?
Tiago Cássio
@tiagocassio
@anubhav8421 i'm using the AWS Inspector service
i've created a issue for this problem: aws/aws-sdk-ruby#2216
Von Bailey
@vonbailey
So I'm trying to use the new Desktop tool on the DeviceFarm. Anyone had any success connecting to a device?
Specifically, what's used for the "device_arn" for the sessions?