#[non_exhaustive]pub struct AcceptTransitGatewayMulticastDomainAssociationsInput { /* private fields */ }
Implementations§
source§impl AcceptTransitGatewayMulticastDomainAssociationsInput
impl AcceptTransitGatewayMulticastDomainAssociationsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AcceptTransitGatewayMulticastDomainAssociations, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AcceptTransitGatewayMulticastDomainAssociations, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AcceptTransitGatewayMulticastDomainAssociations
>
Examples found in repository?
src/client.rs (line 8474)
8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::AcceptTransitGatewayMulticastDomainAssociations,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::AcceptTransitGatewayMulticastDomainAssociationsError,
>,
> {
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::AcceptTransitGatewayMulticastDomainAssociationsOutput,
aws_smithy_http::result::SdkError<
crate::error::AcceptTransitGatewayMulticastDomainAssociationsError,
>,
> {
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 AcceptTransitGatewayMulticastDomainAssociationsInput
.
source§impl AcceptTransitGatewayMulticastDomainAssociationsInput
impl AcceptTransitGatewayMulticastDomainAssociationsInput
sourcepub fn transit_gateway_multicast_domain_id(&self) -> Option<&str>
pub fn transit_gateway_multicast_domain_id(&self) -> Option<&str>
The ID of the transit gateway multicast domain.
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the transit gateway attachment.
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
The IDs of the subnets to associate with the transit gateway multicast domain.
Trait Implementations§
source§impl Clone for AcceptTransitGatewayMulticastDomainAssociationsInput
impl Clone for AcceptTransitGatewayMulticastDomainAssociationsInput
source§fn clone(&self) -> AcceptTransitGatewayMulticastDomainAssociationsInput
fn clone(&self) -> AcceptTransitGatewayMulticastDomainAssociationsInput
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