// // Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // A copy of the License is located at // // http://aws.amazon.com/apache2.0 // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either // express or implied. See the License for the specific language governing // permissions and limitations under the License. // #import #import #import NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXPORT NSString *const AWSChimeSDKMessagingErrorDomain; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingErrorType) { AWSChimeSDKMessagingErrorUnknown, AWSChimeSDKMessagingErrorBadRequest, AWSChimeSDKMessagingErrorConflict, AWSChimeSDKMessagingErrorForbidden, AWSChimeSDKMessagingErrorNotFound, AWSChimeSDKMessagingErrorResourceLimitExceeded, AWSChimeSDKMessagingErrorServiceFailure, AWSChimeSDKMessagingErrorServiceUnavailable, AWSChimeSDKMessagingErrorThrottledClient, AWSChimeSDKMessagingErrorUnauthorizedClient, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingAllowNotifications) { AWSChimeSDKMessagingAllowNotificationsUnknown, AWSChimeSDKMessagingAllowNotificationsAll, AWSChimeSDKMessagingAllowNotificationsNone, AWSChimeSDKMessagingAllowNotificationsFiltered, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingChannelMembershipType) { AWSChimeSDKMessagingChannelMembershipTypeUnknown, AWSChimeSDKMessagingChannelMembershipTypeDefault, AWSChimeSDKMessagingChannelMembershipTypeHidden, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingChannelMessagePersistenceType) { AWSChimeSDKMessagingChannelMessagePersistenceTypeUnknown, AWSChimeSDKMessagingChannelMessagePersistenceTypePersistent, AWSChimeSDKMessagingChannelMessagePersistenceTypeNonPersistent, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingChannelMessageStatus) { AWSChimeSDKMessagingChannelMessageStatusUnknown, AWSChimeSDKMessagingChannelMessageStatusSent, AWSChimeSDKMessagingChannelMessageStatusPending, AWSChimeSDKMessagingChannelMessageStatusFailed, AWSChimeSDKMessagingChannelMessageStatusDenied, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingChannelMessageType) { AWSChimeSDKMessagingChannelMessageTypeUnknown, AWSChimeSDKMessagingChannelMessageTypeStandard, AWSChimeSDKMessagingChannelMessageTypeControl, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingChannelMode) { AWSChimeSDKMessagingChannelModeUnknown, AWSChimeSDKMessagingChannelModeUnrestricted, AWSChimeSDKMessagingChannelModeRestricted, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingChannelPrivacy) { AWSChimeSDKMessagingChannelPrivacyUnknown, AWSChimeSDKMessagingChannelPrivacyPublic, AWSChimeSDKMessagingChannelPrivacyPrivate, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingErrorCode) { AWSChimeSDKMessagingErrorCodeUnknown, AWSChimeSDKMessagingErrorCodeBadRequest, AWSChimeSDKMessagingErrorCodeConflict, AWSChimeSDKMessagingErrorCodeForbidden, AWSChimeSDKMessagingErrorCodeNotFound, AWSChimeSDKMessagingErrorCodePreconditionFailed, AWSChimeSDKMessagingErrorCodeResourceLimitExceeded, AWSChimeSDKMessagingErrorCodeServiceFailure, AWSChimeSDKMessagingErrorCodeAccessDenied, AWSChimeSDKMessagingErrorCodeServiceUnavailable, AWSChimeSDKMessagingErrorCodeThrottled, AWSChimeSDKMessagingErrorCodeThrottling, AWSChimeSDKMessagingErrorCodeUnauthorized, AWSChimeSDKMessagingErrorCodeUnprocessable, AWSChimeSDKMessagingErrorCodeVoiceConnectorGroupAssociationsExist, AWSChimeSDKMessagingErrorCodePhoneNumberAssociationsExist, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingExpirationCriterion) { AWSChimeSDKMessagingExpirationCriterionUnknown, AWSChimeSDKMessagingExpirationCriterionCreatedTimestamp, AWSChimeSDKMessagingExpirationCriterionLastMessageTimestamp, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingFallbackAction) { AWSChimeSDKMessagingFallbackActionUnknown, AWSChimeSDKMessagingFallbackActionContinue, AWSChimeSDKMessagingFallbackActionAbort, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingInvocationType) { AWSChimeSDKMessagingInvocationTypeUnknown, AWSChimeSDKMessagingInvocationTypeAsync, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingMessagingDataType) { AWSChimeSDKMessagingMessagingDataTypeUnknown, AWSChimeSDKMessagingMessagingDataTypeChannel, AWSChimeSDKMessagingMessagingDataTypeChannelMessage, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingPushNotificationType) { AWSChimeSDKMessagingPushNotificationTypeUnknown, AWSChimeSDKMessagingPushNotificationTypeDefault, AWSChimeSDKMessagingPushNotificationTypeVoip, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingSearchFieldKey) { AWSChimeSDKMessagingSearchFieldKeyUnknown, AWSChimeSDKMessagingSearchFieldKeyMembers, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingSearchFieldOperator) { AWSChimeSDKMessagingSearchFieldOperatorUnknown, AWSChimeSDKMessagingSearchFieldOperatorEquals, AWSChimeSDKMessagingSearchFieldOperatorIncludes, }; typedef NS_ENUM(NSInteger, AWSChimeSDKMessagingSortOrder) { AWSChimeSDKMessagingSortOrderUnknown, AWSChimeSDKMessagingSortOrderAscending, AWSChimeSDKMessagingSortOrderDescending, }; @class AWSChimeSDKMessagingAppInstanceUserMembershipSummary; @class AWSChimeSDKMessagingAssociateChannelFlowRequest; @class AWSChimeSDKMessagingBatchChannelMemberships; @class AWSChimeSDKMessagingBatchCreateChannelMembershipError; @class AWSChimeSDKMessagingBatchCreateChannelMembershipRequest; @class AWSChimeSDKMessagingBatchCreateChannelMembershipResponse; @class AWSChimeSDKMessagingChannel; @class AWSChimeSDKMessagingChannelAssociatedWithFlowSummary; @class AWSChimeSDKMessagingChannelBan; @class AWSChimeSDKMessagingChannelBanSummary; @class AWSChimeSDKMessagingChannelFlow; @class AWSChimeSDKMessagingChannelFlowCallbackRequest; @class AWSChimeSDKMessagingChannelFlowCallbackResponse; @class AWSChimeSDKMessagingChannelFlowSummary; @class AWSChimeSDKMessagingChannelMembership; @class AWSChimeSDKMessagingChannelMembershipForAppInstanceUserSummary; @class AWSChimeSDKMessagingChannelMembershipPreferences; @class AWSChimeSDKMessagingChannelMembershipSummary; @class AWSChimeSDKMessagingChannelMessage; @class AWSChimeSDKMessagingChannelMessageCallback; @class AWSChimeSDKMessagingChannelMessageStatusStructure; @class AWSChimeSDKMessagingChannelMessageSummary; @class AWSChimeSDKMessagingChannelModeratedByAppInstanceUserSummary; @class AWSChimeSDKMessagingChannelModerator; @class AWSChimeSDKMessagingChannelModeratorSummary; @class AWSChimeSDKMessagingChannelSummary; @class AWSChimeSDKMessagingCreateChannelBanRequest; @class AWSChimeSDKMessagingCreateChannelBanResponse; @class AWSChimeSDKMessagingCreateChannelFlowRequest; @class AWSChimeSDKMessagingCreateChannelFlowResponse; @class AWSChimeSDKMessagingCreateChannelMembershipRequest; @class AWSChimeSDKMessagingCreateChannelMembershipResponse; @class AWSChimeSDKMessagingCreateChannelModeratorRequest; @class AWSChimeSDKMessagingCreateChannelModeratorResponse; @class AWSChimeSDKMessagingCreateChannelRequest; @class AWSChimeSDKMessagingCreateChannelResponse; @class AWSChimeSDKMessagingDeleteChannelBanRequest; @class AWSChimeSDKMessagingDeleteChannelFlowRequest; @class AWSChimeSDKMessagingDeleteChannelMembershipRequest; @class AWSChimeSDKMessagingDeleteChannelMessageRequest; @class AWSChimeSDKMessagingDeleteChannelModeratorRequest; @class AWSChimeSDKMessagingDeleteChannelRequest; @class AWSChimeSDKMessagingDeleteMessagingStreamingConfigurationsRequest; @class AWSChimeSDKMessagingDescribeChannelBanRequest; @class AWSChimeSDKMessagingDescribeChannelBanResponse; @class AWSChimeSDKMessagingDescribeChannelFlowRequest; @class AWSChimeSDKMessagingDescribeChannelFlowResponse; @class AWSChimeSDKMessagingDescribeChannelMembershipForAppInstanceUserRequest; @class AWSChimeSDKMessagingDescribeChannelMembershipForAppInstanceUserResponse; @class AWSChimeSDKMessagingDescribeChannelMembershipRequest; @class AWSChimeSDKMessagingDescribeChannelMembershipResponse; @class AWSChimeSDKMessagingDescribeChannelModeratedByAppInstanceUserRequest; @class AWSChimeSDKMessagingDescribeChannelModeratedByAppInstanceUserResponse; @class AWSChimeSDKMessagingDescribeChannelModeratorRequest; @class AWSChimeSDKMessagingDescribeChannelModeratorResponse; @class AWSChimeSDKMessagingDescribeChannelRequest; @class AWSChimeSDKMessagingDescribeChannelResponse; @class AWSChimeSDKMessagingDisassociateChannelFlowRequest; @class AWSChimeSDKMessagingElasticChannelConfiguration; @class AWSChimeSDKMessagingExpirationSettings; @class AWSChimeSDKMessagingGetChannelMembershipPreferencesRequest; @class AWSChimeSDKMessagingGetChannelMembershipPreferencesResponse; @class AWSChimeSDKMessagingGetChannelMessageRequest; @class AWSChimeSDKMessagingGetChannelMessageResponse; @class AWSChimeSDKMessagingGetChannelMessageStatusRequest; @class AWSChimeSDKMessagingGetChannelMessageStatusResponse; @class AWSChimeSDKMessagingGetMessagingSessionEndpointRequest; @class AWSChimeSDKMessagingGetMessagingSessionEndpointResponse; @class AWSChimeSDKMessagingGetMessagingStreamingConfigurationsRequest; @class AWSChimeSDKMessagingGetMessagingStreamingConfigurationsResponse; @class AWSChimeSDKMessagingIdentity; @class AWSChimeSDKMessagingLambdaConfiguration; @class AWSChimeSDKMessagingListChannelBansRequest; @class AWSChimeSDKMessagingListChannelBansResponse; @class AWSChimeSDKMessagingListChannelFlowsRequest; @class AWSChimeSDKMessagingListChannelFlowsResponse; @class AWSChimeSDKMessagingListChannelMembershipsForAppInstanceUserRequest; @class AWSChimeSDKMessagingListChannelMembershipsForAppInstanceUserResponse; @class AWSChimeSDKMessagingListChannelMembershipsRequest; @class AWSChimeSDKMessagingListChannelMembershipsResponse; @class AWSChimeSDKMessagingListChannelMessagesRequest; @class AWSChimeSDKMessagingListChannelMessagesResponse; @class AWSChimeSDKMessagingListChannelModeratorsRequest; @class AWSChimeSDKMessagingListChannelModeratorsResponse; @class AWSChimeSDKMessagingListChannelsAssociatedWithChannelFlowRequest; @class AWSChimeSDKMessagingListChannelsAssociatedWithChannelFlowResponse; @class AWSChimeSDKMessagingListChannelsModeratedByAppInstanceUserRequest; @class AWSChimeSDKMessagingListChannelsModeratedByAppInstanceUserResponse; @class AWSChimeSDKMessagingListChannelsRequest; @class AWSChimeSDKMessagingListChannelsResponse; @class AWSChimeSDKMessagingListSubChannelsRequest; @class AWSChimeSDKMessagingListSubChannelsResponse; @class AWSChimeSDKMessagingListTagsForResourceRequest; @class AWSChimeSDKMessagingListTagsForResourceResponse; @class AWSChimeSDKMessagingMessageAttributeValue; @class AWSChimeSDKMessagingMessagingSessionEndpoint; @class AWSChimeSDKMessagingProcessor; @class AWSChimeSDKMessagingProcessorConfiguration; @class AWSChimeSDKMessagingPushNotificationConfiguration; @class AWSChimeSDKMessagingPushNotificationPreferences; @class AWSChimeSDKMessagingPutChannelExpirationSettingsRequest; @class AWSChimeSDKMessagingPutChannelExpirationSettingsResponse; @class AWSChimeSDKMessagingPutChannelMembershipPreferencesRequest; @class AWSChimeSDKMessagingPutChannelMembershipPreferencesResponse; @class AWSChimeSDKMessagingPutMessagingStreamingConfigurationsRequest; @class AWSChimeSDKMessagingPutMessagingStreamingConfigurationsResponse; @class AWSChimeSDKMessagingRedactChannelMessageRequest; @class AWSChimeSDKMessagingRedactChannelMessageResponse; @class AWSChimeSDKMessagingSearchChannelsRequest; @class AWSChimeSDKMessagingSearchChannelsResponse; @class AWSChimeSDKMessagingSearchField; @class AWSChimeSDKMessagingSendChannelMessageRequest; @class AWSChimeSDKMessagingSendChannelMessageResponse; @class AWSChimeSDKMessagingStreamingConfiguration; @class AWSChimeSDKMessagingSubChannelSummary; @class AWSChimeSDKMessagingTag; @class AWSChimeSDKMessagingTagResourceRequest; @class AWSChimeSDKMessagingTarget; @class AWSChimeSDKMessagingUntagResourceRequest; @class AWSChimeSDKMessagingUpdateChannelFlowRequest; @class AWSChimeSDKMessagingUpdateChannelFlowResponse; @class AWSChimeSDKMessagingUpdateChannelMessageRequest; @class AWSChimeSDKMessagingUpdateChannelMessageResponse; @class AWSChimeSDKMessagingUpdateChannelReadMarkerRequest; @class AWSChimeSDKMessagingUpdateChannelReadMarkerResponse; @class AWSChimeSDKMessagingUpdateChannelRequest; @class AWSChimeSDKMessagingUpdateChannelResponse; /**

