Class: Aws::StorageGateway::Types::BandwidthRateLimitInterval
- Inherits:
-
Struct
- Object
- Struct
- Aws::StorageGateway::Types::BandwidthRateLimitInterval
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-storagegateway/types.rb
Overview
When making an API call, you may pass BandwidthRateLimitInterval data as a hash:
{
start_hour_of_day: 1, # required
start_minute_of_hour: 1, # required
end_hour_of_day: 1, # required
end_minute_of_hour: 1, # required
days_of_week: [1], # required
average_upload_rate_limit_in_bits_per_sec: 1,
average_download_rate_limit_in_bits_per_sec: 1,
}
Describes a bandwidth rate limit interval for a gateway. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#average_download_rate_limit_in_bits_per_sec ⇒ Integer
The average download rate limit component of the bandwidth rate limit interval, in bits per second.
-
#average_upload_rate_limit_in_bits_per_sec ⇒ Integer
The average upload rate limit component of the bandwidth rate limit interval, in bits per second.
-
#days_of_week ⇒ Array<Integer>
The days of the week component of the bandwidth rate limit interval, represented as ordinal numbers from 0 to 6, where 0 represents Sunday and 6 Saturday.
-
#end_hour_of_day ⇒ Integer
The hour of the day to end the bandwidth rate limit interval.
-
#end_minute_of_hour ⇒ Integer
The minute of the hour to end the bandwidth rate limit interval.
-
#start_hour_of_day ⇒ Integer
The hour of the day to start the bandwidth rate limit interval.
-
#start_minute_of_hour ⇒ Integer
The minute of the hour to start the bandwidth rate limit interval.
Instance Attribute Details
#average_download_rate_limit_in_bits_per_sec ⇒ Integer
The average download rate limit component of the bandwidth rate limit interval, in bits per second. This field does not appear in the response if the download rate limit is not set.
668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 668 class BandwidthRateLimitInterval < Struct.new( :start_hour_of_day, :start_minute_of_hour, :end_hour_of_day, :end_minute_of_hour, :days_of_week, :average_upload_rate_limit_in_bits_per_sec, :average_download_rate_limit_in_bits_per_sec) SENSITIVE = [] include Aws::Structure end |
#average_upload_rate_limit_in_bits_per_sec ⇒ Integer
The average upload rate limit component of the bandwidth rate limit interval, in bits per second. This field does not appear in the response if the upload rate limit is not set.
668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 668 class BandwidthRateLimitInterval < Struct.new( :start_hour_of_day, :start_minute_of_hour, :end_hour_of_day, :end_minute_of_hour, :days_of_week, :average_upload_rate_limit_in_bits_per_sec, :average_download_rate_limit_in_bits_per_sec) SENSITIVE = [] include Aws::Structure end |
#days_of_week ⇒ Array<Integer>
The days of the week component of the bandwidth rate limit interval, represented as ordinal numbers from 0 to 6, where 0 represents Sunday and 6 Saturday.
668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 668 class BandwidthRateLimitInterval < Struct.new( :start_hour_of_day, :start_minute_of_hour, :end_hour_of_day, :end_minute_of_hour, :days_of_week, :average_upload_rate_limit_in_bits_per_sec, :average_download_rate_limit_in_bits_per_sec) SENSITIVE = [] include Aws::Structure end |
#end_hour_of_day ⇒ Integer
The hour of the day to end the bandwidth rate limit interval.
668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 668 class BandwidthRateLimitInterval < Struct.new( :start_hour_of_day, :start_minute_of_hour, :end_hour_of_day, :end_minute_of_hour, :days_of_week, :average_upload_rate_limit_in_bits_per_sec, :average_download_rate_limit_in_bits_per_sec) SENSITIVE = [] include Aws::Structure end |
#end_minute_of_hour ⇒ Integer
The minute of the hour to end the bandwidth rate limit interval.
The bandwidth rate limit interval ends at the end of the minute. To end an interval at the end of an hour, use the value ‘59`.
668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 668 class BandwidthRateLimitInterval < Struct.new( :start_hour_of_day, :start_minute_of_hour, :end_hour_of_day, :end_minute_of_hour, :days_of_week, :average_upload_rate_limit_in_bits_per_sec, :average_download_rate_limit_in_bits_per_sec) SENSITIVE = [] include Aws::Structure end |
#start_hour_of_day ⇒ Integer
The hour of the day to start the bandwidth rate limit interval.
668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 668 class BandwidthRateLimitInterval < Struct.new( :start_hour_of_day, :start_minute_of_hour, :end_hour_of_day, :end_minute_of_hour, :days_of_week, :average_upload_rate_limit_in_bits_per_sec, :average_download_rate_limit_in_bits_per_sec) SENSITIVE = [] include Aws::Structure end |
#start_minute_of_hour ⇒ Integer
The minute of the hour to start the bandwidth rate limit interval. The interval begins at the start of that minute. To begin an interval exactly at the start of the hour, use the value ‘0`.
668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/aws-sdk-storagegateway/types.rb', line 668 class BandwidthRateLimitInterval < Struct.new( :start_hour_of_day, :start_minute_of_hour, :end_hour_of_day, :end_minute_of_hour, :days_of_week, :average_upload_rate_limit_in_bits_per_sec, :average_download_rate_limit_in_bits_per_sec) SENSITIVE = [] include Aws::Structure end |