#[non_exhaustive]pub struct AssociateTransitGatewayMulticastDomainInput { /* private fields */ }
Implementations§
source§impl AssociateTransitGatewayMulticastDomainInput
impl AssociateTransitGatewayMulticastDomainInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssociateTransitGatewayMulticastDomain, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssociateTransitGatewayMulticastDomain, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AssociateTransitGatewayMulticastDomain
>
Examples found in repository?
src/client.rs (line 10817)
10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::AssociateTransitGatewayMulticastDomain,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::AssociateTransitGatewayMulticastDomainError,
>,
> {
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::AssociateTransitGatewayMulticastDomainOutput,
aws_smithy_http::result::SdkError<
crate::error::AssociateTransitGatewayMulticastDomainError,
>,
> {
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 AssociateTransitGatewayMulticastDomainInput
.
source§impl AssociateTransitGatewayMulticastDomainInput
impl AssociateTransitGatewayMulticastDomainInput
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 to associate with the transit gateway multicast domain.
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 AssociateTransitGatewayMulticastDomainInput
impl Clone for AssociateTransitGatewayMulticastDomainInput
source§fn clone(&self) -> AssociateTransitGatewayMulticastDomainInput
fn clone(&self) -> AssociateTransitGatewayMulticastDomainInput
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