$darkmode
Qore AwsRestClientDataProvider Module Reference 1.0
AwsRestClientPatchDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace AwsRestClientDataProvider {
29 
30 public:
32  const ProviderInfo = <DataProviderInfo>{
33  "name": "patch",
34  "desc": "AWS REST PATCH data provider; makes a `PATCH` request to a REST server and returns the response",
35  "type": "AwsRestClientPatchDataProvider",
36  "constructor_options": AwsRestClientDataProvider::ConstructorOptions,
37  "supports_request": True,
38  };
39 
41  const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
42  AbstractDataProvider::DataProviderSummaryInfoKeys
43  });
44 
46  const RequestType = new RestClientCallRequestDataType();
47 
49  const ResponseType = new RestClientCallResponseDataType();
50 
52  constructor(*hash<auto> options);
53 
54 
56  constructor(AwsRestClient rest) ;
57 
58 
60  string getName();
61 
62 
64 
69 protected:
70  auto doRequestImpl(auto req, *hash<auto> request_options);
71 public:
72 
73 
75 
77 protected:
78  *AbstractDataProviderType getRequestTypeImpl();
79 public:
80 
81 
83 
85 protected:
86  *AbstractDataProviderType getResponseTypeImpl();
87 public:
88 
89 
91  hash<DataProviderInfo> getStaticInfoImpl();
92 
93 };
94 };
The AWS REST client base data provider class.
Definition: AwsRestClientDataProviderBase.qc.dox.h:28
const ConstructorOptions
Constructor arguments.
Definition: AwsRestClientDataProvider.qc.dox.h:42
The AWS REST client PATCH data provider class.
Definition: AwsRestClientPatchDataProvider.qc.dox.h:28
const RequestType
Request type.
Definition: AwsRestClientPatchDataProvider.qc.dox.h:46
const ProviderInfo
Provider info.
Definition: AwsRestClientPatchDataProvider.qc.dox.h:32
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
constructor(*hash< auto > options)
Creates the object from constructor options.
string getName()
Returns the data provider name.
const ProviderSummaryInfo
Provider summary info.
Definition: AwsRestClientPatchDataProvider.qc.dox.h:41
constructor(AwsRestClient rest)
Creates the object from a REST connection.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ResponseType
Response type.
Definition: AwsRestClientPatchDataProvider.qc.dox.h:49
const True
Qore AwsRestClientDataProvider module definition.
Definition: AwsRestClientCallDataProvider.qc.dox.h:26