AWS SDK for C++  1.8.23
AWS SDK for C++
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Aws::Client::AWSClient Class Referenceabstract

#include <AWSClient.h>

+ Inheritance diagram for Aws::Client::AWSClient:

Public Member Functions

 AWSClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Client::AWSAuthSigner > &signer, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
 AWSClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Auth::AWSAuthSignerProvider > &signerProvider, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
virtual ~AWSClient ()
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
void DisableRequestProcessing ()
 
void EnableRequestProcessing ()
 
virtual const char * GetServiceClientName () const
 

Protected Member Functions

HttpResponseOutcome AttemptExhaustively (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod httpMethod, const char *signerName, const char *signerRegionOverride=nullptr) const
 
HttpResponseOutcome AttemptExhaustively (const Aws::Http::URI &uri, Http::HttpMethod httpMethod, const char *signerName, const char *requestName="", const char *signerRegionOverride=nullptr) const
 
HttpResponseOutcome AttemptOneRequest (const std::shared_ptr< Http::HttpRequest > &httpRequest, const Aws::AmazonWebServiceRequest &request, const char *signerName, const char *signerRegionOverride=nullptr) const
 
HttpResponseOutcome AttemptOneRequest (const std::shared_ptr< Http::HttpRequest > &httpRequest, const char *signerName, const char *requestName="", const char *signerRegionOverride=nullptr) const
 
StreamOutcome MakeRequestWithUnparsedResponse (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *signerRegionOverride=nullptr) const
 
StreamOutcome MakeRequestWithUnparsedResponse (const Aws::Http::URI &uri, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *requestName="", const char *signerRegionOverride=nullptr) const
 
virtual AWSError< CoreErrorsBuildAWSError (const std::shared_ptr< Aws::Http::HttpResponse > &response) const =0
 
virtual void BuildHttpRequest (const Aws::AmazonWebServiceRequest &request, const std::shared_ptr< Aws::Http::HttpRequest > &httpRequest) const
 
const std::shared_ptr< AWSErrorMarshaller > & GetErrorMarshaller () const
 
Aws::Client::AWSAuthSignerGetSignerByName (const char *name) const
 
std::shared_ptr< Aws::Http::HttpRequestBuildAndSignHttpRequest (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method, const char *signerName) const
 
std::shared_ptr< Aws::Http::HttpResponseMakeHttpRequest (std::shared_ptr< Aws::Http::HttpRequest > &request) const
 

Protected Attributes

Aws::String m_region
 

Detailed Description

Abstract AWS Client. Contains most of the functionality necessary to build an http request, get it signed, and send it accross the wire.

Definition at line 85 of file AWSClient.h.

Constructor & Destructor Documentation

◆ AWSClient() [1/2]

Aws::Client::AWSClient::AWSClient ( const Aws::Client::ClientConfiguration configuration,
const std::shared_ptr< Aws::Client::AWSAuthSigner > &  signer,
const std::shared_ptr< AWSErrorMarshaller > &  errorMarshaller 
)

configuration will be used for http client settings, retry strategy, throttles, and signing information. supplied signer will be used for all requests, aws sdk clients will use default AuthV4Signer. errorMarshaller tells the client how to convert error payloads into AWSError objects.

◆ AWSClient() [2/2]

Aws::Client::AWSClient::AWSClient ( const Aws::Client::ClientConfiguration configuration,
const std::shared_ptr< Aws::Auth::AWSAuthSignerProvider > &  signerProvider,
const std::shared_ptr< AWSErrorMarshaller > &  errorMarshaller 
)

Configuration will be used for http client settings, retry strategy, throttles, and signing information. Pass a signer provider to determine the proper signer for a given request; AWS services will use SigV4 signer. errorMarshaller tells the client how to convert error payloads into AWSError objects.

◆ ~AWSClient()

virtual Aws::Client::AWSClient::~AWSClient ( )
inlinevirtual

Definition at line 106 of file AWSClient.h.

Member Function Documentation

◆ AttemptExhaustively() [1/2]

HttpResponseOutcome Aws::Client::AWSClient::AttemptExhaustively ( const Aws::Http::URI uri,
const Aws::AmazonWebServiceRequest request,
Http::HttpMethod  httpMethod,
const char *  signerName,
const char *  signerRegionOverride = nullptr 
) const
protected

