7#include <smithy/identity/signer/AwsSignerBase.h>
8#include <smithy/identity/identity/AwsCredentialIdentityBase.h>
10#include <aws/core/auth/signer/AWSAuthV4Signer.h>
12#include <aws/core/auth/AWSCredentials.h>
26 legacySigner(nullptr, serviceName.c_str(), region,
Aws::Client::AWSAuthV4Signer::PayloadSigningPolicy::Always)
46 auto signPayloadIt = properties.find(
"SignPayload");
47 bool signPayload = signPayloadIt != properties.end() ? signPayloadIt->second.get<
Aws::String>() ==
"true" :
false;
virtual Aws::String accessKeyId() const =0
virtual Aws::Crt::Optional< AwsIdentity::DateTime > expiration() const override=0
virtual Aws::String secretAccessKey() const =0
virtual Aws::Crt::Optional< Aws::String > sessionToken() const =0
Aws::String m_serviceName
Aws::Client::AWSAuthV4Signer legacySigner
SigningFutureOutcome sign(std::shared_ptr< HttpRequest > httpRequest, const AwsCredentialIdentityBase &identity, SigningProperties properties) override
virtual ~AwsSigV4Signer()
AwsSigV4Signer(const Aws::String &serviceName, const Aws::String ®ion)
Aws::Client::AWSError< Aws::Client::CoreErrors > SigningError
Aws::Utils::FutureOutcome< std::shared_ptr< HttpRequest >, SigningError > SigningFutureOutcome
Aws::UnorderedMap< Aws::String, Aws::Crt::Variant< Aws::String, bool > > SigningProperties
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String