Skip to content
New issue

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

DescribeAutoScaleInstances return type requires LaunchConfiguration while it is optional #281

Closed
omarkj opened this issue Apr 11, 2016 · 0 comments
Assignees
Labels

Comments

@omarkj
Copy link

omarkj commented Apr 11, 2016

Hi,

The type for the LaunchConfiguration in the DescribeAutoscalingInstances is incorrect as it is optional, even tho Amazon documents it as required.

This seems to be the case in autoscaling.json file describing this API.

Ways to reproduce:

env <- newEnv NorthVirginia Discover <&> configure autoScaling
Network.AWS Network.AWS.AutoScaling System.IO Control.Lens Data.Text.Lens> runResourceT . runAWS env $ send $ describeAutoScalingInstances
*** Exception: SerializeError (SerializeError' {_serializeAbbrev = Abbrev "AutoScaling", _serializeStatus = Status {statusCode = 200, statusMessage = "OK"}, _serializeMessage = "unable to find element \"LaunchConfigurationName\" in nodes [\"LifecycleState\",\"AutoScalingGroupName\",\"InstanceId\",\"HealthStatus\",\"ProtectedFromScaleIn\",\"AvailabilityZone\"]"})

This is against Amazonka 1.4.0.

@omarkj omarkj changed the title DescribeAutoScaleInstances' return type requires LaunchConfiguration while it is optional DescribeAutoScaleInstances return type requires LaunchConfiguration while it is optional Apr 11, 2016
@brendanhay brendanhay added the bug label Apr 21, 2016
@brendanhay brendanhay self-assigned this Apr 21, 2016
brendanhay added a commit that referenced this issue Apr 21, 2016
For the type AutoScalingInstanceDetails returned by
DescribeAutoScalingInstances.

Fixes #281.
brendanhay added a commit that referenced this issue May 3, 2016
For the type AutoScalingInstanceDetails returned by
DescribeAutoScalingInstances.

Fixes #281.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants