public interface SdkStructuredJsonFactory
SdkStructuredPlainJsonFactory and SdkStructuredCborFactory| Modifier and Type | Method and Description | 
|---|---|
JsonErrorResponseHandler | 
createErrorResponseHandler(JsonErrorResponseMetadata jsonErrorResponseMetadata,
                          List<com.amazonaws.transform.JsonErrorUnmarshaller> errorUnmarshallers)  | 
JsonErrorResponseHandler | 
createErrorResponseHandler(List<com.amazonaws.transform.JsonErrorUnmarshaller> errorUnmarshallers,
                          String customErrorCodeFieldName)
Deprecated. 
 
 | 
<T> JsonResponseHandler<T> | 
createResponseHandler(JsonOperationMetadata operationMetadata,
                     com.amazonaws.transform.Unmarshaller<T,com.amazonaws.transform.JsonUnmarshallerContext> responseUnmarshaller)
Returns the response handler to be used for handling a successfull response. 
 | 
StructuredJsonGenerator | 
createWriter(String contentType)
Returns the  
StructuredJsonGenerator to be used for marshalling the request. | 
StructuredJsonGenerator createWriter(String contentType)
StructuredJsonGenerator to be used for marshalling the request.contentType - Content type to send for requests.<T> JsonResponseHandler<T> createResponseHandler(JsonOperationMetadata operationMetadata, com.amazonaws.transform.Unmarshaller<T,com.amazonaws.transform.JsonUnmarshallerContext> responseUnmarshaller)
operationMetadata - Additional context information about an operation to create the
                          appropriate response handler.@Deprecated JsonErrorResponseHandler createErrorResponseHandler(List<com.amazonaws.transform.JsonErrorUnmarshaller> errorUnmarshallers, String customErrorCodeFieldName)
createErrorResponseHandler(JsonErrorResponseMetadata, List) insteaderrorUnmarshallers - Response unmarshallers to unamrshall the error responses.JsonErrorResponseHandler createErrorResponseHandler(JsonErrorResponseMetadata jsonErrorResponseMetadata, List<com.amazonaws.transform.JsonErrorUnmarshaller> errorUnmarshallers)
Copyright © 2024. All rights reserved.