describeApplications method

Future<ApplicationDescriptionsMessage> describeApplications(
  1. {List<String>? applicationNames}
)

Returns the descriptions of existing applications.

Parameter applicationNames : If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include those with the specified names.

Implementation

Future<ApplicationDescriptionsMessage> describeApplications({
  List<String>? applicationNames,
}) async {
  final $request = <String, dynamic>{};
  applicationNames?.also((arg) => $request['ApplicationNames'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeApplications',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeApplicationsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeApplicationsResult',
  );
  return ApplicationDescriptionsMessage.fromXml($result);
}