describeLoadBalancerAttributes method
Future<DescribeLoadBalancerAttributesOutput>
describeLoadBalancerAttributes({
- 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:
- Load balancer attributes in the Application Load Balancers Guide
- Load balancer attributes in the Network Load Balancers Guide
- Load balancer attributes in the Gateway Load Balancers Guide
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);
}