Summary of the membership details of an AppInstanceUser.

*/ @interface AWSChimeSDKMessagingAppInstanceUserMembershipSummary : AWSModel /**

The time at which an AppInstanceUser last marked a channel as read.

*/ @property (nonatomic, strong) NSDate * _Nullable readMarkerTimestamp; /**

The ID of the SubChannel that the AppInstanceUser is a member of.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; /**

The type of ChannelMembership.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMembershipType types; @end /** */ @interface AWSChimeSDKMessagingAssociateChannelFlowRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; /**

The AppInstanceUserArn of the user making the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /**

The membership information, including member ARNs, the channel ARN, and membership types.

*/ @interface AWSChimeSDKMessagingBatchChannelMemberships : AWSModel /**

The ARN of the channel to which you're adding members.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The identifier of the member who invited another member.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable invitedBy; /**

The users successfully added to the request.

*/ @property (nonatomic, strong) NSArray * _Nullable members; /**

The ID of the SubChannel.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; /**

The membership types set for the channel members.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMembershipType types; @end /**

A list of failed member ARNs, error codes, and error messages.

*/ @interface AWSChimeSDKMessagingBatchCreateChannelMembershipError : AWSModel /**

The error code.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingErrorCode errorCode; /**

The error message.

*/ @property (nonatomic, strong) NSString * _Nullable errorMessage; /**

The AppInstanceUserArn of the member that the service couldn't add.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; @end /** */ @interface AWSChimeSDKMessagingBatchCreateChannelMembershipRequest : AWSRequest /**

The ARN of the channel to which you're adding users or bots.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The ARNs of the members you want to add to the channel. Only AppInstanceUsers and AppInstanceBots can be added as a channel member.

*/ @property (nonatomic, strong) NSArray * _Nullable memberArns; /**

The ID of the SubChannel in the request.

Only required when creating membership in a SubChannel for a moderator in an elastic channel.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; /**

The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMembershipType types; @end /** */ @interface AWSChimeSDKMessagingBatchCreateChannelMembershipResponse : AWSModel /**

The list of channel memberships in the response.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingBatchChannelMemberships * _Nullable batchChannelMemberships; /**

If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.

*/ @property (nonatomic, strong) NSArray * _Nullable errors; @end /**

The details of a channel.

*/ @interface AWSChimeSDKMessagingChannel : AWSModel /**

The ARN of a channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; /**

The AppInstanceUser who created the channel.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable createdBy; /**

The time at which the AppInstanceUser created the channel.

*/ @property (nonatomic, strong) NSDate * _Nullable createdTimestamp; /**

The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingElasticChannelConfiguration * _Nullable elasticChannelConfiguration; /**

Settings that control when a channel expires.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingExpirationSettings * _Nullable expirationSettings; /**

The time at which a member sent the last message in the channel.

*/ @property (nonatomic, strong) NSDate * _Nullable lastMessageTimestamp; /**

The time at which a channel was last updated.

*/ @property (nonatomic, strong) NSDate * _Nullable lastUpdatedTimestamp; /**

The channel's metadata.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

The mode of the channel.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMode mode; /**

The name of a channel.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The channel's privacy setting.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelPrivacy privacy; @end /**

Summary of details of a channel associated with channel flow.

*/ @interface AWSChimeSDKMessagingChannelAssociatedWithFlowSummary : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The channel's metadata.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

The mode of the channel.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMode mode; /**

The name of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The channel's privacy setting.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelPrivacy privacy; @end /**

The details of a channel ban.

*/ @interface AWSChimeSDKMessagingChannelBan : AWSModel /**

The ARN of the channel from which a member is being banned.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The AppInstanceUser who created the ban.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable createdBy; /**

The time at which the ban was created.

*/ @property (nonatomic, strong) NSDate * _Nullable createdTimestamp; /**

The member being banned from the channel.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable member; @end /**

Summary of the details of a ChannelBan.

*/ @interface AWSChimeSDKMessagingChannelBanSummary : AWSModel /**

The member being banned from a channel.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable member; @end /**

The details of a channel flow.

*/ @interface AWSChimeSDKMessagingChannelFlow : AWSModel /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; /**

The time at which the channel flow was created.

*/ @property (nonatomic, strong) NSDate * _Nullable createdTimestamp; /**

The time at which a channel flow was updated.

*/ @property (nonatomic, strong) NSDate * _Nullable lastUpdatedTimestamp; /**

The name of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

Information about the processor Lambda functions.

*/ @property (nonatomic, strong) NSArray * _Nullable processors; @end /** */ @interface AWSChimeSDKMessagingChannelFlowCallbackRequest : AWSRequest /**

The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.

*/ @property (nonatomic, strong) NSString * _Nullable callbackId; /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

