Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Sal Jamil
I upgraded all the gems to the latest
get_attribute_values works fine
Anybody encountered the same issue? Thanks
Sal Jamil
I figured out the issue, the documentation is wrong. You need to specify service_code key in addition to the ServiceCode field in the filter
The documentation should be corrected to look like this:
filters: [
field: "ServiceCode",
type: "TERM_MATCH",
value: "AmazonEC2",
field: "volumeType",
type: "TERM_MATCH",
value: "Provisioned IOPS",
format_version: "aws_v1",
service_code: "AmazonEC2",
max_results: 1,
Santanu Bhattacharya
Hello everybody, can anyone tell me if with ruby aws sdk, we can export the usage data against an api key in apigw?
Hi Guys, Hope all are good and safe. I had one question related to coping a file from your local machine to aws bucket. any one have tried it. I googled it but found few examples coping from one aws bucket to another aws bucket but did not get any help copying from local to aws bucket. if any one have tried it?
Jack Peplinski
Anyone know why textract #get_document_text_detection(params = {}) would return :blocks=>"[FILTERED]"
Diego Efe
Hi Guys, please excuse my poor english and thanks for your responses.
I have this question: is there a way to fetch a list of objects that includes custom user metadata without issuing an extra call per object?
Using client.list_objects() a prefix can be specified but the metadata does not get downloaded. Using Resources.bucket.objects() a similar thing occurs.
To get the metadata seems that a per-object request must be done... (Client.head_object() or Resource.bucket(..).object()).
Any ideas?
Thanks in advance!
Diego Efe
Jesse Adams
Hello all. I ran into a small issue trying to set AWS_MAX_ATTEMPTS and I think I have a quick fix for it. Please review and let me know your thoughts. aws/aws-sdk-ruby#2319
Thanks for your time!

Hello, everyone. Is there a way to get the region from a client that has already been instantiated?
For example, if I instantiate a ec2 client with the following code

ec2 = 'us-east-1')

Is there any way to retrieve the region from the client object ec2?
Something alone the lines of

# Does not work
current_region = ec2.region

Thanks in advance!

