AWSConnectParticipant
Objective-C
@interface AWSConnectParticipantSwift
class AWSConnectParticipantAmazon Connect is an easy-to-use omnichannel cloud contact center service that enables companies of any size to deliver superior customer service at a lower cost. Amazon Connect communications capabilities make it easy for companies to deliver personalized interactions across communication channels, including chat.
Use the Amazon Connect Participant Service to manage participants (for example, agents, customers, and managers listening in), and to send messages and events within a chat contact. The APIs in the service enable the following: sending chat messages, attachment sharing, managing a participant’s connection state and message events, and retrieving chat transcripts.
- 
                  
                  The service configuration used to instantiate this service client. Warning Once the client is instantiated, do not modify the configuration object. It may cause unspecified behaviors.DeclarationObjective-C @property (nonatomic, strong, readonly) AWSServiceConfiguration *configuration
- 
                  
                  Returns the singleton service client. If the singleton object does not exist, the SDK instantiates the default service client with defaultServiceConfigurationfrom[AWSServiceManager defaultServiceManager]. The reference to this object is maintained by the SDK, and you do not need to retain it manually.For example, set the default service configuration in - application:didFinishLaunchingWithOptions:Swift func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USEast1, credentialsProvider: credentialProvider) AWSServiceManager.default().defaultServiceConfiguration = configuration return true} Objective-C - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:credentialsProvider]; [AWSServiceManager defaultServiceManager].defaultServiceConfiguration = configuration; return YES; }Then call the following to get the default service client: Swift let ConnectParticipant = AWSConnectParticipant.default()Objective-C AWSConnectParticipant *ConnectParticipant = [AWSConnectParticipant defaultConnectParticipant];DeclarationObjective-C + (nonnull instancetype)defaultConnectParticipant;Swift class func `default`() -> SelfReturn ValueThe default service client. 
- 
                  
                  Creates a service client with the given service configuration and registers it for the key. For example, set the default service configuration in - application:didFinishLaunchingWithOptions:Swift func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider) AWSConnectParticipant.register(with: configuration!, forKey: "USWest2ConnectParticipant") return true} Objective-C - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2 credentialsProvider:credentialsProvider]; [AWSConnectParticipant registerConnectParticipantWithConfiguration:configuration forKey:@"USWest2ConnectParticipant"]; return YES; }Then call the following to get the service client: Swift let ConnectParticipant = AWSConnectParticipant(forKey: "USWest2ConnectParticipant")Objective-C AWSConnectParticipant *ConnectParticipant = [AWSConnectParticipant ConnectParticipantForKey:@"USWest2ConnectParticipant"];Warning After calling this method, do not modify the configuration object. It may cause unspecified behaviors. DeclarationObjective-C + (void)registerConnectParticipantWithConfiguration:(id)configuration forKey:(nonnull NSString *)key;Swift class func register(withConfiguration configuration: Any!, forKey key: String)ParametersconfigurationA service configuration object. keyA string to identify the service client. 
- 
                  
                  Retrieves the service client associated with the key. You need to call + registerConnectParticipantWithConfiguration:forKey:before invoking this method.For example, set the default service configuration in - application:didFinishLaunchingWithOptions:Swift func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider) AWSConnectParticipant.register(with: configuration!, forKey: "USWest2ConnectParticipant") return true} Objective-C - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2 credentialsProvider:credentialsProvider]; [AWSConnectParticipant registerConnectParticipantWithConfiguration:configuration forKey:@"USWest2ConnectParticipant"]; return YES; }Then call the following to get the service client: Swift let ConnectParticipant = AWSConnectParticipant(forKey: "USWest2ConnectParticipant")Objective-C AWSConnectParticipant *ConnectParticipant = [AWSConnectParticipant ConnectParticipantForKey:@"USWest2ConnectParticipant"];DeclarationObjective-C + (nonnull instancetype)ConnectParticipantForKey:(nonnull NSString *)key;Swift convenience init(forKey key: String)ParameterskeyA string to identify the service client. Return ValueAn instance of the service client. 
- 
                  
                  Removes the service client associated with the key and release it. Warning Before calling this method, make sure no method is running on this client. DeclarationObjective-C + (void)removeConnectParticipantForKey:(nonnull NSString *)key;Swift class func remove(forKey key: String)ParameterskeyA string to identify the service client. 
