// Modifies the attributes of the specified load balancer. You can modify the load
// balancer attributes, such as AccessLogs, ConnectionDraining, and
// CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify
// the load balancer attribute ConnectionSettings by specifying an idle connection
// timeout value for your load balancer. For more information, see the following in
// the Classic Load Balancers Guide:
//
// * Cross-Zone Load Balancing
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html)
//
// *
// Connection Draining
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html)
//
// *
// Access Logs
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html)
//
// *
// Idle Connection Timeout
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html)
Modifies the attributes of the specified load balancer. You can modify the load
balancer attributes, such as AccessLogs, ConnectionDraining, and
CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify
the load balancer attribute ConnectionSettings by specifying an idle connection
timeout value for your load balancer. For more information, see the following in
the Classic Load Balancers Guide.

Cross-Zone Load Balancing

Connection Draining

Access Logs

Idle Connection Timeout
// Modifies the attributes of the specified load balancer . You can modify the load // balancer attributes such as AccessLogs ConnectionDraining and // CrossZoneLoadBalancing by either enabling or disabling them . Or you can modify // the load balancer attribute ConnectionSettings by specifying an idle connection // timeout value for your load balancer . For more information see the following in // the Classic Load Balancers Guide : // // * Cross - Zone Load Balancing // ( https : // docs . aws . amazon . com / elasticloadbalancing / latest / classic / enable - disable - crosszone - lb . html ) // // * // Connection Draining // ( https : // docs . aws . amazon . com / elasticloadbalancing / latest / classic / config - conn - drain . html ) // // * // Access Logs // ( https : // docs . aws . amazon . com / elasticloadbalancing / latest / classic / access - log - collection . html ) // // * // Idle Connection Timeout // ( https : // docs . aws . amazon . com / elasticloadbalancing / latest / classic / config - idle - timeout . html )
func (c *Client) ModifyLoadBalancerAttributes(ctx context.Context, params *ModifyLoadBalancerAttributesInput, optFns ...func(*Options)) (*ModifyLoadBalancerAttributesOutput, error) {
	if params == nil {
		params = &ModifyLoadBalancerAttributesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ModifyLoadBalancerAttributes", params, optFns, addOperationModifyLoadBalancerAttributesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ModifyLoadBalancerAttributesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ModifyLoadBalancerAttributes ( ctx context . Context , params * ModifyLoadBalancerAttributesInput , optFns ... func ( * Options ) ) ( * ModifyLoadBalancerAttributesOutput , error ) { if params == nil { params = & ModifyLoadBalancerAttributesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationModifyLoadBalancerAttributesMiddlewares ) if err != nil { return nil , err } out := result . ( * ModifyLoadBalancerAttributesOutput ) out . ResultMetadata = metadata return out , nil }
Modifies the attributes of the specified load balancer.
Modifies the attributes of the specified load balancer .