Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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/:
Synopsis
- data ModifyLoadBalancerAttributes = ModifyLoadBalancerAttributes' {}
- newModifyLoadBalancerAttributes :: Text -> LoadBalancerAttributes -> ModifyLoadBalancerAttributes
- modifyLoadBalancerAttributes_loadBalancerName :: Lens' ModifyLoadBalancerAttributes Text
- modifyLoadBalancerAttributes_loadBalancerAttributes :: Lens' ModifyLoadBalancerAttributes LoadBalancerAttributes
- data ModifyLoadBalancerAttributesResponse = ModifyLoadBalancerAttributesResponse' {}
- newModifyLoadBalancerAttributesResponse :: Int -> ModifyLoadBalancerAttributesResponse
- modifyLoadBalancerAttributesResponse_loadBalancerName :: Lens' ModifyLoadBalancerAttributesResponse (Maybe Text)
- modifyLoadBalancerAttributesResponse_loadBalancerAttributes :: Lens' ModifyLoadBalancerAttributesResponse (Maybe LoadBalancerAttributes)
- modifyLoadBalancerAttributesResponse_httpStatus :: Lens' ModifyLoadBalancerAttributesResponse Int
Creating a Request
data ModifyLoadBalancerAttributes Source #
Contains the parameters for ModifyLoadBalancerAttributes.
See: newModifyLoadBalancerAttributes
smart constructor.
ModifyLoadBalancerAttributes' | |
|
Instances
newModifyLoadBalancerAttributes Source #
Create a value of ModifyLoadBalancerAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:loadBalancerName:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributes_loadBalancerName
- The name of the load balancer.
$sel:loadBalancerAttributes:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributes_loadBalancerAttributes
- The attributes for the load balancer.
Request Lenses
modifyLoadBalancerAttributes_loadBalancerName :: Lens' ModifyLoadBalancerAttributes Text Source #
The name of the load balancer.
modifyLoadBalancerAttributes_loadBalancerAttributes :: Lens' ModifyLoadBalancerAttributes LoadBalancerAttributes Source #
The attributes for the load balancer.
Destructuring the Response
data ModifyLoadBalancerAttributesResponse Source #
Contains the output of ModifyLoadBalancerAttributes.
See: newModifyLoadBalancerAttributesResponse
smart constructor.
ModifyLoadBalancerAttributesResponse' | |
|
Instances
newModifyLoadBalancerAttributesResponse Source #
Create a value of ModifyLoadBalancerAttributesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:loadBalancerName:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributesResponse_loadBalancerName
- The name of the load balancer.
$sel:loadBalancerAttributes:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributesResponse_loadBalancerAttributes
- Information about the load balancer attributes.
$sel:httpStatus:ModifyLoadBalancerAttributesResponse'
, modifyLoadBalancerAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
modifyLoadBalancerAttributesResponse_loadBalancerName :: Lens' ModifyLoadBalancerAttributesResponse (Maybe Text) Source #
The name of the load balancer.
modifyLoadBalancerAttributesResponse_loadBalancerAttributes :: Lens' ModifyLoadBalancerAttributesResponse (Maybe LoadBalancerAttributes) Source #
Information about the load balancer attributes.
modifyLoadBalancerAttributesResponse_httpStatus :: Lens' ModifyLoadBalancerAttributesResponse Int Source #
The response's http status code.