aws_sdk_devicefarm/client/
update_network_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateNetworkProfile`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`arn(impl Into<String>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the project for which you want to update network profile settings.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_name):<br>required: **false**<br><p>The name of the network profile about which you are returning information.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_description):<br>required: **false**<br><p>The description of the network profile about which you are returning information.</p><br>
    ///   - [`r#type(NetworkProfileType)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::type) / [`set_type(Option<NetworkProfileType>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_type):<br>required: **false**<br><p>The type of network profile to return information about. Valid values are listed here.</p><br>
    ///   - [`uplink_bandwidth_bits(i64)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::uplink_bandwidth_bits) / [`set_uplink_bandwidth_bits(Option<i64>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_uplink_bandwidth_bits):<br>required: **false**<br><p>The data throughput rate in bits per second, as an integer from 0 to 104857600.</p><br>
    ///   - [`downlink_bandwidth_bits(i64)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::downlink_bandwidth_bits) / [`set_downlink_bandwidth_bits(Option<i64>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_downlink_bandwidth_bits):<br>required: **false**<br><p>The data throughput rate in bits per second, as an integer from 0 to 104857600.</p><br>
    ///   - [`uplink_delay_ms(i64)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::uplink_delay_ms) / [`set_uplink_delay_ms(Option<i64>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_uplink_delay_ms):<br>required: **false**<br><p>Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.</p><br>
    ///   - [`downlink_delay_ms(i64)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::downlink_delay_ms) / [`set_downlink_delay_ms(Option<i64>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_downlink_delay_ms):<br>required: **false**<br><p>Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.</p><br>
    ///   - [`uplink_jitter_ms(i64)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::uplink_jitter_ms) / [`set_uplink_jitter_ms(Option<i64>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_uplink_jitter_ms):<br>required: **false**<br><p>Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.</p><br>
    ///   - [`downlink_jitter_ms(i64)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::downlink_jitter_ms) / [`set_downlink_jitter_ms(Option<i64>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_downlink_jitter_ms):<br>required: **false**<br><p>Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.</p><br>
    ///   - [`uplink_loss_percent(i32)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::uplink_loss_percent) / [`set_uplink_loss_percent(Option<i32>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_uplink_loss_percent):<br>required: **false**<br><p>Proportion of transmitted packets that fail to arrive from 0 to 100 percent.</p><br>
    ///   - [`downlink_loss_percent(i32)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::downlink_loss_percent) / [`set_downlink_loss_percent(Option<i32>)`](crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::set_downlink_loss_percent):<br>required: **false**<br><p>Proportion of received packets that fail to arrive from 0 to 100 percent.</p><br>
    /// - On success, responds with [`UpdateNetworkProfileOutput`](crate::operation::update_network_profile::UpdateNetworkProfileOutput) with field(s):
    ///   - [`network_profile(Option<NetworkProfile>)`](crate::operation::update_network_profile::UpdateNetworkProfileOutput::network_profile): <p>A list of the available network profiles.</p>
    /// - On failure, responds with [`SdkError<UpdateNetworkProfileError>`](crate::operation::update_network_profile::UpdateNetworkProfileError)
    pub fn update_network_profile(&self) -> crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder {
        crate::operation::update_network_profile::builders::UpdateNetworkProfileFluentBuilder::new(self.handle.clone())
    }
}