Class: Aws::Chime::Types::ListChannelMessagesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Chime::Types::ListChannelMessagesRequest
- Defined in:
- gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb
Overview
When making an API call, you may pass ListChannelMessagesRequest data as a hash:
{
channel_arn: "ChimeArn", # required
sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
not_before: Time.now,
not_after: Time.now,
max_results: 1,
next_token: "NextToken",
chime_bearer: "ChimeArn",
}
Constant Summary collapse
- SENSITIVE =
[:next_token]
Instance Attribute Summary collapse
-
#channel_arn ⇒ String
The ARN of the channel.
-
#chime_bearer ⇒ String
The
AppInstanceUserArn
of the user that makes the API call. -
#max_results ⇒ Integer
The maximum number of messages that you want returned.
-
#next_token ⇒ String
The token passed by previous API calls until all requested messages are returned.
-
#not_after ⇒ Time
The final or ending time stamp for your requested messages.
-
#not_before ⇒ Time
The initial or starting time stamp for your requested messages.
-
#sort_order ⇒ String
The order in which you want messages sorted.
Instance Attribute Details
#channel_arn ⇒ String
The ARN of the channel.
6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 6358 class ListChannelMessagesRequest < Struct.new( :channel_arn, :sort_order, :not_before, :not_after, :max_results, :next_token, :chime_bearer) SENSITIVE = [:next_token] include Aws::Structure end |
#chime_bearer ⇒ String
The AppInstanceUserArn
of the user that makes the API call.
6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 6358 class ListChannelMessagesRequest < Struct.new( :channel_arn, :sort_order, :not_before, :not_after, :max_results, :next_token, :chime_bearer) SENSITIVE = [:next_token] include Aws::Structure end |
#max_results ⇒ Integer
The maximum number of messages that you want returned.
6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 6358 class ListChannelMessagesRequest < Struct.new( :channel_arn, :sort_order, :not_before, :not_after, :max_results, :next_token, :chime_bearer) SENSITIVE = [:next_token] include Aws::Structure end |
#next_token ⇒ String
The token passed by previous API calls until all requested messages are returned.
6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 6358 class ListChannelMessagesRequest < Struct.new( :channel_arn, :sort_order, :not_before, :not_after, :max_results, :next_token, :chime_bearer) SENSITIVE = [:next_token] include Aws::Structure end |
#not_after ⇒ Time
The final or ending time stamp for your requested messages.
6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 6358 class ListChannelMessagesRequest < Struct.new( :channel_arn, :sort_order, :not_before, :not_after, :max_results, :next_token, :chime_bearer) SENSITIVE = [:next_token] include Aws::Structure end |
#not_before ⇒ Time
The initial or starting time stamp for your requested messages.
6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 6358 class ListChannelMessagesRequest < Struct.new( :channel_arn, :sort_order, :not_before, :not_after, :max_results, :next_token, :chime_bearer) SENSITIVE = [:next_token] include Aws::Structure end |
#sort_order ⇒ String
The order in which you want messages sorted. Default is Descending, based on time created.
6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 |
# File 'gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb', line 6358 class ListChannelMessagesRequest < Struct.new( :channel_arn, :sort_order, :not_before, :not_after, :max_results, :next_token, :chime_bearer) SENSITIVE = [:next_token] include Aws::Structure end |