aws_sdk_vpclattice/client/update_service_network.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateServiceNetwork`](crate::operation::update_service_network::builders::UpdateServiceNetworkFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`service_network_identifier(impl Into<String>)`](crate::operation::update_service_network::builders::UpdateServiceNetworkFluentBuilder::service_network_identifier) / [`set_service_network_identifier(Option<String>)`](crate::operation::update_service_network::builders::UpdateServiceNetworkFluentBuilder::set_service_network_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the service network.</p><br>
/// - [`auth_type(AuthType)`](crate::operation::update_service_network::builders::UpdateServiceNetworkFluentBuilder::auth_type) / [`set_auth_type(Option<AuthType>)`](crate::operation::update_service_network::builders::UpdateServiceNetworkFluentBuilder::set_auth_type):<br>required: **true**<br><p>The type of IAM policy.</p> <ul> <li> <p><code>NONE</code>: The resource does not use an IAM policy. This is the default.</p></li> <li> <p><code>AWS_IAM</code>: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.</p></li> </ul><br>
/// - On success, responds with [`UpdateServiceNetworkOutput`](crate::operation::update_service_network::UpdateServiceNetworkOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::update_service_network::UpdateServiceNetworkOutput::id): <p>The ID of the service network.</p>
/// - [`name(Option<String>)`](crate::operation::update_service_network::UpdateServiceNetworkOutput::name): <p>The name of the service network.</p>
/// - [`arn(Option<String>)`](crate::operation::update_service_network::UpdateServiceNetworkOutput::arn): <p>The Amazon Resource Name (ARN) of the service network.</p>
/// - [`auth_type(Option<AuthType>)`](crate::operation::update_service_network::UpdateServiceNetworkOutput::auth_type): <p>The type of IAM policy.</p>
/// - On failure, responds with [`SdkError<UpdateServiceNetworkError>`](crate::operation::update_service_network::UpdateServiceNetworkError)
pub fn update_service_network(&self) -> crate::operation::update_service_network::builders::UpdateServiceNetworkFluentBuilder {
crate::operation::update_service_network::builders::UpdateServiceNetworkFluentBuilder::new(self.handle.clone())
}
}