Class: Aws::SocialMessaging::Types::WhatsAppCallPermissionLimit
- Inherits:
-
Struct
- Object
- Struct
- Aws::SocialMessaging::Types::WhatsAppCallPermissionLimit
- Defined in:
- gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb
Overview
A time-bound restriction on a calling action, such as the number of calls allowed within a time period.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#current_usage ⇒ Integer
The number of times the action has been used within the current time period.
-
#limit_expiration_time ⇒ Time
The time when the limit resets.
-
#max_allowed ⇒ Integer
The maximum number of times the action is allowed within the time period.
-
#time_period ⇒ String
The time period over which the limit applies, as an ISO 8601 duration.
Instance Attribute Details
#current_usage ⇒ Integer
The number of times the action has been used within the current time period.
2552 2553 2554 2555 2556 2557 2558 2559 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2552 class WhatsAppCallPermissionLimit < Struct.new( :time_period, :max_allowed, :current_usage, :limit_expiration_time) SENSITIVE = [] include Aws::Structure end |
#limit_expiration_time ⇒ Time
The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.
2552 2553 2554 2555 2556 2557 2558 2559 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2552 class WhatsAppCallPermissionLimit < Struct.new( :time_period, :max_allowed, :current_usage, :limit_expiration_time) SENSITIVE = [] include Aws::Structure end |
#max_allowed ⇒ Integer
The maximum number of times the action is allowed within the time period.
2552 2553 2554 2555 2556 2557 2558 2559 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2552 class WhatsAppCallPermissionLimit < Struct.new( :time_period, :max_allowed, :current_usage, :limit_expiration_time) SENSITIVE = [] include Aws::Structure end |
#time_period ⇒ String
The time period over which the limit applies, as an ISO 8601 duration.
2552 2553 2554 2555 2556 2557 2558 2559 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2552 class WhatsAppCallPermissionLimit < Struct.new( :time_period, :max_allowed, :current_usage, :limit_expiration_time) SENSITIVE = [] include Aws::Structure end |