public class AppSyncV4Signer
extends com.amazonaws.auth.AWS4Signer
| Modifier and Type | Class and Description |
|---|---|
static class |
AppSyncV4Signer.ResourcePath
URL in the canonical request for connecting to subscription WebSocket
via AWS_IAM requires "/connect" appended to it.
|
| Constructor and Description |
|---|
AppSyncV4Signer(java.lang.String region) |
AppSyncV4Signer(java.lang.String region,
AppSyncV4Signer.ResourcePath resourcePath) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
calculateContentHash(com.amazonaws.Request<?> request) |
protected java.lang.String |
extractServiceName(java.net.URI endpoint) |
protected java.lang.String |
getCanonicalizedResourcePath(java.lang.String resourcePath) |
protected java.lang.String |
getCanonicalizedResourcePath(java.lang.String resourcePath,
boolean urlEncode) |
addHostHeader, addSessionCredentials, calculateContentHashPresign, computeSignature, extractRegionName, getCanonicalizedHeaderString, getCanonicalRequest, getDateFromRequest, getDateStamp, getScope, getSignedHeadersString, getStringToSign, getTimeStamp, presignRequest, processRequestPayload, setRegionName, setServiceName, signgetBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encodepublic AppSyncV4Signer(java.lang.String region)
public AppSyncV4Signer(java.lang.String region,
AppSyncV4Signer.ResourcePath resourcePath)
protected java.lang.String extractServiceName(java.net.URI endpoint)
extractServiceName in class com.amazonaws.auth.AWS4Signerprotected java.lang.String getCanonicalizedResourcePath(java.lang.String resourcePath)
getCanonicalizedResourcePath in class com.amazonaws.auth.AbstractAWSSignerprotected java.lang.String getCanonicalizedResourcePath(java.lang.String resourcePath,
boolean urlEncode)
getCanonicalizedResourcePath in class com.amazonaws.auth.AbstractAWSSignerprotected java.lang.String calculateContentHash(com.amazonaws.Request<?> request)
calculateContentHash in class com.amazonaws.auth.AWS4Signer