Stores information about the processed message.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMessageCallback * _Nullable channelMessage; /**

When a processor determines that a message needs to be DENIED, pass this parameter with a value of true.

*/ @property (nonatomic, strong) NSNumber * _Nullable deleteResource; @end /** */ @interface AWSChimeSDKMessagingChannelFlowCallbackResponse : AWSModel /**

The call back ID passed in the request.

*/ @property (nonatomic, strong) NSString * _Nullable callbackId; /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; @end /**

Summary of details of a channel flow.

*/ @interface AWSChimeSDKMessagingChannelFlowSummary : AWSModel /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; /**

The name of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

Information about the processor Lambda functions.

*/ @property (nonatomic, strong) NSArray * _Nullable processors; @end /**

The details of a channel member.

*/ @interface AWSChimeSDKMessagingChannelMembership : AWSModel /**

The ARN of the member's channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The time at which the channel membership was created.

*/ @property (nonatomic, strong) NSDate * _Nullable createdTimestamp; /**

The identifier of the member who invited another member.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable invitedBy; /**

The time at which a channel membership was last updated.

*/ @property (nonatomic, strong) NSDate * _Nullable lastUpdatedTimestamp; /**

The data of the channel member.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable member; /**

The ID of the SubChannel that a user belongs to.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; /**

The membership type set for the channel member.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMembershipType types; @end /**

Summary of the channel membership details of an AppInstanceUser.

*/ @interface AWSChimeSDKMessagingChannelMembershipForAppInstanceUserSummary : AWSModel /**

Returns the channel membership data for an AppInstance.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingAppInstanceUserMembershipSummary * _Nullable appInstanceUserMembershipSummary; /**

Returns the channel data for an AppInstance.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelSummary * _Nullable channelSummary; @end /**

The channel membership preferences for an AppInstanceUser.

*/ @interface AWSChimeSDKMessagingChannelMembershipPreferences : AWSModel /**

The push notification configuration of a message.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingPushNotificationPreferences * _Nullable pushNotifications; @end /**

Summary of the details of a ChannelMembership.

*/ @interface AWSChimeSDKMessagingChannelMembershipSummary : AWSModel /**

A member's summary data.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable member; @end /**

The details of a message in a channel.

*/ @interface AWSChimeSDKMessagingChannelMessage : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSString * _Nullable content; /**

The content type of the channel message. For Amazon Lex V2 bot responses, the content type is application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSString * _Nullable contentType; /**

The time at which the message was created.

*/ @property (nonatomic, strong) NSDate * _Nullable createdTimestamp; /**

The time at which a message was edited.

*/ @property (nonatomic, strong) NSDate * _Nullable lastEditedTimestamp; /**

The time at which a message was updated.

*/ @property (nonatomic, strong) NSDate * _Nullable lastUpdatedTimestamp; /**

The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSDictionary * _Nullable messageAttributes; /**

The ID of a message.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The message metadata.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

The persistence setting for a channel message.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMessagePersistenceType persistence; /**

Hides the content of a message.

*/ @property (nonatomic, strong) NSNumber * _Nullable redacted; /**

The message sender.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable sender; /**

The status of the channel message.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMessageStatusStructure * _Nullable status; /**

The ID of the SubChannel.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; /**

The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.

*/ @property (nonatomic, strong) NSArray * _Nullable target; /**

The message type.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMessageType types; @end /**

Stores information about a callback.

Required parameters: [MessageId] */ @interface AWSChimeSDKMessagingChannelMessageCallback : AWSModel /**

The message content. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSString * _Nullable content; /**

The content type of the call-back message. For Amazon Lex V2 bot responses, the content type is application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSString * _Nullable contentType; /**

The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSDictionary * _Nullable messageAttributes; /**

The message ID.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The message metadata.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

The push notification configuration of the message.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingPushNotificationConfiguration * _Nullable pushNotification; /**

The ID of the SubChannel.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /**

Stores information about a message status.

*/ @interface AWSChimeSDKMessagingChannelMessageStatusStructure : AWSModel /**

Contains more details about the message status.

*/ @property (nonatomic, strong) NSString * _Nullable detail; /**

The message status value.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMessageStatus value; @end /**

Summary of the messages in a Channel.

*/ @interface AWSChimeSDKMessagingChannelMessageSummary : AWSModel /**

The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSString * _Nullable content; /**

The content type of the channel message listed in the summary. For Amazon Lex V2 bot responses, the content type is application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSString * _Nullable contentType; /**

The time at which the message summary was created.

*/ @property (nonatomic, strong) NSDate * _Nullable createdTimestamp; /**

The time at which a message was last edited.

*/ @property (nonatomic, strong) NSDate * _Nullable lastEditedTimestamp; /**

The time at which a message was last updated.

*/ @property (nonatomic, strong) NSDate * _Nullable lastUpdatedTimestamp; /**

The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

*/ @property (nonatomic, strong) NSDictionary * _Nullable messageAttributes; /**

The ID of the message.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The metadata of the message.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

Indicates whether a message was redacted.

*/ @property (nonatomic, strong) NSNumber * _Nullable redacted; /**

The message sender.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable sender; /**

The message status. The status value is SENT for messages sent to a channel without a channel flow. For channels associated with channel flow, the value determines the processing stage.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMessageStatusStructure * _Nullable status; /**

The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.

*/ @property (nonatomic, strong) NSArray * _Nullable target; /**

The type of message.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMessageType types; @end /**

Summary of the details of a moderated channel.

*/ @interface AWSChimeSDKMessagingChannelModeratedByAppInstanceUserSummary : AWSModel /**

Summary of the details of a Channel.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelSummary * _Nullable channelSummary; @end /**

The details of a channel moderator.

*/ @interface AWSChimeSDKMessagingChannelModerator : AWSModel /**

The ARN of the moderator's channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The AppInstanceUser who created the moderator.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable createdBy; /**

The time at which the moderator was created.

*/ @property (nonatomic, strong) NSDate * _Nullable createdTimestamp; /**

The moderator's data.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable moderator; @end /**

Summary of the details of a ChannelModerator.

*/ @interface AWSChimeSDKMessagingChannelModeratorSummary : AWSModel /**

The data for a moderator.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable moderator; @end /**

Summary of the details of a Channel.

*/ @interface AWSChimeSDKMessagingChannelSummary : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The time at which the last persistent message visible to the caller in a channel was sent.

