libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.UpdateLoadBalancerAttribute

Description

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

Creating a Request

data UpdateLoadBalancerAttribute Source #

See: newUpdateLoadBalancerAttribute smart constructor.

Constructors

UpdateLoadBalancerAttribute' 

Fields

Instances

Instances details
Eq UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

Read UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

Show UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

Generic UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

Associated Types

type Rep UpdateLoadBalancerAttribute :: Type -> Type #

NFData UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

Hashable UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

ToJSON UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

AWSRequest UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

ToHeaders UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

ToPath UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

ToQuery UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

type Rep UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

type Rep UpdateLoadBalancerAttribute = D1 ('MetaData "UpdateLoadBalancerAttribute" "Amazonka.Lightsail.UpdateLoadBalancerAttribute" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "UpdateLoadBalancerAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoadBalancerAttributeName) :*: S1 ('MetaSel ('Just "attributeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateLoadBalancerAttribute Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

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 #

Constructors

UpdateLoadBalancerAttributeResponse' 

Fields

  • operations :: Maybe [Operation]

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq UpdateLoadBalancerAttributeResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

Read UpdateLoadBalancerAttributeResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

Show UpdateLoadBalancerAttributeResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

Generic UpdateLoadBalancerAttributeResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

NFData UpdateLoadBalancerAttributeResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UpdateLoadBalancerAttribute

type Rep UpdateLoadBalancerAttributeResponse Source # 
Instance details

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.