Class: Aws::AmplifyGen3::Types::BackendDatabaseUsage

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

Overview

The usage across all of a backend's branch databases, including branches that were deleted.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#last_used_at ⇒ Time

The time at which any of the backend's databases was last used, either by a new connection or by load on an existing connection. An open idle connection doesn't count as use. The value lags by a few minutes and is in ISO-8601 format. Absent when it isn't reported.

Returns:

  • (Time)


759
760
761
762
763
764
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 759

class BackendDatabaseUsage < Struct.new(
  :last_used_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 backend's databases used in the current calendar month (UTC), across all branches. The value is 0 when the databases 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. Only the Basic plan has a per-backend allowance that this value is compared with.

Returns:

  • (Float)


759
760
761
762
763
764
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 759

class BackendDatabaseUsage < Struct.new(
  :last_used_at,
  :monthly_backend_capacity_unit_hours)
  SENSITIVE = []
  include Aws::Structure
end