AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateNetworkProfileInput

import "github.com/aws/aws-sdk-go/service/devicefarm"

type UpdateNetworkProfileInput struct { Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` Description *string `locationName:"description" type:"string"` DownlinkBandwidthBits *int64 `locationName:"downlinkBandwidthBits" type:"long"` DownlinkDelayMs *int64 `locationName:"downlinkDelayMs" type:"long"` DownlinkJitterMs *int64 `locationName:"downlinkJitterMs" type:"long"` DownlinkLossPercent *int64 `locationName:"downlinkLossPercent" type:"integer"` Name *string `locationName:"name" type:"string"` Type *string `locationName:"type" type:"string" enum:"NetworkProfileType"` UplinkBandwidthBits *int64 `locationName:"uplinkBandwidthBits" type:"long"` UplinkDelayMs *int64 `locationName:"uplinkDelayMs" type:"long"` UplinkJitterMs *int64 `locationName:"uplinkJitterMs" type:"long"` UplinkLossPercent *int64 `locationName:"uplinkLossPercent" type:"integer"` }

Arn

Type: *string

The Amazon Resource Name (ARN) of the project for which you want to update network profile settings.

Arn is a required field

Description

Type: *string

The descriptoin of the network profile about which you are returning information.

DownlinkBandwidthBits

Type: *int64

The data throughput rate in bits per second, as an integer from 0 to 104857600.

DownlinkDelayMs

Type: *int64

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

DownlinkJitterMs

Type: *int64

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

DownlinkLossPercent

Type: *int64

Proportion of received packets that fail to arrive from 0 to 100 percent.

Name

Type: *string

The name of the network profile about which you are returning information.

Type

Type: *string

The type of network profile you wish to return information about. Valid values are listed below.

UplinkBandwidthBits

Type: *int64

The data throughput rate in bits per second, as an integer from 0 to 104857600.

UplinkDelayMs

Type: *int64

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

UplinkJitterMs

Type: *int64

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

UplinkLossPercent

Type: *int64

Proportion of transmitted packets that fail to arrive from 0 to 100 percent.

Method

GoString

func (s UpdateNetworkProfileInput) GoString() string

GoString returns the string representation

SetArn

func (s *UpdateNetworkProfileInput) SetArn(v string) *UpdateNetworkProfileInput

SetArn sets the Arn field's value.

SetDescription

func (s *UpdateNetworkProfileInput) SetDescription(v string) *UpdateNetworkProfileInput

SetDescription sets the Description field's value.

SetDownlinkBandwidthBits

func (s *UpdateNetworkProfileInput) SetDownlinkBandwidthBits(v int64) *UpdateNetworkProfileInput

SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value.

SetDownlinkDelayMs

func (s *UpdateNetworkProfileInput) SetDownlinkDelayMs(v int64) *UpdateNetworkProfileInput

SetDownlinkDelayMs sets the DownlinkDelayMs field's value.

SetDownlinkJitterMs

func (s *UpdateNetworkProfileInput) SetDownlinkJitterMs(v int64) *UpdateNetworkProfileInput

SetDownlinkJitterMs sets the DownlinkJitterMs field's value.

SetDownlinkLossPercent

func (s *UpdateNetworkProfileInput) SetDownlinkLossPercent(v int64) *UpdateNetworkProfileInput

SetDownlinkLossPercent sets the DownlinkLossPercent field's value.

SetName

func (s *UpdateNetworkProfileInput) SetName(v string) *UpdateNetworkProfileInput

SetName sets the Name field's value.

SetType

func (s *UpdateNetworkProfileInput) SetType(v string) *UpdateNetworkProfileInput

SetType sets the Type field's value.

SetUplinkBandwidthBits

func (s *UpdateNetworkProfileInput) SetUplinkBandwidthBits(v int64) *UpdateNetworkProfileInput

SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value.

SetUplinkDelayMs

func (s *UpdateNetworkProfileInput) SetUplinkDelayMs(v int64) *UpdateNetworkProfileInput

SetUplinkDelayMs sets the UplinkDelayMs field's value.

SetUplinkJitterMs

func (s *UpdateNetworkProfileInput) SetUplinkJitterMs(v int64) *UpdateNetworkProfileInput

SetUplinkJitterMs sets the UplinkJitterMs field's value.

SetUplinkLossPercent

func (s *UpdateNetworkProfileInput) SetUplinkLossPercent(v int64) *UpdateNetworkProfileInput

SetUplinkLossPercent sets the UplinkLossPercent field's value.

String

func (s UpdateNetworkProfileInput) String() string

String returns the string representation

Validate

func (s *UpdateNetworkProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: