describePlatformVersion method

Future<DescribePlatformVersionResult> describePlatformVersion({
  1. String? platformArn,
})

Describes a platform version. Provides full details. Compare to ListPlatformVersions, which provides summary information about a list of platform versions.

For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary.

May throw InsufficientPrivilegesException. May throw ElasticBeanstalkServiceException.

Parameter platformArn : The ARN of the platform version.

Implementation

Future<DescribePlatformVersionResult> describePlatformVersion({
  String? platformArn,
}) async {
  final $request = <String, dynamic>{};
  platformArn?.also((arg) => $request['PlatformArn'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribePlatformVersion',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribePlatformVersionRequest'],
    shapes: shapes,
    resultWrapper: 'DescribePlatformVersionResult',
  );
  return DescribePlatformVersionResult.fromXml($result);
}