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 |
Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.
For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.
Synopsis
- data CreateLoadBalancerListeners = CreateLoadBalancerListeners' {
- loadBalancerName :: Text
- listeners :: [Listener]
- newCreateLoadBalancerListeners :: Text -> CreateLoadBalancerListeners
- createLoadBalancerListeners_loadBalancerName :: Lens' CreateLoadBalancerListeners Text
- createLoadBalancerListeners_listeners :: Lens' CreateLoadBalancerListeners [Listener]
- data CreateLoadBalancerListenersResponse = CreateLoadBalancerListenersResponse' {
- httpStatus :: Int
- newCreateLoadBalancerListenersResponse :: Int -> CreateLoadBalancerListenersResponse
- createLoadBalancerListenersResponse_httpStatus :: Lens' CreateLoadBalancerListenersResponse Int
Creating a Request
data CreateLoadBalancerListeners Source #
Contains the parameters for CreateLoadBalancerListeners.
See: newCreateLoadBalancerListeners
smart constructor.
CreateLoadBalancerListeners' | |
|
Instances
newCreateLoadBalancerListeners Source #
Create a value of CreateLoadBalancerListeners
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:CreateLoadBalancerListeners'
, createLoadBalancerListeners_loadBalancerName
- The name of the load balancer.
$sel:listeners:CreateLoadBalancerListeners'
, createLoadBalancerListeners_listeners
- The listeners.
Request Lenses
createLoadBalancerListeners_loadBalancerName :: Lens' CreateLoadBalancerListeners Text Source #
The name of the load balancer.
createLoadBalancerListeners_listeners :: Lens' CreateLoadBalancerListeners [Listener] Source #
The listeners.
Destructuring the Response
data CreateLoadBalancerListenersResponse Source #
Contains the parameters for CreateLoadBalancerListener.
See: newCreateLoadBalancerListenersResponse
smart constructor.
CreateLoadBalancerListenersResponse' | |
|
Instances
Eq CreateLoadBalancerListenersResponse Source # | |
Read CreateLoadBalancerListenersResponse Source # | |
Show CreateLoadBalancerListenersResponse Source # | |
Generic CreateLoadBalancerListenersResponse Source # | |
NFData CreateLoadBalancerListenersResponse Source # | |
Defined in Amazonka.ELB.CreateLoadBalancerListeners rnf :: CreateLoadBalancerListenersResponse -> () # | |
type Rep CreateLoadBalancerListenersResponse Source # | |
Defined in Amazonka.ELB.CreateLoadBalancerListeners type Rep CreateLoadBalancerListenersResponse = D1 ('MetaData "CreateLoadBalancerListenersResponse" "Amazonka.ELB.CreateLoadBalancerListeners" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "CreateLoadBalancerListenersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateLoadBalancerListenersResponse Source #
Create a value of CreateLoadBalancerListenersResponse
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:httpStatus:CreateLoadBalancerListenersResponse'
, createLoadBalancerListenersResponse_httpStatus
- The response's http status code.
Response Lenses
createLoadBalancerListenersResponse_httpStatus :: Lens' CreateLoadBalancerListenersResponse Int Source #
The response's http status code.