| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Lightsail.UpdateLoadBalancerAttribute
Description
Updates the specified attribute for a load balancer. You can only update one attribute at a time.
- updateLoadBalancerAttribute :: Text -> LoadBalancerAttributeName -> Text -> UpdateLoadBalancerAttribute
- data UpdateLoadBalancerAttribute
- ulbaLoadBalancerName :: Lens' UpdateLoadBalancerAttribute Text
- ulbaAttributeName :: Lens' UpdateLoadBalancerAttribute LoadBalancerAttributeName
- ulbaAttributeValue :: Lens' UpdateLoadBalancerAttribute Text
- updateLoadBalancerAttributeResponse :: Int -> UpdateLoadBalancerAttributeResponse
- data UpdateLoadBalancerAttributeResponse
- ulbarsOperations :: Lens' UpdateLoadBalancerAttributeResponse [Operation]
- ulbarsResponseStatus :: Lens' UpdateLoadBalancerAttributeResponse Int
Creating a Request
updateLoadBalancerAttribute Source #
Arguments
| :: Text | |
| -> LoadBalancerAttributeName | |
| -> Text | |
| -> UpdateLoadBalancerAttribute |
Creates a value of UpdateLoadBalancerAttribute with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ulbaLoadBalancerName- The name of the load balancer that you want to modify (e.g.,my-load-balancer.ulbaAttributeName- The name of the attribute you want to update. Valid values are below.ulbaAttributeValue- The value that you want to specify for the attribute name.
data UpdateLoadBalancerAttribute Source #
See: updateLoadBalancerAttribute smart constructor.
Instances
Request Lenses
ulbaLoadBalancerName :: Lens' UpdateLoadBalancerAttribute Text Source #
The name of the load balancer that you want to modify (e.g., my-load-balancer .
ulbaAttributeName :: Lens' UpdateLoadBalancerAttribute LoadBalancerAttributeName Source #
The name of the attribute you want to update. Valid values are below.
ulbaAttributeValue :: Lens' UpdateLoadBalancerAttribute Text Source #
The value that you want to specify for the attribute name.
Destructuring the Response
updateLoadBalancerAttributeResponse Source #
Arguments
| :: Int | |
| -> UpdateLoadBalancerAttributeResponse |
Creates a value of UpdateLoadBalancerAttributeResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ulbarsOperations- An object describing the API operations.ulbarsResponseStatus- -- | The response status code.
data UpdateLoadBalancerAttributeResponse Source #
See: updateLoadBalancerAttributeResponse smart constructor.
Instances
Response Lenses
ulbarsOperations :: Lens' UpdateLoadBalancerAttributeResponse [Operation] Source #
An object describing the API operations.
ulbarsResponseStatus :: Lens' UpdateLoadBalancerAttributeResponse Int Source #
- - | The response status code.