Qore AwsRestClientDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
AwsRestClientCallDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28class AwsRestClientCallDataProvider : public AbstractDataProvider {
29
30public:
32 AwsRestClient rest;
33
35 const ProviderInfo = <DataProviderInfo>{
36 "name": "call",
37 "desc": "AWS REST call data provider; makes a request to a REST server and returns the response",
38 "type": "AwsRestClientCallDataProvider",
40 "supports_request": True,
41 };
42
44 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
45 AbstractDataProvider::DataProviderSummaryInfoKeys
46 });
47
49 const RequestType = new RestClientCallWithMethodRequestDataType();
50
52 const ResponseType = new RestClientCallResponseDataType();
53
55 constructor(*hash<auto> options);
56
57
59 constructor(AwsRestClient rest);
60
61
63 string getName();
64
65
67
72protected:
73 auto doRequestImpl(auto req, *hash<auto> request_options);
74public:
75
76
78
80protected:
81 *AbstractDataProviderType getRequestTypeImpl();
82public:
83
84
86
88protected:
89 *AbstractDataProviderType getResponseTypeImpl();
90public:
91
92
94 hash<DataProviderInfo> getStaticInfoImpl();
95
96};
97};
The AWS REST client call data provider class.
Definition: AwsRestClientCallDataProvider.qc.dox.h:28
const RequestType
Request type.
Definition: AwsRestClientCallDataProvider.qc.dox.h:49
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderSummaryInfo
Provider summary info.
Definition: AwsRestClientCallDataProvider.qc.dox.h:44
const ResponseType
Response type.
Definition: AwsRestClientCallDataProvider.qc.dox.h:52
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
constructor(AwsRestClient rest)
Creates the object from a REST connection.
constructor(*hash< auto > options)
Creates the object from constructor options.
string getName()
Returns the data provider name.
AwsRestClient rest
REST client connection.
Definition: AwsRestClientCallDataProvider.qc.dox.h:32
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ProviderInfo
Provider info.
Definition: AwsRestClientCallDataProvider.qc.dox.h:35
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ConstructorOptions
Constructor arguments.
Definition: AwsRestClientDataProvider.qc.dox.h:42
Qore AwsRestClientDataProvider module definition.
Definition: AwsRestClientCallDataProvider.qc.dox.h:26