Calls AttemptOneRequest until it either, succeeds, runs out of retries from the retry strategy, or encounters and error that is not retryable.

◆ AttemptExhaustively() [2/2]

HttpResponseOutcome Aws::Client::AWSClient::AttemptExhaustively ( const Aws::Http::URI uri,
Http::HttpMethod  httpMethod,
const char *  signerName,
const char *  requestName = "",
const char *  signerRegionOverride = nullptr 
) const
protected

Calls AttemptOneRequest until it either, succeeds, runs out of retries from the retry strategy, or encounters and error that is not retryable. This method is for payloadless requests e.g. GET, DELETE, HEAD

requestName is used for metrics and defaults to empty string, to avoid empty names in metrics provide a valid name.

◆ AttemptOneRequest() [1/2]

HttpResponseOutcome Aws::Client::AWSClient::AttemptOneRequest ( const std::shared_ptr< Http::HttpRequest > &  httpRequest,
const Aws::AmazonWebServiceRequest request,
const char *  signerName,
const char *  signerRegionOverride = nullptr 
) const
protected

Build an Http Request from the AmazonWebServiceRequest object. Signs the request, sends it accross the wire then reports the http response.

◆ AttemptOneRequest() [2/2]

HttpResponseOutcome Aws::Client::AWSClient::AttemptOneRequest ( const std::shared_ptr< Http::HttpRequest > &  httpRequest,
const char *  signerName,
const char *  requestName = "",
const char *  signerRegionOverride = nullptr 
) const
protected

Signs an Http Request, sends it accross the wire then reports the http response. This method is for payloadless requests e.g. GET, DELETE, HEAD

requestName is used for metrics and defaults to empty string, to avoid empty names in metrics provide a valid name.

◆ BuildAndSignHttpRequest()

std::shared_ptr<Aws::Http::HttpRequest> Aws::Client::AWSClient::BuildAndSignHttpRequest ( const Aws::Http::URI uri,
const Aws::AmazonWebServiceRequest request,
Http::HttpMethod  method,
const char *  signerName 
) const
protected

Creates an HttpRequest instance with the given URI and sets the proper headers from the AmazonWebRequest, and finally signs that request with the given the signer. The similar member function BuildHttpRequest() does not sign the request. This member function is used internally only by clients that perform requests (input operations) using event-streams.

◆ BuildAWSError()

virtual AWSError<CoreErrors> Aws::Client::AWSClient::BuildAWSError ( const std::shared_ptr< Aws::Http::HttpResponse > &  response) const
protectedpure virtual

Abstract. Subclassing clients should override this to tell the client how to marshall error payloads

Implemented in Aws::Client::AWSXMLClient, and Aws::Client::AWSJsonClient.

◆ BuildHttpRequest()

virtual void Aws::Client::AWSClient::BuildHttpRequest ( const Aws::AmazonWebServiceRequest request,
const std::shared_ptr< Aws::Http::HttpRequest > &  httpRequest 
) const
protectedvirtual

Transforms the AmazonWebServicesResult object into an HttpRequest.

◆ DisableRequestProcessing()

void Aws::Client::AWSClient::DisableRequestProcessing ( )

Stop all requests immediately. In flight requests will likely fail.

◆ EnableRequestProcessing()

void Aws::Client::AWSClient::EnableRequestProcessing ( )

Enable/ReEnable requests.

◆ GeneratePresignedUrl() [1/8]

Aws::String Aws::Client::AWSClient::GeneratePresignedUrl ( Aws::Http::URI uri,
Aws::Http::HttpMethod  method,
long long  expirationInSeconds = 0 
)

Generates a signed Uri using the injected signer. for the supplied uri and http method. expirationInSeconds defaults to 0 which is the default 7 days. The implication of this function is using auth signer v4 to sign it.

◆ GeneratePresignedUrl() [2/8]

Aws::String Aws::Client::AWSClient::GeneratePresignedUrl ( Aws::Http::URI uri,
Aws::Http::HttpMethod  method,
const Aws::Http::HeaderValueCollection customizedHeaders,
long long  expirationInSeconds = 0 
)

