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
The following oneliner fails:
$ env AWS_CONFIG_FILE=... perl -MData::Dumper -MPaws -e 'my $x = Paws->service("ES", region => "eu-central-1"); warn Dumper($x->DescribeElasticsearchDomain(DomainName => "..."))' Not an ARRAY reference at /opt/perl-5.30.3/lib/site_perl/5.30.3/Paws/Net/RestJsonResponse.pm line 145.
The failing line is
145: $args{ $att } = $att_class->new(map { ($_->{ $xml_keys } => $_->{ $xml_values }) } @$value);
The debugger shows that $value is a HASH reference, not an ARRAY reference. $key at this point is "LogPublishingOptions".
The text was updated successfully, but these errors were encountered:
@pplu Do we really need Paws::API::MapParser role for restjson enum class? since the response will be in HashRef instead of ArrayRef.
I managed to fix this by removing the role from the generated class.
Sorry, something went wrong.
No branches or pull requests
The following oneliner fails:
The failing line is
The debugger shows that $value is a HASH reference, not an ARRAY reference. $key at this point is "LogPublishingOptions".
The text was updated successfully, but these errors were encountered: