You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DeviceFarm::Types::CreateNetworkProfileRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb

Overview

Note:

When making an API call, you may pass CreateNetworkProfileRequest data as a hash:

{
  project_arn: "AmazonResourceName", # required
  name: "Name", # required
  description: "Message",
  type: "CURATED", # accepts CURATED, PRIVATE
  uplink_bandwidth_bits: 1,
  downlink_bandwidth_bits: 1,
  uplink_delay_ms: 1,
  downlink_delay_ms: 1,
  uplink_jitter_ms: 1,
  downlink_jitter_ms: 1,
  uplink_loss_percent: 1,
  downlink_loss_percent: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the network profile.

Returns:

  • (String)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

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

Returns:

  • (Integer)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

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

Returns:

  • (Integer)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

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

Returns:

  • (Integer)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

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

Returns:

  • (Integer)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

#nameString

The name you wish to specify for the new network profile.

Returns:

  • (String)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

#project_arnString

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

Returns:

  • (String)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

#typeString

The type of network profile you wish to create. Valid values are listed below.

Returns:

  • (String)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

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

Returns:

  • (Integer)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

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

Returns:

  • (Integer)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

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

Returns:

  • (Integer)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end

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

Returns:

  • (Integer)


352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 352

class CreateNetworkProfileRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :type,
  :uplink_bandwidth_bits,
  :downlink_bandwidth_bits,
  :uplink_delay_ms,
  :downlink_delay_ms,
  :uplink_jitter_ms,
  :downlink_jitter_ms,
  :uplink_loss_percent,
  :downlink_loss_percent)
  include Aws::Structure
end