Class: Aws::SocialMessaging::Types::WhatsAppCallPermissionLimit

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#current_usageInteger

The number of times the action has been used within the current time period.

Returns:

  • (Integer)


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_timeTime

The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.

Returns:

  • (Time)


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_allowedInteger

The maximum number of times the action is allowed within the time period.

Returns:

  • (Integer)


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_periodString

The time period over which the limit applies, as an ISO 8601 duration.

Returns:

  • (String)


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