@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:21.325Z") @Stability(value=Deprecated) @Deprecated public class ErrorModel extends software.amazon.jsii.JsiiObject implements IModel
This can be used for mapping error JSON responses from an integration to a client, where a simple generic message field is sufficient to map and return an error payload.
Definition { "$schema" : "http://json-schema.org/draft-04/schema#", "title" : "Error Schema", "type" : "object", "properties" : { "message" : { "type" : "string" } } }
Model.ERROR_MODELsoftware.amazon.jsii.JsiiObject.InitializationModeIModel.Jsii$Default, IModel.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ErrorModel()
Deprecated.
|
protected |
ErrorModel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
ErrorModel(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getModelId()
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ErrorModel(software.amazon.jsii.JsiiObjectRef objRef)
protected ErrorModel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public ErrorModel()
@Stability(value=Deprecated) @Deprecated @NotNull public String getModelId()
getModelId in interface IModelCopyright © 2021. All rights reserved.