Loading...
Searching...
No Matches
AwsRestClientCallDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace AwsRestClientDataProvider {
class AwsRestClientCallDataProvider : public AbstractDataProvider {
public:
AwsRestClient rest;
const ProviderInfo = <DataProviderInfo>{
"name": "call",
"desc": "AWS REST call data provider; makes a request to a REST server and returns the response",
"type": "AwsRestClientCallDataProvider",
"constructor_options": AwsRestClientDataProvider::ConstructorOptions,
"supports_request": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
const RequestType = new RestClientCallWithMethodRequestDataType();
const ResponseType = new RestClientCallResponseDataType();
constructor(*hash<auto> options);
constructor(AwsRestClient rest);
string getName();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*AbstractDataProviderType getResponseTypeImpl();
public:
hash<DataProviderInfo> getStaticInfoImpl();
};
};
AwsRestClientDataProvider::AwsRestClientCallDataProvider
The AWS REST client call data provider class.
Definition: AwsRestClientCallDataProvider.qc.dox.h:28
AwsRestClientDataProvider::AwsRestClientCallDataProvider::RequestType
const RequestType
Request type.
Definition: AwsRestClientCallDataProvider.qc.dox.h:49
AwsRestClientDataProvider::AwsRestClientCallDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
AwsRestClientDataProvider::AwsRestClientCallDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: AwsRestClientCallDataProvider.qc.dox.h:44
AwsRestClientDataProvider::AwsRestClientCallDataProvider::ResponseType
const ResponseType
Response type.
Definition: AwsRestClientCallDataProvider.qc.dox.h:52
AwsRestClientDataProvider::AwsRestClientCallDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
AwsRestClientDataProvider::AwsRestClientCallDataProvider::constructor
constructor(AwsRestClient rest)
Creates the object from a REST connection.
AwsRestClientDataProvider::AwsRestClientCallDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
AwsRestClientDataProvider::AwsRestClientCallDataProvider::getName
string getName()
Returns the data provider name.
AwsRestClientDataProvider::AwsRestClientCallDataProvider::rest
AwsRestClient rest
REST client connection.
Definition: AwsRestClientCallDataProvider.qc.dox.h:32
AwsRestClientDataProvider::AwsRestClientCallDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
AwsRestClientDataProvider::AwsRestClientCallDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: AwsRestClientCallDataProvider.qc.dox.h:35
AwsRestClientDataProvider::AwsRestClientCallDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
AwsRestClientDataProvider::AwsRestClientDataProvider::ConstructorOptions
const ConstructorOptions
Constructor arguments.
Definition: AwsRestClientDataProvider.qc.dox.h:42
AwsRestClientDataProvider
Qore AwsRestClientDataProvider module definition.
Definition: AwsRestClientCallDataProvider.qc.dox.h:26