pub struct AttachElasticLoadBalancer<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to AttachElasticLoadBalancer
.
Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing.
You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Implementations
impl<C, M, R> AttachElasticLoadBalancer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AttachElasticLoadBalancer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AttachElasticLoadBalancerOutput, SdkError<AttachElasticLoadBalancerError>> where
R::Policy: SmithyRetryPolicy<AttachElasticLoadBalancerInputOperationOutputAlias, AttachElasticLoadBalancerOutput, AttachElasticLoadBalancerError, AttachElasticLoadBalancerInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AttachElasticLoadBalancerOutput, SdkError<AttachElasticLoadBalancerError>> where
R::Policy: SmithyRetryPolicy<AttachElasticLoadBalancerInputOperationOutputAlias, AttachElasticLoadBalancerOutput, AttachElasticLoadBalancerError, AttachElasticLoadBalancerInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Elastic Load Balancing instance's name.
The Elastic Load Balancing instance's name.
The ID of the layer to which the Elastic Load Balancing instance is to be attached.
The ID of the layer to which the Elastic Load Balancing instance is to be attached.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AttachElasticLoadBalancer<C, M, R>
impl<C, M, R> Send for AttachElasticLoadBalancer<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AttachElasticLoadBalancer<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AttachElasticLoadBalancer<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AttachElasticLoadBalancer<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more