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 |
Updates the specified attribute for a load balancer. You can only update one attribute at a time.
The update load balancer attribute
operation supports tag-based access
control via resource tags applied to the resource identified by
load balancer name
. For more information, see the
Amazon Lightsail Developer Guide.
Synopsis
- data UpdateLoadBalancerAttribute = UpdateLoadBalancerAttribute' {}
- newUpdateLoadBalancerAttribute :: Text -> LoadBalancerAttributeName -> Text -> UpdateLoadBalancerAttribute
- updateLoadBalancerAttribute_loadBalancerName :: Lens' UpdateLoadBalancerAttribute Text
- updateLoadBalancerAttribute_attributeName :: Lens' UpdateLoadBalancerAttribute LoadBalancerAttributeName
- updateLoadBalancerAttribute_attributeValue :: Lens' UpdateLoadBalancerAttribute Text
- data UpdateLoadBalancerAttributeResponse = UpdateLoadBalancerAttributeResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newUpdateLoadBalancerAttributeResponse :: Int -> UpdateLoadBalancerAttributeResponse
- updateLoadBalancerAttributeResponse_operations :: Lens' UpdateLoadBalancerAttributeResponse (Maybe [Operation])
- updateLoadBalancerAttributeResponse_httpStatus :: Lens' UpdateLoadBalancerAttributeResponse Int
Creating a Request
data UpdateLoadBalancerAttribute Source #
See: newUpdateLoadBalancerAttribute
smart constructor.
UpdateLoadBalancerAttribute' | |
|
Instances
newUpdateLoadBalancerAttribute Source #
Create a value of UpdateLoadBalancerAttribute
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:UpdateLoadBalancerAttribute'
, updateLoadBalancerAttribute_loadBalancerName
- The name of the load balancer that you want to modify (e.g.,
my-load-balancer
.
$sel:attributeName:UpdateLoadBalancerAttribute'
, updateLoadBalancerAttribute_attributeName
- The name of the attribute you want to update. Valid values are below.
$sel:attributeValue:UpdateLoadBalancerAttribute'
, updateLoadBalancerAttribute_attributeValue
- The value that you want to specify for the attribute name.
Request Lenses
updateLoadBalancerAttribute_loadBalancerName :: Lens' UpdateLoadBalancerAttribute Text Source #
The name of the load balancer that you want to modify (e.g.,
my-load-balancer
.
updateLoadBalancerAttribute_attributeName :: Lens' UpdateLoadBalancerAttribute LoadBalancerAttributeName Source #
The name of the attribute you want to update. Valid values are below.
updateLoadBalancerAttribute_attributeValue :: Lens' UpdateLoadBalancerAttribute Text Source #
The value that you want to specify for the attribute name.
Destructuring the Response
data UpdateLoadBalancerAttributeResponse Source #
See: newUpdateLoadBalancerAttributeResponse
smart constructor.
UpdateLoadBalancerAttributeResponse' | |
|
Instances
Eq UpdateLoadBalancerAttributeResponse Source # | |
Read UpdateLoadBalancerAttributeResponse Source # | |
Show UpdateLoadBalancerAttributeResponse Source # | |
Generic UpdateLoadBalancerAttributeResponse Source # | |
NFData UpdateLoadBalancerAttributeResponse Source # | |
Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute rnf :: UpdateLoadBalancerAttributeResponse -> () # | |
type Rep UpdateLoadBalancerAttributeResponse Source # | |
Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute type Rep UpdateLoadBalancerAttributeResponse = D1 ('MetaData "UpdateLoadBalancerAttributeResponse" "Amazonka.Lightsail.UpdateLoadBalancerAttribute" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "UpdateLoadBalancerAttributeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateLoadBalancerAttributeResponse Source #
Create a value of UpdateLoadBalancerAttributeResponse
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:operations:UpdateLoadBalancerAttributeResponse'
, updateLoadBalancerAttributeResponse_operations
- An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:UpdateLoadBalancerAttributeResponse'
, updateLoadBalancerAttributeResponse_httpStatus
- The response's http status code.
Response Lenses
updateLoadBalancerAttributeResponse_operations :: Lens' UpdateLoadBalancerAttributeResponse (Maybe [Operation]) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
updateLoadBalancerAttributeResponse_httpStatus :: Lens' UpdateLoadBalancerAttributeResponse Int Source #
The response's http status code.