- 
                  
                  Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API. A conflict exception is thrown when an attachment with that identifier is already being uploaded. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantCompleteAttachmentUploadRequest See AWSConnectParticipantCompleteAttachmentUploadResponse DeclarationObjective-C - (id)completeAttachmentUpload: (nonnull AWSConnectParticipantCompleteAttachmentUploadRequest *)request;Swift func completeAttachmentUpload(_ request: AWSConnectParticipantCompleteAttachmentUploadRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the CompleteAttachmentUpload service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantCompleteAttachmentUploadResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation,AWSConnectParticipantErrorServiceQuotaExceeded,AWSConnectParticipantErrorConflict.
- 
                  
                  Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API. A conflict exception is thrown when an attachment with that identifier is already being uploaded. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantCompleteAttachmentUploadRequest See AWSConnectParticipantCompleteAttachmentUploadResponse DeclarationObjective-C - (void)completeAttachmentUpload: (nonnull AWSConnectParticipantCompleteAttachmentUploadRequest *) request completionHandler: (void (^_Nullable)( AWSConnectParticipantCompleteAttachmentUploadResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func completeAttachmentUpload(_ request: AWSConnectParticipantCompleteAttachmentUploadRequest) async throws -> AWSConnectParticipantCompleteAttachmentUploadResponseParametersrequestA container for the necessary parameters to execute the CompleteAttachmentUpload service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation,AWSConnectParticipantErrorServiceQuotaExceeded,AWSConnectParticipantErrorConflict.
- 
                  
                  Creates the participant’s connection. ParticipantTokenis used for invoking this API instead ofConnectionToken.The participant token is valid for the lifetime of the participant – until they are part of a contact. The response URL for WEBSOCKETType has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.For chat, you need to publish the following on the established websocket connection: {"topic":"aws/subscribe","content":{"topics":["aws/chat"]}}Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before. Message streaming support: This API can also be used together with the StartContactStreaming API to create a participant connection for chat contacts that are not using a websocket. For more information about message streaming, Enable real-time chat message streaming in the Amazon Connect Administrator Guide. Feature specifications: For information about feature specifications, such as the allowed number of open websocket connections per participant, see Feature specifications in the Amazon Connect Administrator Guide. The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantCreateParticipantConnectionRequest See AWSConnectParticipantCreateParticipantConnectionResponse DeclarationObjective-C - (id)createParticipantConnection: (nonnull AWSConnectParticipantCreateParticipantConnectionRequest *)request;Swift func createParticipantConnection(_ request: AWSConnectParticipantCreateParticipantConnectionRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the CreateParticipantConnection service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantCreateParticipantConnectionResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Creates the participant’s connection. ParticipantTokenis used for invoking this API instead ofConnectionToken.The participant token is valid for the lifetime of the participant – until they are part of a contact. The response URL for WEBSOCKETType has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.For chat, you need to publish the following on the established websocket connection: {"topic":"aws/subscribe","content":{"topics":["aws/chat"]}}Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before. Message streaming support: This API can also be used together with the StartContactStreaming API to create a participant connection for chat contacts that are not using a websocket. For more information about message streaming, Enable real-time chat message streaming in the Amazon Connect Administrator Guide. Feature specifications: For information about feature specifications, such as the allowed number of open websocket connections per participant, see Feature specifications in the Amazon Connect Administrator Guide. The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantCreateParticipantConnectionRequest See AWSConnectParticipantCreateParticipantConnectionResponse DeclarationObjective-C - (void) createParticipantConnection: (nonnull AWSConnectParticipantCreateParticipantConnectionRequest *) request completionHandler: (void (^_Nullable)( AWSConnectParticipantCreateParticipantConnectionResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func createParticipantConnection(_ request: AWSConnectParticipantCreateParticipantConnectionRequest) async throws -> AWSConnectParticipantCreateParticipantConnectionResponseParametersrequestA container for the necessary parameters to execute the CreateParticipantConnection service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Retrieves the view for the specified view token. See AWSConnectParticipantDescribeViewRequest See AWSConnectParticipantDescribeViewResponse DeclarationObjective-C - (id)describeView:(nonnull AWSConnectParticipantDescribeViewRequest *)request;Swift func describeView(_ request: AWSConnectParticipantDescribeViewRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the DescribeView service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantDescribeViewResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorResourceNotFound,AWSConnectParticipantErrorValidation.
- 
                  
                  Retrieves the view for the specified view token. See AWSConnectParticipantDescribeViewRequest See AWSConnectParticipantDescribeViewResponse DeclarationObjective-C - (void)describeView:(nonnull AWSConnectParticipantDescribeViewRequest *)request completionHandler: (void (^_Nullable)(AWSConnectParticipantDescribeViewResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func describeView(_ request: AWSConnectParticipantDescribeViewRequest) async throws -> AWSConnectParticipantDescribeViewResponseParametersrequestA container for the necessary parameters to execute the DescribeView service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorResourceNotFound,AWSConnectParticipantErrorValidation.
- 
                  
                  Disconnects a participant. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantDisconnectParticipantRequest See AWSConnectParticipantDisconnectParticipantResponse DeclarationObjective-C - (id)disconnectParticipant: (nonnull AWSConnectParticipantDisconnectParticipantRequest *)request;Swift func disconnectParticipant(_ request: AWSConnectParticipantDisconnectParticipantRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the DisconnectParticipant service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantDisconnectParticipantResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Disconnects a participant. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantDisconnectParticipantRequest See AWSConnectParticipantDisconnectParticipantResponse DeclarationObjective-C - (void) disconnectParticipant: (nonnull AWSConnectParticipantDisconnectParticipantRequest *)request completionHandler: (void (^_Nullable)( AWSConnectParticipantDisconnectParticipantResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func disconnectParticipant(_ request: AWSConnectParticipantDisconnectParticipantRequest) async throws -> AWSConnectParticipantDisconnectParticipantResponseParametersrequestA container for the necessary parameters to execute the DisconnectParticipant service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantGetAttachmentRequest See AWSConnectParticipantGetAttachmentResponse DeclarationObjective-C - (id)getAttachment: (nonnull AWSConnectParticipantGetAttachmentRequest *)request;Swift func getAttachment(_ request: AWSConnectParticipantGetAttachmentRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the GetAttachment service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantGetAttachmentResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantGetAttachmentRequest See AWSConnectParticipantGetAttachmentResponse DeclarationObjective-C - (void)getAttachment: (nonnull AWSConnectParticipantGetAttachmentRequest *)request completionHandler:(void (^_Nullable)( AWSConnectParticipantGetAttachmentResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func attachment(_ request: AWSConnectParticipantGetAttachmentRequest) async throws -> AWSConnectParticipantGetAttachmentResponseParametersrequestA container for the necessary parameters to execute the GetAttachment service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Retrieves a transcript of the session, including details about any attachments. For information about accessing past chat contact transcripts for a persistent chat, see Enable persistent chat. If you have a process that consumes events in the transcript of an chat that has ended, note that chat transcripts contain the following event content types if the event has occurred during the chat session: - application/vnd.amazonaws.connect.event.participant.left
- application/vnd.amazonaws.connect.event.participant.joined
- application/vnd.amazonaws.connect.event.chat.ended
- application/vnd.amazonaws.connect.event.transfer.succeeded
- application/vnd.amazonaws.connect.event.transfer.failed
 ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantGetTranscriptRequest See AWSConnectParticipantGetTranscriptResponse DeclarationObjective-C - (id)getTranscript: (nonnull AWSConnectParticipantGetTranscriptRequest *)request;Swift func getTranscript(_ request: AWSConnectParticipantGetTranscriptRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the GetTranscript service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantGetTranscriptResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Retrieves a transcript of the session, including details about any attachments. For information about accessing past chat contact transcripts for a persistent chat, see Enable persistent chat. If you have a process that consumes events in the transcript of an chat that has ended, note that chat transcripts contain the following event content types if the event has occurred during the chat session: - application/vnd.amazonaws.connect.event.participant.left
- application/vnd.amazonaws.connect.event.participant.joined
- application/vnd.amazonaws.connect.event.chat.ended
- application/vnd.amazonaws.connect.event.transfer.succeeded
- application/vnd.amazonaws.connect.event.transfer.failed
 ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantGetTranscriptRequest See AWSConnectParticipantGetTranscriptResponse DeclarationObjective-C - (void)getTranscript: (nonnull AWSConnectParticipantGetTranscriptRequest *)request completionHandler:(void (^_Nullable)( AWSConnectParticipantGetTranscriptResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func transcript(_ request: AWSConnectParticipantGetTranscriptRequest) async throws -> AWSConnectParticipantGetTranscriptResponseParametersrequestA container for the necessary parameters to execute the GetTranscript service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  The application/vnd.amazonaws.connect.event.connection.acknowledgedContentType will no longer be supported starting December 31, 2024. This event has been migrated to the CreateParticipantConnection API using theConnectParticipantfield.Sends an event. Message receipts are not supported when there are more than two active participants in the chat. Using the SendEvent API for message receipts when a supervisor is barged-in will result in a conflict exception. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantSendEventRequest See AWSConnectParticipantSendEventResponse DeclarationObjective-C - (id)sendEvent:(nonnull AWSConnectParticipantSendEventRequest *)request;Swift func sendEvent(_ request: AWSConnectParticipantSendEventRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the SendEvent service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantSendEventResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation,AWSConnectParticipantErrorConflict.
- 
                  
                  The application/vnd.amazonaws.connect.event.connection.acknowledgedContentType will no longer be supported starting December 31, 2024. This event has been migrated to the CreateParticipantConnection API using theConnectParticipantfield.Sends an event. Message receipts are not supported when there are more than two active participants in the chat. Using the SendEvent API for message receipts when a supervisor is barged-in will result in a conflict exception. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantSendEventRequest See AWSConnectParticipantSendEventResponse DeclarationObjective-C - (void)sendEvent:(nonnull AWSConnectParticipantSendEventRequest *)request completionHandler: (void (^_Nullable)(AWSConnectParticipantSendEventResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func sendEvent(_ request: AWSConnectParticipantSendEventRequest) async throws -> AWSConnectParticipantSendEventResponseParametersrequestA container for the necessary parameters to execute the SendEvent service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation,AWSConnectParticipantErrorConflict.
- 
                  
                  Sends a message. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantSendMessageRequest See AWSConnectParticipantSendMessageResponse DeclarationObjective-C - (id)sendMessage:(nonnull AWSConnectParticipantSendMessageRequest *)request;Swift func sendMessage(_ request: AWSConnectParticipantSendMessageRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the SendMessage service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantSendMessageResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Sends a message. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantSendMessageRequest See AWSConnectParticipantSendMessageResponse DeclarationObjective-C - (void)sendMessage:(nonnull AWSConnectParticipantSendMessageRequest *)request completionHandler: (void (^_Nullable)(AWSConnectParticipantSendMessageResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func sendMessage(_ request: AWSConnectParticipantSendMessageRequest) async throws -> AWSConnectParticipantSendMessageResponseParametersrequestA container for the necessary parameters to execute the SendMessage service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation.
- 
                  
                  Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantStartAttachmentUploadRequest See AWSConnectParticipantStartAttachmentUploadResponse DeclarationObjective-C - (id)startAttachmentUpload: (nonnull AWSConnectParticipantStartAttachmentUploadRequest *)request;Swift func startAttachmentUpload(_ request: AWSConnectParticipantStartAttachmentUploadRequest) -> Any!ParametersrequestA container for the necessary parameters to execute the StartAttachmentUpload service method. Return ValueAn instance of AWSTask. On successful execution,task.resultwill contain an instance ofAWSConnectParticipantStartAttachmentUploadResponse. On failed execution,task.errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation,AWSConnectParticipantErrorServiceQuotaExceeded.
- 
                  
                  Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3. ConnectionTokenis used for invoking this API instead ofParticipantToken.The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication. See AWSConnectParticipantStartAttachmentUploadRequest See AWSConnectParticipantStartAttachmentUploadResponse DeclarationObjective-C - (void) startAttachmentUpload: (nonnull AWSConnectParticipantStartAttachmentUploadRequest *)request completionHandler: (void (^_Nullable)( AWSConnectParticipantStartAttachmentUploadResponse *_Nullable, NSError *_Nullable))completionHandler;Swift func startAttachmentUpload(_ request: AWSConnectParticipantStartAttachmentUploadRequest) async throws -> AWSConnectParticipantStartAttachmentUploadResponseParametersrequestA container for the necessary parameters to execute the StartAttachmentUpload service method. completionHandlerThe completion handler to call when the load request is complete. response- A response object, ornilif the request failed.error- An error object that indicates why the request failed, ornilif the request was successful. On failed execution,errormay contain anNSErrorwithAWSConnectParticipantErrorDomaindomain and the following error code:AWSConnectParticipantErrorAccessDenied,AWSConnectParticipantErrorInternalServer,AWSConnectParticipantErrorThrottling,AWSConnectParticipantErrorValidation,AWSConnectParticipantErrorServiceQuotaExceeded.
 View on GitHub
View on GitHub Install in Dash
Install in Dash AWSConnectParticipant Class Reference
        AWSConnectParticipant Class Reference