*/ @property (nonatomic, strong) NSDate * _Nullable lastMessageTimestamp; /**

The metadata of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

The mode of the channel.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMode mode; /**

The name of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The privacy setting of the channel.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelPrivacy privacy; @end /** */ @interface AWSChimeSDKMessagingCreateChannelBanRequest : AWSRequest /**

The ARN of the ban request.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The AppInstanceUserArn of the member being banned.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; @end /** */ @interface AWSChimeSDKMessagingCreateChannelBanResponse : AWSModel /**

The ARN of the response to the ban request.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ChannelArn and BannedIdentity of the member in the ban response.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable member; @end /** */ @interface AWSChimeSDKMessagingCreateChannelFlowRequest : AWSRequest /**

The ARN of the channel flow request.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceArn; /**

The client token for the request. An Idempotency token.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The name of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

Information about the processor Lambda functions.

*/ @property (nonatomic, strong) NSArray * _Nullable processors; /**

The tags for the creation request.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /** */ @interface AWSChimeSDKMessagingCreateChannelFlowResponse : AWSModel /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; @end /** */ @interface AWSChimeSDKMessagingCreateChannelMembershipRequest : AWSRequest /**

The ARN of the channel to which you're adding users.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The AppInstanceUserArn of the member you want to add to the channel.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; /**

The ID of the SubChannel in the request.

Only required when creating membership in a SubChannel for a moderator in an elastic channel.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; /**

The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMembershipType types; @end /** */ @interface AWSChimeSDKMessagingCreateChannelMembershipResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN and metadata of the member being added.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable member; /**

The ID of the SubChannel in the response.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingCreateChannelModeratorRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The AppInstanceUserArn of the moderator.

*/ @property (nonatomic, strong) NSString * _Nullable channelModeratorArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /** */ @interface AWSChimeSDKMessagingCreateChannelModeratorResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARNs of the channel and the moderator.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable channelModerator; @end /** */ @interface AWSChimeSDKMessagingCreateChannelRequest : AWSRequest /**

The ARN of the channel request.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceArn; /**

The ID of the channel in the request.

*/ @property (nonatomic, strong) NSString * _Nullable channelId; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The client token for the request. An Idempotency token.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million users, excluding moderators.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingElasticChannelConfiguration * _Nullable elasticChannelConfiguration; /**

Settings that control the interval after which the channel is automatically deleted.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingExpirationSettings * _Nullable expirationSettings; /**

The ARNs of the channel members in the request.

*/ @property (nonatomic, strong) NSArray * _Nullable memberArns; /**

The metadata of the creation request. Limited to 1KB and UTF-8.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMode mode; /**

The ARNs of the channel moderators in the request.

*/ @property (nonatomic, strong) NSArray * _Nullable moderatorArns; /**

The name of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelPrivacy privacy; /**

The tags for the creation request.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /** */ @interface AWSChimeSDKMessagingCreateChannelResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; @end /** */ @interface AWSChimeSDKMessagingDeleteChannelBanRequest : AWSRequest /**

The ARN of the channel from which the AppInstanceUser was banned.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The ARN of the AppInstanceUser that you want to reinstate.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; @end /** */ @interface AWSChimeSDKMessagingDeleteChannelFlowRequest : AWSRequest /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; @end /** */ @interface AWSChimeSDKMessagingDeleteChannelMembershipRequest : AWSRequest /**

The ARN of the channel from which you want to remove the user.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The AppInstanceUserArn of the member that you're removing from the channel.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; /**

The ID of the SubChannel in the request.

Only for use by moderators.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingDeleteChannelMessageRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The ID of the message being deleted.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The ID of the SubChannel in the request.

Only required when deleting messages in a SubChannel that the user belongs to.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingDeleteChannelModeratorRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The AppInstanceUserArn of the moderator being deleted.

*/ @property (nonatomic, strong) NSString * _Nullable channelModeratorArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /** */ @interface AWSChimeSDKMessagingDeleteChannelRequest : AWSRequest /**

The ARN of the channel being deleted.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /** */ @interface AWSChimeSDKMessagingDeleteMessagingStreamingConfigurationsRequest : AWSRequest /**

The ARN of the streaming configurations being deleted.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceArn; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelBanRequest : AWSRequest /**

The ARN of the channel from which the user is banned.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The AppInstanceUserArn of the member being banned.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelBanResponse : AWSModel /**

The details of the ban.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelBan * _Nullable channelBan; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelFlowRequest : AWSRequest /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelFlowResponse : AWSModel /**

The channel flow details.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelFlow * _Nullable channelFlow; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelMembershipForAppInstanceUserRequest : AWSRequest /**

The ARN of the user or bot in a channel.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceUserArn; /**

The ARN of the channel to which the user belongs.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelMembershipForAppInstanceUserResponse : AWSModel /**

The channel to which a user belongs.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMembershipForAppInstanceUserSummary * _Nullable channelMembership; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelMembershipRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The AppInstanceUserArn of the member.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; /**

The ID of the SubChannel in the request. The response contains an ElasticChannelConfiguration object.

Only required to get a user’s SubChannel membership details.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelMembershipResponse : AWSModel /**

The details of the membership.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMembership * _Nullable channelMembership; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelModeratedByAppInstanceUserRequest : AWSRequest /**

The ARN of the user or bot in the moderated channel.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceUserArn; /**

The ARN of the moderated channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelModeratedByAppInstanceUserResponse : AWSModel /**

The moderated channel.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelModeratedByAppInstanceUserSummary * _Nullable channel; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelModeratorRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The AppInstanceUserArn of the channel moderator.

*/ @property (nonatomic, strong) NSString * _Nullable channelModeratorArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelModeratorResponse : AWSModel /**

The details of the channel moderator.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelModerator * _Nullable channelModerator; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /** */ @interface AWSChimeSDKMessagingDescribeChannelResponse : AWSModel /**

The channel details.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannel * _Nullable channel; @end /** */ @interface AWSChimeSDKMessagingDisassociateChannelFlowRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; /**

The AppInstanceUserArn of the user making the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /**

The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.

Required parameters: [MaximumSubChannels, TargetMembershipsPerSubChannel, MinimumMembershipPercentage] */ @interface AWSChimeSDKMessagingElasticChannelConfiguration : AWSModel /**

The maximum number of SubChannels that you want to allow in the elastic channel.

*/ @property (nonatomic, strong) NSNumber * _Nullable maximumSubChannels; /**

The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.

*/ @property (nonatomic, strong) NSNumber * _Nullable minimumMembershipPercentage; /**

The maximum number of members allowed in a SubChannel.

*/ @property (nonatomic, strong) NSNumber * _Nullable targetMembershipsPerSubChannel; @end /**

Settings that control the interval after which a channel is deleted.

Required parameters: [ExpirationDays, ExpirationCriterion] */ @interface AWSChimeSDKMessagingExpirationSettings : AWSModel /**

The conditions that must be met for a channel to expire.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingExpirationCriterion expirationCriterion; /**

The period in days after which the system automatically deletes a channel.

*/ @property (nonatomic, strong) NSNumber * _Nullable expirationDays; @end /** */ @interface AWSChimeSDKMessagingGetChannelMembershipPreferencesRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The AppInstanceUserArn of the member retrieving the preferences.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; @end /** */ @interface AWSChimeSDKMessagingGetChannelMembershipPreferencesResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The details of a user.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable member; /**

The channel membership preferences for an AppInstanceUser .

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMembershipPreferences * _Nullable preferences; @end /** */ @interface AWSChimeSDKMessagingGetChannelMessageRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The ID of the message.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The ID of the SubChannel in the request.

