Class GenericApiGatewayClient
java.lang.Object
com.amazonaws.AmazonWebServiceClient
org.apache.nifi.processors.aws.wag.client.GenericApiGatewayClient
public class GenericApiGatewayClient
extends com.amazonaws.AmazonWebServiceClient
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate final Stringprivate final com.amazonaws.auth.AWSCredentialsProviderprivate final URIprivate final com.amazonaws.http.HttpResponseHandler<com.amazonaws.AmazonServiceException> private final Stringprivate final com.amazonaws.http.JsonResponseHandler<GenericApiGatewayResponse> private final com.amazonaws.auth.AWS4SignerFields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset -
Constructor Summary
ConstructorsConstructorDescriptionGenericApiGatewayClient(com.amazonaws.ClientConfiguration clientConfiguration, String endpoint, com.amazonaws.regions.Region region, com.amazonaws.auth.AWSCredentialsProvider credentials, String apiKey, com.amazonaws.http.AmazonHttpClient httpClient) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.amazonaws.http.ExecutionContextbuildRequestHeaders(Map<String, String> headers, String apiKey) private GenericApiGatewayResponseexecute(com.amazonaws.http.HttpMethodName method, String resourcePath, Map<String, String> headers, Map<String, List<String>> parameters, InputStream content) execute(GenericApiGatewayRequest request) protected StringMethods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffset
-
Field Details
-
API_GATEWAY_SERVICE_NAME
- See Also:
-
API_KEY_HEADER
- See Also:
-
responseHandler
-
errorResponseHandler
private final com.amazonaws.http.HttpResponseHandler<com.amazonaws.AmazonServiceException> errorResponseHandler -
credentials
private final com.amazonaws.auth.AWSCredentialsProvider credentials -
apiKey
-
signer
private final com.amazonaws.auth.AWS4Signer signer -
endpoint
-
region
-
-
Constructor Details
-
GenericApiGatewayClient
-
-
Method Details
-
execute
-
execute
private GenericApiGatewayResponse execute(com.amazonaws.http.HttpMethodName method, String resourcePath, Map<String, String> headers, Map<String, List<String>> parameters, InputStream content) -
buildExecutionContext
private com.amazonaws.http.ExecutionContext buildExecutionContext() -
buildRequestHeaders
-
getEndpoint
-
getRegion
-
getServiceNameIntern
- Overrides:
getServiceNameInternin classcom.amazonaws.AmazonWebServiceClient
-