amazonka-devicefarm-2.0: Amazon Device Farm SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DeviceFarm.UpdateNetworkProfile

Description

Updates the network profile.

Synopsis

Creating a Request

data UpdateNetworkProfile Source #

See: newUpdateNetworkProfile smart constructor.

Constructors

UpdateNetworkProfile' 

Fields

Instances

Instances details
ToJSON UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

ToHeaders UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

ToPath UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

ToQuery UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

AWSRequest UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

Associated Types

type AWSResponse UpdateNetworkProfile #

Generic UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

Associated Types

type Rep UpdateNetworkProfile :: Type -> Type #

Read UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

Show UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

NFData UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

Methods

rnf :: UpdateNetworkProfile -> () #

Eq UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

Hashable UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

type AWSResponse UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

type Rep UpdateNetworkProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

type Rep UpdateNetworkProfile = D1 ('MetaData "UpdateNetworkProfile" "Amazonka.DeviceFarm.UpdateNetworkProfile" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "UpdateNetworkProfile'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "downlinkBandwidthBits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "downlinkDelayMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "downlinkJitterMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "downlinkLossPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkProfileType)) :*: (S1 ('MetaSel ('Just "uplinkBandwidthBits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "uplinkDelayMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "uplinkJitterMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "uplinkLossPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newUpdateNetworkProfile Source #

Create a value of UpdateNetworkProfile with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateNetworkProfile, updateNetworkProfile_description - The description of the network profile about which you are returning information.

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

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

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

UpdateNetworkProfile, updateNetworkProfile_downlinkLossPercent - Proportion of received packets that fail to arrive from 0 to 100 percent.

UpdateNetworkProfile, updateNetworkProfile_name - The name of the network profile about which you are returning information.

UpdateNetworkProfile, updateNetworkProfile_type - The type of network profile to return information about. Valid values are listed here.

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

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

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

UpdateNetworkProfile, updateNetworkProfile_uplinkLossPercent - Proportion of transmitted packets that fail to arrive from 0 to 100 percent.

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

Request Lenses

updateNetworkProfile_description :: Lens' UpdateNetworkProfile (Maybe Text) Source #

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

updateNetworkProfile_downlinkBandwidthBits :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

updateNetworkProfile_downlinkDelayMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

updateNetworkProfile_downlinkJitterMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

updateNetworkProfile_downlinkLossPercent :: Lens' UpdateNetworkProfile (Maybe Natural) Source #

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

updateNetworkProfile_name :: Lens' UpdateNetworkProfile (Maybe Text) Source #

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

updateNetworkProfile_type :: Lens' UpdateNetworkProfile (Maybe NetworkProfileType) Source #

The type of network profile to return information about. Valid values are listed here.

updateNetworkProfile_uplinkBandwidthBits :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

updateNetworkProfile_uplinkDelayMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

updateNetworkProfile_uplinkJitterMs :: Lens' UpdateNetworkProfile (Maybe Integer) Source #

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

updateNetworkProfile_uplinkLossPercent :: Lens' UpdateNetworkProfile (Maybe Natural) Source #

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

updateNetworkProfile_arn :: Lens' UpdateNetworkProfile Text Source #

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

Destructuring the Response

data UpdateNetworkProfileResponse Source #

See: newUpdateNetworkProfileResponse smart constructor.

Constructors

UpdateNetworkProfileResponse' 

Fields

Instances

Instances details
Generic UpdateNetworkProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

Associated Types

type Rep UpdateNetworkProfileResponse :: Type -> Type #

Read UpdateNetworkProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

Show UpdateNetworkProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

NFData UpdateNetworkProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

Eq UpdateNetworkProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

type Rep UpdateNetworkProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateNetworkProfile

type Rep UpdateNetworkProfileResponse = D1 ('MetaData "UpdateNetworkProfileResponse" "Amazonka.DeviceFarm.UpdateNetworkProfile" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "UpdateNetworkProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkProfile)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateNetworkProfileResponse Source #

Create a value of UpdateNetworkProfileResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateNetworkProfileResponse, updateNetworkProfileResponse_networkProfile - A list of the available network profiles.

$sel:httpStatus:UpdateNetworkProfileResponse', updateNetworkProfileResponse_httpStatus - The response's http status code.

Response Lenses