Only required when getting messages in a SubChannel that the user belongs to.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingGetChannelMessageResponse : AWSModel /**

The details of and content in the message.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMessage * _Nullable channelMessage; @end /** */ @interface AWSChimeSDKMessagingGetChannelMessageStatusRequest : AWSRequest /**

The ARN of the channel

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The AppInstanceUserArn of the user making the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The ID of the message.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The ID of the SubChannel in the request.

Only required when getting message status in a SubChannel that the user belongs to.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingGetChannelMessageStatusResponse : AWSModel /**

The message status and details.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMessageStatusStructure * _Nullable status; @end /** */ @interface AWSChimeSDKMessagingGetMessagingSessionEndpointRequest : AWSRequest @end /** */ @interface AWSChimeSDKMessagingGetMessagingSessionEndpointResponse : AWSModel /**

The endpoint returned in the response.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingMessagingSessionEndpoint * _Nullable endpoint; @end /** */ @interface AWSChimeSDKMessagingGetMessagingStreamingConfigurationsRequest : AWSRequest /**

The ARN of the streaming configurations.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceArn; @end /** */ @interface AWSChimeSDKMessagingGetMessagingStreamingConfigurationsResponse : AWSModel /**

The streaming settings.

*/ @property (nonatomic, strong) NSArray * _Nullable streamingConfigurations; @end /**

The details of a user or bot.

*/ @interface AWSChimeSDKMessagingIdentity : AWSModel /**

The ARN in an Identity.

*/ @property (nonatomic, strong) NSString * _Nullable arn; /**

The name in an Identity.

*/ @property (nonatomic, strong) NSString * _Nullable name; @end /**

Stores metadata about a Lambda processor.

Required parameters: [ResourceArn, InvocationType] */ @interface AWSChimeSDKMessagingLambdaConfiguration : AWSModel /**

Controls how the Lambda function is invoked.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingInvocationType invocationType; /**

The ARN of the Lambda message processing function.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; @end /** */ @interface AWSChimeSDKMessagingListChannelBansRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The maximum number of bans that you want returned.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token passed by previous API calls until all requested bans are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelBansResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The information for each requested ban.

*/ @property (nonatomic, strong) NSArray * _Nullable channelBans; /**

The token passed by previous API calls until all requested bans are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelFlowsRequest : AWSRequest /**

The ARN of the app instance.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceArn; /**

The maximum number of channel flows that you want to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token passed by previous API calls until all requested channel flows are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelFlowsResponse : AWSModel /**

The information about each channel flow.

*/ @property (nonatomic, strong) NSArray * _Nullable channelFlows; /**

The token passed by previous API calls until all requested channels are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelMembershipsForAppInstanceUserRequest : AWSRequest /**

The ARN of the user or bot.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceUserArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The maximum number of users that you want returned.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token returned from previous API requests until the number of channel memberships is reached.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelMembershipsForAppInstanceUserResponse : AWSModel /**

The information for the requested channel memberships.

*/ @property (nonatomic, strong) NSArray * _Nullable channelMemberships; /**

The token passed by previous API calls until all requested users are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelMembershipsRequest : AWSRequest /**

The maximum number of channel memberships that you want returned.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The maximum number of channel memberships that you want returned.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token passed by previous API calls until all requested channel memberships are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The ID of the SubChannel in the request.

Only required when listing a user's memberships in a particular sub-channel of an elastic channel.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; /**

The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMembershipType types; @end /** */ @interface AWSChimeSDKMessagingListChannelMembershipsResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The information for the requested channel memberships.

