describeLoadBalancerAttributes method

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

Describes the attributes for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

May throw LoadBalancerNotFoundException.

Parameter loadBalancerArn : The Amazon Resource Name (ARN) of the load balancer.

Implementation

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