Method: Aws::Pinpoint::Types::APNSMessage#time_to_live
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
#time_to_live ⇒ Integer
The amount of time, in seconds, that APNs should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If this value is 0, APNs treats the notification as if it expires immediately and the service doesn’t store or try to deliver the notification again.
Amazon Pinpoint specifies this value in the apns-expiration request header when it sends the notification message to APNs.
581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 581 class APNSMessage < Struct.new( :apns_push_type, :action, :badge, :body, :category, :collapse_id, :data, :media_url, :preferred_authentication_method, :priority, :raw_content, :silent_push, :sound, :substitutions, :thread_id, :time_to_live, :title, :url) SENSITIVE = [] include Aws::Structure end |