aws-ec2-0.3.7: AWS EC2/VPC, ELB and CloudWatch client library for Haskell

Safe HaskellNone
LanguageHaskell2010

Aws.Ec2.Types

Description

This module implements a number of response types for the aws-ec2 library. All commands from the library are written to return a JSON Value, but we provide more specific types for some responses where possible. Implementing and especially testing response types is a cumbersome job because the AWS documentation is not accurate and response types might be missing in various ways (absent, there but empty, sometimes there). Although the ideal would be to be feature complete, a lot of trial and error is needed to get the response types right so we've not yet done this.

However, it's useful to have more specific return types in common cases, even without full coverage. Since decoding of return values is type-driven, if you need more specific response decoding or coverage of features not implemented here, just define a new response type and use that.

Synopsis

Documentation

data Group Source #

Constructors

Group 

Fields

data Instance Source #

The respose type describing an instance.

Note: this response type is not complete (according to the docs) but only contains the types we have encountered. The other types that could be present are commented out, as they could not be tested.

data Tag Source #

Constructors

Tag 

Fields

Instances

maybeToList :: Maybe [a] -> [a] Source #