Struct aws_sdk_elasticloadbalancing::client::fluent_builders::SetLoadBalancerPoliciesForBackendServer [−][src]
pub struct SetLoadBalancerPoliciesForBackendServer<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to SetLoadBalancerPoliciesForBackendServer
.
Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.
Each time you use SetLoadBalancerPoliciesForBackendServer
to enable the policies,
use the PolicyNames
parameter to list the policies that you want to enable.
You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance.
For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load Balancers Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancers Guide.
Implementations
impl<C, M, R> SetLoadBalancerPoliciesForBackendServer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SetLoadBalancerPoliciesForBackendServer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SetLoadBalancerPoliciesForBackendServerOutput, SdkError<SetLoadBalancerPoliciesForBackendServerError>> where
R::Policy: SmithyRetryPolicy<SetLoadBalancerPoliciesForBackendServerInputOperationOutputAlias, SetLoadBalancerPoliciesForBackendServerOutput, SetLoadBalancerPoliciesForBackendServerError, SetLoadBalancerPoliciesForBackendServerInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SetLoadBalancerPoliciesForBackendServerOutput, SdkError<SetLoadBalancerPoliciesForBackendServerError>> where
R::Policy: SmithyRetryPolicy<SetLoadBalancerPoliciesForBackendServerInputOperationOutputAlias, SetLoadBalancerPoliciesForBackendServerOutput, SetLoadBalancerPoliciesForBackendServerError, SetLoadBalancerPoliciesForBackendServerInputOperationRetryAlias>,
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 name of the load balancer.
The name of the load balancer.
The port number associated with the EC2 instance.
The port number associated with the EC2 instance.
Appends an item to PolicyNames
.
To override the contents of this collection use set_policy_names
.
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for SetLoadBalancerPoliciesForBackendServer<C, M, R>
impl<C, M, R> Send for SetLoadBalancerPoliciesForBackendServer<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SetLoadBalancerPoliciesForBackendServer<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SetLoadBalancerPoliciesForBackendServer<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for SetLoadBalancerPoliciesForBackendServer<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