Class: Aws::ChimeSDKMessaging::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ChimeSDKMessaging::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- lib/aws-sdk-chimesdkmessaging/client.rb
Overview
An API client for ChimeSDKMessaging. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::ChimeSDKMessaging::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#associate_channel_flow(params = {}) ⇒ Struct
Associates a channel flow with a channel.
-
#batch_create_channel_membership(params = {}) ⇒ Types::BatchCreateChannelMembershipResponse
Adds a specified number of users and bots to a channel.
-
#channel_flow_callback(params = {}) ⇒ Types::ChannelFlowCallbackResponse
Calls back Amazon Chime SDK messaging with a processing response message.
-
#create_channel(params = {}) ⇒ Types::CreateChannelResponse
Creates a channel to which you can add users and send messages.
-
#create_channel_ban(params = {}) ⇒ Types::CreateChannelBanResponse
Permanently bans a member from a channel.
-
#create_channel_flow(params = {}) ⇒ Types::CreateChannelFlowResponse
Creates a channel flow, a container for processors.
-
#create_channel_membership(params = {}) ⇒ Types::CreateChannelMembershipResponse
Adds a member to a channel.
-
#create_channel_moderator(params = {}) ⇒ Types::CreateChannelModeratorResponse
Creates a new ‘ChannelModerator`.
-
#delete_channel(params = {}) ⇒ Struct
Immediately makes a channel and its memberships inaccessible and marks them for deletion.
-
#delete_channel_ban(params = {}) ⇒ Struct
Removes a member from a channel’s ban list.
-
#delete_channel_flow(params = {}) ⇒ Struct
Deletes a channel flow, an irreversible process.
-
#delete_channel_membership(params = {}) ⇒ Struct
Removes a member from a channel.
-
#delete_channel_message(params = {}) ⇒ Struct
Deletes a channel message.
-
#delete_channel_moderator(params = {}) ⇒ Struct
Deletes a channel moderator.
-
#delete_messaging_streaming_configurations(params = {}) ⇒ Struct
Deletes the streaming configurations for an ‘AppInstance`.
-
#describe_channel(params = {}) ⇒ Types::DescribeChannelResponse
Returns the full details of a channel in an Amazon Chime ‘AppInstance`.
-
#describe_channel_ban(params = {}) ⇒ Types::DescribeChannelBanResponse
Returns the full details of a channel ban.
-
#describe_channel_flow(params = {}) ⇒ Types::DescribeChannelFlowResponse
Returns the full details of a channel flow in an Amazon Chime ‘AppInstance`.
-
#describe_channel_membership(params = {}) ⇒ Types::DescribeChannelMembershipResponse
Returns the full details of a user’s channel membership.
-
#describe_channel_membership_for_app_instance_user(params = {}) ⇒ Types::DescribeChannelMembershipForAppInstanceUserResponse
Returns the details of a channel based on the membership of the specified ‘AppInstanceUser` or `AppInstanceBot`.
-
#describe_channel_moderated_by_app_instance_user(params = {}) ⇒ Types::DescribeChannelModeratedByAppInstanceUserResponse
Returns the full details of a channel moderated by the specified ‘AppInstanceUser` or `AppInstanceBot`.
-
#describe_channel_moderator(params = {}) ⇒ Types::DescribeChannelModeratorResponse
Returns the full details of a single ChannelModerator.
-
#disassociate_channel_flow(params = {}) ⇒ Struct
Disassociates a channel flow from all its channels.
-
#get_channel_membership_preferences(params = {}) ⇒ Types::GetChannelMembershipPreferencesResponse
Gets the membership preferences of an ‘AppInstanceUser` or `AppInstanceBot` for the specified channel.
-
#get_channel_message(params = {}) ⇒ Types::GetChannelMessageResponse
Gets the full details of a channel message.
-
#get_channel_message_status(params = {}) ⇒ Types::GetChannelMessageStatusResponse
Gets message status for a specified ‘messageId`.
-
#get_messaging_session_endpoint(params = {}) ⇒ Types::GetMessagingSessionEndpointResponse
The details of the endpoint for the messaging session.
-
#get_messaging_streaming_configurations(params = {}) ⇒ Types::GetMessagingStreamingConfigurationsResponse
Retrieves the data streaming configuration for an ‘AppInstance`.
-
#list_channel_bans(params = {}) ⇒ Types::ListChannelBansResponse
Lists all the users and bots banned from a particular channel.
-
#list_channel_flows(params = {}) ⇒ Types::ListChannelFlowsResponse
Returns a paginated lists of all the channel flows created under a single Chime.
-
#list_channel_memberships(params = {}) ⇒ Types::ListChannelMembershipsResponse
Lists all channel memberships in a channel.
-
#list_channel_memberships_for_app_instance_user(params = {}) ⇒ Types::ListChannelMembershipsForAppInstanceUserResponse
Lists all channels that an ‘AppInstanceUser` or `AppInstanceBot` is a part of.
-
#list_channel_messages(params = {}) ⇒ Types::ListChannelMessagesResponse
List all the messages in a channel.
-
#list_channel_moderators(params = {}) ⇒ Types::ListChannelModeratorsResponse
Lists all the moderators for a channel.
-
#list_channels(params = {}) ⇒ Types::ListChannelsResponse
Lists all Channels created under a single Chime App as a paginated list.
-
#list_channels_associated_with_channel_flow(params = {}) ⇒ Types::ListChannelsAssociatedWithChannelFlowResponse
Lists all channels associated with a specified channel flow.
-
#list_channels_moderated_by_app_instance_user(params = {}) ⇒ Types::ListChannelsModeratedByAppInstanceUserResponse
A list of the channels moderated by an ‘AppInstanceUser`.
-
#list_sub_channels(params = {}) ⇒ Types::ListSubChannelsResponse
Lists all the SubChannels in an elastic channel when given a channel ID.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags applied to an Amazon Chime SDK messaging resource.
-
#put_channel_expiration_settings(params = {}) ⇒ Types::PutChannelExpirationSettingsResponse
Sets the number of days before the channel is automatically deleted.
-
#put_channel_membership_preferences(params = {}) ⇒ Types::PutChannelMembershipPreferencesResponse
Sets the membership preferences of an ‘AppInstanceUser` or `AppInstanceBot` for the specified channel.
-
#put_messaging_streaming_configurations(params = {}) ⇒ Types::PutMessagingStreamingConfigurationsResponse
Sets the data streaming configuration for an ‘AppInstance`.
-
#redact_channel_message(params = {}) ⇒ Types::RedactChannelMessageResponse
Redacts message content, but not metadata.
-
#search_channels(params = {}) ⇒ Types::SearchChannelsResponse
Allows the ‘ChimeBearer` to search channels by channel members.
-
#send_channel_message(params = {}) ⇒ Types::SendChannelMessageResponse
Sends a message to a particular channel that the member is a part of.
-
#tag_resource(params = {}) ⇒ Struct
Applies the specified tags to the specified Amazon Chime SDK messaging resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified Amazon Chime SDK messaging resource.
-
#update_channel(params = {}) ⇒ Types::UpdateChannelResponse
Update a channel’s attributes.
-
#update_channel_flow(params = {}) ⇒ Types::UpdateChannelFlowResponse
Updates channel flow attributes.
-
#update_channel_message(params = {}) ⇒ Types::UpdateChannelMessageResponse
Updates the content of a message.
-
#update_channel_read_marker(params = {}) ⇒ Types::UpdateChannelReadMarkerResponse
The details of the time when a user last read messages in a channel.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3299 3300 3301 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3299 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3302 3303 3304 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3302 def errors_module Errors end |
Instance Method Details
#associate_channel_flow(params = {}) ⇒ Struct
Associates a channel flow with a channel. Once associated, all messages to that channel go through channel flow processors. To stop processing, use the ‘DisassociateChannelFlow` API.
<note markdown=“1”> Only administrators or channel moderators can associate a channel flow. The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
484 485 486 487 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 484 def associate_channel_flow(params = {}, = {}) req = build_request(:associate_channel_flow, params) req.send_request() end |
#batch_create_channel_membership(params = {}) ⇒ Types::BatchCreateChannelMembershipResponse
Adds a specified number of users and bots to a channel.
552 553 554 555 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 552 def batch_create_channel_membership(params = {}, = {}) req = build_request(:batch_create_channel_membership, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3272 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::ChimeSDKMessaging') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-chimesdkmessaging' context[:gem_version] = '1.43.0' Seahorse::Client::Request.new(handlers, context) end |
#channel_flow_callback(params = {}) ⇒ Types::ChannelFlowCallbackResponse
Calls back Amazon Chime SDK messaging with a processing response message. This should be invoked from the processor Lambda. This is a developer API.
You can return one of the following processing responses:
-
Update message content or metadata
-
Deny a message
-
Make no changes to the message
625 626 627 628 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 625 def channel_flow_callback(params = {}, = {}) req = build_request(:channel_flow_callback, params) req.send_request() end |
#create_channel(params = {}) ⇒ Types::CreateChannelResponse
Creates a channel to which you can add users and send messages.
Restriction: You can’t change a channel’s privacy.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
733 734 735 736 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 733 def create_channel(params = {}, = {}) req = build_request(:create_channel, params) req.send_request() end |
#create_channel_ban(params = {}) ⇒ Types::CreateChannelBanResponse
Permanently bans a member from a channel. Moderators can’t add banned members to a channel. To undo a ban, you first have to ‘DeleteChannelBan`, and then `CreateChannelMembership`. Bans are cleaned up when you delete users or channels.
If you ban a user who is already part of a channel, that user is automatically kicked from the channel.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
785 786 787 788 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 785 def create_channel_ban(params = {}, = {}) req = build_request(:create_channel_ban, params) req.send_request() end |
#create_channel_flow(params = {}) ⇒ Types::CreateChannelFlowResponse
Creates a channel flow, a container for processors. Processors are AWS Lambda functions that perform actions on chat messages, such as stripping out profanity. You can associate channel flows with channels, and the processors in the channel flow then take action on all messages sent to that channel. This is a developer API.
Channel flows process the following items:
-
New and updated messages
-
Persistent and non-persistent messages
-
The Standard message type
<note markdown=“1”> Channel flows don’t process Control or System messages. For more information about the message types provided by Chime SDK messaging, refer to [Message types] in the *Amazon Chime developer guide*.
</note>
[1]: docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types
871 872 873 874 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 871 def create_channel_flow(params = {}, = {}) req = build_request(:create_channel_flow, params) req.send_request() end |
#create_channel_membership(params = {}) ⇒ Types::CreateChannelMembershipResponse
Adds a member to a channel. The ‘InvitedBy` field in `ChannelMembership` is derived from the request header. A channel member can:
-
List messages
-
Send messages
-
Receive messages
-
Edit their own messages
-
Leave the channel
Privacy settings impact this action as follows:
-
Public Channels: You do not need to be a member to list messages, but you must be a member to send messages.
-
Private Channels: You must be a member to list or send messages.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUserArn` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
955 956 957 958 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 955 def create_channel_membership(params = {}, = {}) req = build_request(:create_channel_membership, params) req.send_request() end |
#create_channel_moderator(params = {}) ⇒ Types::CreateChannelModeratorResponse
Creates a new ‘ChannelModerator`. A channel moderator can:
-
Add and remove other members of the channel.
-
Add and remove other moderators of the channel.
-
Add and remove user bans for the channel.
-
Redact messages in the channel.
-
List messages in the channel.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot`of the user that makes the API call as the value in the header.
</note>
1011 1012 1013 1014 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1011 def create_channel_moderator(params = {}, = {}) req = build_request(:create_channel_moderator, params) req.send_request() end |
#delete_channel(params = {}) ⇒ Struct
Immediately makes a channel and its memberships inaccessible and marks them for deletion. This is an irreversible process.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUserArn` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1045 1046 1047 1048 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1045 def delete_channel(params = {}, = {}) req = build_request(:delete_channel, params) req.send_request() end |
#delete_channel_ban(params = {}) ⇒ Struct
Removes a member from a channel’s ban list.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1082 1083 1084 1085 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1082 def delete_channel_ban(params = {}, = {}) req = build_request(:delete_channel_ban, params) req.send_request() end |
#delete_channel_flow(params = {}) ⇒ Struct
Deletes a channel flow, an irreversible process. This is a developer API.
<note markdown=“1”> This API works only when the channel flow is not associated with any channel. To get a list of all channels that a channel flow is associated with, use the ‘ListChannelsAssociatedWithChannelFlow` API. Use the `DisassociateChannelFlow` API to disassociate a channel flow from all channels.
</note>
1113 1114 1115 1116 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1113 def delete_channel_flow(params = {}, = {}) req = build_request(:delete_channel_flow, params) req.send_request() end |
#delete_channel_membership(params = {}) ⇒ Struct
Removes a member from a channel.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the `AppInstanceUserArn` of the user that makes the API call as the value in the header.
</note>
1159 1160 1161 1162 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1159 def delete_channel_membership(params = {}, = {}) req = build_request(:delete_channel_membership, params) req.send_request() end |
#delete_channel_message(params = {}) ⇒ Struct
Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by ‘UpdateChannelMessage`.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1207 1208 1209 1210 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1207 def (params = {}, = {}) req = build_request(:delete_channel_message, params) req.send_request() end |
#delete_channel_moderator(params = {}) ⇒ Struct
Deletes a channel moderator.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1244 1245 1246 1247 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1244 def delete_channel_moderator(params = {}, = {}) req = build_request(:delete_channel_moderator, params) req.send_request() end |
#delete_messaging_streaming_configurations(params = {}) ⇒ Struct
Deletes the streaming configurations for an ‘AppInstance`. For more information, see [Streaming messaging data] in the *Amazon Chime SDK Developer Guide*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html
1272 1273 1274 1275 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1272 def delete_messaging_streaming_configurations(params = {}, = {}) req = build_request(:delete_messaging_streaming_configurations, params) req.send_request() end |
#describe_channel(params = {}) ⇒ Types::DescribeChannelResponse
Returns the full details of a channel in an Amazon Chime ‘AppInstance`.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1327 1328 1329 1330 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1327 def describe_channel(params = {}, = {}) req = build_request(:describe_channel, params) req.send_request() end |
#describe_channel_ban(params = {}) ⇒ Types::DescribeChannelBanResponse
Returns the full details of a channel ban.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1375 1376 1377 1378 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1375 def describe_channel_ban(params = {}, = {}) req = build_request(:describe_channel_ban, params) req.send_request() end |
#describe_channel_flow(params = {}) ⇒ Types::DescribeChannelFlowResponse
Returns the full details of a channel flow in an Amazon Chime ‘AppInstance`. This is a developer API.
1413 1414 1415 1416 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1413 def describe_channel_flow(params = {}, = {}) req = build_request(:describe_channel_flow, params) req.send_request() end |
#describe_channel_membership(params = {}) ⇒ Types::DescribeChannelMembershipResponse
Returns the full details of a user’s channel membership.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1473 1474 1475 1476 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1473 def describe_channel_membership(params = {}, = {}) req = build_request(:describe_channel_membership, params) req.send_request() end |
#describe_channel_membership_for_app_instance_user(params = {}) ⇒ Types::DescribeChannelMembershipForAppInstanceUserResponse
Returns the details of a channel based on the membership of the specified ‘AppInstanceUser` or `AppInstanceBot`.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1525 1526 1527 1528 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1525 def describe_channel_membership_for_app_instance_user(params = {}, = {}) req = build_request(:describe_channel_membership_for_app_instance_user, params) req.send_request() end |
#describe_channel_moderated_by_app_instance_user(params = {}) ⇒ Types::DescribeChannelModeratedByAppInstanceUserResponse
Returns the full details of a channel moderated by the specified ‘AppInstanceUser` or `AppInstanceBot`.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1574 1575 1576 1577 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1574 def describe_channel_moderated_by_app_instance_user(params = {}, = {}) req = build_request(:describe_channel_moderated_by_app_instance_user, params) req.send_request() end |
#describe_channel_moderator(params = {}) ⇒ Types::DescribeChannelModeratorResponse
Returns the full details of a single ChannelModerator.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the `AppInstanceUserArn` of the user that makes the API call as the value in the header.
</note>
1622 1623 1624 1625 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1622 def describe_channel_moderator(params = {}, = {}) req = build_request(:describe_channel_moderator, params) req.send_request() end |
#disassociate_channel_flow(params = {}) ⇒ Struct
Disassociates a channel flow from all its channels. Once disassociated, all messages to that channel stop going through the channel flow processor.
<note markdown=“1”> Only administrators or channel moderators can disassociate a channel flow.
The `x-amz-chime-bearer` request header is mandatory. Use the ARN of
the ‘AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1663 1664 1665 1666 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1663 def disassociate_channel_flow(params = {}, = {}) req = build_request(:disassociate_channel_flow, params) req.send_request() end |
#get_channel_membership_preferences(params = {}) ⇒ Types::GetChannelMembershipPreferencesResponse
Gets the membership preferences of an ‘AppInstanceUser` or `AppInstanceBot` for the specified channel. A user or a bot must be a member of the channel and own the membership in order to retrieve membership preferences. Users or bots in the `AppInstanceAdmin` and channel moderator roles can’t retrieve preferences for other users or bots. Banned users or bots can’t retrieve membership preferences for the channel from which they are banned.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1718 1719 1720 1721 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1718 def get_channel_membership_preferences(params = {}, = {}) req = build_request(:get_channel_membership_preferences, params) req.send_request() end |
#get_channel_message(params = {}) ⇒ Types::GetChannelMessageResponse
Gets the full details of a channel message.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1790 1791 1792 1793 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1790 def (params = {}, = {}) req = build_request(:get_channel_message, params) req.send_request() end |
#get_channel_message_status(params = {}) ⇒ Types::GetChannelMessageStatusResponse
Gets message status for a specified ‘messageId`. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to retrieving message status if the event was not received because a client wasn’t connected to a websocket.
Messages can have any one of these statuses.
SENT
: Message processed successfully
PENDING
: Ongoing processing
FAILED
: Processing failed
DENIED
: Message denied by the processor
<note markdown=“1”> * This API does not return statuses for denied messages, because we
don't store them once the processor denies them.
-
Only the message sender can invoke this API.
-
The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
1869 1870 1871 1872 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1869 def (params = {}, = {}) req = build_request(:get_channel_message_status, params) req.send_request() end |
#get_messaging_session_endpoint(params = {}) ⇒ Types::GetMessagingSessionEndpointResponse
The details of the endpoint for the messaging session.
1888 1889 1890 1891 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1888 def get_messaging_session_endpoint(params = {}, = {}) req = build_request(:get_messaging_session_endpoint, params) req.send_request() end |
#get_messaging_streaming_configurations(params = {}) ⇒ Types::GetMessagingStreamingConfigurationsResponse
Retrieves the data streaming configuration for an ‘AppInstance`. For more information, see [Streaming messaging data] in the *Amazon Chime SDK Developer Guide*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html
1924 1925 1926 1927 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1924 def get_messaging_streaming_configurations(params = {}, = {}) req = build_request(:get_messaging_streaming_configurations, params) req.send_request() end |
#list_channel_bans(params = {}) ⇒ Types::ListChannelBansResponse
Lists all the users and bots banned from a particular channel.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1980 1981 1982 1983 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 1980 def list_channel_bans(params = {}, = {}) req = build_request(:list_channel_bans, params) req.send_request() end |
#list_channel_flows(params = {}) ⇒ Types::ListChannelFlowsResponse
Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2030 2031 2032 2033 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2030 def list_channel_flows(params = {}, = {}) req = build_request(:list_channel_flows, params) req.send_request() end |
#list_channel_memberships(params = {}) ⇒ Types::ListChannelMembershipsResponse
Lists all channel memberships in a channel.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
If you want to list the channels to which a specific app instance user belongs, see the [ListChannelMembershipsForAppInstanceUser] API.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2109 2110 2111 2112 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2109 def list_channel_memberships(params = {}, = {}) req = build_request(:list_channel_memberships, params) req.send_request() end |
#list_channel_memberships_for_app_instance_user(params = {}) ⇒ Types::ListChannelMembershipsForAppInstanceUserResponse
Lists all channels that an ‘AppInstanceUser` or `AppInstanceBot` is a part of. Only an `AppInstanceAdmin` can call the API with a user ARN that is not their own.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2172 2173 2174 2175 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2172 def list_channel_memberships_for_app_instance_user(params = {}, = {}) req = build_request(:list_channel_memberships_for_app_instance_user, params) req.send_request() end |
#list_channel_messages(params = {}) ⇒ Types::ListChannelMessagesResponse
List all the messages in a channel. Returns a paginated list of ‘ChannelMessages`. By default, sorted by creation timestamp in descending order.
<note markdown=“1”> Redacted messages appear in the results as empty, since they are only redacted, not deleted. Deleted messages do not appear in the results. This action always returns the latest version of an edited message.
Also, the `x-amz-chime-bearer` request header is mandatory. Use the
ARN of the ‘AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2274 2275 2276 2277 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2274 def (params = {}, = {}) req = build_request(:list_channel_messages, params) req.send_request() end |
#list_channel_moderators(params = {}) ⇒ Types::ListChannelModeratorsResponse
Lists all the moderators for a channel.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2330 2331 2332 2333 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2330 def list_channel_moderators(params = {}, = {}) req = build_request(:list_channel_moderators, params) req.send_request() end |
#list_channels(params = {}) ⇒ Types::ListChannelsResponse
Lists all Channels created under a single Chime App as a paginated list. You can specify filters to narrow results.
**Functionality & restrictions**
-
Use privacy = ‘PUBLIC` to retrieve all public channels in the account.
-
Only an ‘AppInstanceAdmin` can set privacy = `PRIVATE` to list the private channels in an account.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2403 2404 2405 2406 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2403 def list_channels(params = {}, = {}) req = build_request(:list_channels, params) req.send_request() end |
#list_channels_associated_with_channel_flow(params = {}) ⇒ Types::ListChannelsAssociatedWithChannelFlowResponse
Lists all channels associated with a specified channel flow. You can associate a channel flow with multiple channels, but you can only associate a channel with one channel flow. This is a developer API.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2451 2452 2453 2454 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2451 def list_channels_associated_with_channel_flow(params = {}, = {}) req = build_request(:list_channels_associated_with_channel_flow, params) req.send_request() end |
#list_channels_moderated_by_app_instance_user(params = {}) ⇒ Types::ListChannelsModeratedByAppInstanceUserResponse
A list of the channels moderated by an ‘AppInstanceUser`.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2509 2510 2511 2512 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2509 def list_channels_moderated_by_app_instance_user(params = {}, = {}) req = build_request(:list_channels_moderated_by_app_instance_user, params) req.send_request() end |
#list_sub_channels(params = {}) ⇒ Types::ListSubChannelsResponse
Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2560 2561 2562 2563 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2560 def list_sub_channels(params = {}, = {}) req = build_request(:list_sub_channels, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags applied to an Amazon Chime SDK messaging resource.
2590 2591 2592 2593 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2590 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_channel_expiration_settings(params = {}) ⇒ Types::PutChannelExpirationSettingsResponse
Sets the number of days before the channel is automatically deleted.
<note markdown=“1”> * A background process deletes expired channels within 6 hours of
expiration. Actual deletion times may vary.
-
Expired channels that have not yet been deleted appear as active, and you can update their expiration settings. The system honors the new settings.
-
The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
2646 2647 2648 2649 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2646 def put_channel_expiration_settings(params = {}, = {}) req = build_request(:put_channel_expiration_settings, params) req.send_request() end |
#put_channel_membership_preferences(params = {}) ⇒ Types::PutChannelMembershipPreferencesResponse
Sets the membership preferences of an ‘AppInstanceUser` or `AppInstanceBot` for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the membership can set preferences. Users or bots in the `AppInstanceAdmin` and channel moderator roles can’t set preferences for other users. Banned users or bots can’t set membership preferences for the channel from which they are banned.
<note markdown=“1”> The x-amz-chime-bearer request header is mandatory. Use the ARN of an ‘AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
2710 2711 2712 2713 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2710 def put_channel_membership_preferences(params = {}, = {}) req = build_request(:put_channel_membership_preferences, params) req.send_request() end |
#put_messaging_streaming_configurations(params = {}) ⇒ Types::PutMessagingStreamingConfigurationsResponse
Sets the data streaming configuration for an ‘AppInstance`. For more information, see [Streaming messaging data] in the *Amazon Chime SDK Developer Guide*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html
2755 2756 2757 2758 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2755 def put_messaging_streaming_configurations(params = {}, = {}) req = build_request(:put_messaging_streaming_configurations, params) req.send_request() end |
#redact_channel_message(params = {}) ⇒ Types::RedactChannelMessageResponse
Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
2809 2810 2811 2812 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2809 def (params = {}, = {}) req = build_request(:redact_channel_message, params) req.send_request() end |
#search_channels(params = {}) ⇒ Types::SearchChannelsResponse
Allows the ‘ChimeBearer` to search channels by channel members. Users or bots can search across the channels that they belong to. Users in the `AppInstanceAdmin` role can search across all channels.
The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2872 2873 2874 2875 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2872 def search_channels(params = {}, = {}) req = build_request(:search_channels, params) req.send_request() end |
#send_channel_message(params = {}) ⇒ Types::SendChannelMessageResponse
Sends a message to a particular channel that the member is a part of.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
Also, `STANDARD` messages can be up to 4KB in size and contain
metadata. Metadata is arbitrary, and you can use it in a variety of ways, such as containing a link to an attachment.
`CONTROL` messages are limited to 30 bytes and do not contain
metadata.
</note>
2993 2994 2995 2996 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 2993 def (params = {}, = {}) req = build_request(:send_channel_message, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Applies the specified tags to the specified Amazon Chime SDK messaging resource.
3025 3026 3027 3028 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3025 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified Amazon Chime SDK messaging resource.
3052 3053 3054 3055 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3052 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_channel(params = {}) ⇒ Types::UpdateChannelResponse
Update a channel’s attributes.
Restriction: You can’t change a channel’s privacy.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
3105 3106 3107 3108 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3105 def update_channel(params = {}, = {}) req = build_request(:update_channel, params) req.send_request() end |
#update_channel_flow(params = {}) ⇒ Types::UpdateChannelFlowResponse
Updates channel flow attributes. This is a developer API.
3153 3154 3155 3156 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3153 def update_channel_flow(params = {}, = {}) req = build_request(:update_channel_flow, params) req.send_request() end |
#update_channel_message(params = {}) ⇒ Types::UpdateChannelMessageResponse
Updates the content of a message.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
3224 3225 3226 3227 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3224 def (params = {}, = {}) req = build_request(:update_channel_message, params) req.send_request() end |
#update_channel_read_marker(params = {}) ⇒ Types::UpdateChannelReadMarkerResponse
The details of the time when a user last read messages in a channel.
<note markdown=“1”> The ‘x-amz-chime-bearer` request header is mandatory. Use the ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the API call as the value in the header.
</note>
3263 3264 3265 3266 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3263 def update_channel_read_marker(params = {}, = {}) req = build_request(:update_channel_read_marker, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3292 3293 3294 |
# File 'lib/aws-sdk-chimesdkmessaging/client.rb', line 3292 def waiter_names [] end |