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 |
- Service Configuration
- Errors
- PolicyNotFoundException
- AccessPointNotFoundException
- DuplicatePolicyNameException
- InvalidConfigurationRequestException
- SubnetNotFoundException
- LoadBalancerAttributeNotFoundException
- InvalidSubnetException
- DuplicateTagKeysException
- DuplicateListenerException
- TooManyTagsException
- PolicyTypeNotFoundException
- UnsupportedProtocolException
- DuplicateAccessPointNameException
- InvalidSecurityGroupException
- ListenerNotFoundException
- InvalidEndPointException
- OperationNotPermittedException
- DependencyThrottleException
- InvalidSchemeException
- TooManyAccessPointsException
- TooManyPoliciesException
- CertificateNotFoundException
- Waiters
- Operations
- DescribeLoadBalancers (Paginated)
- DescribeTags
- DescribeLoadBalancerPolicyTypes
- ApplySecurityGroupsToLoadBalancer
- RemoveTags
- CreateLBCookieStickinessPolicy
- DeleteLoadBalancer
- DeregisterInstancesFromLoadBalancer
- CreateLoadBalancerPolicy
- DescribeLoadBalancerPolicies
- DisableAvailabilityZonesForLoadBalancer
- EnableAvailabilityZonesForLoadBalancer
- SetLoadBalancerPoliciesForBackendServer
- SetLoadBalancerListenerSSLCertificate
- DescribeAccountLimits
- AttachLoadBalancerToSubnets
- ConfigureHealthCheck
- ModifyLoadBalancerAttributes
- CreateAppCookieStickinessPolicy
- DescribeInstanceHealth
- AddTags
- DescribeLoadBalancerAttributes
- CreateLoadBalancerListeners
- DeleteLoadBalancerPolicy
- DetachLoadBalancerFromSubnets
- RegisterInstancesWithLoadBalancer
- CreateLoadBalancer
- DeleteLoadBalancerListeners
- SetLoadBalancerPoliciesOfListener
- Types
- Common
- AccessLog
- AdditionalAttribute
- AppCookieStickinessPolicy
- BackendServerDescription
- ConnectionDraining
- ConnectionSettings
- CrossZoneLoadBalancing
- HealthCheck
- Instance
- InstanceState
- LBCookieStickinessPolicy
- Limit
- Listener
- ListenerDescription
- LoadBalancerAttributes
- LoadBalancerDescription
- Policies
- PolicyAttribute
- PolicyAttributeDescription
- PolicyAttributeTypeDescription
- PolicyDescription
- PolicyTypeDescription
- SourceSecurityGroup
- Tag
- TagDescription
- TagKeyOnly
Elastic Load Balancing
A load balancer can distribute incoming traffic across your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered instances and ensures that it routes traffic only to healthy instances. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer and a protocol and port number for connections from the load balancer to the instances.
Elastic Load Balancing supports three types of load balancers: Application Load Balancers, Network Load Balancers, and Classic Load Balancers. You can select a load balancer based on your application needs. For more information, see the Elastic Load Balancing User Guide .
This reference covers the 2012-06-01 API, which supports Classic Load Balancers. The 2015-12-01 API supports Application Load Balancers and Network Load Balancers.
To get started, create a load balancer with one or more listeners using CreateLoadBalancer
. Register your instances with the load balancer using RegisterInstancesWithLoadBalancer
.
All Elastic Load Balancing operations are idempotent , which means that they complete at most one time. If you repeat an operation, it succeeds with a 200 OK response code.
Synopsis
- elb :: Service
- _PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessPointNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicatePolicyNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LoadBalancerAttributeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateListenerException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyTypeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedProtocolException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateAccessPointNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError
- _ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidEndPointException :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError
- _DependencyThrottleException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyAccessPointsException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyPoliciesException :: AsError a => Getting (First ServiceError) a ServiceError
- _CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- anyInstanceInService :: Wait DescribeInstanceHealth
- instanceDeregistered :: Wait DescribeInstanceHealth
- instanceInService :: Wait DescribeInstanceHealth
- module Network.AWS.ELB.DescribeLoadBalancers
- module Network.AWS.ELB.DescribeTags
- module Network.AWS.ELB.DescribeLoadBalancerPolicyTypes
- module Network.AWS.ELB.ApplySecurityGroupsToLoadBalancer
- module Network.AWS.ELB.RemoveTags
- module Network.AWS.ELB.CreateLBCookieStickinessPolicy
- module Network.AWS.ELB.DeleteLoadBalancer
- module Network.AWS.ELB.DeregisterInstancesFromLoadBalancer
- module Network.AWS.ELB.CreateLoadBalancerPolicy
- module Network.AWS.ELB.DescribeLoadBalancerPolicies
- module Network.AWS.ELB.DisableAvailabilityZonesForLoadBalancer
- module Network.AWS.ELB.EnableAvailabilityZonesForLoadBalancer
- module Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer
- module Network.AWS.ELB.SetLoadBalancerListenerSSLCertificate
- module Network.AWS.ELB.DescribeAccountLimits
- module Network.AWS.ELB.AttachLoadBalancerToSubnets
- module Network.AWS.ELB.ConfigureHealthCheck
- module Network.AWS.ELB.ModifyLoadBalancerAttributes
- module Network.AWS.ELB.CreateAppCookieStickinessPolicy
- module Network.AWS.ELB.DescribeInstanceHealth
- module Network.AWS.ELB.AddTags
- module Network.AWS.ELB.DescribeLoadBalancerAttributes
- module Network.AWS.ELB.CreateLoadBalancerListeners
- module Network.AWS.ELB.DeleteLoadBalancerPolicy
- module Network.AWS.ELB.DetachLoadBalancerFromSubnets
- module Network.AWS.ELB.RegisterInstancesWithLoadBalancer
- module Network.AWS.ELB.CreateLoadBalancer
- module Network.AWS.ELB.DeleteLoadBalancerListeners
- module Network.AWS.ELB.SetLoadBalancerPoliciesOfListener
- getAccountId :: Region -> Text
- data AccessLog
- accessLog :: Bool -> AccessLog
- alEmitInterval :: Lens' AccessLog (Maybe Int)
- alS3BucketPrefix :: Lens' AccessLog (Maybe Text)
- alS3BucketName :: Lens' AccessLog (Maybe Text)
- alEnabled :: Lens' AccessLog Bool
- data AdditionalAttribute
- additionalAttribute :: AdditionalAttribute
- aaValue :: Lens' AdditionalAttribute (Maybe Text)
- aaKey :: Lens' AdditionalAttribute (Maybe Text)
- data AppCookieStickinessPolicy
- appCookieStickinessPolicy :: AppCookieStickinessPolicy
- acspPolicyName :: Lens' AppCookieStickinessPolicy (Maybe Text)
- acspCookieName :: Lens' AppCookieStickinessPolicy (Maybe Text)
- data BackendServerDescription
- backendServerDescription :: BackendServerDescription
- bsdPolicyNames :: Lens' BackendServerDescription [Text]
- bsdInstancePort :: Lens' BackendServerDescription (Maybe Natural)
- data ConnectionDraining
- connectionDraining :: Bool -> ConnectionDraining
- cdTimeout :: Lens' ConnectionDraining (Maybe Int)
- cdEnabled :: Lens' ConnectionDraining Bool
- data ConnectionSettings
- connectionSettings :: Natural -> ConnectionSettings
- csIdleTimeout :: Lens' ConnectionSettings Natural
- data CrossZoneLoadBalancing
- crossZoneLoadBalancing :: Bool -> CrossZoneLoadBalancing
- czlbEnabled :: Lens' CrossZoneLoadBalancing Bool
- data HealthCheck
- healthCheck :: Text -> Natural -> Natural -> Natural -> Natural -> HealthCheck
- hcTarget :: Lens' HealthCheck Text
- hcInterval :: Lens' HealthCheck Natural
- hcTimeout :: Lens' HealthCheck Natural
- hcUnhealthyThreshold :: Lens' HealthCheck Natural
- hcHealthyThreshold :: Lens' HealthCheck Natural
- data Instance
- instance' :: Instance
- iInstanceId :: Lens' Instance (Maybe Text)
- data InstanceState
- instanceState :: InstanceState
- isInstanceId :: Lens' InstanceState (Maybe Text)
- isState :: Lens' InstanceState (Maybe Text)
- isReasonCode :: Lens' InstanceState (Maybe Text)
- isDescription :: Lens' InstanceState (Maybe Text)
- data LBCookieStickinessPolicy
- lBCookieStickinessPolicy :: LBCookieStickinessPolicy
- lbcspPolicyName :: Lens' LBCookieStickinessPolicy (Maybe Text)
- lbcspCookieExpirationPeriod :: Lens' LBCookieStickinessPolicy (Maybe Integer)
- data Limit
- limit :: Limit
- lMax :: Lens' Limit (Maybe Text)
- lName :: Lens' Limit (Maybe Text)
- data Listener
- listener :: Text -> Int -> Natural -> Listener
- lInstanceProtocol :: Lens' Listener (Maybe Text)
- lSSLCertificateId :: Lens' Listener (Maybe Text)
- lProtocol :: Lens' Listener Text
- lLoadBalancerPort :: Lens' Listener Int
- lInstancePort :: Lens' Listener Natural
- data ListenerDescription
- listenerDescription :: ListenerDescription
- ldPolicyNames :: Lens' ListenerDescription [Text]
- ldListener :: Lens' ListenerDescription (Maybe Listener)
- data LoadBalancerAttributes
- loadBalancerAttributes :: LoadBalancerAttributes
- lbaCrossZoneLoadBalancing :: Lens' LoadBalancerAttributes (Maybe CrossZoneLoadBalancing)
- lbaAccessLog :: Lens' LoadBalancerAttributes (Maybe AccessLog)
- lbaAdditionalAttributes :: Lens' LoadBalancerAttributes [AdditionalAttribute]
- lbaConnectionSettings :: Lens' LoadBalancerAttributes (Maybe ConnectionSettings)
- lbaConnectionDraining :: Lens' LoadBalancerAttributes (Maybe ConnectionDraining)
- data LoadBalancerDescription
- loadBalancerDescription :: LoadBalancerDescription
- lbdSourceSecurityGroup :: Lens' LoadBalancerDescription (Maybe SourceSecurityGroup)
- lbdCanonicalHostedZoneName :: Lens' LoadBalancerDescription (Maybe Text)
- lbdSecurityGroups :: Lens' LoadBalancerDescription [Text]
- lbdHealthCheck :: Lens' LoadBalancerDescription (Maybe HealthCheck)
- lbdLoadBalancerName :: Lens' LoadBalancerDescription (Maybe Text)
- lbdCreatedTime :: Lens' LoadBalancerDescription (Maybe UTCTime)
- lbdVPCId :: Lens' LoadBalancerDescription (Maybe Text)
- lbdSubnets :: Lens' LoadBalancerDescription [Text]
- lbdAvailabilityZones :: Lens' LoadBalancerDescription [Text]
- lbdBackendServerDescriptions :: Lens' LoadBalancerDescription [BackendServerDescription]
- lbdCanonicalHostedZoneNameId :: Lens' LoadBalancerDescription (Maybe Text)
- lbdInstances :: Lens' LoadBalancerDescription [Instance]
- lbdScheme :: Lens' LoadBalancerDescription (Maybe Text)
- lbdListenerDescriptions :: Lens' LoadBalancerDescription [ListenerDescription]
- lbdDNSName :: Lens' LoadBalancerDescription (Maybe Text)
- lbdPolicies :: Lens' LoadBalancerDescription (Maybe Policies)
- data Policies
- policies :: Policies
- pOtherPolicies :: Lens' Policies [Text]
- pLBCookieStickinessPolicies :: Lens' Policies [LBCookieStickinessPolicy]
- pAppCookieStickinessPolicies :: Lens' Policies [AppCookieStickinessPolicy]
- data PolicyAttribute
- policyAttribute :: PolicyAttribute
- paAttributeValue :: Lens' PolicyAttribute (Maybe Text)
- paAttributeName :: Lens' PolicyAttribute (Maybe Text)
- data PolicyAttributeDescription
- policyAttributeDescription :: PolicyAttributeDescription
- padAttributeValue :: Lens' PolicyAttributeDescription (Maybe Text)
- padAttributeName :: Lens' PolicyAttributeDescription (Maybe Text)
- data PolicyAttributeTypeDescription
- policyAttributeTypeDescription :: PolicyAttributeTypeDescription
- patdAttributeType :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- patdCardinality :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- patdDefaultValue :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- patdAttributeName :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- patdDescription :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- data PolicyDescription
- policyDescription :: PolicyDescription
- pdPolicyName :: Lens' PolicyDescription (Maybe Text)
- pdPolicyAttributeDescriptions :: Lens' PolicyDescription [PolicyAttributeDescription]
- pdPolicyTypeName :: Lens' PolicyDescription (Maybe Text)
- data PolicyTypeDescription
- policyTypeDescription :: PolicyTypeDescription
- ptdPolicyTypeName :: Lens' PolicyTypeDescription (Maybe Text)
- ptdDescription :: Lens' PolicyTypeDescription (Maybe Text)
- ptdPolicyAttributeTypeDescriptions :: Lens' PolicyTypeDescription [PolicyAttributeTypeDescription]
- data SourceSecurityGroup
- sourceSecurityGroup :: SourceSecurityGroup
- ssgOwnerAlias :: Lens' SourceSecurityGroup (Maybe Text)
- ssgGroupName :: Lens' SourceSecurityGroup (Maybe Text)
- data Tag
- tag :: Text -> Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag Text
- data TagDescription
- tagDescription :: TagDescription
- tdLoadBalancerName :: Lens' TagDescription (Maybe Text)
- tdTags :: Lens' TagDescription (Maybe (NonEmpty Tag))
- data TagKeyOnly
- tagKeyOnly :: TagKeyOnly
- tkoKey :: Lens' TagKeyOnly (Maybe Text)
Service Configuration
API version 2012-06-01
of the Amazon Elastic Load Balancing SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by ELB
.
PolicyNotFoundException
_PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the specified policies do not exist.
AccessPointNotFoundException
_AccessPointNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified load balancer does not exist.
DuplicatePolicyNameException
_DuplicatePolicyNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A policy with the specified name already exists for this load balancer.
InvalidConfigurationRequestException
_InvalidConfigurationRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested configuration change is not valid.
SubnetNotFoundException
_SubnetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the specified subnets do not exist.
LoadBalancerAttributeNotFoundException
_LoadBalancerAttributeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified load balancer attribute does not exist.
InvalidSubnetException
_InvalidSubnetException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified VPC has no associated Internet gateway.
DuplicateTagKeysException
_DuplicateTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A tag key was specified more than once.
DuplicateListenerException
_DuplicateListenerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A listener already exists for the specified load balancer name and port, but with a different instance port, protocol, or SSL certificate.
TooManyTagsException
_TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The quota for the number of tags that can be assigned to a load balancer has been reached.
PolicyTypeNotFoundException
_PolicyTypeNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the specified policy types do not exist.
UnsupportedProtocolException
_UnsupportedProtocolException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified protocol or signature version is not supported.
DuplicateAccessPointNameException
_DuplicateAccessPointNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified load balancer name already exists for this account.
InvalidSecurityGroupException
_InvalidSecurityGroupException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more of the specified security groups do not exist.
ListenerNotFoundException
_ListenerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The load balancer does not have a listener configured at the specified port.
InvalidEndPointException
_InvalidEndPointException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified endpoint is not valid.
OperationNotPermittedException
_OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This operation is not allowed.
DependencyThrottleException
_DependencyThrottleException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for DependencyThrottleException' errors.
InvalidSchemeException
_InvalidSchemeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified value for the schema is not valid. You can only specify a scheme for load balancers in a VPC.
TooManyAccessPointsException
_TooManyAccessPointsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The quota for the number of load balancers has been reached.
TooManyPoliciesException
_TooManyPoliciesException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The quota for the number of policies for this load balancer has been reached.
CertificateNotFoundException
_CertificateNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if you recently uploaded the certificate to IAM, this error might indicate that the certificate is not fully available yet.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
AnyInstanceInService
anyInstanceInService :: Wait DescribeInstanceHealth Source #
Polls DescribeInstanceHealth
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
InstanceDeregistered
instanceDeregistered :: Wait DescribeInstanceHealth Source #
Polls DescribeInstanceHealth
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
InstanceInService
instanceInService :: Wait DescribeInstanceHealth Source #
Polls DescribeInstanceHealth
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
DescribeLoadBalancers (Paginated)
DescribeTags
module Network.AWS.ELB.DescribeTags
DescribeLoadBalancerPolicyTypes
ApplySecurityGroupsToLoadBalancer
RemoveTags
module Network.AWS.ELB.RemoveTags
CreateLBCookieStickinessPolicy
DeleteLoadBalancer
DeregisterInstancesFromLoadBalancer
CreateLoadBalancerPolicy
DescribeLoadBalancerPolicies
DisableAvailabilityZonesForLoadBalancer
EnableAvailabilityZonesForLoadBalancer
SetLoadBalancerPoliciesForBackendServer
SetLoadBalancerListenerSSLCertificate
DescribeAccountLimits
AttachLoadBalancerToSubnets
ConfigureHealthCheck
ModifyLoadBalancerAttributes
CreateAppCookieStickinessPolicy
DescribeInstanceHealth
AddTags
module Network.AWS.ELB.AddTags
DescribeLoadBalancerAttributes
CreateLoadBalancerListeners
DeleteLoadBalancerPolicy
DetachLoadBalancerFromSubnets
RegisterInstancesWithLoadBalancer
CreateLoadBalancer
DeleteLoadBalancerListeners
SetLoadBalancerPoliciesOfListener
Types
Common
getAccountId :: Region -> Text Source #
This account identifier is used when attaching a policy to your S3 bucket allowing ELB to upload and write access logs.
AccessLog
Information about the AccessLog
attribute.
See: accessLog
smart constructor.
Instances
Creates a value of AccessLog
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
alEmitInterval
- The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes. Default: 60 minutesalS3BucketPrefix
- The logical hierarchy you created for your Amazon S3 bucket, for examplemy-bucket-prefix/prod
. If the prefix is not provided, the log is placed at the root level of the bucket.alS3BucketName
- The name of the Amazon S3 bucket where the access logs are stored.alEnabled
- Specifies whether access logs are enabled for the load balancer.
alEmitInterval :: Lens' AccessLog (Maybe Int) Source #
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes. Default: 60 minutes
alS3BucketPrefix :: Lens' AccessLog (Maybe Text) Source #
The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod
. If the prefix is not provided, the log is placed at the root level of the bucket.
alS3BucketName :: Lens' AccessLog (Maybe Text) Source #
The name of the Amazon S3 bucket where the access logs are stored.
alEnabled :: Lens' AccessLog Bool Source #
Specifies whether access logs are enabled for the load balancer.
AdditionalAttribute
data AdditionalAttribute Source #
This data type is reserved.
See: additionalAttribute
smart constructor.
Instances
additionalAttribute :: AdditionalAttribute Source #
Creates a value of AdditionalAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
AppCookieStickinessPolicy
data AppCookieStickinessPolicy Source #
Information about a policy for application-controlled session stickiness.
See: appCookieStickinessPolicy
smart constructor.
Instances
appCookieStickinessPolicy :: AppCookieStickinessPolicy Source #
Creates a value of AppCookieStickinessPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acspPolicyName
- The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.acspCookieName
- The name of the application cookie used for stickiness.
acspPolicyName :: Lens' AppCookieStickinessPolicy (Maybe Text) Source #
The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
acspCookieName :: Lens' AppCookieStickinessPolicy (Maybe Text) Source #
The name of the application cookie used for stickiness.
BackendServerDescription
data BackendServerDescription Source #
Information about the configuration of an EC2 instance.
See: backendServerDescription
smart constructor.
Instances
backendServerDescription :: BackendServerDescription Source #
Creates a value of BackendServerDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bsdPolicyNames
- The names of the policies enabled for the EC2 instance.bsdInstancePort
- The port on which the EC2 instance is listening.
bsdPolicyNames :: Lens' BackendServerDescription [Text] Source #
The names of the policies enabled for the EC2 instance.
bsdInstancePort :: Lens' BackendServerDescription (Maybe Natural) Source #
The port on which the EC2 instance is listening.
ConnectionDraining
data ConnectionDraining Source #
Information about the ConnectionDraining
attribute.
See: connectionDraining
smart constructor.
Instances
Creates a value of ConnectionDraining
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdTimeout :: Lens' ConnectionDraining (Maybe Int) Source #
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
cdEnabled :: Lens' ConnectionDraining Bool Source #
Specifies whether connection draining is enabled for the load balancer.
ConnectionSettings
data ConnectionSettings Source #
Information about the ConnectionSettings
attribute.
See: connectionSettings
smart constructor.
Instances
Creates a value of ConnectionSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csIdleTimeout
- The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
csIdleTimeout :: Lens' ConnectionSettings Natural Source #
The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
CrossZoneLoadBalancing
data CrossZoneLoadBalancing Source #
Information about the CrossZoneLoadBalancing
attribute.
See: crossZoneLoadBalancing
smart constructor.
Instances
crossZoneLoadBalancing Source #
Creates a value of CrossZoneLoadBalancing
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
czlbEnabled
- Specifies whether cross-zone load balancing is enabled for the load balancer.
czlbEnabled :: Lens' CrossZoneLoadBalancing Bool Source #
Specifies whether cross-zone load balancing is enabled for the load balancer.
HealthCheck
data HealthCheck Source #
Information about a health check.
See: healthCheck
smart constructor.
Instances
Creates a value of HealthCheck
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hcTarget
- The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535. TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy. SSL is also specified as SSL: port pair, for example, SSL:5000. For HTTPHTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;;PathToPing; grouping, for example "HTTP:80weatheruswaseattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy. The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.hcInterval
- The approximate interval, in seconds, between health checks of an individual instance.hcTimeout
- The amount of time, in seconds, during which no response means a failed health check. This value must be less than theInterval
value.hcUnhealthyThreshold
- The number of consecutive health check failures required before moving the instance to theUnhealthy
state.hcHealthyThreshold
- The number of consecutive health checks successes required before moving the instance to theHealthy
state.
hcTarget :: Lens' HealthCheck Text Source #
The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535. TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy. SSL is also specified as SSL: port pair, for example, SSL:5000. For HTTPHTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;;PathToPing; grouping, for example "HTTP:80weatheruswaseattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy. The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
hcInterval :: Lens' HealthCheck Natural Source #
The approximate interval, in seconds, between health checks of an individual instance.
hcTimeout :: Lens' HealthCheck Natural Source #
The amount of time, in seconds, during which no response means a failed health check. This value must be less than the Interval
value.
hcUnhealthyThreshold :: Lens' HealthCheck Natural Source #
The number of consecutive health check failures required before moving the instance to the Unhealthy
state.
hcHealthyThreshold :: Lens' HealthCheck Natural Source #
The number of consecutive health checks successes required before moving the instance to the Healthy
state.
Instance
The ID of an EC2 instance.
See: instance'
smart constructor.
Instances
Eq Instance Source # | |
Data Instance Source # | |
Defined in Network.AWS.ELB.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Instance -> c Instance # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Instance # toConstr :: Instance -> Constr # dataTypeOf :: Instance -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Instance) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Instance) # gmapT :: (forall b. Data b => b -> b) -> Instance -> Instance # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Instance -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Instance -> r # gmapQ :: (forall d. Data d => d -> u) -> Instance -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Instance -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Instance -> m Instance # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Instance -> m Instance # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Instance -> m Instance # | |
Read Instance Source # | |
Show Instance Source # | |
Generic Instance Source # | |
Hashable Instance Source # | |
Defined in Network.AWS.ELB.Types.Product | |
FromXML Instance Source # | |
ToQuery Instance Source # | |
Defined in Network.AWS.ELB.Types.Product toQuery :: Instance -> QueryString # | |
NFData Instance Source # | |
Defined in Network.AWS.ELB.Types.Product | |
type Rep Instance Source # | |
Defined in Network.AWS.ELB.Types.Product |
instance' :: Instance Source #
Creates a value of Instance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iInstanceId
- The instance ID.
InstanceState
data InstanceState Source #
Information about the state of an EC2 instance.
See: instanceState
smart constructor.
Instances
instanceState :: InstanceState Source #
Creates a value of InstanceState
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
isInstanceId
- The ID of the instance.isState
- The current state of the instance. Valid values:InService
|OutOfService
|Unknown
isReasonCode
- Information about the cause ofOutOfService
instances. Specifically, whether the cause is Elastic Load Balancing or the instance. Valid values:ELB
|Instance
|N/A
isDescription
- A description of the instance state. This string can contain one or more of the following messages. *N/A
*A transient error occurred. Please try again later.
*Instance has failed at least the UnhealthyThreshold number of health checks consecutively.
*Instance has not passed the configured HealthyThreshold number of health checks consecutively.
*Instance registration is still in progress.
*Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to.
*Instance is not currently registered with the LoadBalancer.
*Instance deregistration currently in progress.
*Disable Availability Zone is currently in progress.
*Instance is in pending state.
*Instance is in stopped state.
*Instance is in terminated state.
isInstanceId :: Lens' InstanceState (Maybe Text) Source #
The ID of the instance.
isState :: Lens' InstanceState (Maybe Text) Source #
The current state of the instance. Valid values: InService
| OutOfService
| Unknown
isReasonCode :: Lens' InstanceState (Maybe Text) Source #
Information about the cause of OutOfService
instances. Specifically, whether the cause is Elastic Load Balancing or the instance. Valid values: ELB
| Instance
| N/A
isDescription :: Lens' InstanceState (Maybe Text) Source #
A description of the instance state. This string can contain one or more of the following messages. * N/A
* A transient error occurred. Please try again later.
* Instance has failed at least the UnhealthyThreshold number of health checks consecutively.
* Instance has not passed the configured HealthyThreshold number of health checks consecutively.
* Instance registration is still in progress.
* Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to.
* Instance is not currently registered with the LoadBalancer.
* Instance deregistration currently in progress.
* Disable Availability Zone is currently in progress.
* Instance is in pending state.
* Instance is in stopped state.
* Instance is in terminated state.
LBCookieStickinessPolicy
data LBCookieStickinessPolicy Source #
Information about a policy for duration-based session stickiness.
See: lBCookieStickinessPolicy
smart constructor.
Instances
lBCookieStickinessPolicy :: LBCookieStickinessPolicy Source #
Creates a value of LBCookieStickinessPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbcspPolicyName
- The name of the policy. This name must be unique within the set of policies for this load balancer.lbcspCookieExpirationPeriod
- The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
lbcspPolicyName :: Lens' LBCookieStickinessPolicy (Maybe Text) Source #
The name of the policy. This name must be unique within the set of policies for this load balancer.
lbcspCookieExpirationPeriod :: Lens' LBCookieStickinessPolicy (Maybe Integer) Source #
The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
Limit
Information about an Elastic Load Balancing resource limit for your AWS account.
See: limit
smart constructor.
Instances
Eq Limit Source # | |
Data Limit Source # | |
Defined in Network.AWS.ELB.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Limit -> c Limit # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Limit # dataTypeOf :: Limit -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Limit) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Limit) # gmapT :: (forall b. Data b => b -> b) -> Limit -> Limit # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Limit -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Limit -> r # gmapQ :: (forall d. Data d => d -> u) -> Limit -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Limit -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Limit -> m Limit # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Limit -> m Limit # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Limit -> m Limit # | |
Read Limit Source # | |
Show Limit Source # | |
Generic Limit Source # | |
Hashable Limit Source # | |
Defined in Network.AWS.ELB.Types.Product | |
FromXML Limit Source # | |
NFData Limit Source # | |
Defined in Network.AWS.ELB.Types.Product | |
type Rep Limit Source # | |
Defined in Network.AWS.ELB.Types.Product type Rep Limit = D1 (MetaData "Limit" "Network.AWS.ELB.Types.Product" "amazonka-elb-1.6.1-Ih5hIKrYl5yJOuBwSBSzZS" False) (C1 (MetaCons "Limit'" PrefixI True) (S1 (MetaSel (Just "_lMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
lName :: Lens' Limit (Maybe Text) Source #
The name of the limit. The possible values are: * classic-listeners * classic-load-balancers
Listener
Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listeners for Your Classic Load Balancer in the Classic Load Balancer Guide .
See: listener
smart constructor.
Instances
Creates a value of Listener
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lInstanceProtocol
- The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL. If the front-end protocol is HTTP, HTTPS, TCP, or SSL,InstanceProtocol
must be at the same protocol. If there is another listener with the sameInstancePort
whoseInstanceProtocol
is secure, (HTTPS or SSL), the listener'sInstanceProtocol
must also be secure. If there is another listener with the sameInstancePort
whoseInstanceProtocol
is HTTP or TCP, the listener'sInstanceProtocol
must be HTTP or TCP.lSSLCertificateId
- The Amazon Resource Name (ARN) of the server certificate.lProtocol
- The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.lLoadBalancerPort
- The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.lInstancePort
- The port on which the instance is listening.
lInstanceProtocol :: Lens' Listener (Maybe Text) Source #
The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL. If the front-end protocol is HTTP, HTTPS, TCP, or SSL, InstanceProtocol
must be at the same protocol. If there is another listener with the same InstancePort
whose InstanceProtocol
is secure, (HTTPS or SSL), the listener's InstanceProtocol
must also be secure. If there is another listener with the same InstancePort
whose InstanceProtocol
is HTTP or TCP, the listener's InstanceProtocol
must be HTTP or TCP.
lSSLCertificateId :: Lens' Listener (Maybe Text) Source #
The Amazon Resource Name (ARN) of the server certificate.
lProtocol :: Lens' Listener Text Source #
The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.
lLoadBalancerPort :: Lens' Listener Int Source #
The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
ListenerDescription
data ListenerDescription Source #
The policies enabled for a listener.
See: listenerDescription
smart constructor.
Instances
listenerDescription :: ListenerDescription Source #
Creates a value of ListenerDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldPolicyNames
- The policies. If there are no policies enabled, the list is empty.ldListener
- The listener.
ldPolicyNames :: Lens' ListenerDescription [Text] Source #
The policies. If there are no policies enabled, the list is empty.
ldListener :: Lens' ListenerDescription (Maybe Listener) Source #
The listener.
LoadBalancerAttributes
data LoadBalancerAttributes Source #
The attributes for a load balancer.
See: loadBalancerAttributes
smart constructor.
Instances
loadBalancerAttributes :: LoadBalancerAttributes Source #
Creates a value of LoadBalancerAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbaCrossZoneLoadBalancing
- If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones. For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancer Guide .lbaAccessLog
- If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify. For more information, see Enable Access Logs in the Classic Load Balancer Guide .lbaAdditionalAttributes
- This parameter is reserved.lbaConnectionSettings
- If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration. By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancer Guide .lbaConnectionDraining
- If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance. For more information, see Configure Connection Draining in the Classic Load Balancer Guide .
lbaCrossZoneLoadBalancing :: Lens' LoadBalancerAttributes (Maybe CrossZoneLoadBalancing) Source #
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones. For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancer Guide .
lbaAccessLog :: Lens' LoadBalancerAttributes (Maybe AccessLog) Source #
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify. For more information, see Enable Access Logs in the Classic Load Balancer Guide .
lbaAdditionalAttributes :: Lens' LoadBalancerAttributes [AdditionalAttribute] Source #
This parameter is reserved.
lbaConnectionSettings :: Lens' LoadBalancerAttributes (Maybe ConnectionSettings) Source #
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration. By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancer Guide .
lbaConnectionDraining :: Lens' LoadBalancerAttributes (Maybe ConnectionDraining) Source #
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance. For more information, see Configure Connection Draining in the Classic Load Balancer Guide .
LoadBalancerDescription
data LoadBalancerDescription Source #
Information about a load balancer.
See: loadBalancerDescription
smart constructor.
Instances
loadBalancerDescription :: LoadBalancerDescription Source #
Creates a value of LoadBalancerDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbdSourceSecurityGroup
- The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.lbdCanonicalHostedZoneName
- The DNS name of the load balancer. For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide .lbdSecurityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.lbdHealthCheck
- Information about the health checks conducted on the load balancer.lbdLoadBalancerName
- The name of the load balancer.lbdCreatedTime
- The date and time the load balancer was created.lbdVPCId
- The ID of the VPC for the load balancer.lbdSubnets
- The IDs of the subnets for the load balancer.lbdAvailabilityZones
- The Availability Zones for the load balancer.lbdBackendServerDescriptions
- Information about your EC2 instances.lbdCanonicalHostedZoneNameId
- The ID of the Amazon Route 53 hosted zone for the load balancer.lbdInstances
- The IDs of the instances for the load balancer.lbdScheme
- The type of load balancer. Valid only for load balancers in a VPC. IfScheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address. IfScheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.lbdListenerDescriptions
- The listeners for the load balancer.lbdDNSName
- The DNS name of the load balancer.lbdPolicies
- The policies defined for the load balancer.
lbdSourceSecurityGroup :: Lens' LoadBalancerDescription (Maybe SourceSecurityGroup) Source #
The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
lbdCanonicalHostedZoneName :: Lens' LoadBalancerDescription (Maybe Text) Source #
The DNS name of the load balancer. For more information, see Configure a Custom Domain Name in the Classic Load Balancer Guide .
lbdSecurityGroups :: Lens' LoadBalancerDescription [Text] Source #
The security groups for the load balancer. Valid only for load balancers in a VPC.
lbdHealthCheck :: Lens' LoadBalancerDescription (Maybe HealthCheck) Source #
Information about the health checks conducted on the load balancer.
lbdLoadBalancerName :: Lens' LoadBalancerDescription (Maybe Text) Source #
The name of the load balancer.
lbdCreatedTime :: Lens' LoadBalancerDescription (Maybe UTCTime) Source #
The date and time the load balancer was created.
lbdVPCId :: Lens' LoadBalancerDescription (Maybe Text) Source #
The ID of the VPC for the load balancer.
lbdSubnets :: Lens' LoadBalancerDescription [Text] Source #
The IDs of the subnets for the load balancer.
lbdAvailabilityZones :: Lens' LoadBalancerDescription [Text] Source #
The Availability Zones for the load balancer.
lbdBackendServerDescriptions :: Lens' LoadBalancerDescription [BackendServerDescription] Source #
Information about your EC2 instances.
lbdCanonicalHostedZoneNameId :: Lens' LoadBalancerDescription (Maybe Text) Source #
The ID of the Amazon Route 53 hosted zone for the load balancer.
lbdInstances :: Lens' LoadBalancerDescription [Instance] Source #
The IDs of the instances for the load balancer.
lbdScheme :: Lens' LoadBalancerDescription (Maybe Text) Source #
The type of load balancer. Valid only for load balancers in a VPC. If Scheme
is internet-facing
, the load balancer has a public DNS name that resolves to a public IP address. If Scheme
is internal
, the load balancer has a public DNS name that resolves to a private IP address.
lbdListenerDescriptions :: Lens' LoadBalancerDescription [ListenerDescription] Source #
The listeners for the load balancer.
lbdDNSName :: Lens' LoadBalancerDescription (Maybe Text) Source #
The DNS name of the load balancer.
lbdPolicies :: Lens' LoadBalancerDescription (Maybe Policies) Source #
The policies defined for the load balancer.
Policies
The policies for a load balancer.
See: policies
smart constructor.
Instances
Eq Policies Source # | |
Data Policies Source # | |
Defined in Network.AWS.ELB.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Policies -> c Policies # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Policies # toConstr :: Policies -> Constr # dataTypeOf :: Policies -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Policies) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Policies) # gmapT :: (forall b. Data b => b -> b) -> Policies -> Policies # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Policies -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Policies -> r # gmapQ :: (forall d. Data d => d -> u) -> Policies -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Policies -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Policies -> m Policies # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Policies -> m Policies # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Policies -> m Policies # | |
Read Policies Source # | |
Show Policies Source # | |
Generic Policies Source # | |
Hashable Policies Source # | |
Defined in Network.AWS.ELB.Types.Product | |
FromXML Policies Source # | |
NFData Policies Source # | |
Defined in Network.AWS.ELB.Types.Product | |
type Rep Policies Source # | |
Defined in Network.AWS.ELB.Types.Product type Rep Policies = D1 (MetaData "Policies" "Network.AWS.ELB.Types.Product" "amazonka-elb-1.6.1-Ih5hIKrYl5yJOuBwSBSzZS" False) (C1 (MetaCons "Policies'" PrefixI True) (S1 (MetaSel (Just "_pOtherPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_pLBCookieStickinessPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LBCookieStickinessPolicy])) :*: S1 (MetaSel (Just "_pAppCookieStickinessPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AppCookieStickinessPolicy]))))) |
Creates a value of Policies
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pOtherPolicies
- The policies other than the stickiness policies.pLBCookieStickinessPolicies
- The stickiness policies created usingCreateLBCookieStickinessPolicy
.pAppCookieStickinessPolicies
- The stickiness policies created usingCreateAppCookieStickinessPolicy
.
pLBCookieStickinessPolicies :: Lens' Policies [LBCookieStickinessPolicy] Source #
The stickiness policies created using CreateLBCookieStickinessPolicy
.
pAppCookieStickinessPolicies :: Lens' Policies [AppCookieStickinessPolicy] Source #
The stickiness policies created using CreateAppCookieStickinessPolicy
.
PolicyAttribute
data PolicyAttribute Source #
Information about a policy attribute.
See: policyAttribute
smart constructor.
Instances
policyAttribute :: PolicyAttribute Source #
Creates a value of PolicyAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
paAttributeValue
- The value of the attribute.paAttributeName
- The name of the attribute.
paAttributeValue :: Lens' PolicyAttribute (Maybe Text) Source #
The value of the attribute.
paAttributeName :: Lens' PolicyAttribute (Maybe Text) Source #
The name of the attribute.
PolicyAttributeDescription
data PolicyAttributeDescription Source #
Information about a policy attribute.
See: policyAttributeDescription
smart constructor.
Instances
policyAttributeDescription :: PolicyAttributeDescription Source #
Creates a value of PolicyAttributeDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
padAttributeValue
- The value of the attribute.padAttributeName
- The name of the attribute.
padAttributeValue :: Lens' PolicyAttributeDescription (Maybe Text) Source #
The value of the attribute.
padAttributeName :: Lens' PolicyAttributeDescription (Maybe Text) Source #
The name of the attribute.
PolicyAttributeTypeDescription
data PolicyAttributeTypeDescription Source #
Information about a policy attribute type.
See: policyAttributeTypeDescription
smart constructor.
Instances
policyAttributeTypeDescription :: PolicyAttributeTypeDescription Source #
Creates a value of PolicyAttributeTypeDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
patdAttributeType
- The type of the attribute. For example,Boolean
orInteger
.patdCardinality
- The cardinality of the attribute. Valid values: * ONE(1) : Single value required * ZERO_OR_ONE(0..1) : Up to one value is allowed * ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed * ONE_OR_MORE(1..*0) : Required. Multiple values are allowedpatdDefaultValue
- The default value of the attribute, if applicable.patdAttributeName
- The name of the attribute.patdDescription
- A description of the attribute.
patdAttributeType :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The type of the attribute. For example, Boolean
or Integer
.
patdCardinality :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The cardinality of the attribute. Valid values: * ONE(1) : Single value required * ZERO_OR_ONE(0..1) : Up to one value is allowed * ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed * ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
patdDefaultValue :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The default value of the attribute, if applicable.
patdAttributeName :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The name of the attribute.
patdDescription :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
A description of the attribute.
PolicyDescription
data PolicyDescription Source #
Information about a policy.
See: policyDescription
smart constructor.
Instances
policyDescription :: PolicyDescription Source #
Creates a value of PolicyDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdPolicyName
- The name of the policy.pdPolicyAttributeDescriptions
- The policy attributes.pdPolicyTypeName
- The name of the policy type.
pdPolicyName :: Lens' PolicyDescription (Maybe Text) Source #
The name of the policy.
pdPolicyAttributeDescriptions :: Lens' PolicyDescription [PolicyAttributeDescription] Source #
The policy attributes.
pdPolicyTypeName :: Lens' PolicyDescription (Maybe Text) Source #
The name of the policy type.
PolicyTypeDescription
data PolicyTypeDescription Source #
Information about a policy type.
See: policyTypeDescription
smart constructor.
Instances
policyTypeDescription :: PolicyTypeDescription Source #
Creates a value of PolicyTypeDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ptdPolicyTypeName
- The name of the policy type.ptdDescription
- A description of the policy type.ptdPolicyAttributeTypeDescriptions
- The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
ptdPolicyTypeName :: Lens' PolicyTypeDescription (Maybe Text) Source #
The name of the policy type.
ptdDescription :: Lens' PolicyTypeDescription (Maybe Text) Source #
A description of the policy type.
ptdPolicyAttributeTypeDescriptions :: Lens' PolicyTypeDescription [PolicyAttributeTypeDescription] Source #
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
SourceSecurityGroup
data SourceSecurityGroup Source #
Information about a source security group.
See: sourceSecurityGroup
smart constructor.
Instances
sourceSecurityGroup :: SourceSecurityGroup Source #
Creates a value of SourceSecurityGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssgOwnerAlias
- The owner of the security group.ssgGroupName
- The name of the security group.
ssgOwnerAlias :: Lens' SourceSecurityGroup (Maybe Text) Source #
The owner of the security group.
ssgGroupName :: Lens' SourceSecurityGroup (Maybe Text) Source #
The name of the security group.
Tag
Information about a tag.
See: tag
smart constructor.
Instances
Eq Tag Source # | |
Data Tag Source # | |
Defined in Network.AWS.ELB.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tag -> c Tag # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tag # dataTypeOf :: Tag -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tag) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tag) # gmapT :: (forall b. Data b => b -> b) -> Tag -> Tag # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r # gmapQ :: (forall d. Data d => d -> u) -> Tag -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tag -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tag -> m Tag # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
Hashable Tag Source # | |
Defined in Network.AWS.ELB.Types.Product | |
FromXML Tag Source # | |
ToQuery Tag Source # | |
Defined in Network.AWS.ELB.Types.Product toQuery :: Tag -> QueryString # | |
NFData Tag Source # | |
Defined in Network.AWS.ELB.Types.Product | |
type Rep Tag Source # | |
Defined in Network.AWS.ELB.Types.Product type Rep Tag = D1 (MetaData "Tag" "Network.AWS.ELB.Types.Product" "amazonka-elb-1.6.1-Ih5hIKrYl5yJOuBwSBSzZS" False) (C1 (MetaCons "Tag'" PrefixI True) (S1 (MetaSel (Just "_tagValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tagKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) |
TagDescription
data TagDescription Source #
The tags associated with a load balancer.
See: tagDescription
smart constructor.
Instances
tagDescription :: TagDescription Source #
Creates a value of TagDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdLoadBalancerName
- The name of the load balancer.tdTags
- The tags.
tdLoadBalancerName :: Lens' TagDescription (Maybe Text) Source #
The name of the load balancer.
TagKeyOnly
data TagKeyOnly Source #
The key of a tag.
See: tagKeyOnly
smart constructor.
Instances
tagKeyOnly :: TagKeyOnly Source #
Creates a value of TagKeyOnly
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tkoKey
- The name of the key.