public class ClientReflector extends Object
Constructor and Description |
---|
ClientReflector(software.amazon.awssdk.codegen.model.intermediate.IntermediateModel model) |
Modifier and Type | Method and Description |
---|---|
Object |
invokeMethod(TestCase testCase,
Object... params)
Call the operation method on the client with the given request.
|
Object |
invokeStreamingMethod(TestCase testCase,
Object requestObject,
StreamingResponseHandler<?,?> responseHandler)
Call the operation (with a streaming output) method on the client with the given request.
|
public ClientReflector(software.amazon.awssdk.codegen.model.intermediate.IntermediateModel model)
public Object invokeMethod(TestCase testCase, Object... params) throws Exception
params
- Params to call the operation with. Usually just the request POJO but might be additional params
for streaming operations.Exception
public Object invokeStreamingMethod(TestCase testCase, Object requestObject, StreamingResponseHandler<?,?> responseHandler) throws Exception
requestObject
- POJO request object.responseHandler
- Response handler for an operation with a streaming output.Exception
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.