Class: Aws::AmplifyGen3::Types::BranchDatabaseUsage
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyGen3::Types::BranchDatabaseUsage
- Defined in:
- gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb
Overview
The usage of a branch's database, sampled once per sampling window of a few minutes. Sampling stops while the backend is paused. A member is absent when its value isn't reported.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#connections ⇒ Integer
The number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.
-
#last_used_at ⇒ Time
The end of the most recent sampling window in which the database was used, either by a new connection or by load on an existing connection.
-
#monthly_backend_capacity_unit_hours ⇒ Float
The backend capacity unit hours (BCU-hours) that the branch's database used in the current calendar month (UTC).
-
#sampled_at ⇒ Time
The end of the most recent sampling window in which one of these values changed.
-
#storage_bytes ⇒ Integer
The size of the database, in bytes.
Instance Attribute Details
#connections ⇒ Integer
The number of sessions, including idle sessions, that were connected to the database at the time of SampledAt.
932 933 934 935 936 937 938 939 940 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 932 class BranchDatabaseUsage < Struct.new( :storage_bytes, :connections, :last_used_at, :sampled_at, :monthly_backend_capacity_unit_hours) SENSITIVE = [] include Aws::Structure end |
#last_used_at ⇒ Time
The end of the most recent sampling window in which the database was used, either by a new connection or by load on an existing connection. The value is in ISO-8601 format.
932 933 934 935 936 937 938 939 940 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 932 class BranchDatabaseUsage < Struct.new( :storage_bytes, :connections, :last_used_at, :sampled_at, :monthly_backend_capacity_unit_hours) SENSITIVE = [] include Aws::Structure end |
#monthly_backend_capacity_unit_hours ⇒ Float
The backend capacity unit hours (BCU-hours) that the branch's database used in the current calendar month (UTC). This value is the branch's share of the backend's MonthlyBackendCapacityUnitHours and is counted the same way. The value is 0 when the database used none this month, resets to 0 at 00:00 UTC on the first day of each month, and lags actual use by about one hour. It is absent when the value can't be read.
932 933 934 935 936 937 938 939 940 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 932 class BranchDatabaseUsage < Struct.new( :storage_bytes, :connections, :last_used_at, :sampled_at, :monthly_backend_capacity_unit_hours) SENSITIVE = [] include Aws::Structure end |
#sampled_at ⇒ Time
The end of the most recent sampling window in which one of these values changed. For a branch with steady usage, this time can be old even though the values are current. The value is in ISO-8601 format.
932 933 934 935 936 937 938 939 940 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 932 class BranchDatabaseUsage < Struct.new( :storage_bytes, :connections, :last_used_at, :sampled_at, :monthly_backend_capacity_unit_hours) SENSITIVE = [] include Aws::Structure end |
#storage_bytes ⇒ Integer
The size of the database, in bytes. The database's storage limit applies to this size.
932 933 934 935 936 937 938 939 940 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 932 class BranchDatabaseUsage < Struct.new( :storage_bytes, :connections, :last_used_at, :sampled_at, :monthly_backend_capacity_unit_hours) SENSITIVE = [] include Aws::Structure end |