*/ @property (nonatomic, strong) NSArray * _Nullable channelMemberships; /**

The token passed by previous API calls until all requested channel memberships are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelMessagesRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The maximum number of messages that you want returned.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token passed by previous API calls until all requested messages are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The final or ending time stamp for your requested messages.

*/ @property (nonatomic, strong) NSDate * _Nullable notAfter; /**

The initial or starting time stamp for your requested messages.

*/ @property (nonatomic, strong) NSDate * _Nullable notBefore; /**

The order in which you want messages sorted. Default is Descending, based on time created.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingSortOrder sortOrder; /**

The ID of the SubChannel in the request.

Only required when listing the messages in a SubChannel that the user belongs to.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingListChannelMessagesResponse : AWSModel /**

The ARN of the channel containing the requested messages.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The information about, and content of, each requested message.

*/ @property (nonatomic, strong) NSArray * _Nullable channelMessages; /**

The token passed by previous API calls until all requested messages are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The ID of the SubChannel in the response.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingListChannelModeratorsRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The maximum number of moderators that you want returned.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token passed by previous API calls until all requested moderators are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelModeratorsResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The information about and names of each moderator.

*/ @property (nonatomic, strong) NSArray * _Nullable channelModerators; /**

The token passed by previous API calls until all requested moderators are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelsAssociatedWithChannelFlowRequest : AWSRequest /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; /**

The maximum number of channels that you want to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token passed by previous API calls until all requested channels are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelsAssociatedWithChannelFlowResponse : AWSModel /**

The information about each channel.

*/ @property (nonatomic, strong) NSArray * _Nullable channels; /**

The token passed by previous API calls until all requested channels are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelsModeratedByAppInstanceUserRequest : AWSRequest /**

The ARN of the user or bot in the moderated channel.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceUserArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The maximum number of channels in the request.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token returned from previous API requests until the number of channels moderated by the user is reached.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelsModeratedByAppInstanceUserResponse : AWSModel /**

The moderated channels in the request.

*/ @property (nonatomic, strong) NSArray * _Nullable channels; /**

The token returned from previous API requests until the number of channels moderated by the user is reached.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListChannelsRequest : AWSRequest /**

The ARN of the AppInstance.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The maximum number of channels that you want to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token passed by previous API calls until all requested channels are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelPrivacy privacy; @end /** */ @interface AWSChimeSDKMessagingListChannelsResponse : AWSModel /**

The information about each channel.

*/ @property (nonatomic, strong) NSArray * _Nullable channels; /**

The token returned from previous API requests until the number of channels is reached.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListSubChannelsRequest : AWSRequest /**

The ARN of elastic channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The AppInstanceUserArn of the user making the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The maximum number of sub-channels that you want to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token passed by previous API calls until all requested sub-channels are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingListSubChannelsResponse : AWSModel /**

The ARN of elastic channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The token passed by previous API calls until all requested sub-channels are returned.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The information about each sub-channel.

*/ @property (nonatomic, strong) NSArray * _Nullable subChannels; @end /** */ @interface AWSChimeSDKMessagingListTagsForResourceRequest : AWSRequest /**

The ARN of the resource.

*/ @property (nonatomic, strong) NSString * _Nullable resourceARN; @end /** */ @interface AWSChimeSDKMessagingListTagsForResourceResponse : AWSModel /**

The tag key-value pairs.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /**

A list of message attribute values.

*/ @interface AWSChimeSDKMessagingMessageAttributeValue : AWSModel /**

The strings in a message attribute value.

*/ @property (nonatomic, strong) NSArray * _Nullable stringValues; @end /**

The websocket endpoint used to connect to Amazon Chime SDK messaging.

*/ @interface AWSChimeSDKMessagingMessagingSessionEndpoint : AWSModel /**

The endpoint to which you establish a websocket connection.

*/ @property (nonatomic, strong) NSString * _Nullable url; @end /**

The information about a processor in a channel flow.

Required parameters: [Name, Configuration, ExecutionOrder, FallbackAction] */ @interface AWSChimeSDKMessagingProcessor : AWSModel /**

The information about the type of processor and its identifier.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingProcessorConfiguration * _Nullable configuration; /**

The sequence in which processors run. If you have multiple processors in a channel flow, message processing goes through each processor in the sequence. The value determines the sequence. At this point, we support only 1 processor within a flow.

*/ @property (nonatomic, strong) NSNumber * _Nullable executionOrder; /**

Determines whether to continue with message processing or stop it in cases where communication with a processor fails. If a processor has a fallback action of ABORT and communication with it fails, the processor sets the message status to FAILED and does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action of CONTINUE and communication with the processor fails, then the message is considered processed and sent to recipients of the channel.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingFallbackAction fallbackAction; /**

The name of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable name; @end /**

A processor's metadata.

Required parameters: [Lambda] */ @interface AWSChimeSDKMessagingProcessorConfiguration : AWSModel /**

Indicates that the processor is of type Lambda.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingLambdaConfiguration * _Nullable lambda; @end /**

The push notification configuration of the message.

*/ @interface AWSChimeSDKMessagingPushNotificationConfiguration : AWSModel /**

The body of the push notification.

*/ @property (nonatomic, strong) NSString * _Nullable body; /**

The title of the push notification.

*/ @property (nonatomic, strong) NSString * _Nullable title; /**

Enum value that indicates the type of the push notification for a message. DEFAULT: Normal mobile push notification. VOIP: VOIP mobile push notification.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingPushNotificationType types; @end /**

The channel membership preferences for push notification.

Required parameters: [AllowNotifications] */ @interface AWSChimeSDKMessagingPushNotificationPreferences : AWSModel /**

Enum value that indicates which push notifications to send to the requested member of a channel. ALL sends all push notifications, NONE sends no push notifications, FILTERED sends only filtered push notifications.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingAllowNotifications allowNotifications; /**

The simple JSON object used to send a subset of a push notification to the requested member.

*/ @property (nonatomic, strong) NSString * _Nullable filterRule; @end /** */ @interface AWSChimeSDKMessagingPutChannelExpirationSettingsRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

Settings that control the interval after which a channel is deleted.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingExpirationSettings * _Nullable expirationSettings; @end /** */ @interface AWSChimeSDKMessagingPutChannelExpirationSettingsResponse : AWSModel /**

The channel ARN.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

Settings that control the interval after which a channel is deleted.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingExpirationSettings * _Nullable expirationSettings; @end /** */ @interface AWSChimeSDKMessagingPutChannelMembershipPreferencesRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The ARN of the member setting the preferences.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; /**

The channel membership preferences of an AppInstanceUser .

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMembershipPreferences * _Nullable preferences; @end /** */ @interface AWSChimeSDKMessagingPutChannelMembershipPreferencesResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The details of a user.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingIdentity * _Nullable member; /**

The ARN and metadata of the member being added.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMembershipPreferences * _Nullable preferences; @end /** */ @interface AWSChimeSDKMessagingPutMessagingStreamingConfigurationsRequest : AWSRequest /**

The ARN of the streaming configuration.

*/ @property (nonatomic, strong) NSString * _Nullable appInstanceArn; /**

The streaming configurations.

*/ @property (nonatomic, strong) NSArray * _Nullable streamingConfigurations; @end /** */ @interface AWSChimeSDKMessagingPutMessagingStreamingConfigurationsResponse : AWSModel /**

The requested streaming configurations.

*/ @property (nonatomic, strong) NSArray * _Nullable streamingConfigurations; @end /** */ @interface AWSChimeSDKMessagingRedactChannelMessageRequest : AWSRequest /**

The ARN of the channel containing the messages that you want to redact.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The ID of the message being redacted.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The ID of the SubChannel in the request.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingRedactChannelMessageResponse : AWSModel /**

The ARN of the channel containing the messages that you want to redact.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ID of the message being redacted.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The ID of the SubChannel in the response.

Only required when redacting messages in a SubChannel that the user belongs to.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingSearchChannelsRequest : AWSRequest /**

The AppInstanceUserArn of the user making the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

A list of the Field objects in the channel being searched.

*/ @property (nonatomic, strong) NSArray * _Nullable fields; /**

The maximum number of channels that you want returned.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

The token returned from previous API requests until the number of channels is reached.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSChimeSDKMessagingSearchChannelsResponse : AWSModel /**

A list of the channels in the request.

*/ @property (nonatomic, strong) NSArray * _Nullable channels; /**

The token returned from previous API responses until the number of channels is reached.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /**

A Field of the channel that you want to search.

Required parameters: [Key, Values, Operator] */ @interface AWSChimeSDKMessagingSearchField : AWSModel /**

An enum value that indicates the key to search the channel on. MEMBERS allows you to search channels based on memberships. You can use it with the EQUALS operator to get channels whose memberships are equal to the specified values, and with the INCLUDES operator to get channels whose memberships include the specified values.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingSearchFieldKey key; /**

The operator used to compare field values, currently EQUALS or INCLUDES. Use the EQUALS operator to find channels whose memberships equal the specified values. Use the INCLUDES operator to find channels whose memberships include the specified values.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingSearchFieldOperator operator; /**

The values that you want to search for, a list of strings. The values must be AppInstanceUserArns specified as a list of strings.

This operation isn't supported for AppInstanceUsers with large number of memberships.

*/ @property (nonatomic, strong) NSArray * _Nullable values; @end /** */ @interface AWSChimeSDKMessagingSendChannelMessageRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The Idempotency token for each client request.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The content of the channel message.

