We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment Elixir & Erlang versions (elixir --version): Erlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] Interactive Elixir (1.7.0)
ExAws version mix deps |grep ex_aws {:poison, "> 3.0"}, {:configparser_ex, "> 2.0"}, {:ex_aws, "> 2.0"}, {:ex_aws_route53, "> 2.0"},
HTTP client version. IE for hackney do mix deps | grep hackney {:hackney, "~> 1.9"}
Current behavior ExAws.Route53.list_record_sets("Z2M1FKI600VX4C", type: :a) |> ExAws.request() {:error, {:http_error, 400, %{ body: "\nSenderInvalidInput1 validation error detected: Value 'a' at 'startRecordType' failed to satisfy constraint: Member must satisfy enum value set: [AAAA, A, CAA, NS, SOA, SPF, MX, PTR, CNAME, TXT, SRV, NAPTR]9b1c1317-e831-11e8-b1fb-13c43b8553d8", headers: [ {"x-amzn-RequestId", "9b1c1317-e831-11e8-b1fb-13c43b8553d8"}, {"Content-Type", "text/xml"}, {"Content-Length", "431"}, {"Date", "Wed, 14 Nov 2018 17:20:37 GMT"}, {"Connection", "close"} ], status_code: 400 }}}
Expected behavior {:ok, map with body = xml with list of type A records}
The text was updated successfully, but these errors were encountered:
I believe it should be ExAws.Route53.list_record_sets("Z2M1FKI600VX4C", type: "A", name: "www.example.com") |> ExAws.request(). Furthermore, you might want to check out https://docs.aws.amazon.com/cli/latest/reference/route53/list-resource-record-sets.html which have information on how they match name and sort.
ExAws.Route53.list_record_sets("Z2M1FKI600VX4C", type: "A", name: "www.example.com") |> ExAws.request()
Sorry, something went wrong.
No branches or pull requests
Environment
Elixir & Erlang versions (elixir --version):
Erlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]
Interactive Elixir (1.7.0)
ExAws version mix deps |grep ex_aws
{:poison, "> 3.0"},
{:configparser_ex, "> 2.0"},
{:ex_aws, "> 2.0"},
{:ex_aws_route53, "> 2.0"},
HTTP client version. IE for hackney do mix deps | grep hackney
{:hackney, "~> 1.9"}
Current behavior
ExAws.Route53.list_record_sets("Z2M1FKI600VX4C", type: :a) |> ExAws.request()
{:error,
{:http_error, 400,
%{
body: "\nSenderInvalidInput1 validation error detected: Value 'a' at 'startRecordType' failed to satisfy constraint: Member must satisfy enum value set: [AAAA, A, CAA, NS, SOA, SPF, MX, PTR, CNAME, TXT, SRV, NAPTR]9b1c1317-e831-11e8-b1fb-13c43b8553d8",
headers: [
{"x-amzn-RequestId", "9b1c1317-e831-11e8-b1fb-13c43b8553d8"},
{"Content-Type", "text/xml"},
{"Content-Length", "431"},
{"Date", "Wed, 14 Nov 2018 17:20:37 GMT"},
{"Connection", "close"}
],
status_code: 400
}}}
Expected behavior
{:ok, map with body = xml with list of type A records}
The text was updated successfully, but these errors were encountered: