Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 20 22:47
    adclark1 commented #2809
  • Aug 20 22:39
    randyurbano commented #2809
  • Aug 20 19:05

    aws-sdk-js-automation on v2.514.0

    (compare)

  • Aug 20 19:05

    aws-sdk-js-automation on master

    Updates SDK to v2.514.0 (compare)

  • Aug 20 17:02
    scottw-finao commented #1068
  • Aug 20 16:24
    cmckni3 closed #2794
  • Aug 20 16:24
    cmckni3 commented #2794
  • Aug 20 07:13
    sr56 commented #2794
  • Aug 20 00:36
    codecov-io commented #2737
  • Aug 20 00:36
    trivikr synchronize #2737
  • Aug 20 00:14
    codecov-io commented #2737
  • Aug 20 00:13
    codecov-io commented #2737
  • Aug 20 00:12
    codecov-io commented #2737
  • Aug 20 00:11
    codecov-io commented #2737
  • Aug 20 00:05
    codecov-io commented #2737
  • Aug 20 00:05
    trivikr synchronize #2737
  • Aug 19 23:54
    codecov-io commented #2737
  • Aug 19 23:53
    codecov-io commented #2737
  • Aug 19 23:51
    codecov-io commented #2737
  • Aug 19 23:47
    codecov-io commented #2737