Generates a signed Uri using the injected signer. for the supplied uri, http method and customized headers. expirationInSeconds defaults to 0 which is the default 7 days. The implication of this function is using auth signer v4 to sign it.

◆ GeneratePresignedUrl() [3/8]

Aws::String Aws::Client::AWSClient::GeneratePresignedUrl ( Aws::Http::URI uri,
Aws::Http::HttpMethod  method,
const char *  region,
long long  expirationInSeconds = 0 
) const

Generates a signed Uri using the injected signer. for the supplied uri and http method and region. expirationInSeconds defaults to 0 which is the default 7 days.

◆ GeneratePresignedUrl() [4/8]

Aws::String Aws::Client::AWSClient::GeneratePresignedUrl ( Aws::Http::URI uri,
Aws::Http::HttpMethod  method,
const char *  region,
const Aws::Http::HeaderValueCollection customizedHeaders,
long long  expirationInSeconds = 0 
)

Generates a signed Uri using the injected signer. for the supplied uri, http method and customized headers. expirationInSeconds defaults to 0 which is the default 7 days.

◆ GeneratePresignedUrl() [5/8]

Aws::String Aws::Client::AWSClient::GeneratePresignedUrl ( Aws::Http::URI uri,
Aws::Http::HttpMethod  method,
const char *  region,
const char *  serviceName,
long long  expirationInSeconds = 0 
) const

Generates a signed Uri using the injected signer. for the supplied uri and http method, region, and service name. expirationInSeconds defaults to 0 which is the default 7 days.

◆ GeneratePresignedUrl() [6/8]

Aws::String Aws::Client::AWSClient::GeneratePresignedUrl ( const Aws::AmazonWebServiceRequest request,
Aws::Http::URI uri,
Aws::Http::HttpMethod  method,
const Aws::Http::QueryStringParameterCollection extraParams = Aws::Http::QueryStringParameterCollection(),
long long  expirationInSeconds = 0 
) const

◆ GeneratePresignedUrl() [7/8]

Aws::String Aws::Client::AWSClient::GeneratePresignedUrl ( const Aws::AmazonWebServiceRequest request,
Aws::Http::URI uri,
Aws::Http::HttpMethod  method,
const char *  region,
const char *  serviceName,
const Aws::Http::QueryStringParameterCollection extraParams = Aws::Http::QueryStringParameterCollection(),
long long  expirationInSeconds = 0 
) const

◆ GeneratePresignedUrl() [8/8]

Aws::String Aws::Client::AWSClient::GeneratePresignedUrl ( const Aws::AmazonWebServiceRequest request,
Aws::Http::URI uri,
Aws::Http::HttpMethod  method,
const char *  region,
const Aws::Http::QueryStringParameterCollection extraParams = Aws::Http::QueryStringParameterCollection(),
long long  expirationInSeconds = 0 
) const

◆ GetErrorMarshaller()

const std::shared_ptr<AWSErrorMarshaller>& Aws::Client::AWSClient::GetErrorMarshaller ( ) const
inlineprotected

Gets the underlying ErrorMarshaller for subclasses to use.

Definition at line 242 of file AWSClient.h.

◆ GetServiceClientName()

virtual const char* Aws::Client::AWSClient::GetServiceClientName ( ) const
inlinevirtual

