describeLoadBalancerAttributes method

Future<DescribeLoadBalancerAttributesOutput> describeLoadBalancerAttributes({
  1. required String loadBalancerName,
})

Describes the attributes for the specified load balancer.

May throw AccessPointNotFoundException. May throw LoadBalancerAttributeNotFoundException.

Parameter loadBalancerName : The name of the load balancer.

Implementation

Future<DescribeLoadBalancerAttributesOutput> describeLoadBalancerAttributes({
  required String loadBalancerName,
}) async {
  ArgumentError.checkNotNull(loadBalancerName, 'loadBalancerName');
  final $request = <String, dynamic>{};
  $request['LoadBalancerName'] = loadBalancerName;
  final $result = await _protocol.send(
    $request,
    action: 'DescribeLoadBalancerAttributes',
    version: '2012-06-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeLoadBalancerAttributesInput'],
    shapes: shapes,
    resultWrapper: 'DescribeLoadBalancerAttributesResult',
  );
  return DescribeLoadBalancerAttributesOutput.fromXml($result);
}