Christian Roy
@roychri
dunno if that would work. But this isn't an aws-sdk-js question... ;-p
Max Harris
@maxharris9
whelp, I'm trying that now!
btw, I'm definitely against promises myself, and my original version just used callbacks. but some common code had to be awaited, and we have a policy of not mixing callbacks and promises
Christian Roy
@roychri
You can always wrap your call into a promise...
Max Harris
@maxharris9
oh, I know, and that's what I had originally done. a reviewer made me change it to util.promisify
Christian Roy
@roychri
return new Promise( ( resolve, reject ) => {
    sts.assumeRole( params, function( err, data ) {
        if ( err ) return reject( err );
        resolve( data );
    }
});
Max Harris
@maxharris9
(like I said, I did that, and I had to rip that out to get approval)
and this is still broken: aws/aws-sdk-js#2015
it's easy to say, "oh this isn't an aws-sdk-js question," but from the point of view of a consumer of the library it sure as hell is!
Max Harris
@maxharris9
... at least in Node, where everything was fine before they came along
Max Harris
@maxharris9
@roychri thanks a ton for the help! your suggestion to bind sts worked!
Christian Roy
@roychri
:thumbsup:
jamestmmadmin
@jamestmmadmin
has anyone got experience with AWS Rekognition and Video Kinesis with node?
Carles Alcolea
@nmaxcom
I have working locally a website: NodeJS+Express and MongoDB (mongoose). Now I need to get it to AWS, I was planning to use Elastic Beanstalk to forget about devops... turns out the closest thing to Mongo that AWS has is DocumentDB, which is not as good and very expensive. What's my best course of action here? Can I just upload it all and let EBS install MongoDB locally in the same EC2 as the rest of the code? What do you guys suggest?
Ronique Ricketts
@RoniqueRicketts
I doubt AWS will restrict you from writing to an external database of choice.
andrew bernard
@drexler
hi is there a dedicated channel for .Net version of the SDK?
i'm running into a nuget issue with an AWS library - AWS. Logger.Core
andrew bernard
@drexler
nvm...disregard
Kenneth Pascascio
@kpascascio
has anyone worked with connecting to a postgres rds from psql
maheshhmemuri
@maheshhmemuri
Can you please elaborate AppSync offline capability implementation and can we customize based on our need?
maheshhmemuri
@maheshhmemuri
Can you also help me understand does AppSync have the state of the connected clients at any time? i mean if AppSync service has 10 clients can ApSync would be able able to say how many clients are online at any particular time?
Dorival Pedroso
@cpmech
Hello, does anyone know how to find the meaning of a Cloud Formation Physical Resource ID? For example, the Physical ID of an EC2 Resource is the instance ID, the Physical ID of an ApiGateway::RestApi is part of the url. Is there any place describing meaning of the Physical ID for each resource? Thanks.
Sufian Abu-Rab
@sufius
Hello does anyone have links to some resources how to create an elastic beanstalk environment with an client- and an api-server (react as frontend and php as backend)?
Roja Sree
@MRSree410_twitter
Had anyone tried out aws lambda?
Eric D Moore
@ericdmoore

@cpmech I have spent a good amount of time in cloudformation docs - and I find many of them "significantly hurried" - but as it relates to a physicalID - I think that is contrast to a Logical ID that you might have named it in a CFM template.

For Ref - relating to GatewayRest example: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html

is that what you are asking about? or did I misunderstand the question
@MRSree410_twitter yeah its pretty neat - of course it depnds on your use case. cold starts are a poor feature for some use cases - other than that i love it
Eric D Moore
@ericdmoore
@adamfortuno did you get your question answered?
shaween18
@shaween18
I am trying import the entire SDK like this: var AWS = require('aws-sdk/dist/aws-sdk-react-native'); However, when I load the application I keep getting an error saying "Uncaught ReferenceError: require is not defined". I have tried to include the require.js file from requirejs.org, however it still doesnt seem to be working. Any suggestions on how to solve this?
Ayushya Chitransh
@AyushyaChitransh
@shaween18 Are you trying to require in server side language or a client side language?
These errors point to general errors of your application and are not specifically related to aws-sdk
Dorival Pedroso
@cpmech

@ericdmoore Thanks for the reply. What I meant is that the Ref turns out to be exactly the same as the PhysicalID (always). For example, in this template:

AWSTemplateFormatVersion: 2010-09-09
Description: An example template for a Step Functions state machine.
Resources:
  MyPolicy:
    Type: 'AWS::IAM::Policy'
    Properties:
      PolicyName: 'CFNUsers'
      PolicyDocument:
        Version: '2012-10-17'
        Statement:
          - Effect: 'Allow'
            Action:
              - 'cloudformation:Describe*'
              - 'cloudformation:List*'
              - 'cloudformation:Get*'
            Resource: '*'
      Groups:
        - 'temporary'
Outputs:
  RefOfMyPolicy:
    Value: !Ref MyPolicy

MyPolicy and the resource name for AWS::IAM::Policy will equal the PhysicalID.

I've checked manually that

Ref(AWS::StepFunctions::StateMachine) = ARN = PhysicalID
Ref(AWS::SQS::Queue) = Queue URL = PhysicalID
Ref(AWS::Cognito::UserPool) = generated ID = PhysicalID
Ref(AWS::ApiGateway::RestApi) = Rest API ID = PhysicalID
Ref(AWS::EC2::Instance) = instance ID = PhysicalID
Ref(AWS::S3::Bucket) = resource name = PhysicalID
Ref(AWS::IAM::Policy) = resource name = PhysicalID

Also, there is an experiment here showing that the Ref becomes the PhysicalID always: https://gist.github.com/danp3d/386d7a249c49704601a14345f2d5ce43

In this experiment, it looks like the !Ref function always returns the PhysicalResourceId.

So, I've found that Ref => PhysicalID. I'm wondering if there is some place in the Cloudformation doc explaining the meaning of the PhysicalID for any resource?

Or, is there a place mentioning the fact that Ref = PhysicalID?

Thanks again.

shaween18
@shaween18
@AyushyaChitransh I am doing it on the client side language
Jordan Toro
@JordanT0724
Hi everyone. I've has a site up for about a year where you can upload a picture and details for an event or party. The image gets uploaded to an s3 bucket. The access keys are stored in environment variables.. Sometime last week it stopped working and I get "CredentialsError: Missing credentials in config" when trying to create a new event. I haven't changed a thing. Any thoughts?
My S3 setup looks like
var s3 = new aws.S3({
accessKeyId: process.env.HOTNIGHTEVENTSBUCKETID,
secretAccessKey: process.env.HOTNIGHTEVENTSBUCKETSECRET,
region: 'us-east-2'
});
mikbad
@mikbad
Have the access keys/user associated with them expired or keys rotated?
Jordan Toro
@JordanT0724
I just changed them, and actually hard coded them in the code (local on my machine) just to test them out. Still didn't work
salcosta
@salcosta
I am having a real tough time trying to port the SDK to Rhino, I have hacked together the signature code and to my surprise it worked...for certain requests only
for instance Comprehend.DetectSentiment works just fine, as does EC2.DescribeInstances
EC2.RunInstances does not work
I take the exact same request and run it in Postman no problem, but from within my environment i always get AWS was not able to validate the provided access credentials
i can see from the Signature that the value is different, but that doesnt really tell me anything with Postman because I can't break the request down into parts, I am able to do that with the Python example and have verified at every step, the output is identical (or at least visibly it is identical)
salcosta
@salcosta
any suggestions would be huge, i have messed with this for almost a week and made no progress
salcosta
@salcosta
i ended up finding the answer, there was documentation which implied requests would be GETs, this assumption was further compounded by the fact that Postman sent the particular request I was using as a GET, however my signature process which was adapted from a one-off example was not able to sign this request in that way, converting the request to a POST instead worked
pracapps
@pracapps
Hi All, I'm a little new to Javascript development, and am using an implementation of Google's V8, and getting this sdk loaded is a nightmare, the require function doesn't appear to work the same, and the module object doesn't exist. Has anyone had any experience with this, and how I might be able to get it working?
maamirh
@maamirh
I download aws-sdk file in my system and mention it in the index.ejs file as script and getting the "config" undefined error
where as if i give "online URL" then working fine without any error.Kindly guide me how i can use this locally
Mike
@mikezliu
Hi! I have different accounts under the same organization, each with their own AWS credentials, and I would like to use node to connect to both at the same time. Is this possible to do? It seems when I call AWS.config.update, it overwrites the previous connection's credentials.