// Returns information about the specified Lightsail load balancer.
Returns information about the specified Lightsail load balancer.
// Returns information about the specified Lightsail load balancer .
func (c *Client) GetLoadBalancer(ctx context.Context, params *GetLoadBalancerInput, optFns ...func(*Options)) (*GetLoadBalancerOutput, error) {
	if params == nil {
		params = &GetLoadBalancerInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetLoadBalancer", params, optFns, addOperationGetLoadBalancerMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetLoadBalancerOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetLoadBalancer ( ctx context . Context , params * GetLoadBalancerInput , optFns ... func ( * Options ) ) ( * GetLoadBalancerOutput , error ) { if params == nil { params = & GetLoadBalancerInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetLoadBalancerMiddlewares ) if err != nil { return nil , err } out := result . ( * GetLoadBalancerOutput ) out . ResultMetadata = metadata return out , nil }
Returns information about the specified Lightsail load balancer.
Returns information about the specified Lightsail load balancer .