20 #ifndef AWSENDPOINT_P_H
21 #define AWSENDPOINT_P_H
23 #include "qtawsglobal.h"
25 #include "awsendpoint.h"
29 #include <QStringList>
30 #include <QXmlStreamReader>
37 class QTAWS_EXPORT AwsEndpointPrivate {
49 QStringList regionNames;
54 struct RegionEndpointInfo {
56 AwsEndpoint::Transports transports;
60 typedef QHash<QString, RegionEndpointInfo> RegionServices;
64 RegionServices services;
70 QStringList regionNames;
73 static QHash<QString, HostInfo> hosts;
74 static QHash<QString, RegionInfo> regions;
75 static QHash<QString, ServiceInfo> services;
79 static void loadEndpointData(
const QString &fileName = QLatin1String(
":/aws/endpoints.xml"));
80 static void loadEndpointData(QIODevice &device);
81 static void loadEndpointData(QXmlStreamReader &xml);
82 static void parseRegion(QXmlStreamReader &xml);
83 static void parseRegions(QXmlStreamReader &xml);
84 static void parseService(QXmlStreamReader &xml);
85 static void parseServices(QXmlStreamReader &xml);
90 friend class TestAwsEndpoint;
91 friend class TestAwsSignatureV4;
Provides AWS endpoint information.
Definition: awsendpoint.h:33