Reimplemented in Aws::EC2::EC2Client, Aws::IoT::IoTClient, Aws::RDS::RDSClient, Aws::SageMaker::SageMakerClient, Aws::Glue::GlueClient, Aws::IAM::IAMClient, Aws::Lightsail::LightsailClient, Aws::SSM::SSMClient, Aws::Chime::ChimeClient, Aws::APIGateway::APIGatewayClient, Aws::Pinpoint::PinpointClient, Aws::CodeCommit::CodeCommitClient, Aws::CognitoIdentityProvider::CognitoIdentityProviderClient, Aws::Redshift::RedshiftClient, Aws::AlexaForBusiness::AlexaForBusinessClient, Aws::GameLift::GameLiftClient, Aws::Greengrass::GreengrassClient, Aws::QuickSight::QuickSightClient, Aws::StorageGateway::StorageGatewayClient, Aws::WAFRegional::WAFRegionalClient, Aws::ServiceCatalog::ServiceCatalogClient, Aws::S3::S3Client, Aws::WAF::WAFClient, Aws::ConfigService::ConfigServiceClient, Aws::DeviceFarm::DeviceFarmClient, Aws::OpsWorks::OpsWorksClient, Aws::SES::SESClient, Aws::SESV2::SESV2Client, Aws::ApiGatewayV2::ApiGatewayV2Client, Aws::CloudDirectory::CloudDirectoryClient, Aws::Neptune::NeptuneClient, Aws::GuardDuty::GuardDutyClient, Aws::DirectoryService::DirectoryServiceClient, Aws::ElastiCache::ElastiCacheClient, Aws::CloudFront::CloudFrontClient, Aws::CloudFormation::CloudFormationClient, Aws::Route53::Route53Client, Aws::CodeBuild::CodeBuildClient, Aws::AutoScaling::AutoScalingClient, Aws::DatabaseMigrationService::DatabaseMigrationServiceClient, Aws::CodeArtifact::CodeArtifactClient, Aws::IoTSiteWise::IoTSiteWiseClient, Aws::KMS::KMSClient, Aws::DirectConnect::DirectConnectClient, Aws::CodeDeploy::CodeDeployClient, Aws::Macie2::Macie2Client, Aws::ECS::ECSClient, Aws::Comprehend::ComprehendClient, Aws::CodePipeline::CodePipelineClient, Aws::AppStream::AppStreamClient, Aws::WAFV2::WAFV2Client, Aws::ElasticBeanstalk::ElasticBeanstalkClient, Aws::PinpointEmail::PinpointEmailClient, Aws::SecurityHub::SecurityHubClient, Aws::Organizations::OrganizationsClient, Aws::Lambda::LambdaClient, Aws::Rekognition::RekognitionClient, Aws::MediaLive::MediaLiveClient, Aws::WorkMail::WorkMailClient, Aws::Backup::BackupClient, Aws::ResourceGroupsTaggingAPI::ResourceGroupsTaggingAPIClient, Aws::FraudDetector::FraudDetectorClient, Aws::DynamoDB::DynamoDBClient, Aws::AppMesh::AppMeshClient, Aws::WorkDocs::WorkDocsClient, Aws::WorkSpaces::WorkSpacesClient, Aws::CloudWatchLogs::CloudWatchLogsClient, Aws::DocDB::DocDBClient, Aws::imagebuilder::ImagebuilderClient, Aws::Personalize::PersonalizeClient, Aws::AppSync::AppSyncClient, Aws::GlobalAccelerator::GlobalAcceleratorClient, Aws::RoboMaker::RoboMakerClient, Aws::ElasticLoadBalancingv2::ElasticLoadBalancingv2Client, Aws::MTurk::MTurkClient, Aws::ElasticsearchService::ElasticsearchServiceClient, Aws::Amplify::AmplifyClient, Aws::LexModelBuildingService::LexModelBuildingServiceClient, Aws::AppConfig::AppConfigClient, Aws::IoTThingsGraph::IoTThingsGraphClient, Aws::IoTAnalytics::IoTAnalyticsClient, Aws::Inspector::InspectorClient, Aws::SWF::SWFClient, Aws::Glacier::GlacierClient, Aws::SNS::SNSClient, Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceClient, Aws::WorkLink::WorkLinkClient, Aws::ElasticLoadBalancing::ElasticLoadBalancingClient, Aws::Connect::ConnectClient, Aws::IVS::IVSClient, Aws::CloudWatch::CloudWatchClient, Aws::DataSync::DataSyncClient, Aws::EventBridge::EventBridgeClient, Aws::CloudWatchEvents::CloudWatchEventsClient, Aws::EMR::EMRClient, Aws::Athena::AthenaClient, Aws::SMS::SMSClient, Aws::ECR::ECRClient, Aws::ApplicationInsights::ApplicationInsightsClient, Aws::CloudSearch::CloudSearchClient, Aws::Schemas::SchemasClient, Aws::SecretsManager::SecretsManagerClient, Aws::NetworkManager::NetworkManagerClient, Aws::Route53Domains::Route53DomainsClient, Aws::ForecastService::ForecastServiceClient, Aws::MachineLearning::MachineLearningClient, Aws::OpsWorksCM::OpsWorksCMClient, Aws::KinesisAnalyticsV2::KinesisAnalyticsV2Client, Aws::CodeGuruProfiler::CodeGuruProfilerClient, Aws::Kinesis::KinesisClient, Aws::TranscribeService::TranscribeServiceClient, Aws::FMS::FMSClient, Aws::GroundStation::GroundStationClient, Aws::Route53Resolver::Route53ResolverClient, Aws::RAM::RAMClient, Aws::SFN::SFNClient, Aws::MediaConvert::MediaConvertClient, Aws::Kafka::KafkaClient, Aws::DataExchange::DataExchangeClient, Aws::ServiceDiscovery::ServiceDiscoveryClient, Aws::SQS::SQSClient, Aws::STS::STSClient, Aws::CodeStar::CodeStarClient, Aws::CognitoIdentity::CognitoIdentityClient, Aws::Shield::ShieldClient, Aws::Support::SupportClient, Aws::EKS::EKSClient, Aws::kendra::KendraClient, Aws::CloudHSM::CloudHSMClient, Aws::ServerlessApplicationRepository::ServerlessApplicationRepositoryClient, Aws::MQ::MQClient, Aws::DataPipeline::DataPipelineClient, Aws::EFS::EFSClient, Aws::DAX::DAXClient, Aws::MediaConnect::MediaConnectClient, Aws::CloudTrail::CloudTrailClient, Aws::KinesisAnalytics::KinesisAnalyticsClient, Aws::MediaStore::MediaStoreClient, Aws::ManagedBlockchain::ManagedBlockchainClient, Aws::CostExplorer::CostExplorerClient, Aws::CognitoSync::CognitoSyncClient, Aws::Snowball::SnowballClient, Aws::ACMPCA::ACMPCAClient, Aws::ComprehendMedical::ComprehendMedicalClient, Aws::XRay::XRayClient, Aws::ResourceGroups::ResourceGroupsClient, Aws::S3Control::S3ControlClient, Aws::AccessAnalyzer::AccessAnalyzerClient, Aws::Batch::BatchClient, Aws::CodeStarconnections::CodeStarconnectionsClient, Aws::KinesisVideo::KinesisVideoClient, Aws::QLDB::QLDBClient, Aws::Budgets::BudgetsClient, Aws::Health::HealthClient, Aws::Transfer::TransferClient, Aws::ServiceQuotas::ServiceQuotasClient, Aws::CodeStarNotifications::CodeStarNotificationsClient, Aws::MigrationHub::MigrationHubClient, Aws::Cloud9::Cloud9Client, Aws::MediaPackage::MediaPackageClient, Aws::IoTEvents::IoTEventsClient, Aws::LicenseManager::LicenseManagerClient, Aws::ElasticTranscoder::ElasticTranscoderClient, Aws::IoT1ClickProjects::IoT1ClickProjectsClient, Aws::MediaPackageVod::MediaPackageVodClient, Aws::Synthetics::SyntheticsClient, Aws::ApplicationAutoScaling::ApplicationAutoScalingClient, Aws::Detective::DetectiveClient, Aws::FSx::FSxClient, Aws::signer::SignerClient, Aws::CloudHSMV2::CloudHSMV2Client, Aws::IoT1ClickDevicesService::IoT1ClickDevicesServiceClient, Aws::LakeFormation::LakeFormationClient, Aws::ACM::ACMClient, Aws::SimpleDB::SimpleDBClient, Aws::Firehose::FirehoseClient, Aws::CodeGuruReviewer::CodeGuruReviewerClient, Aws::ComputeOptimizer::ComputeOptimizerClient, Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient, Aws::MarketplaceMetering::MarketplaceMeteringClient, Aws::Polly::PollyClient, Aws::EBS::EBSClient, Aws::Mobile::MobileClient, Aws::DLM::DLMClient, Aws::Macie::MacieClient, Aws::Translate::TranslateClient, Aws::SavingsPlans::SavingsPlansClient, Aws::ImportExport::ImportExportClient, Aws::MediaTailor::MediaTailorClient, Aws::AutoScalingPlans::AutoScalingPlansClient, Aws::Outposts::OutpostsClient, Aws::PinpointSMSVoice::PinpointSMSVoiceClient, Aws::IoTSecureTunneling::IoTSecureTunnelingClient, Aws::DynamoDBStreams::DynamoDBStreamsClient, Aws::IoTDataPlane::IoTDataPlaneClient, Aws::LexRuntimeService::LexRuntimeServiceClient, Aws::MarketplaceCatalog::MarketplaceCatalogClient, Aws::RDSDataService::RDSDataServiceClient, Aws::SSO::SSOClient, Aws::Pricing::PricingClient, Aws::IoTJobsDataPlane::IoTJobsDataPlaneClient, Aws::SSOOIDC::SSOOIDCClient, Aws::Textract::TextractClient, Aws::ElasticInference::ElasticInferenceClient, Aws::ConnectParticipant::ConnectParticipantClient, Aws::CostandUsageReportService::CostandUsageReportServiceClient, Aws::MediaStoreData::MediaStoreDataClient, Aws::MigrationHubConfig::MigrationHubConfigClient, Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaClient, Aws::PI::PIClient, Aws::CloudSearchDomain::CloudSearchDomainClient, Aws::IoTEventsData::IoTEventsDataClient, Aws::ApiGatewayManagementApi::ApiGatewayManagementApiClient, Aws::QLDBSession::QLDBSessionClient, Aws::Honeycode::HoneycodeClient, Aws::KinesisVideoSignalingChannels::KinesisVideoSignalingChannelsClient, Aws::MarketplaceEntitlementService::MarketplaceEntitlementServiceClient, Aws::TranscribeStreamingService::TranscribeStreamingServiceClient, Aws::MarketplaceCommerceAnalytics::MarketplaceCommerceAnalyticsClient, Aws::PersonalizeRuntime::PersonalizeRuntimeClient, Aws::EC2InstanceConnect::EC2InstanceConnectClient, Aws::PersonalizeEvents::PersonalizeEventsClient, Aws::MobileAnalytics::MobileAnalyticsClient, Aws::WorkMailMessageFlow::WorkMailMessageFlowClient, Aws::ForecastQueryService::ForecastQueryServiceClient, Aws::KinesisVideoMedia::KinesisVideoMediaClient, and Aws::SageMakerRuntime::SageMakerRuntimeClient.

