public interface SdkStructuredRpcV2CborFactory
SdkStructuredCborFactory| Modifier and Type | Method and Description |
|---|---|
RpcV2CborErrorResponseHandler |
createErrorResponseHandler(List<com.amazonaws.transform.JsonErrorUnmarshaller> errorUnmarshallers,
String customErrorCodeFieldName)
Deprecated.
|
RpcV2CborErrorResponseHandler |
createErrorResponseHandler(RpcV2CborErrorResponseMetadata RpcV2CborErrorResponseMetadata,
List<com.amazonaws.transform.JsonErrorUnmarshaller> errorUnmarshallers) |
<T> RpcV2CborResponseHandler<T> |
createResponseHandler(RpcV2CborOperationMetadata operationMetadata,
com.amazonaws.transform.Unmarshaller<T,com.amazonaws.transform.rpcv2cbor.RpcV2CborUnmarshallerContext> responseUnmarshaller)
Returns the response handler to be used for handling a successfull response.
|
StructuredRpcV2CborGenerator |
createWriter(String contentType)
Returns the
StructuredRpcV2CborGenerator to be used for marshalling the request. |
StructuredRpcV2CborGenerator createWriter(String contentType)
StructuredRpcV2CborGenerator to be used for marshalling the request.contentType - Content type to send for requests.<T> RpcV2CborResponseHandler<T> createResponseHandler(RpcV2CborOperationMetadata operationMetadata, com.amazonaws.transform.Unmarshaller<T,com.amazonaws.transform.rpcv2cbor.RpcV2CborUnmarshallerContext> responseUnmarshaller)
operationMetadata - Additional context information about an operation to create the
appropriate response handler.@Deprecated RpcV2CborErrorResponseHandler createErrorResponseHandler(List<com.amazonaws.transform.JsonErrorUnmarshaller> errorUnmarshallers, String customErrorCodeFieldName)
createErrorResponseHandler(RpcV2CborErrorResponseMetadata, List) insteaderrorUnmarshallers - Response unmarshallers to unamrshall the error responses.RpcV2CborErrorResponseHandler createErrorResponseHandler(RpcV2CborErrorResponseMetadata RpcV2CborErrorResponseMetadata, List<com.amazonaws.transform.JsonErrorUnmarshaller> errorUnmarshallers)
Copyright © 2025. All rights reserved.