aws_sdk_vpclattice/client/update_resource_configuration.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateResourceConfiguration`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`resource_configuration_identifier(impl Into<String>)`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::resource_configuration_identifier) / [`set_resource_configuration_identifier(Option<String>)`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::set_resource_configuration_identifier):<br>required: **true**<br><p>The ID of the resource configuration.</p><br>
/// - [`resource_configuration_definition(ResourceConfigurationDefinition)`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::resource_configuration_definition) / [`set_resource_configuration_definition(Option<ResourceConfigurationDefinition>)`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::set_resource_configuration_definition):<br>required: **false**<br><p>The resource configuration.</p><br>
/// - [`allow_association_to_shareable_service_network(bool)`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::allow_association_to_shareable_service_network) / [`set_allow_association_to_shareable_service_network(Option<bool>)`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::set_allow_association_to_shareable_service_network):<br>required: **false**<br><p>Indicates whether to add the resource configuration to service networks that are shared with other accounts.</p><br>
/// - [`port_ranges(impl Into<String>)`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::port_ranges) / [`set_port_ranges(Option<Vec::<String>>)`](crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::set_port_ranges):<br>required: **false**<br><p>The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30</p><br>
/// - On success, responds with [`UpdateResourceConfigurationOutput`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::id): <p>The ID of the resource configuration.</p>
/// - [`name(Option<String>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::name): <p>The name of the resource configuration.</p>
/// - [`arn(Option<String>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::arn): <p>The Amazon Resource Name (ARN) of the resource configuration.</p>
/// - [`resource_gateway_id(Option<String>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::resource_gateway_id): <p>The ID of the resource gateway associated with the resource configuration.</p>
/// - [`resource_configuration_group_id(Option<String>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::resource_configuration_group_id): <p>The ID of the group resource configuration.</p>
/// - [`r#type(Option<ResourceConfigurationType>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::type): <p>The type of resource configuration.</p> <ul> <li> <p><code>SINGLE</code> - A single resource.</p></li> <li> <p><code>GROUP</code> - A group of resources.</p></li> <li> <p><code>CHILD</code> - A single resource that is part of a group resource configuration.</p></li> <li> <p><code>ARN</code> - An Amazon Web Services resource.</p></li> </ul>
/// - [`port_ranges(Option<Vec::<String>>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::port_ranges): <p>The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30</p>
/// - [`allow_association_to_shareable_service_network(Option<bool>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::allow_association_to_shareable_service_network): <p>Indicates whether to add the resource configuration to service networks that are shared with other accounts.</p>
/// - [`protocol(Option<ProtocolType>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::protocol): <p>The TCP protocol accepted by the specified resource configuration.</p>
/// - [`status(Option<ResourceConfigurationStatus>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::status): <p>The status of the resource configuration.</p>
/// - [`resource_configuration_definition(Option<ResourceConfigurationDefinition>)`](crate::operation::update_resource_configuration::UpdateResourceConfigurationOutput::resource_configuration_definition): <p>The resource configuration.</p>
/// - On failure, responds with [`SdkError<UpdateResourceConfigurationError>`](crate::operation::update_resource_configuration::UpdateResourceConfigurationError)
pub fn update_resource_configuration(
&self,
) -> crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder {
crate::operation::update_resource_configuration::builders::UpdateResourceConfigurationFluentBuilder::new(self.handle.clone())
}
}