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