#[non_exhaustive]pub struct ModifyAvailabilityZoneGroupInput { /* private fields */ }
Implementations§
source§impl ModifyAvailabilityZoneGroupInput
impl ModifyAvailabilityZoneGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyAvailabilityZoneGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyAvailabilityZoneGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyAvailabilityZoneGroup
>
Examples found in repository?
src/client.rs (line 62881)
62867 62868 62869 62870 62871 62872 62873 62874 62875 62876 62877 62878 62879 62880 62881 62882 62883 62884 62885 62886 62887 62888 62889 62890 62891 62892 62893 62894 62895 62896 62897 62898 62899 62900 62901 62902 62903 62904 62905 62906 62907 62908 62909
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyAvailabilityZoneGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyAvailabilityZoneGroupError>,
> {
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::ModifyAvailabilityZoneGroupOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyAvailabilityZoneGroupError>,
> {
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 ModifyAvailabilityZoneGroupInput
.
source§impl ModifyAvailabilityZoneGroupInput
impl ModifyAvailabilityZoneGroupInput
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
sourcepub fn opt_in_status(&self) -> Option<&ModifyAvailabilityZoneOptInStatus>
pub fn opt_in_status(&self) -> Option<&ModifyAvailabilityZoneOptInStatus>
Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The only valid value is opted-in
. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.
Trait Implementations§
source§impl Clone for ModifyAvailabilityZoneGroupInput
impl Clone for ModifyAvailabilityZoneGroupInput
source§fn clone(&self) -> ModifyAvailabilityZoneGroupInput
fn clone(&self) -> ModifyAvailabilityZoneGroupInput
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