CollectionErrorDetail - Amazon OpenSearch Serverless

CollectionErrorDetail

Error information for an OpenSearch Serverless request.

Contents

errorCode

The error code for the request. For example, NOT_FOUND.

Type: String

Required: No

errorMessage

A description of the error. For example, The specified Collection is not found.

Type: String

Required: No

id

If the request contains collection IDs, the response includes the IDs provided in the request.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 40.

Pattern: ^[a-z0-9]{3,40}$

Required: No

name

If the request contains collection names, the response includes the names provided in the request.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 32.

Pattern: ^[a-z][a-z0-9-]+$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: