Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Basically what I need is to see, if the user is already authenticated and pass the same token
How do we know if the user is already authenticated, The aws-sdk-ruby had some kind of method to know that?
Eric Lackore
Is there a limit to the quantity of rooms a single AWS admin account can create via the SDK
how to do i stub list_object_versions?
    resp = client.list_object_versions({
      bucket: "xxx",
      prefix: image_key
response shows this:
resp = client.list_object_versions({
  bucket: "BucketName", # required
  delimiter: "Delimiter",
  encoding_type: "url", # accepts url
  key_marker: "KeyMarker",
  max_keys: 1,
  prefix: "Prefix",
  version_id_marker: "VersionIdMarker",
  use_accelerate_endpoint: false,
Fernando Baz
Hello! We're having some issues with getting CodeBuild to fetch the ENV variables for our S3 buckets, specifically getting Aws::Sigv4::Errors::MissingCredentialsError errors. The Rails proj is loading them correctly locally in two different machines, but when we deploy to our staging environment, it fails. The env vars are correctly set in the CodeBuild settings and we have also tried exposing them via Aws.config.update with no luck. We are using Shrine as our uploader library. Any pointers are greatly appreciated!
Fernando Baz
(hardcoding the keys works! still we are dumbfounded as to why the SDK is not retrieving the env vars from the CodeBuild settings)

Hello! I'm getting odd results when trying to upload and hoping ya'll can help. Notice the etag is nil. When successful I notice it's present. Any idea what would cause this?

I'm using v3 of the sdk

obj = 'us-east-1').bucket("test.scholastica").object("article/1/1-bats-are-interesting.xml")
=> #<Aws::S3::Object:0x000055ebd5f68a58 @bucket_name="test.scholastica", @key="article/1/1-bats-are-interesting.xml", @data=nil, @client=#<Aws::S3::Client>, @waiter_block_warned=false>

obj.put({body: "testing"})
=> #<#<Class:0x000055ebcf6a6948>:Aws::S3::Types::PutObjectOutput:0x55ebd5e63cc0
    etag = nil,
    expiration = nil,
    request_charged = nil,
    server_side_encryption = nil,
    sse_customer_algorithm = nil,
    sse_customer_key_md5 = nil,
    ssekms_encryption_context = nil,
    ssekms_key_id = nil,
    version_id = nil
Also, is there an easy way to know if it's success or fail? Something like status == 200?
Hello All , I need help on sts.get_session_token() api call, It's throwing 'Failed to open TCP connection to : (getaddrinfo: No such host is known. )' exception . AWS CLI get-session-token is working fine. Note:- I am running behind corporate proxy.
Andrew Cao
Hi All, I have embedded quick sight dashboard to my web app. But it loads very slowly. Since it is loaded in iframe and url is changed every time, it is very slow.
Is there any better solution to make it faster?
i cant see it
your link working?
Cami Meneses
Hello All. Please help me!! Somebody knows how to get a private file using Ruby on Rails. At this moment I can get files only if they are public but I need get the private ones
Aliaksandr Rahalevich
hey everyone! I'm getting NameError: uninitialized constant Aws::Structure when require 'aws-sdk-secretsmanager'. This started happening after upgrade of aws-sdk-core from 3.91.1 -> 3.92.0. Anybody else having this issue?
Helmut Reiterer
hello, I'm using ruby sdk v.2 , is there any example out there to send background notification to iOS 13 devices, please?
ruby aws sns v.2
@proffalken Did you manage to resolve the issue of IPAddr::InvalidAddressError: invalid address ?
Aaditya Sharma
Hello guys! Is there any way to connect using IAM Role instead of access and secret keys?
I am trying to connect to AWS GLUE using Ruby SDK
Jessie Chen
Hello! I am trying to use this API: however the #last_used_date is nil even though the last used date is today. Is the API working as expected?
can i get AWSCredentials for a specific role ?
def lambda_handler(response, context):

instance = 0

status = 0

response = client.list_resource_compliance_summaries(
            'Key': 'ComplianceType',
            'Values': [
            'Type': 'EQUAL'
instance = response.list_resource_compliance_summaries[resource_id],
status = response.list_resource_compliance_summaries[status]
but i see below error in lambda
"errorMessage": "'dict' object has no attribute 'list_resource_compliance_summaries'"
can someone help me here?
Hi awser
i want to ask how can i use paginate with query in aws dynamodb client?

So, has anyone else seen this - when I create a bucket w/in my application using

      bucket: bucket_name,
      acl: "private", # accepts private, public-read, public-read-write, authenticated-read

And then log in to aws console via the web, the bucket permissions say that the bucket is publicly available.

I also tried a public access block

s3.put_public_access_block({bucket: bucket_name,
                                { block_public_acls: true,
                                  block_public_policy: true

But still it says the bucket is public

Oh nevermind, if I add ignore_public_acls and restrict_public_buckets it works as intended
Did you set de env variable with your AWS credentials ? @leenyburger
Is your bucket is the same region that what you’re requesting ?
@benebrice I figure it out. I had to see all 4 of the public_access_block_configuration parameters to achieve what I was going for.
Luke Becker
On GetItemOutput in the DynmaoDB SDK, what is the value of "item" if nothing is found? Undefined?
i'm trying to use aws s3 with my active storage on rails app
i keep having Aws::S3::Errors::AccessDenied
eventhough i'm using the right credentials
Are you using the correct region ?
i just figure out that
the IT guys did a mistake
the gave me the bad region
now it's working fine
Can someone PLEASE HELP ME. I have some weird stuff going on in my phone and in my safari browser, this, and amazon aws-seahorse?
How does one even have this stuff open in their own browser on their phone, constantly, it’s not even my stufff
someone please email me
Hi I was wondering if anyone here is using Appium Ruby under AWS device farm?

A recent podcast guest (AI In Action Podcast) Is looking for a ETL Data Engineer who wants to work in a fast paced, innovative leading global media company!

The Company: A globally recognized Media Company in NYC are seeking a ETL Data Engineer to build pipelines for their digital platforms which reach millions of users daily!

The Tech: Exposure to fast paced, high impact projects, utilizing advanced Large volume, real time data sets within Cloud using Technologies like: Snowflake, Airflow, AWS.

What you’ll be doing: Play a crucial role in creating data systems that move data into and out of storage, transforming it to enable people and machines to do work in a streamlined way.

Reach out to for more info!