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 specified attributes of the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.
If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values.
Synopsis
- data ModifyLoadBalancerAttributes = ModifyLoadBalancerAttributes' {}
- newModifyLoadBalancerAttributes :: Text -> ModifyLoadBalancerAttributes
- modifyLoadBalancerAttributes_loadBalancerArn :: Lens' ModifyLoadBalancerAttributes Text
- modifyLoadBalancerAttributes_attributes :: Lens' ModifyLoadBalancerAttributes [LoadBalancerAttribute]
- data ModifyLoadBalancerAttributesResponse = ModifyLoadBalancerAttributesResponse' {}
- newModifyLoadBalancerAttributesResponse :: Int -> ModifyLoadBalancerAttributesResponse
- modifyLoadBalancerAttributesResponse_attributes :: Lens' ModifyLoadBalancerAttributesResponse (Maybe [LoadBalancerAttribute])
- modifyLoadBalancerAttributesResponse_httpStatus :: Lens' ModifyLoadBalancerAttributesResponse Int
Creating a Request
data ModifyLoadBalancerAttributes Source #
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:loadBalancerArn:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributes_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:attributes:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributes_attributes
- The load balancer attributes.
Request Lenses
modifyLoadBalancerAttributes_loadBalancerArn :: Lens' ModifyLoadBalancerAttributes Text Source #
The Amazon Resource Name (ARN) of the load balancer.
modifyLoadBalancerAttributes_attributes :: Lens' ModifyLoadBalancerAttributes [LoadBalancerAttribute] Source #
The load balancer attributes.
Destructuring the Response
data ModifyLoadBalancerAttributesResponse Source #
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:attributes:ModifyLoadBalancerAttributes'
, modifyLoadBalancerAttributesResponse_attributes
- Information about the load balancer attributes.
$sel:httpStatus:ModifyLoadBalancerAttributesResponse'
, modifyLoadBalancerAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
modifyLoadBalancerAttributesResponse_attributes :: Lens' ModifyLoadBalancerAttributesResponse (Maybe [LoadBalancerAttribute]) Source #
Information about the load balancer attributes.
modifyLoadBalancerAttributesResponse_httpStatus :: Lens' ModifyLoadBalancerAttributesResponse Int Source #
The response's http status code.