oci-sch 2.79.1 → 2.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -4
- package/index.js +9 -5
- package/index.js.map +1 -1
- package/lib/client.d.ts +167 -57
- package/lib/client.js +434 -96
- package/lib/client.js.map +1 -1
- package/lib/connectorplugins-waiter.d.ts +33 -0
- package/lib/connectorplugins-waiter.js +69 -0
- package/lib/connectorplugins-waiter.js.map +1 -0
- package/lib/model/action-type.d.ts +5 -4
- package/lib/model/action-type.js +5 -4
- package/lib/model/action-type.js.map +1 -1
- package/lib/model/change-service-connector-compartment-details.d.ts +7 -6
- package/lib/model/change-service-connector-compartment-details.js +5 -4
- package/lib/model/change-service-connector-compartment-details.js.map +1 -1
- package/lib/model/connector-plugin-collection.d.ts +32 -0
- package/lib/model/connector-plugin-collection.js +65 -0
- package/lib/model/connector-plugin-collection.js.map +1 -0
- package/lib/model/connector-plugin-lifecycle-state.d.ts +33 -0
- package/lib/model/connector-plugin-lifecycle-state.js +44 -0
- package/lib/model/connector-plugin-lifecycle-state.js.map +1 -0
- package/lib/model/connector-plugin-summary.d.ts +61 -0
- package/lib/model/connector-plugin-summary.js +76 -0
- package/lib/model/connector-plugin-summary.js.map +1 -0
- package/lib/model/connector-plugin.d.ts +67 -0
- package/lib/model/connector-plugin.js +76 -0
- package/lib/model/connector-plugin.js.map +1 -0
- package/lib/model/create-service-connector-details.d.ts +8 -7
- package/lib/model/create-service-connector-details.js +5 -4
- package/lib/model/create-service-connector-details.js.map +1 -1
- package/lib/model/dimension-details.d.ts +6 -5
- package/lib/model/dimension-details.js +5 -4
- package/lib/model/dimension-details.js.map +1 -1
- package/lib/model/dimension-value-details.d.ts +5 -4
- package/lib/model/dimension-value-details.js +9 -6
- package/lib/model/dimension-value-details.js.map +1 -1
- package/lib/model/estimated-throughput.d.ts +35 -0
- package/lib/model/estimated-throughput.js +46 -0
- package/lib/model/estimated-throughput.js.map +1 -0
- package/lib/model/function-task-details.d.ts +6 -5
- package/lib/model/function-task-details.js +5 -4
- package/lib/model/function-task-details.js.map +1 -1
- package/lib/model/functions-target-details.d.ts +22 -6
- package/lib/model/functions-target-details.js +5 -4
- package/lib/model/functions-target-details.js.map +1 -1
- package/lib/model/index.d.ts +25 -4
- package/lib/model/index.js +27 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/jmes-path-dimension-value.d.ts +5 -4
- package/lib/model/jmes-path-dimension-value.js +5 -4
- package/lib/model/jmes-path-dimension-value.js.map +1 -1
- package/lib/model/latest-streaming-cursor.d.ts +8 -5
- package/lib/model/latest-streaming-cursor.js +5 -4
- package/lib/model/latest-streaming-cursor.js.map +1 -1
- package/lib/model/lifecycle-state.d.ts +5 -4
- package/lib/model/lifecycle-state.js +5 -4
- package/lib/model/lifecycle-state.js.map +1 -1
- package/lib/model/log-rule-task-details.d.ts +8 -7
- package/lib/model/log-rule-task-details.js +5 -4
- package/lib/model/log-rule-task-details.js.map +1 -1
- package/lib/model/log-source.d.ts +7 -4
- package/lib/model/log-source.js +5 -4
- package/lib/model/log-source.js.map +1 -1
- package/lib/model/logging-analytics-target-details.d.ts +8 -7
- package/lib/model/logging-analytics-target-details.js +5 -4
- package/lib/model/logging-analytics-target-details.js.map +1 -1
- package/lib/model/logging-source-details.d.ts +6 -5
- package/lib/model/logging-source-details.js +5 -4
- package/lib/model/logging-source-details.js.map +1 -1
- package/lib/model/monitoring-source-all-metrics.d.ts +5 -4
- package/lib/model/monitoring-source-all-metrics.js +5 -4
- package/lib/model/monitoring-source-all-metrics.js.map +1 -1
- package/lib/model/monitoring-source-details.d.ts +7 -6
- package/lib/model/monitoring-source-details.js +5 -4
- package/lib/model/monitoring-source-details.js.map +1 -1
- package/lib/model/monitoring-source-metric-details.d.ts +5 -4
- package/lib/model/monitoring-source-metric-details.js +9 -6
- package/lib/model/monitoring-source-metric-details.js.map +1 -1
- package/lib/model/monitoring-source-namespace-details.d.ts +5 -4
- package/lib/model/monitoring-source-namespace-details.js +9 -6
- package/lib/model/monitoring-source-namespace-details.js.map +1 -1
- package/lib/model/monitoring-source-selected-namespace-details.d.ts +5 -4
- package/lib/model/monitoring-source-selected-namespace-details.js +5 -4
- package/lib/model/monitoring-source-selected-namespace-details.js.map +1 -1
- package/lib/model/monitoring-source-selected-namespace.d.ts +5 -4
- package/lib/model/monitoring-source-selected-namespace.js +5 -4
- package/lib/model/monitoring-source-selected-namespace.js.map +1 -1
- package/lib/model/monitoring-source.d.ts +6 -5
- package/lib/model/monitoring-source.js +5 -4
- package/lib/model/monitoring-source.js.map +1 -1
- package/lib/model/monitoring-target-details.d.ts +7 -6
- package/lib/model/monitoring-target-details.js +5 -4
- package/lib/model/monitoring-target-details.js.map +1 -1
- package/lib/model/notifications-target-details.d.ts +8 -7
- package/lib/model/notifications-target-details.js +5 -4
- package/lib/model/notifications-target-details.js.map +1 -1
- package/lib/model/object-storage-target-details.d.ts +10 -7
- package/lib/model/object-storage-target-details.js +5 -4
- package/lib/model/object-storage-target-details.js.map +1 -1
- package/lib/model/operation-status.d.ts +5 -4
- package/lib/model/operation-status.js +5 -4
- package/lib/model/operation-status.js.map +1 -1
- package/lib/model/operation-type.d.ts +5 -4
- package/lib/model/operation-type.js +5 -4
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/plugin-source-details.d.ts +44 -0
- package/lib/model/plugin-source-details.js +56 -0
- package/lib/model/plugin-source-details.js.map +1 -0
- package/lib/model/service-connector-collection.d.ts +6 -5
- package/lib/model/service-connector-collection.js +5 -4
- package/lib/model/service-connector-collection.js.map +1 -1
- package/lib/model/service-connector-summary.d.ts +11 -10
- package/lib/model/service-connector-summary.js +5 -4
- package/lib/model/service-connector-summary.js.map +1 -1
- package/lib/model/service-connector.d.ts +14 -13
- package/lib/model/service-connector.js +5 -4
- package/lib/model/service-connector.js.map +1 -1
- package/lib/model/sort-order.d.ts +5 -4
- package/lib/model/sort-order.js +5 -4
- package/lib/model/sort-order.js.map +1 -1
- package/lib/model/source-connector-plugin-summary.d.ts +37 -0
- package/lib/model/source-connector-plugin-summary.js +58 -0
- package/lib/model/source-connector-plugin-summary.js.map +1 -0
- package/lib/model/source-connector-plugin.d.ts +37 -0
- package/lib/model/source-connector-plugin.js +56 -0
- package/lib/model/source-connector-plugin.js.map +1 -0
- package/lib/model/source-details.d.ts +9 -8
- package/lib/model/source-details.js +13 -6
- package/lib/model/source-details.js.map +1 -1
- package/lib/model/static-dimension-value.d.ts +5 -4
- package/lib/model/static-dimension-value.js +5 -4
- package/lib/model/static-dimension-value.js.map +1 -1
- package/lib/model/streaming-cursor-details.d.ts +8 -5
- package/lib/model/streaming-cursor-details.js +9 -6
- package/lib/model/streaming-cursor-details.js.map +1 -1
- package/lib/model/streaming-source-details.d.ts +7 -4
- package/lib/model/streaming-source-details.js +5 -4
- package/lib/model/streaming-source-details.js.map +1 -1
- package/lib/model/streaming-target-details.d.ts +7 -6
- package/lib/model/streaming-target-details.js +5 -4
- package/lib/model/streaming-target-details.js.map +1 -1
- package/lib/model/target-connector-plugin-summary.d.ts +31 -0
- package/lib/model/target-connector-plugin-summary.js +58 -0
- package/lib/model/target-connector-plugin-summary.js.map +1 -0
- package/lib/model/target-connector-plugin.d.ts +31 -0
- package/lib/model/target-connector-plugin.js +56 -0
- package/lib/model/target-connector-plugin.js.map +1 -0
- package/lib/model/target-details.d.ts +9 -8
- package/lib/model/target-details.js +9 -6
- package/lib/model/target-details.js.map +1 -1
- package/lib/model/task-details.d.ts +9 -8
- package/lib/model/task-details.js +9 -6
- package/lib/model/task-details.js.map +1 -1
- package/lib/model/trim-horizon-streaming-cursor.d.ts +8 -5
- package/lib/model/trim-horizon-streaming-cursor.js +5 -4
- package/lib/model/trim-horizon-streaming-cursor.js.map +1 -1
- package/lib/model/update-service-connector-details.d.ts +7 -6
- package/lib/model/update-service-connector-details.js +5 -4
- package/lib/model/update-service-connector-details.js.map +1 -1
- package/lib/model/work-request-collection.d.ts +5 -4
- package/lib/model/work-request-collection.js +5 -4
- package/lib/model/work-request-collection.js.map +1 -1
- package/lib/model/work-request-error-collection.d.ts +5 -4
- package/lib/model/work-request-error-collection.js +5 -4
- package/lib/model/work-request-error-collection.js.map +1 -1
- package/lib/model/work-request-error.d.ts +5 -4
- package/lib/model/work-request-error.js +5 -4
- package/lib/model/work-request-error.js.map +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +5 -4
- package/lib/model/work-request-log-entry-collection.js +5 -4
- package/lib/model/work-request-log-entry-collection.js.map +1 -1
- package/lib/model/work-request-log-entry.d.ts +5 -4
- package/lib/model/work-request-log-entry.js +5 -4
- package/lib/model/work-request-log-entry.js.map +1 -1
- package/lib/model/work-request-resource.d.ts +5 -4
- package/lib/model/work-request-resource.js +5 -4
- package/lib/model/work-request-resource.js.map +1 -1
- package/lib/model/work-request.d.ts +7 -6
- package/lib/model/work-request.js +5 -4
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/activate-service-connector-request.d.ts +2 -2
- package/lib/request/change-service-connector-compartment-request.d.ts +3 -3
- package/lib/request/create-service-connector-request.d.ts +2 -2
- package/lib/request/deactivate-service-connector-request.d.ts +2 -2
- package/lib/request/delete-service-connector-request.d.ts +2 -2
- package/lib/request/get-connector-plugin-request.d.ts +29 -0
- package/lib/request/get-connector-plugin-request.js +15 -0
- package/lib/request/get-connector-plugin-request.js.map +1 -0
- package/lib/request/get-service-connector-request.d.ts +2 -2
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +9 -4
- package/lib/request/index.js +8 -5
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-connector-plugins-request.d.ts +77 -0
- package/lib/request/list-connector-plugins-request.js +24 -0
- package/lib/request/list-connector-plugins-request.js.map +1 -0
- package/lib/request/list-service-connectors-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-service-connector-request.d.ts +2 -2
- package/lib/response/get-connector-plugin-response.d.ts +25 -0
- package/lib/response/get-connector-plugin-response.js +15 -0
- package/lib/response/get-connector-plugin-response.js.map +1 -0
- package/lib/response/index.d.ts +9 -4
- package/lib/response/index.js +5 -4
- package/lib/response/index.js.map +1 -1
- package/lib/response/list-connector-plugins-response.d.ts +41 -0
- package/lib/response/list-connector-plugins-response.js +15 -0
- package/lib/response/list-connector-plugins-response.js.map +1 -0
- package/lib/serviceconnector-waiter.d.ts +5 -4
- package/lib/serviceconnector-waiter.js +5 -4
- package/lib/serviceconnector-waiter.js.map +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* Use the
|
|
5
|
-
For more information about
|
|
6
|
-
[
|
|
3
|
+
* Connector Hub API
|
|
4
|
+
* Use the Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
5
|
+
For more information about Connector Hub, see
|
|
6
|
+
[the Connector Hub documentation](/iaas/Content/connector-hub/home.htm).
|
|
7
|
+
Connector Hub is formerly known as Service Connector Hub.
|
|
7
8
|
|
|
8
9
|
* OpenAPI spec version: 20200909
|
|
9
10
|
*
|
|
@@ -43,15 +44,295 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
44
|
});
|
|
44
45
|
};
|
|
45
46
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.ServiceConnectorClient = exports.ServiceConnectorApiKeys = void 0;
|
|
47
|
+
exports.ServiceConnectorClient = exports.ServiceConnectorApiKeys = exports.ConnectorPluginsClient = exports.ConnectorPluginsApiKeys = void 0;
|
|
47
48
|
const common = require("oci-common");
|
|
48
49
|
const model = __importStar(require("./model"));
|
|
50
|
+
const connectorplugins_waiter_1 = require("./connectorplugins-waiter");
|
|
49
51
|
const serviceconnector_waiter_1 = require("./serviceconnector-waiter");
|
|
50
52
|
const oci_common_1 = require("oci-common");
|
|
51
53
|
const Breaker = require("opossum");
|
|
52
54
|
// ===============================================
|
|
53
55
|
// This file is autogenerated - Please do not edit
|
|
54
56
|
// ===============================================
|
|
57
|
+
var ConnectorPluginsApiKeys;
|
|
58
|
+
(function (ConnectorPluginsApiKeys) {
|
|
59
|
+
})(ConnectorPluginsApiKeys = exports.ConnectorPluginsApiKeys || (exports.ConnectorPluginsApiKeys = {}));
|
|
60
|
+
/**
|
|
61
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
62
|
+
*/
|
|
63
|
+
class ConnectorPluginsClient {
|
|
64
|
+
constructor(params, clientConfiguration) {
|
|
65
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
66
|
+
this["_endpoint"] = "";
|
|
67
|
+
this["_defaultHeaders"] = {};
|
|
68
|
+
this._circuitBreaker = null;
|
|
69
|
+
this._httpOptions = undefined;
|
|
70
|
+
this._bodyDuplexMode = undefined;
|
|
71
|
+
this.targetService = "ConnectorPlugins";
|
|
72
|
+
this._regionId = "";
|
|
73
|
+
this._lastSetRegionOrRegionId = "";
|
|
74
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
75
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
76
|
+
: null;
|
|
77
|
+
if (clientConfiguration) {
|
|
78
|
+
this._clientConfiguration = clientConfiguration;
|
|
79
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
80
|
+
? clientConfiguration.circuitBreaker.circuit
|
|
81
|
+
: null;
|
|
82
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
83
|
+
? clientConfiguration.httpOptions
|
|
84
|
+
: undefined;
|
|
85
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
|
|
86
|
+
? clientConfiguration.bodyDuplexMode
|
|
87
|
+
: undefined;
|
|
88
|
+
}
|
|
89
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("sch")) {
|
|
90
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
91
|
+
throw errmsg.concat("sch");
|
|
92
|
+
}
|
|
93
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
94
|
+
const specCircuitBreakerEnabled = true;
|
|
95
|
+
if (!this._circuitBreaker &&
|
|
96
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
97
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
98
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
99
|
+
}
|
|
100
|
+
this._httpClient =
|
|
101
|
+
params.httpClient ||
|
|
102
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
103
|
+
if (params.authenticationDetailsProvider &&
|
|
104
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
105
|
+
const provider = params.authenticationDetailsProvider;
|
|
106
|
+
if (provider.getRegion()) {
|
|
107
|
+
this.region = provider.getRegion();
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
113
|
+
*/
|
|
114
|
+
get endpoint() {
|
|
115
|
+
return this._endpoint;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
119
|
+
* @param endpoint The endpoint of the service.
|
|
120
|
+
*/
|
|
121
|
+
set endpoint(endpoint) {
|
|
122
|
+
this._endpoint = endpoint;
|
|
123
|
+
this._endpoint = this._endpoint + "/20200909";
|
|
124
|
+
if (this.logger)
|
|
125
|
+
this.logger.info(`ConnectorPluginsClient endpoint set to ${this._endpoint}`);
|
|
126
|
+
}
|
|
127
|
+
get logger() {
|
|
128
|
+
return common.LOG.logger;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
132
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
133
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
134
|
+
*/
|
|
135
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
136
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
137
|
+
if (this.logger)
|
|
138
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
139
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
140
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ConnectorPluginsClient.serviceEndpointTemplate, this._region, ConnectorPluginsClient.endpointServiceName);
|
|
141
|
+
}
|
|
142
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
143
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ConnectorPluginsClient.serviceEndpointTemplate, this._regionId, ConnectorPluginsClient.endpointServiceName);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
148
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
149
|
+
* @param region The region of the service.
|
|
150
|
+
*/
|
|
151
|
+
set region(region) {
|
|
152
|
+
this._region = region;
|
|
153
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ConnectorPluginsClient.serviceEndpointTemplate, region, ConnectorPluginsClient.endpointServiceName);
|
|
154
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
158
|
+
*
|
|
159
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
160
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
161
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
162
|
+
* @param regionId The public region ID.
|
|
163
|
+
*/
|
|
164
|
+
set regionId(regionId) {
|
|
165
|
+
this._regionId = regionId;
|
|
166
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ConnectorPluginsClient.serviceEndpointTemplate, regionId, ConnectorPluginsClient.endpointServiceName);
|
|
167
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Creates a new ConnectorPluginsWaiter for resources for this service.
|
|
171
|
+
*
|
|
172
|
+
* @param config The waiter configuration for termination and delay strategy
|
|
173
|
+
* @return The service waiters.
|
|
174
|
+
*/
|
|
175
|
+
createWaiters(config) {
|
|
176
|
+
this._waiters = new connectorplugins_waiter_1.ConnectorPluginsWaiter(this, config);
|
|
177
|
+
return this._waiters;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Gets the waiters available for resources for this service.
|
|
181
|
+
*
|
|
182
|
+
* @return The service waiters.
|
|
183
|
+
*/
|
|
184
|
+
getWaiters() {
|
|
185
|
+
if (this._waiters) {
|
|
186
|
+
return this._waiters;
|
|
187
|
+
}
|
|
188
|
+
throw Error("Waiters do not exist. Please create waiters.");
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
192
|
+
*/
|
|
193
|
+
shutdownCircuitBreaker() {
|
|
194
|
+
if (this._circuitBreaker) {
|
|
195
|
+
this._circuitBreaker.shutdown();
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Gets the specified connector plugin configuration information.
|
|
200
|
+
*
|
|
201
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
202
|
+
* @param GetConnectorPluginRequest
|
|
203
|
+
* @return GetConnectorPluginResponse
|
|
204
|
+
* @throws OciError when an error occurs
|
|
205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/GetConnectorPlugin.ts.html |here} to see how to use GetConnectorPlugin API.
|
|
206
|
+
*/
|
|
207
|
+
getConnectorPlugin(getConnectorPluginRequest) {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
209
|
+
if (this.logger)
|
|
210
|
+
this.logger.debug("Calling operation ConnectorPluginsClient#getConnectorPlugin.");
|
|
211
|
+
const operationName = "getConnectorPlugin";
|
|
212
|
+
const apiReferenceLink = "";
|
|
213
|
+
const pathParams = {
|
|
214
|
+
"{connectorPluginName}": getConnectorPluginRequest.connectorPluginName
|
|
215
|
+
};
|
|
216
|
+
const queryParams = {};
|
|
217
|
+
let headerParams = {
|
|
218
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
219
|
+
"opc-request-id": getConnectorPluginRequest.opcRequestId
|
|
220
|
+
};
|
|
221
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
222
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConnectorPluginRequest.retryConfiguration, specRetryConfiguration);
|
|
223
|
+
if (this.logger)
|
|
224
|
+
retrier.logger = this.logger;
|
|
225
|
+
const request = yield oci_common_1.composeRequest({
|
|
226
|
+
baseEndpoint: this._endpoint,
|
|
227
|
+
defaultHeaders: this._defaultHeaders,
|
|
228
|
+
path: "/connectorPlugins/{connectorPluginName}",
|
|
229
|
+
method: "GET",
|
|
230
|
+
pathParams: pathParams,
|
|
231
|
+
headerParams: headerParams,
|
|
232
|
+
queryParams: queryParams
|
|
233
|
+
});
|
|
234
|
+
try {
|
|
235
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
236
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
237
|
+
responseObject: {},
|
|
238
|
+
body: yield response.json(),
|
|
239
|
+
bodyKey: "connectorPlugin",
|
|
240
|
+
bodyModel: model.ConnectorPlugin,
|
|
241
|
+
type: "model.ConnectorPlugin",
|
|
242
|
+
responseHeaders: [
|
|
243
|
+
{
|
|
244
|
+
value: response.headers.get("opc-request-id"),
|
|
245
|
+
key: "opcRequestId",
|
|
246
|
+
dataType: "string"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
});
|
|
250
|
+
return sdkResponse;
|
|
251
|
+
}
|
|
252
|
+
catch (err) {
|
|
253
|
+
throw err;
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Lists connector plugins according to the specified filter.
|
|
259
|
+
*
|
|
260
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
261
|
+
* @param ListConnectorPluginsRequest
|
|
262
|
+
* @return ListConnectorPluginsResponse
|
|
263
|
+
* @throws OciError when an error occurs
|
|
264
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/ListConnectorPlugins.ts.html |here} to see how to use ListConnectorPlugins API.
|
|
265
|
+
*/
|
|
266
|
+
listConnectorPlugins(listConnectorPluginsRequest) {
|
|
267
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
268
|
+
if (this.logger)
|
|
269
|
+
this.logger.debug("Calling operation ConnectorPluginsClient#listConnectorPlugins.");
|
|
270
|
+
const operationName = "listConnectorPlugins";
|
|
271
|
+
const apiReferenceLink = "";
|
|
272
|
+
const pathParams = {};
|
|
273
|
+
const queryParams = {
|
|
274
|
+
"lifecycleState": listConnectorPluginsRequest.lifecycleState,
|
|
275
|
+
"displayName": listConnectorPluginsRequest.displayName,
|
|
276
|
+
"name": listConnectorPluginsRequest.name,
|
|
277
|
+
"limit": listConnectorPluginsRequest.limit,
|
|
278
|
+
"page": listConnectorPluginsRequest.page,
|
|
279
|
+
"sortOrder": listConnectorPluginsRequest.sortOrder,
|
|
280
|
+
"sortBy": listConnectorPluginsRequest.sortBy
|
|
281
|
+
};
|
|
282
|
+
let headerParams = {
|
|
283
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
284
|
+
"opc-request-id": listConnectorPluginsRequest.opcRequestId
|
|
285
|
+
};
|
|
286
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
287
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConnectorPluginsRequest.retryConfiguration, specRetryConfiguration);
|
|
288
|
+
if (this.logger)
|
|
289
|
+
retrier.logger = this.logger;
|
|
290
|
+
const request = yield oci_common_1.composeRequest({
|
|
291
|
+
baseEndpoint: this._endpoint,
|
|
292
|
+
defaultHeaders: this._defaultHeaders,
|
|
293
|
+
path: "/connectorPlugins",
|
|
294
|
+
method: "GET",
|
|
295
|
+
pathParams: pathParams,
|
|
296
|
+
headerParams: headerParams,
|
|
297
|
+
queryParams: queryParams
|
|
298
|
+
});
|
|
299
|
+
try {
|
|
300
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
301
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
302
|
+
responseObject: {},
|
|
303
|
+
body: yield response.json(),
|
|
304
|
+
bodyKey: "connectorPluginCollection",
|
|
305
|
+
bodyModel: model.ConnectorPluginCollection,
|
|
306
|
+
type: "model.ConnectorPluginCollection",
|
|
307
|
+
responseHeaders: [
|
|
308
|
+
{
|
|
309
|
+
value: response.headers.get("opc-request-id"),
|
|
310
|
+
key: "opcRequestId",
|
|
311
|
+
dataType: "string"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
value: response.headers.get("opc-next-page"),
|
|
315
|
+
key: "opcNextPage",
|
|
316
|
+
dataType: "string"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
value: response.headers.get("opc-prev-page"),
|
|
320
|
+
key: "opcPrevPage",
|
|
321
|
+
dataType: "string"
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
});
|
|
325
|
+
return sdkResponse;
|
|
326
|
+
}
|
|
327
|
+
catch (err) {
|
|
328
|
+
throw err;
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
exports.ConnectorPluginsClient = ConnectorPluginsClient;
|
|
334
|
+
ConnectorPluginsClient.serviceEndpointTemplate = "https://service-connector-hub.{region}.oci.{secondLevelDomain}";
|
|
335
|
+
ConnectorPluginsClient.endpointServiceName = "";
|
|
55
336
|
var ServiceConnectorApiKeys;
|
|
56
337
|
(function (ServiceConnectorApiKeys) {
|
|
57
338
|
})(ServiceConnectorApiKeys = exports.ServiceConnectorApiKeys || (exports.ServiceConnectorApiKeys = {}));
|
|
@@ -60,7 +341,7 @@ var ServiceConnectorApiKeys;
|
|
|
60
341
|
*/
|
|
61
342
|
class ServiceConnectorClient {
|
|
62
343
|
constructor(params, clientConfiguration) {
|
|
63
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
344
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
64
345
|
this["_endpoint"] = "";
|
|
65
346
|
this["_defaultHeaders"] = {};
|
|
66
347
|
this._circuitBreaker = null;
|
|
@@ -119,7 +400,11 @@ class ServiceConnectorClient {
|
|
|
119
400
|
set endpoint(endpoint) {
|
|
120
401
|
this._endpoint = endpoint;
|
|
121
402
|
this._endpoint = this._endpoint + "/20200909";
|
|
122
|
-
|
|
403
|
+
if (this.logger)
|
|
404
|
+
this.logger.info(`ServiceConnectorClient endpoint set to ${this._endpoint}`);
|
|
405
|
+
}
|
|
406
|
+
get logger() {
|
|
407
|
+
return common.LOG.logger;
|
|
123
408
|
}
|
|
124
409
|
/**
|
|
125
410
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -128,7 +413,8 @@ class ServiceConnectorClient {
|
|
|
128
413
|
*/
|
|
129
414
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
130
415
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
131
|
-
|
|
416
|
+
if (this.logger)
|
|
417
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
132
418
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
133
419
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ServiceConnectorClient.serviceEndpointTemplate, this._region, ServiceConnectorClient.endpointServiceName);
|
|
134
420
|
}
|
|
@@ -189,25 +475,26 @@ class ServiceConnectorClient {
|
|
|
189
475
|
}
|
|
190
476
|
}
|
|
191
477
|
/**
|
|
192
|
-
* Activates the specified
|
|
478
|
+
* Activates the specified connector.
|
|
193
479
|
* <p>
|
|
194
|
-
After you send your request, the
|
|
480
|
+
After you send your request, the connector's state is temporarily
|
|
195
481
|
* UPDATING. When the state changes to ACTIVE, data begins transferring from the
|
|
196
|
-
* source service to the target service.
|
|
197
|
-
*
|
|
198
|
-
* [
|
|
482
|
+
* source service to the target service.
|
|
483
|
+
* For more information, see
|
|
484
|
+
* [Activating a Connector](https://docs.cloud.oracle.com/iaas/Content/connector-hub/activate-service-connector.htm).
|
|
199
485
|
*
|
|
200
|
-
* This operation
|
|
486
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
201
487
|
* @param ActivateServiceConnectorRequest
|
|
202
488
|
* @return ActivateServiceConnectorResponse
|
|
203
489
|
* @throws OciError when an error occurs
|
|
204
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
490
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/ActivateServiceConnector.ts.html |here} to see how to use ActivateServiceConnector API.
|
|
205
491
|
*/
|
|
206
492
|
activateServiceConnector(activateServiceConnectorRequest) {
|
|
207
493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
208
|
-
|
|
494
|
+
if (this.logger)
|
|
495
|
+
this.logger.debug("Calling operation ServiceConnectorClient#activateServiceConnector.");
|
|
209
496
|
const operationName = "activateServiceConnector";
|
|
210
|
-
const apiReferenceLink = "
|
|
497
|
+
const apiReferenceLink = "";
|
|
211
498
|
const pathParams = {
|
|
212
499
|
"{serviceConnectorId}": activateServiceConnectorRequest.serviceConnectorId
|
|
213
500
|
};
|
|
@@ -218,8 +505,10 @@ class ServiceConnectorClient {
|
|
|
218
505
|
"if-match": activateServiceConnectorRequest.ifMatch,
|
|
219
506
|
"opc-request-id": activateServiceConnectorRequest.opcRequestId
|
|
220
507
|
};
|
|
221
|
-
const specRetryConfiguration = common.
|
|
508
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
222
509
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateServiceConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
510
|
+
if (this.logger)
|
|
511
|
+
retrier.logger = this.logger;
|
|
223
512
|
const request = yield oci_common_1.composeRequest({
|
|
224
513
|
baseEndpoint: this._endpoint,
|
|
225
514
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -254,23 +543,24 @@ class ServiceConnectorClient {
|
|
|
254
543
|
});
|
|
255
544
|
}
|
|
256
545
|
/**
|
|
257
|
-
* Moves a
|
|
258
|
-
* For information
|
|
259
|
-
* [Moving
|
|
546
|
+
* Moves a connector into a different compartment within the same tenancy.
|
|
547
|
+
* For more information, see
|
|
548
|
+
* [Moving a Connector](https://docs.cloud.oracle.com/iaas/Content/connector-hub/change-compartment-service-connector.htm).
|
|
260
549
|
* <p>
|
|
261
550
|
When provided, If-Match is checked against ETag values of the resource.
|
|
262
551
|
*
|
|
263
|
-
* This operation
|
|
552
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
264
553
|
* @param ChangeServiceConnectorCompartmentRequest
|
|
265
554
|
* @return ChangeServiceConnectorCompartmentResponse
|
|
266
555
|
* @throws OciError when an error occurs
|
|
267
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
556
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/ChangeServiceConnectorCompartment.ts.html |here} to see how to use ChangeServiceConnectorCompartment API.
|
|
268
557
|
*/
|
|
269
558
|
changeServiceConnectorCompartment(changeServiceConnectorCompartmentRequest) {
|
|
270
559
|
return __awaiter(this, void 0, void 0, function* () {
|
|
271
|
-
|
|
560
|
+
if (this.logger)
|
|
561
|
+
this.logger.debug("Calling operation ServiceConnectorClient#changeServiceConnectorCompartment.");
|
|
272
562
|
const operationName = "changeServiceConnectorCompartment";
|
|
273
|
-
const apiReferenceLink = "
|
|
563
|
+
const apiReferenceLink = "";
|
|
274
564
|
const pathParams = {
|
|
275
565
|
"{serviceConnectorId}": changeServiceConnectorCompartmentRequest.serviceConnectorId
|
|
276
566
|
};
|
|
@@ -280,8 +570,10 @@ class ServiceConnectorClient {
|
|
|
280
570
|
"if-match": changeServiceConnectorCompartmentRequest.ifMatch,
|
|
281
571
|
"opc-request-id": changeServiceConnectorCompartmentRequest.opcRequestId
|
|
282
572
|
};
|
|
283
|
-
const specRetryConfiguration = common.
|
|
573
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
284
574
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeServiceConnectorCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
575
|
+
if (this.logger)
|
|
576
|
+
retrier.logger = this.logger;
|
|
285
577
|
const request = yield oci_common_1.composeRequest({
|
|
286
578
|
baseEndpoint: this._endpoint,
|
|
287
579
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -317,38 +609,39 @@ class ServiceConnectorClient {
|
|
|
317
609
|
});
|
|
318
610
|
}
|
|
319
611
|
/**
|
|
320
|
-
* Creates a new
|
|
321
|
-
* A
|
|
612
|
+
* Creates a new connector in the specified compartment.
|
|
613
|
+
* A connector is a logically defined flow for moving data from
|
|
322
614
|
* a source service to a destination service in Oracle Cloud Infrastructure.
|
|
323
|
-
* For
|
|
324
|
-
* [
|
|
325
|
-
* For general information about
|
|
326
|
-
* [
|
|
615
|
+
* For more information, see
|
|
616
|
+
* [Creating a Connector](https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).
|
|
617
|
+
* For general information about connectors, see
|
|
618
|
+
* [Overview of Connector Hub](https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm).
|
|
327
619
|
* <p>
|
|
328
620
|
For purposes of access control, you must provide the
|
|
329
621
|
* [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where
|
|
330
|
-
* you want the
|
|
622
|
+
* you want the connector to reside. Notice that the connector
|
|
331
623
|
* doesn't have to be in the same compartment as the source or target services.
|
|
332
624
|
* For information about access control and compartments, see
|
|
333
625
|
* [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
334
626
|
* <p>
|
|
335
|
-
After you send your request, the new
|
|
627
|
+
After you send your request, the new connector's state is temporarily
|
|
336
628
|
* CREATING. When the state changes to ACTIVE, data begins transferring from the
|
|
337
629
|
* source service to the target service. For instructions on deactivating and
|
|
338
|
-
* activating
|
|
339
|
-
* [
|
|
630
|
+
* activating connectors, see
|
|
631
|
+
* [Activating a Connector](https://docs.cloud.oracle.com/iaas/Content/connector-hub/activate-service-connector.htm).
|
|
340
632
|
*
|
|
341
|
-
* This operation
|
|
633
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
342
634
|
* @param CreateServiceConnectorRequest
|
|
343
635
|
* @return CreateServiceConnectorResponse
|
|
344
636
|
* @throws OciError when an error occurs
|
|
345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/CreateServiceConnector.ts.html |here} to see how to use CreateServiceConnector API.
|
|
346
638
|
*/
|
|
347
639
|
createServiceConnector(createServiceConnectorRequest) {
|
|
348
640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
349
|
-
|
|
641
|
+
if (this.logger)
|
|
642
|
+
this.logger.debug("Calling operation ServiceConnectorClient#createServiceConnector.");
|
|
350
643
|
const operationName = "createServiceConnector";
|
|
351
|
-
const apiReferenceLink = "
|
|
644
|
+
const apiReferenceLink = "";
|
|
352
645
|
const pathParams = {};
|
|
353
646
|
const queryParams = {};
|
|
354
647
|
let headerParams = {
|
|
@@ -356,8 +649,10 @@ class ServiceConnectorClient {
|
|
|
356
649
|
"opc-retry-token": createServiceConnectorRequest.opcRetryToken,
|
|
357
650
|
"opc-request-id": createServiceConnectorRequest.opcRequestId
|
|
358
651
|
};
|
|
359
|
-
const specRetryConfiguration = common.
|
|
652
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
360
653
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createServiceConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
654
|
+
if (this.logger)
|
|
655
|
+
retrier.logger = this.logger;
|
|
361
656
|
const request = yield oci_common_1.composeRequest({
|
|
362
657
|
baseEndpoint: this._endpoint,
|
|
363
658
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -393,24 +688,25 @@ class ServiceConnectorClient {
|
|
|
393
688
|
});
|
|
394
689
|
}
|
|
395
690
|
/**
|
|
396
|
-
* Deactivates the specified
|
|
691
|
+
* Deactivates the specified connector.
|
|
397
692
|
* <p>
|
|
398
|
-
After you send your request, the
|
|
693
|
+
After you send your request, the connector's state is temporarily
|
|
399
694
|
* UPDATING and any data transfer stops. The state then changes to INACTIVE.
|
|
400
|
-
* For
|
|
401
|
-
* [
|
|
695
|
+
* For more information, see
|
|
696
|
+
* [Deactivating a Connector](https://docs.cloud.oracle.com/iaas/Content/connector-hub/deactivate-service-connector.htm).
|
|
402
697
|
*
|
|
403
|
-
* This operation
|
|
698
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
404
699
|
* @param DeactivateServiceConnectorRequest
|
|
405
700
|
* @return DeactivateServiceConnectorResponse
|
|
406
701
|
* @throws OciError when an error occurs
|
|
407
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
702
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/DeactivateServiceConnector.ts.html |here} to see how to use DeactivateServiceConnector API.
|
|
408
703
|
*/
|
|
409
704
|
deactivateServiceConnector(deactivateServiceConnectorRequest) {
|
|
410
705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
411
|
-
|
|
706
|
+
if (this.logger)
|
|
707
|
+
this.logger.debug("Calling operation ServiceConnectorClient#deactivateServiceConnector.");
|
|
412
708
|
const operationName = "deactivateServiceConnector";
|
|
413
|
-
const apiReferenceLink = "
|
|
709
|
+
const apiReferenceLink = "";
|
|
414
710
|
const pathParams = {
|
|
415
711
|
"{serviceConnectorId}": deactivateServiceConnectorRequest.serviceConnectorId
|
|
416
712
|
};
|
|
@@ -421,8 +717,10 @@ class ServiceConnectorClient {
|
|
|
421
717
|
"if-match": deactivateServiceConnectorRequest.ifMatch,
|
|
422
718
|
"opc-request-id": deactivateServiceConnectorRequest.opcRequestId
|
|
423
719
|
};
|
|
424
|
-
const specRetryConfiguration = common.
|
|
720
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
425
721
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateServiceConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
722
|
+
if (this.logger)
|
|
723
|
+
retrier.logger = this.logger;
|
|
426
724
|
const request = yield oci_common_1.composeRequest({
|
|
427
725
|
baseEndpoint: this._endpoint,
|
|
428
726
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -457,22 +755,25 @@ class ServiceConnectorClient {
|
|
|
457
755
|
});
|
|
458
756
|
}
|
|
459
757
|
/**
|
|
460
|
-
* Deletes the specified
|
|
758
|
+
* Deletes the specified connector.
|
|
759
|
+
* For more information, see
|
|
760
|
+
* [Deleting a Connector](https://docs.cloud.oracle.com/iaas/Content/connector-hub/delete-service-connector.htm).
|
|
461
761
|
* <p>
|
|
462
|
-
After you send your request, the
|
|
762
|
+
After you send your request, the connector's state is temporarily
|
|
463
763
|
* DELETING and any data transfer stops. The state then changes to DELETED.
|
|
464
764
|
*
|
|
465
|
-
* This operation
|
|
765
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
466
766
|
* @param DeleteServiceConnectorRequest
|
|
467
767
|
* @return DeleteServiceConnectorResponse
|
|
468
768
|
* @throws OciError when an error occurs
|
|
469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
769
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/DeleteServiceConnector.ts.html |here} to see how to use DeleteServiceConnector API.
|
|
470
770
|
*/
|
|
471
771
|
deleteServiceConnector(deleteServiceConnectorRequest) {
|
|
472
772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
473
|
-
|
|
773
|
+
if (this.logger)
|
|
774
|
+
this.logger.debug("Calling operation ServiceConnectorClient#deleteServiceConnector.");
|
|
474
775
|
const operationName = "deleteServiceConnector";
|
|
475
|
-
const apiReferenceLink = "
|
|
776
|
+
const apiReferenceLink = "";
|
|
476
777
|
const pathParams = {
|
|
477
778
|
"{serviceConnectorId}": deleteServiceConnectorRequest.serviceConnectorId
|
|
478
779
|
};
|
|
@@ -482,8 +783,10 @@ class ServiceConnectorClient {
|
|
|
482
783
|
"if-match": deleteServiceConnectorRequest.ifMatch,
|
|
483
784
|
"opc-request-id": deleteServiceConnectorRequest.opcRequestId
|
|
484
785
|
};
|
|
485
|
-
const specRetryConfiguration = common.
|
|
786
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
486
787
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteServiceConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
788
|
+
if (this.logger)
|
|
789
|
+
retrier.logger = this.logger;
|
|
487
790
|
const request = yield oci_common_1.composeRequest({
|
|
488
791
|
baseEndpoint: this._endpoint,
|
|
489
792
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -518,19 +821,22 @@ class ServiceConnectorClient {
|
|
|
518
821
|
});
|
|
519
822
|
}
|
|
520
823
|
/**
|
|
521
|
-
* Gets the specified
|
|
824
|
+
* Gets the specified connector's configuration information.
|
|
825
|
+
* For more information, see
|
|
826
|
+
* [Getting a Connector](https://docs.cloud.oracle.com/iaas/Content/connector-hub/get-service-connector.htm).
|
|
522
827
|
*
|
|
523
|
-
* This operation
|
|
828
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
524
829
|
* @param GetServiceConnectorRequest
|
|
525
830
|
* @return GetServiceConnectorResponse
|
|
526
831
|
* @throws OciError when an error occurs
|
|
527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
832
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/GetServiceConnector.ts.html |here} to see how to use GetServiceConnector API.
|
|
528
833
|
*/
|
|
529
834
|
getServiceConnector(getServiceConnectorRequest) {
|
|
530
835
|
return __awaiter(this, void 0, void 0, function* () {
|
|
531
|
-
|
|
836
|
+
if (this.logger)
|
|
837
|
+
this.logger.debug("Calling operation ServiceConnectorClient#getServiceConnector.");
|
|
532
838
|
const operationName = "getServiceConnector";
|
|
533
|
-
const apiReferenceLink = "
|
|
839
|
+
const apiReferenceLink = "";
|
|
534
840
|
const pathParams = {
|
|
535
841
|
"{serviceConnectorId}": getServiceConnectorRequest.serviceConnectorId
|
|
536
842
|
};
|
|
@@ -539,8 +845,10 @@ class ServiceConnectorClient {
|
|
|
539
845
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
540
846
|
"opc-request-id": getServiceConnectorRequest.opcRequestId
|
|
541
847
|
};
|
|
542
|
-
const specRetryConfiguration = common.
|
|
848
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
543
849
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getServiceConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
850
|
+
if (this.logger)
|
|
851
|
+
retrier.logger = this.logger;
|
|
544
852
|
const request = yield oci_common_1.composeRequest({
|
|
545
853
|
baseEndpoint: this._endpoint,
|
|
546
854
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -580,18 +888,21 @@ class ServiceConnectorClient {
|
|
|
580
888
|
}
|
|
581
889
|
/**
|
|
582
890
|
* Gets the details of the specified work request.
|
|
891
|
+
* For more information, see
|
|
892
|
+
* [Getting a Work Request's Details](https://docs.cloud.oracle.com/iaas/Content/connector-hub/get-work-request.htm).
|
|
583
893
|
*
|
|
584
|
-
* This operation
|
|
894
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
585
895
|
* @param GetWorkRequestRequest
|
|
586
896
|
* @return GetWorkRequestResponse
|
|
587
897
|
* @throws OciError when an error occurs
|
|
588
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
898
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
589
899
|
*/
|
|
590
900
|
getWorkRequest(getWorkRequestRequest) {
|
|
591
901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
592
|
-
|
|
902
|
+
if (this.logger)
|
|
903
|
+
this.logger.debug("Calling operation ServiceConnectorClient#getWorkRequest.");
|
|
593
904
|
const operationName = "getWorkRequest";
|
|
594
|
-
const apiReferenceLink = "
|
|
905
|
+
const apiReferenceLink = "";
|
|
595
906
|
const pathParams = {
|
|
596
907
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
597
908
|
};
|
|
@@ -600,8 +911,10 @@ class ServiceConnectorClient {
|
|
|
600
911
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
601
912
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
602
913
|
};
|
|
603
|
-
const specRetryConfiguration = common.
|
|
914
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
604
915
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
916
|
+
if (this.logger)
|
|
917
|
+
retrier.logger = this.logger;
|
|
605
918
|
const request = yield oci_common_1.composeRequest({
|
|
606
919
|
baseEndpoint: this._endpoint,
|
|
607
920
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -640,19 +953,22 @@ class ServiceConnectorClient {
|
|
|
640
953
|
});
|
|
641
954
|
}
|
|
642
955
|
/**
|
|
643
|
-
* Lists
|
|
956
|
+
* Lists connectors in the specified compartment.
|
|
957
|
+
* For more information, see
|
|
958
|
+
* [Listing Connectors](https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-service-connector.htm).
|
|
644
959
|
*
|
|
645
|
-
* This operation
|
|
960
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
646
961
|
* @param ListServiceConnectorsRequest
|
|
647
962
|
* @return ListServiceConnectorsResponse
|
|
648
963
|
* @throws OciError when an error occurs
|
|
649
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
964
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/ListServiceConnectors.ts.html |here} to see how to use ListServiceConnectors API.
|
|
650
965
|
*/
|
|
651
966
|
listServiceConnectors(listServiceConnectorsRequest) {
|
|
652
967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
653
|
-
|
|
968
|
+
if (this.logger)
|
|
969
|
+
this.logger.debug("Calling operation ServiceConnectorClient#listServiceConnectors.");
|
|
654
970
|
const operationName = "listServiceConnectors";
|
|
655
|
-
const apiReferenceLink = "
|
|
971
|
+
const apiReferenceLink = "";
|
|
656
972
|
const pathParams = {};
|
|
657
973
|
const queryParams = {
|
|
658
974
|
"compartmentId": listServiceConnectorsRequest.compartmentId,
|
|
@@ -667,8 +983,10 @@ class ServiceConnectorClient {
|
|
|
667
983
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
668
984
|
"opc-request-id": listServiceConnectorsRequest.opcRequestId
|
|
669
985
|
};
|
|
670
|
-
const specRetryConfiguration = common.
|
|
986
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
671
987
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServiceConnectorsRequest.retryConfiguration, specRetryConfiguration);
|
|
988
|
+
if (this.logger)
|
|
989
|
+
retrier.logger = this.logger;
|
|
672
990
|
const request = yield oci_common_1.composeRequest({
|
|
673
991
|
baseEndpoint: this._endpoint,
|
|
674
992
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -713,18 +1031,21 @@ class ServiceConnectorClient {
|
|
|
713
1031
|
}
|
|
714
1032
|
/**
|
|
715
1033
|
* Lists work request errors for the specified work request. Results are paginated.
|
|
1034
|
+
* For more information, see
|
|
1035
|
+
* [Listing Work Request Errors](https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-work-request-error.htm).
|
|
716
1036
|
*
|
|
717
|
-
* This operation
|
|
1037
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
718
1038
|
* @param ListWorkRequestErrorsRequest
|
|
719
1039
|
* @return ListWorkRequestErrorsResponse
|
|
720
1040
|
* @throws OciError when an error occurs
|
|
721
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1041
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
722
1042
|
*/
|
|
723
1043
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
724
1044
|
return __awaiter(this, void 0, void 0, function* () {
|
|
725
|
-
|
|
1045
|
+
if (this.logger)
|
|
1046
|
+
this.logger.debug("Calling operation ServiceConnectorClient#listWorkRequestErrors.");
|
|
726
1047
|
const operationName = "listWorkRequestErrors";
|
|
727
|
-
const apiReferenceLink = "
|
|
1048
|
+
const apiReferenceLink = "";
|
|
728
1049
|
const pathParams = {
|
|
729
1050
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
730
1051
|
};
|
|
@@ -736,8 +1057,10 @@ class ServiceConnectorClient {
|
|
|
736
1057
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
737
1058
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
738
1059
|
};
|
|
739
|
-
const specRetryConfiguration = common.
|
|
1060
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
740
1061
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1062
|
+
if (this.logger)
|
|
1063
|
+
retrier.logger = this.logger;
|
|
741
1064
|
const request = yield oci_common_1.composeRequest({
|
|
742
1065
|
baseEndpoint: this._endpoint,
|
|
743
1066
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -782,18 +1105,21 @@ class ServiceConnectorClient {
|
|
|
782
1105
|
}
|
|
783
1106
|
/**
|
|
784
1107
|
* Lists logs for the specified work request. Results are paginated.
|
|
1108
|
+
* For more information, see
|
|
1109
|
+
* [Listing Work Request Log Entries](https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-work-request-log-entry.htm).
|
|
785
1110
|
*
|
|
786
|
-
* This operation
|
|
1111
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
787
1112
|
* @param ListWorkRequestLogsRequest
|
|
788
1113
|
* @return ListWorkRequestLogsResponse
|
|
789
1114
|
* @throws OciError when an error occurs
|
|
790
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1115
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
791
1116
|
*/
|
|
792
1117
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
793
1118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
794
|
-
|
|
1119
|
+
if (this.logger)
|
|
1120
|
+
this.logger.debug("Calling operation ServiceConnectorClient#listWorkRequestLogs.");
|
|
795
1121
|
const operationName = "listWorkRequestLogs";
|
|
796
|
-
const apiReferenceLink = "
|
|
1122
|
+
const apiReferenceLink = "";
|
|
797
1123
|
const pathParams = {
|
|
798
1124
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
799
1125
|
};
|
|
@@ -805,8 +1131,10 @@ class ServiceConnectorClient {
|
|
|
805
1131
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
806
1132
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
807
1133
|
};
|
|
808
|
-
const specRetryConfiguration = common.
|
|
1134
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
809
1135
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1136
|
+
if (this.logger)
|
|
1137
|
+
retrier.logger = this.logger;
|
|
810
1138
|
const request = yield oci_common_1.composeRequest({
|
|
811
1139
|
baseEndpoint: this._endpoint,
|
|
812
1140
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -851,18 +1179,21 @@ class ServiceConnectorClient {
|
|
|
851
1179
|
}
|
|
852
1180
|
/**
|
|
853
1181
|
* Lists the work requests in the specified compartment.
|
|
1182
|
+
* For more information, see
|
|
1183
|
+
* [Listing Work Requests](https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-work-request.htm).
|
|
854
1184
|
*
|
|
855
|
-
* This operation
|
|
1185
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
856
1186
|
* @param ListWorkRequestsRequest
|
|
857
1187
|
* @return ListWorkRequestsResponse
|
|
858
1188
|
* @throws OciError when an error occurs
|
|
859
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1189
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
860
1190
|
*/
|
|
861
1191
|
listWorkRequests(listWorkRequestsRequest) {
|
|
862
1192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
863
|
-
|
|
1193
|
+
if (this.logger)
|
|
1194
|
+
this.logger.debug("Calling operation ServiceConnectorClient#listWorkRequests.");
|
|
864
1195
|
const operationName = "listWorkRequests";
|
|
865
|
-
const apiReferenceLink = "
|
|
1196
|
+
const apiReferenceLink = "";
|
|
866
1197
|
const pathParams = {};
|
|
867
1198
|
const queryParams = {
|
|
868
1199
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -873,8 +1204,10 @@ class ServiceConnectorClient {
|
|
|
873
1204
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
874
1205
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
875
1206
|
};
|
|
876
|
-
const specRetryConfiguration = common.
|
|
1207
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
877
1208
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1209
|
+
if (this.logger)
|
|
1210
|
+
retrier.logger = this.logger;
|
|
878
1211
|
const request = yield oci_common_1.composeRequest({
|
|
879
1212
|
baseEndpoint: this._endpoint,
|
|
880
1213
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -918,23 +1251,26 @@ class ServiceConnectorClient {
|
|
|
918
1251
|
});
|
|
919
1252
|
}
|
|
920
1253
|
/**
|
|
921
|
-
* Updates the configuration information for the specified
|
|
1254
|
+
* Updates the configuration information for the specified connector.
|
|
1255
|
+
* For more information, see
|
|
1256
|
+
* [Updating a Connector](https://docs.cloud.oracle.com/iaas/Content/connector-hub/update-service-connector.htm).
|
|
922
1257
|
* <p>
|
|
923
|
-
After you send your request, the
|
|
1258
|
+
After you send your request, the connector's state is temporarily
|
|
924
1259
|
* UPDATING and any data transfer pauses. The state then changes back to its
|
|
925
1260
|
* original value: if ACTIVE, then data transfer resumes.
|
|
926
1261
|
*
|
|
927
|
-
* This operation
|
|
1262
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
928
1263
|
* @param UpdateServiceConnectorRequest
|
|
929
1264
|
* @return UpdateServiceConnectorResponse
|
|
930
1265
|
* @throws OciError when an error occurs
|
|
931
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/sch/UpdateServiceConnector.ts.html |here} to see how to use UpdateServiceConnector API.
|
|
932
1267
|
*/
|
|
933
1268
|
updateServiceConnector(updateServiceConnectorRequest) {
|
|
934
1269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
935
|
-
|
|
1270
|
+
if (this.logger)
|
|
1271
|
+
this.logger.debug("Calling operation ServiceConnectorClient#updateServiceConnector.");
|
|
936
1272
|
const operationName = "updateServiceConnector";
|
|
937
|
-
const apiReferenceLink = "
|
|
1273
|
+
const apiReferenceLink = "";
|
|
938
1274
|
const pathParams = {
|
|
939
1275
|
"{serviceConnectorId}": updateServiceConnectorRequest.serviceConnectorId
|
|
940
1276
|
};
|
|
@@ -944,8 +1280,10 @@ class ServiceConnectorClient {
|
|
|
944
1280
|
"if-match": updateServiceConnectorRequest.ifMatch,
|
|
945
1281
|
"opc-request-id": updateServiceConnectorRequest.opcRequestId
|
|
946
1282
|
};
|
|
947
|
-
const specRetryConfiguration = common.
|
|
1283
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
948
1284
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateServiceConnectorRequest.retryConfiguration, specRetryConfiguration);
|
|
1285
|
+
if (this.logger)
|
|
1286
|
+
retrier.logger = this.logger;
|
|
949
1287
|
const request = yield oci_common_1.composeRequest({
|
|
950
1288
|
baseEndpoint: this._endpoint,
|
|
951
1289
|
defaultHeaders: this._defaultHeaders,
|