AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Sends a chat message and streams the response for the specified agent space execution

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to SendMessageAsync.

Namespace: Amazon.DevOpsAgent
Assembly: AWSSDK.DevOpsAgent.dll
Version: 3.x.y.z

Syntax

C#
public virtual SendMessageResponse SendMessage(
         SendMessageRequest request
)

Parameters

request
Type: Amazon.DevOpsAgent.Model.SendMessageRequest

Container for the necessary parameters to execute the SendMessage service method.

Return Value


The response from the SendMessage service method, as returned by DevOpsAgent.

Exceptions

ExceptionCondition
AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
ConflictException The request conflicts with the current state of the resource.
ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
InvalidParameterException One or more parameters provided in the request are invalid.
ResourceNotFoundException The requested resource could not be found.
ServiceQuotaExceededException The request would exceed the service quota limit.
ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
ValidationException The input fails to satisfy the constraints specified by the service.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also