#[non_exhaustive]pub struct UpdateGlobalNetworkInput { /* private fields */ }Implementations§
source§impl UpdateGlobalNetworkInput
impl UpdateGlobalNetworkInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateGlobalNetwork, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateGlobalNetwork, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateGlobalNetwork>
Examples found in repository?
src/client.rs (line 10115)
10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateGlobalNetwork,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateGlobalNetworkError>,
> {
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::UpdateGlobalNetworkOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateGlobalNetworkError>,
> {
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 UpdateGlobalNetworkInput.
source§impl UpdateGlobalNetworkInput
impl UpdateGlobalNetworkInput
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of your global network.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the global network.
Constraints: Maximum length of 256 characters.
Trait Implementations§
source§impl Clone for UpdateGlobalNetworkInput
impl Clone for UpdateGlobalNetworkInput
source§fn clone(&self) -> UpdateGlobalNetworkInput
fn clone(&self) -> UpdateGlobalNetworkInput
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