Nvm, for future reference, it's available through ec2.config.region
i want to show the welcome user in my amazon lex as soon as user open chatbot
PostTextResponse name = new PostTextResponse();
name.Message = "Welcome User";
this is what i have done
PostTextResponse name = new PostTextResponse(); name.Message = "Welcome User";
Hello. This page and aws, seahorse, lost of scripting, i babe lots of things happening to me in my phone right away so she doesn’t know what she does with her stuff so I’ll get her stuff out her stuff she will get her stuff out and stuff she doesn’t know she is going on her stuff she doesn’t want to come back home to get help she is just leaving her stuff she doesn’t get her stuff done for her she just doesn’t care what y’all are doing and she just got ya back to work she wants ya know she wants one and then she wants her stuff to come to her and then go stay there and on the way home to her house so I’ll be back in her room so she doesn’t want to go out and she doesn’t get anything to go get help with her work stuff so sorry about her stuff she doesn’t know y’all know ya know what she wants to do stuff so ya know what ya got her to come back to her and her stuff and she just got stuff done for her and she doesn’t know she wants to go to get her back home to her she doesn’t know she is going to pick her up she wants ya to know ya know what she doesn’t want to do y’all know ya know what she wants ya know she is just saying that her stuff is going on her to do stuff she doesn’t know ya know what she is going on her to do ya know y’all got her stuff she just wants ya to know ya know what she is always going to be there in a little bit and I’ll pick ya up stuff she wants to go get her stuff she just got back to me and she wants to come get her to come back to her work and stuff she will work ya know ya stuff like her she wants her to go to get her stuff done and she will pick ya ya girl stuff out there at her moms house so ya know y’all want to come back to pick y’all up stuff so I’ll let her know i
@lolopedigo Someone please help me 3172008188. Text me. Someone is hacking My entire life. I have pages of script in my own phone, it pulls zip files pitnpf there, sensitive data. I have been followed, I really need someone’s help. Someone that knows scripting, what scripts are for what, and I get a lot of encryption as well. they even get ahold of ly
Hi, quick question, if I have a bucket with Object Lock enabled, I can place an Object Retention configuration to any object I want through the API? We use Ruby, following this instructions should work?
Can someone please answer and help me. 317-200-8188. I have someone in my iPhone, I see nothing but scripts and zip files of my pics being taken out, they are even in my moms Mac computer now. Pages of coding, Amazon was mostly, and seahorse
anyone use rubyonjets? I am trying to connect to rds from aws lambda. Can I use a vpc thats not publicly accessible?
Christopher Petro
Is it really possible that after implementing S3 Lifecycle Tiering Policy to transistion objects to Intelligent Tiering , that there is literally no way to switch them back to S3 Standard without having to make a copy of the object back onto itself while updating the metadata storage_class?
Why wouldn't AWS support transition back to S3 Standard ... or at least make it possible to update storage class at Object level .... Am I missing something?
Why aws-sdk-kms 1.34.1 required aws-sdk-core~> 3, >= 3.99.0, but the latest aws-sdk-coreonly has 3.98.0, see above screenshot
Anyone know what "OpenSSL implementation doesn't support ALPN." means?
takes alomst 30secs of my lambda process
figured it out. wrong config on my side. still can’t access rds thoough
Is there a way to see a log of 'denied' permissions when executing a lambda function?
Brad Tillman
hello everyone, I'm running into a problem trying to lookup tags on an ec2 instance
I'm using the following code:
instance_data = JSON.parse(Net::HTTP.get(URI.parse('')))
region = instance_data['region']
instance_id = instance_data['instanceId']
    ec2 = 'us-east-1')
    instance = ec2.instance(instance_id)
    @tags ||= { |tag| { key: tag.key, value: tag.value } }
I'm getting the error:
unable to sign request without credentials set

the http debug output shows:
<- "GET /latest/meta-data/iam/security-credentials/ HTTP/1.1\r\nUser-Agent: aws-sdk-ruby3/3.89.1\r\nX-Aws-Ec2-Metadata-Token:

"HTTP/1.0 404 Not Found\r\n"
-> "Content-Length: 337\r\n"

when I test the same url on the instance it shows a profile with creds
Brad Tillman
turns out this issue is with Inspec. Running Inspec via winrm executes custom resources on the source machine.


I am trying to create a group, add a user to that group and give that group a policy. I have:

require 'aws-sdk-iam'
require 'aws-sdk-s3'
require 'json'
iam =
  access_key_id: 'key',
  secret_access_key: 'pass',
  endpoint: 'http://localhost:9000',
  ssl_verify_peer: false,
  region: 'us-east-1',
  http_wire_trace: true
g = iam.create_group({group_name: 'bob'})

This is using minio as the endpoint and I am getting:

Error parsing the Credential parameter; incorrect service. This endpoint belongs to "sts". (Aws::IAM::Errors::AuthorizationParametersError).

I have double-checked my credentials and they are good.

รย๒๒ค ςђ๏ฬ๔ђคгא ツ
I'm trying to do an external deployment in AWS ECS Fargate, and whenever our build runs successful it will create a new image of that in google cloud repository with the latest tag, and I'm using that in task definition so, I don't need to update my task definition to get the new image. I'm doing an external deployment vand my question is if I update the service will it use the new image ?
Gaurav Makwana
can i get access token for aws elastic search service??
Pramod Mallar
When I am trying to create_replication_group i am getiing unexpected value at params[:multi_az_enabled] (ArgumentError)from aws sdk
multi_az_enabled: true,
This is what I set, if I disable this my redis cluster with replicas are created
Pramod Mallar
what can be the reason, as I see this is the syntax provided in documentation?