pub use crate::operation::update_company_network_configuration::_update_company_network_configuration_output::UpdateCompanyNetworkConfigurationOutputBuilder;
pub use crate::operation::update_company_network_configuration::_update_company_network_configuration_input::UpdateCompanyNetworkConfigurationInputBuilder;
#[deprecated(
note = "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
)]
#[derive(std::clone::Clone, std::fmt::Debug)]
pub struct UpdateCompanyNetworkConfigurationFluentBuilder {
handle: std::sync::Arc<crate::client::Handle>,
inner: crate::operation::update_company_network_configuration::builders::UpdateCompanyNetworkConfigurationInputBuilder,
}
impl UpdateCompanyNetworkConfigurationFluentBuilder {
pub(crate) fn new(handle: std::sync::Arc<crate::client::Handle>) -> Self {
Self {
handle,
inner: Default::default(),
}
}
pub async fn customize(self) -> std::result::Result<
crate::client::customize::CustomizableOperation<crate::operation::update_company_network_configuration::UpdateCompanyNetworkConfiguration, aws_http::retry::AwsResponseRetryClassifier,>,
aws_smithy_http::result::SdkError<crate::operation::update_company_network_configuration::UpdateCompanyNetworkConfigurationError>
>{
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::client::customize::CustomizableOperation { handle, operation })
}
pub async fn send(self) -> std::result::Result<crate::operation::update_company_network_configuration::UpdateCompanyNetworkConfigurationOutput, aws_smithy_http::result::SdkError<crate::operation::update_company_network_configuration::UpdateCompanyNetworkConfigurationError>>
{
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
}
pub fn fleet_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.inner = self.inner.fleet_arn(input.into());
self
}
pub fn set_fleet_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.inner = self.inner.set_fleet_arn(input);
self
}
pub fn vpc_id(mut self, input: impl Into<std::string::String>) -> Self {
self.inner = self.inner.vpc_id(input.into());
self
}
pub fn set_vpc_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.inner = self.inner.set_vpc_id(input);
self
}
pub fn subnet_ids(mut self, input: impl Into<std::string::String>) -> Self {
self.inner = self.inner.subnet_ids(input.into());
self
}
pub fn set_subnet_ids(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.inner = self.inner.set_subnet_ids(input);
self
}
pub fn security_group_ids(mut self, input: impl Into<std::string::String>) -> Self {
self.inner = self.inner.security_group_ids(input.into());
self
}
pub fn set_security_group_ids(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.inner = self.inner.set_security_group_ids(input);
self
}
}