*/ @property (nonatomic, strong) NSString * _Nullable content; /**

The content type of the channel message.

*/ @property (nonatomic, strong) NSString * _Nullable contentType; /**

The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.

*/ @property (nonatomic, strong) NSDictionary * _Nullable messageAttributes; /**

The optional metadata for each message.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

Boolean that controls whether the message is persisted on the back end. Required.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMessagePersistenceType persistence; /**

The push notification configuration of the message.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingPushNotificationConfiguration * _Nullable pushNotification; /**

The ID of the SubChannel in the request.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; /**

The target of a message. Must be a member of the channel, such as another user, a bot, or the sender. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.

*/ @property (nonatomic, strong) NSArray * _Nullable target; /**

The type of message, STANDARD or CONTROL.

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.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMessageType types; @end /** */ @interface AWSChimeSDKMessagingSendChannelMessageResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ID string assigned to each message.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The status of the channel message.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMessageStatusStructure * _Nullable status; /**

The ID of the SubChannel in the response.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /**

The configuration for connecting a messaging stream to Amazon Kinesis.

Required parameters: [DataType, ResourceArn] */ @interface AWSChimeSDKMessagingStreamingConfiguration : AWSModel /**

The data type of the configuration.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingMessagingDataType dataType; /**

The ARN of the resource in the configuration.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; @end /**

Summary of the sub-channels associated with the elastic channel.

*/ @interface AWSChimeSDKMessagingSubChannelSummary : AWSModel /**

The number of members in a SubChannel.

*/ @property (nonatomic, strong) NSNumber * _Nullable membershipCount; /**

The unique ID of a SubChannel.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /**

A tag object containing a key-value pair.

Required parameters: [Key, Value] */ @interface AWSChimeSDKMessagingTag : AWSModel /**

The key in a tag.

*/ @property (nonatomic, strong) NSString * _Nullable key; /**

The value in a tag.

*/ @property (nonatomic, strong) NSString * _Nullable value; @end /** */ @interface AWSChimeSDKMessagingTagResourceRequest : AWSRequest /**

The resource ARN.

*/ @property (nonatomic, strong) NSString * _Nullable resourceARN; /**

The tag key-value pairs.

*/ @property (nonatomic, strong) NSArray * _Nullable tags; @end /**

The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.

*/ @interface AWSChimeSDKMessagingTarget : AWSModel /**

The ARN of the target channel member.

*/ @property (nonatomic, strong) NSString * _Nullable memberArn; @end /** */ @interface AWSChimeSDKMessagingUntagResourceRequest : AWSRequest /**

The resource ARN.

*/ @property (nonatomic, strong) NSString * _Nullable resourceARN; /**

The tag keys.

*/ @property (nonatomic, strong) NSArray * _Nullable tagKeys; @end /** */ @interface AWSChimeSDKMessagingUpdateChannelFlowRequest : AWSRequest /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; /**

The name of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable name; /**

Information about the processor Lambda functions

*/ @property (nonatomic, strong) NSArray * _Nullable processors; @end /** */ @interface AWSChimeSDKMessagingUpdateChannelFlowResponse : AWSModel /**

The ARN of the channel flow.

*/ @property (nonatomic, strong) NSString * _Nullable channelFlowArn; @end /** */ @interface AWSChimeSDKMessagingUpdateChannelMessageRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The content of the channel message.

*/ @property (nonatomic, strong) NSString * _Nullable content; /**

The content type of the channel message.

*/ @property (nonatomic, strong) NSString * _Nullable contentType; /**

The ID string of the message being updated.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The metadata of the message being updated.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

The ID of the SubChannel in the request.

Only required when updating messages in a SubChannel that the user belongs to.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingUpdateChannelMessageResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ID string of the message being updated.

*/ @property (nonatomic, strong) NSString * _Nullable messageId; /**

The status of the message update.

*/ @property (nonatomic, strong) AWSChimeSDKMessagingChannelMessageStatusStructure * _Nullable status; /**

The ID of the SubChannel in the response.

*/ @property (nonatomic, strong) NSString * _Nullable subChannelId; @end /** */ @interface AWSChimeSDKMessagingUpdateChannelReadMarkerRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; @end /** */ @interface AWSChimeSDKMessagingUpdateChannelReadMarkerResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; @end /** */ @interface AWSChimeSDKMessagingUpdateChannelRequest : AWSRequest /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; /**

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

*/ @property (nonatomic, strong) NSString * _Nullable chimeBearer; /**

The metadata for the update request.

*/ @property (nonatomic, strong) NSString * _Nullable metadata; /**

The mode of the update request.

*/ @property (nonatomic, assign) AWSChimeSDKMessagingChannelMode mode; /**

The name of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable name; @end /** */ @interface AWSChimeSDKMessagingUpdateChannelResponse : AWSModel /**

The ARN of the channel.

*/ @property (nonatomic, strong) NSString * _Nullable channelArn; @end NS_ASSUME_NONNULL_END