describeOperatingSystems method
Describes the operating systems that are supported by AWS OpsWorks Stacks.
Implementation
Future<DescribeOperatingSystemsResponse> describeOperatingSystems() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'OpsWorks_20130218.DescribeOperatingSystems'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return DescribeOperatingSystemsResponse.fromJson(jsonResponse.body);
}