Definition at line 158 of file AWSClient.h.

◆ GetSignerByName()

Aws::Client::AWSAuthSigner* Aws::Client::AWSClient::GetSignerByName ( const char *  name) const
protected

Gets the corresponding signer from the signers map by name.

◆ MakeHttpRequest()

std::shared_ptr<Aws::Http::HttpResponse> Aws::Client::AWSClient::MakeHttpRequest ( std::shared_ptr< Aws::Http::HttpRequest > &  request) const
protected

Performs the HTTP request via the HTTP client while enforcing rate limiters

◆ MakeRequestWithUnparsedResponse() [1/2]

StreamOutcome Aws::Client::AWSClient::MakeRequestWithUnparsedResponse ( const Aws::Http::URI uri,
const Aws::AmazonWebServiceRequest request,
Http::HttpMethod  method = Http::HttpMethod::HTTP_POST,
const char *  signerName = Aws::Auth::SIGV4_SIGNER,
const char *  signerRegionOverride = nullptr 
) const
protected

This is used for structureless response payloads (file streams, binary data etc...). It calls AttemptExhaustively, but upon return transfers ownership of the underlying stream for the http response to the caller.

◆ MakeRequestWithUnparsedResponse() [2/2]

StreamOutcome Aws::Client::AWSClient::MakeRequestWithUnparsedResponse ( const Aws::Http::URI uri,
Http::HttpMethod  method = Http::HttpMethod::HTTP_POST,
const char *  signerName = Aws::Auth::SIGV4_SIGNER,
const char *  requestName = "",
const char *  signerRegionOverride = nullptr 
) const
protected

This is used for structureless response payloads (file streams, binary data etc...). It calls AttemptExhaustively, but upon return transfers ownership of the underlying stream for the http response to the caller.

requestName is used for metrics and defaults to empty string, to avoid empty names in metrics provide a valid name.

Member Data Documentation

◆ m_region

Aws::String Aws::Client::AWSClient::m_region
protected

Definition at line 268 of file AWSClient.h.


The documentation for this class was generated from the following file: