Ho un problema con l'API AWS EC2. Ho usato erlawys
e erlcloud
senza alcun risultato. Con erlawys Creo il modello, ma quando eseguoAPI EC2 Erlang Amazon Web Services (AWS)
aws_ec2_test:test_simple(Key, AccessKey, Model).
ricevo l'errore
Failed in calling #Fun<aws_ec2_test.0.112913818> on count 100 from 100 to 0.
L'uscita aws_ec2_xml:describe_image
è:
aws_ec2:describe_images(Key, AccessKey, Model).
** exception error: undefined function http:request/1
in function aws_ec2_xml:describe_images/5 (../src/aws_ec2_xml.erl, line 364)
in call from aws_ec2:describe_images/6 (../src/aws_ec2.erl, line 222)
La funzione http:request/1
è obsoleto.
Sostituire http: richiesta con httpc: request(). aws_ec2: describe_images funziona. –
Comando "aws_ec2: run_instance (Key, AccessKey, Model, InstanceID)." return "{errore, [{eccezione, {errore," tag sconosciuto: Risposta "}}, {stack, [indefinito]}, {ricevuto, {startElement, []," Risposta ", [], [] ]}}]} " –
È corretto in StackOverflow rispondere alla tua domanda e accettarla. Ciò aiuterà gli altri con lo stesso problema di te. – number5