#[non_exhaustive]pub struct DetachLoadBalancerTargetGroupsInput { /* private fields */ }Implementations§
source§impl DetachLoadBalancerTargetGroupsInput
impl DetachLoadBalancerTargetGroupsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetachLoadBalancerTargetGroups, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetachLoadBalancerTargetGroups, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DetachLoadBalancerTargetGroups>
Examples found in repository?
src/client.rs (line 5396)
5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DetachLoadBalancerTargetGroups,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DetachLoadBalancerTargetGroupsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DetachLoadBalancerTargetGroupsOutput,
aws_smithy_http::result::SdkError<crate::error::DetachLoadBalancerTargetGroupsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetachLoadBalancerTargetGroupsInput.
source§impl DetachLoadBalancerTargetGroupsInput
impl DetachLoadBalancerTargetGroupsInput
sourcepub fn auto_scaling_group_name(&self) -> Option<&str>
pub fn auto_scaling_group_name(&self) -> Option<&str>
The name of the Auto Scaling group.
sourcepub fn target_group_ar_ns(&self) -> Option<&[String]>
pub fn target_group_ar_ns(&self) -> Option<&[String]>
The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.
Trait Implementations§
source§impl Clone for DetachLoadBalancerTargetGroupsInput
impl Clone for DetachLoadBalancerTargetGroupsInput
source§fn clone(&self) -> DetachLoadBalancerTargetGroupsInput
fn clone(&self) -> DetachLoadBalancerTargetGroupsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more