ios - Getting AWSAccountID -
Someone with iOS SDK has worked with . I know that the Amazon SDK team, / P>
version of AWS Mobile SDK for iOS has reached 2 general availability (GA) and now the developer is not in the preview. Version 1 is disliked by September 29, 2014 and will be available in our AAS-SDK-IOS-V1 repository until December 31, 2014. If you are creating new apps, then we recommend using version 2.
Therefore, I am trying to upgrade the application with the new version (2.0) of the ADS IOS SDK. [According to the sample application, for this certification requires the following for credentials,
NSString * const AWSAccountID = @ "Your-AccountID"; NSString * const cognitoloid = @ "your-poolID"; NSString * const cognitive oolith = zero; NSString * const Cognito Relayunath = @ "your-RoleUnauth"; I have filled it with some values that are available on the console. But, each time getting the log,
2014-10-17 18: 33: 04.056 S3TransferManagerSample [5343: 70B] __37- [SecondViewController downloadFiles] _block_invoke154 error: [Error Domain = com. amazonaws.AWSSTSErrorDomain code = 0 ". The action could not be completed (com.amazonaws.AWSSTSErrorDomain error 0.)" UserInfo = 0x7b028500 {type = Sender, Message = sts not authorized to: AssumeRoleWithWebIdentity, __text = ( "\ n "" \ n "," \ n "" \ n "), code = accessdenied}] While the right to obtain these credentials, without proper guidelines and documents there This is to reach. Even to get these credentials, nothing was explained properly.
Has anyone ever done this before, please guide me to get it.
Many thanks
You need to create a cognito identity pool to get
If you have already created an identity pool, you should be able to obtain identity pool ID and your AS account ID. Here is the console account ID: (Do not include hyphens) And you can play a role for the roles you created by clicking on the role created here:
Also, follow all steps in the Setup Guide:
Specifically This one:
service-in-your-project In the dictionary directory, drag and drop the following JSON files.
autoscaling-2011-01-01.json cib-2014-06-30. Json css-2014-06-30. Json dynamodb-2012-08-10.json ec2-2014- 06-15.json elasticloadbalancing -20l2-06-0lkjonson email-20l0-l2-0lkjonson Kiinesis-20l3-l2-02kjesn mobile analytics-20l4-06-30kjesn Monitoring -08-08-01. Jason S. 3-2006-03- 0lkjon SDB-2009-04-l5kjesn SNS -00l0-03-3lkjonson SKS-20l2-ll-05kjesn STS-20ll-06-l5kjesn Without this step, you will get a secret error message.
Comments
Post a Comment