oci-apigateway 2.12.1 → 2.13.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/lib/client.d.ts +42 -38
- package/lib/client.js +50 -46
- package/lib/client.js.map +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-api-compartment-request.d.ts +1 -1
- package/lib/request/change-certificate-compartment-request.d.ts +1 -1
- package/lib/request/change-deployment-compartment-request.d.ts +1 -1
- package/lib/request/change-gateway-compartment-request.d.ts +1 -1
- package/lib/request/create-api-request.d.ts +1 -1
- package/lib/request/create-certificate-request.d.ts +1 -1
- package/lib/request/create-deployment-request.d.ts +1 -1
- package/lib/request/create-gateway-request.d.ts +1 -1
- package/lib/request/create-sdk-request.d.ts +1 -1
- package/lib/request/delete-api-request.d.ts +1 -1
- package/lib/request/delete-certificate-request.d.ts +1 -1
- package/lib/request/delete-deployment-request.d.ts +1 -1
- package/lib/request/delete-gateway-request.d.ts +1 -1
- package/lib/request/delete-sdk-request.d.ts +1 -1
- package/lib/request/get-api-content-request.d.ts +1 -1
- package/lib/request/get-api-deployment-specification-request.d.ts +1 -1
- package/lib/request/get-api-request.d.ts +1 -1
- package/lib/request/get-api-validations-request.d.ts +1 -1
- package/lib/request/get-certificate-request.d.ts +1 -1
- package/lib/request/get-deployment-request.d.ts +1 -1
- package/lib/request/get-gateway-request.d.ts +1 -1
- package/lib/request/get-sdk-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-apis-request.d.ts +1 -1
- package/lib/request/list-certificates-request.d.ts +1 -1
- package/lib/request/list-deployments-request.d.ts +1 -1
- package/lib/request/list-gateways-request.d.ts +1 -1
- package/lib/request/list-sdk-language-types-request.d.ts +1 -1
- package/lib/request/list-sdks-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-api-request.d.ts +1 -1
- package/lib/request/update-certificate-request.d.ts +1 -1
- package/lib/request/update-deployment-request.d.ts +1 -1
- package/lib/request/update-gateway-request.d.ts +1 -1
- package/lib/request/update-sdk-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -116,7 +116,7 @@ class ApiGatewayClient {
|
|
|
116
116
|
* @param region The region of the service.
|
|
117
117
|
*/
|
|
118
118
|
set region(region) {
|
|
119
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ApiGatewayClient.serviceEndpointTemplate, region);
|
|
119
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ApiGatewayClient.serviceEndpointTemplate, region, ApiGatewayClient.endpointServiceName);
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
122
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -127,7 +127,7 @@ class ApiGatewayClient {
|
|
|
127
127
|
* @param regionId The public region ID.
|
|
128
128
|
*/
|
|
129
129
|
set regionId(regionId) {
|
|
130
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ApiGatewayClient.serviceEndpointTemplate, regionId);
|
|
130
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ApiGatewayClient.serviceEndpointTemplate, regionId, ApiGatewayClient.endpointServiceName);
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
133
|
* Creates a new ApiGatewayWaiter for resources for this service.
|
|
@@ -156,7 +156,7 @@ class ApiGatewayClient {
|
|
|
156
156
|
* @param ChangeApiCompartmentRequest
|
|
157
157
|
* @return ChangeApiCompartmentResponse
|
|
158
158
|
* @throws OciError when an error occurs
|
|
159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ChangeApiCompartment.ts.html |here} to see how to use ChangeApiCompartment API.
|
|
160
160
|
*/
|
|
161
161
|
changeApiCompartment(changeApiCompartmentRequest) {
|
|
162
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -216,7 +216,7 @@ class ApiGatewayClient {
|
|
|
216
216
|
* @param ChangeCertificateCompartmentRequest
|
|
217
217
|
* @return ChangeCertificateCompartmentResponse
|
|
218
218
|
* @throws OciError when an error occurs
|
|
219
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
219
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ChangeCertificateCompartment.ts.html |here} to see how to use ChangeCertificateCompartment API.
|
|
220
220
|
*/
|
|
221
221
|
changeCertificateCompartment(changeCertificateCompartmentRequest) {
|
|
222
222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -272,7 +272,7 @@ class ApiGatewayClient {
|
|
|
272
272
|
* @param CreateApiRequest
|
|
273
273
|
* @return CreateApiResponse
|
|
274
274
|
* @throws OciError when an error occurs
|
|
275
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
275
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/CreateApi.ts.html |here} to see how to use CreateApi API.
|
|
276
276
|
*/
|
|
277
277
|
createApi(createApiRequest) {
|
|
278
278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -344,7 +344,7 @@ class ApiGatewayClient {
|
|
|
344
344
|
* @param CreateCertificateRequest
|
|
345
345
|
* @return CreateCertificateResponse
|
|
346
346
|
* @throws OciError when an error occurs
|
|
347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/CreateCertificate.ts.html |here} to see how to use CreateCertificate API.
|
|
348
348
|
*/
|
|
349
349
|
createCertificate(createCertificateRequest) {
|
|
350
350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -415,7 +415,7 @@ class ApiGatewayClient {
|
|
|
415
415
|
* @param CreateSdkRequest
|
|
416
416
|
* @return CreateSdkResponse
|
|
417
417
|
* @throws OciError when an error occurs
|
|
418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
418
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/CreateSdk.ts.html |here} to see how to use CreateSdk API.
|
|
419
419
|
*/
|
|
420
420
|
createSdk(createSdkRequest) {
|
|
421
421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -486,7 +486,7 @@ class ApiGatewayClient {
|
|
|
486
486
|
* @param DeleteApiRequest
|
|
487
487
|
* @return DeleteApiResponse
|
|
488
488
|
* @throws OciError when an error occurs
|
|
489
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
489
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/DeleteApi.ts.html |here} to see how to use DeleteApi API.
|
|
490
490
|
*/
|
|
491
491
|
deleteApi(deleteApiRequest) {
|
|
492
492
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -544,7 +544,7 @@ class ApiGatewayClient {
|
|
|
544
544
|
* @param DeleteCertificateRequest
|
|
545
545
|
* @return DeleteCertificateResponse
|
|
546
546
|
* @throws OciError when an error occurs
|
|
547
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/DeleteCertificate.ts.html |here} to see how to use DeleteCertificate API.
|
|
548
548
|
*/
|
|
549
549
|
deleteCertificate(deleteCertificateRequest) {
|
|
550
550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -602,7 +602,7 @@ class ApiGatewayClient {
|
|
|
602
602
|
* @param DeleteSdkRequest
|
|
603
603
|
* @return DeleteSdkResponse
|
|
604
604
|
* @throws OciError when an error occurs
|
|
605
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
605
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/DeleteSdk.ts.html |here} to see how to use DeleteSdk API.
|
|
606
606
|
*/
|
|
607
607
|
deleteSdk(deleteSdkRequest) {
|
|
608
608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -660,7 +660,7 @@ class ApiGatewayClient {
|
|
|
660
660
|
* @param GetApiRequest
|
|
661
661
|
* @return GetApiResponse
|
|
662
662
|
* @throws OciError when an error occurs
|
|
663
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
663
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetApi.ts.html |here} to see how to use GetApi API.
|
|
664
664
|
*/
|
|
665
665
|
getApi(getApiRequest) {
|
|
666
666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -721,7 +721,7 @@ class ApiGatewayClient {
|
|
|
721
721
|
* @param GetApiContentRequest
|
|
722
722
|
* @return GetApiContentResponse
|
|
723
723
|
* @throws OciError when an error occurs
|
|
724
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
724
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetApiContent.ts.html |here} to see how to use GetApiContent API.
|
|
725
725
|
*/
|
|
726
726
|
getApiContent(getApiContentRequest) {
|
|
727
727
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -788,7 +788,7 @@ class ApiGatewayClient {
|
|
|
788
788
|
* @param GetApiDeploymentSpecificationRequest
|
|
789
789
|
* @return GetApiDeploymentSpecificationResponse
|
|
790
790
|
* @throws OciError when an error occurs
|
|
791
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetApiDeploymentSpecification.ts.html |here} to see how to use GetApiDeploymentSpecification API.
|
|
792
792
|
*/
|
|
793
793
|
getApiDeploymentSpecification(getApiDeploymentSpecificationRequest) {
|
|
794
794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -850,7 +850,7 @@ class ApiGatewayClient {
|
|
|
850
850
|
* @param GetApiValidationsRequest
|
|
851
851
|
* @return GetApiValidationsResponse
|
|
852
852
|
* @throws OciError when an error occurs
|
|
853
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetApiValidations.ts.html |here} to see how to use GetApiValidations API.
|
|
854
854
|
*/
|
|
855
855
|
getApiValidations(getApiValidationsRequest) {
|
|
856
856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -912,7 +912,7 @@ class ApiGatewayClient {
|
|
|
912
912
|
* @param GetCertificateRequest
|
|
913
913
|
* @return GetCertificateResponse
|
|
914
914
|
* @throws OciError when an error occurs
|
|
915
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
915
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetCertificate.ts.html |here} to see how to use GetCertificate API.
|
|
916
916
|
*/
|
|
917
917
|
getCertificate(getCertificateRequest) {
|
|
918
918
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -973,7 +973,7 @@ class ApiGatewayClient {
|
|
|
973
973
|
* @param GetSdkRequest
|
|
974
974
|
* @return GetSdkResponse
|
|
975
975
|
* @throws OciError when an error occurs
|
|
976
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
976
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetSdk.ts.html |here} to see how to use GetSdk API.
|
|
977
977
|
*/
|
|
978
978
|
getSdk(getSdkRequest) {
|
|
979
979
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1035,7 +1035,7 @@ class ApiGatewayClient {
|
|
|
1035
1035
|
* @param ListApisRequest
|
|
1036
1036
|
* @return ListApisResponse
|
|
1037
1037
|
* @throws OciError when an error occurs
|
|
1038
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1038
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListApis.ts.html |here} to see how to use ListApis API.
|
|
1039
1039
|
*/
|
|
1040
1040
|
listApis(listApisRequest) {
|
|
1041
1041
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1108,7 +1108,7 @@ class ApiGatewayClient {
|
|
|
1108
1108
|
* @param ListCertificatesRequest
|
|
1109
1109
|
* @return ListCertificatesResponse
|
|
1110
1110
|
* @throws OciError when an error occurs
|
|
1111
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1111
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListCertificates.ts.html |here} to see how to use ListCertificates API.
|
|
1112
1112
|
*/
|
|
1113
1113
|
listCertificates(listCertificatesRequest) {
|
|
1114
1114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1180,7 +1180,7 @@ class ApiGatewayClient {
|
|
|
1180
1180
|
* @param ListSdkLanguageTypesRequest
|
|
1181
1181
|
* @return ListSdkLanguageTypesResponse
|
|
1182
1182
|
* @throws OciError when an error occurs
|
|
1183
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1183
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListSdkLanguageTypes.ts.html |here} to see how to use ListSdkLanguageTypes API.
|
|
1184
1184
|
*/
|
|
1185
1185
|
listSdkLanguageTypes(listSdkLanguageTypesRequest) {
|
|
1186
1186
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1251,7 +1251,7 @@ class ApiGatewayClient {
|
|
|
1251
1251
|
* @param ListSdksRequest
|
|
1252
1252
|
* @return ListSdksResponse
|
|
1253
1253
|
* @throws OciError when an error occurs
|
|
1254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1254
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListSdks.ts.html |here} to see how to use ListSdks API.
|
|
1255
1255
|
*/
|
|
1256
1256
|
listSdks(listSdksRequest) {
|
|
1257
1257
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1324,7 +1324,7 @@ class ApiGatewayClient {
|
|
|
1324
1324
|
* @param UpdateApiRequest
|
|
1325
1325
|
* @return UpdateApiResponse
|
|
1326
1326
|
* @throws OciError when an error occurs
|
|
1327
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/UpdateApi.ts.html |here} to see how to use UpdateApi API.
|
|
1328
1328
|
*/
|
|
1329
1329
|
updateApi(updateApiRequest) {
|
|
1330
1330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1383,7 +1383,7 @@ class ApiGatewayClient {
|
|
|
1383
1383
|
* @param UpdateCertificateRequest
|
|
1384
1384
|
* @return UpdateCertificateResponse
|
|
1385
1385
|
* @throws OciError when an error occurs
|
|
1386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1386
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/UpdateCertificate.ts.html |here} to see how to use UpdateCertificate API.
|
|
1387
1387
|
*/
|
|
1388
1388
|
updateCertificate(updateCertificateRequest) {
|
|
1389
1389
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1442,7 +1442,7 @@ class ApiGatewayClient {
|
|
|
1442
1442
|
* @param UpdateSdkRequest
|
|
1443
1443
|
* @return UpdateSdkResponse
|
|
1444
1444
|
* @throws OciError when an error occurs
|
|
1445
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1445
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/UpdateSdk.ts.html |here} to see how to use UpdateSdk API.
|
|
1446
1446
|
*/
|
|
1447
1447
|
updateSdk(updateSdkRequest) {
|
|
1448
1448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1493,6 +1493,7 @@ class ApiGatewayClient {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
exports.ApiGatewayClient = ApiGatewayClient;
|
|
1495
1495
|
ApiGatewayClient.serviceEndpointTemplate = "https://apigateway.{region}.oci.{secondLevelDomain}";
|
|
1496
|
+
ApiGatewayClient.endpointServiceName = "";
|
|
1496
1497
|
var DeploymentApiKeys;
|
|
1497
1498
|
(function (DeploymentApiKeys) {
|
|
1498
1499
|
})(DeploymentApiKeys = exports.DeploymentApiKeys || (exports.DeploymentApiKeys = {}));
|
|
@@ -1555,7 +1556,7 @@ class DeploymentClient {
|
|
|
1555
1556
|
* @param region The region of the service.
|
|
1556
1557
|
*/
|
|
1557
1558
|
set region(region) {
|
|
1558
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DeploymentClient.serviceEndpointTemplate, region);
|
|
1559
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DeploymentClient.serviceEndpointTemplate, region, DeploymentClient.endpointServiceName);
|
|
1559
1560
|
}
|
|
1560
1561
|
/**
|
|
1561
1562
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -1566,7 +1567,7 @@ class DeploymentClient {
|
|
|
1566
1567
|
* @param regionId The public region ID.
|
|
1567
1568
|
*/
|
|
1568
1569
|
set regionId(regionId) {
|
|
1569
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DeploymentClient.serviceEndpointTemplate, regionId);
|
|
1570
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DeploymentClient.serviceEndpointTemplate, regionId, DeploymentClient.endpointServiceName);
|
|
1570
1571
|
}
|
|
1571
1572
|
/**
|
|
1572
1573
|
* Creates a new DeploymentWaiter for resources for this service.
|
|
@@ -1595,7 +1596,7 @@ class DeploymentClient {
|
|
|
1595
1596
|
* @param ChangeDeploymentCompartmentRequest
|
|
1596
1597
|
* @return ChangeDeploymentCompartmentResponse
|
|
1597
1598
|
* @throws OciError when an error occurs
|
|
1598
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1599
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ChangeDeploymentCompartment.ts.html |here} to see how to use ChangeDeploymentCompartment API.
|
|
1599
1600
|
*/
|
|
1600
1601
|
changeDeploymentCompartment(changeDeploymentCompartmentRequest) {
|
|
1601
1602
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1656,7 +1657,7 @@ class DeploymentClient {
|
|
|
1656
1657
|
* @param CreateDeploymentRequest
|
|
1657
1658
|
* @return CreateDeploymentResponse
|
|
1658
1659
|
* @throws OciError when an error occurs
|
|
1659
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1660
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/CreateDeployment.ts.html |here} to see how to use CreateDeployment API.
|
|
1660
1661
|
*/
|
|
1661
1662
|
createDeployment(createDeploymentRequest) {
|
|
1662
1663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1727,7 +1728,7 @@ class DeploymentClient {
|
|
|
1727
1728
|
* @param DeleteDeploymentRequest
|
|
1728
1729
|
* @return DeleteDeploymentResponse
|
|
1729
1730
|
* @throws OciError when an error occurs
|
|
1730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1731
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/DeleteDeployment.ts.html |here} to see how to use DeleteDeployment API.
|
|
1731
1732
|
*/
|
|
1732
1733
|
deleteDeployment(deleteDeploymentRequest) {
|
|
1733
1734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1785,7 +1786,7 @@ class DeploymentClient {
|
|
|
1785
1786
|
* @param GetDeploymentRequest
|
|
1786
1787
|
* @return GetDeploymentResponse
|
|
1787
1788
|
* @throws OciError when an error occurs
|
|
1788
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1789
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetDeployment.ts.html |here} to see how to use GetDeployment API.
|
|
1789
1790
|
*/
|
|
1790
1791
|
getDeployment(getDeploymentRequest) {
|
|
1791
1792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1847,7 +1848,7 @@ class DeploymentClient {
|
|
|
1847
1848
|
* @param ListDeploymentsRequest
|
|
1848
1849
|
* @return ListDeploymentsResponse
|
|
1849
1850
|
* @throws OciError when an error occurs
|
|
1850
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1851
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListDeployments.ts.html |here} to see how to use ListDeployments API.
|
|
1851
1852
|
*/
|
|
1852
1853
|
listDeployments(listDeploymentsRequest) {
|
|
1853
1854
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1920,7 +1921,7 @@ class DeploymentClient {
|
|
|
1920
1921
|
* @param UpdateDeploymentRequest
|
|
1921
1922
|
* @return UpdateDeploymentResponse
|
|
1922
1923
|
* @throws OciError when an error occurs
|
|
1923
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1924
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/UpdateDeployment.ts.html |here} to see how to use UpdateDeployment API.
|
|
1924
1925
|
*/
|
|
1925
1926
|
updateDeployment(updateDeploymentRequest) {
|
|
1926
1927
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1976,6 +1977,7 @@ class DeploymentClient {
|
|
|
1976
1977
|
}
|
|
1977
1978
|
exports.DeploymentClient = DeploymentClient;
|
|
1978
1979
|
DeploymentClient.serviceEndpointTemplate = "https://apigateway.{region}.oci.{secondLevelDomain}";
|
|
1980
|
+
DeploymentClient.endpointServiceName = "";
|
|
1979
1981
|
var GatewayApiKeys;
|
|
1980
1982
|
(function (GatewayApiKeys) {
|
|
1981
1983
|
})(GatewayApiKeys = exports.GatewayApiKeys || (exports.GatewayApiKeys = {}));
|
|
@@ -2038,7 +2040,7 @@ class GatewayClient {
|
|
|
2038
2040
|
* @param region The region of the service.
|
|
2039
2041
|
*/
|
|
2040
2042
|
set region(region) {
|
|
2041
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(GatewayClient.serviceEndpointTemplate, region);
|
|
2043
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(GatewayClient.serviceEndpointTemplate, region, GatewayClient.endpointServiceName);
|
|
2042
2044
|
}
|
|
2043
2045
|
/**
|
|
2044
2046
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -2049,7 +2051,7 @@ class GatewayClient {
|
|
|
2049
2051
|
* @param regionId The public region ID.
|
|
2050
2052
|
*/
|
|
2051
2053
|
set regionId(regionId) {
|
|
2052
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(GatewayClient.serviceEndpointTemplate, regionId);
|
|
2054
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(GatewayClient.serviceEndpointTemplate, regionId, GatewayClient.endpointServiceName);
|
|
2053
2055
|
}
|
|
2054
2056
|
/**
|
|
2055
2057
|
* Creates a new GatewayWaiter for resources for this service.
|
|
@@ -2078,7 +2080,7 @@ class GatewayClient {
|
|
|
2078
2080
|
* @param ChangeGatewayCompartmentRequest
|
|
2079
2081
|
* @return ChangeGatewayCompartmentResponse
|
|
2080
2082
|
* @throws OciError when an error occurs
|
|
2081
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2083
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ChangeGatewayCompartment.ts.html |here} to see how to use ChangeGatewayCompartment API.
|
|
2082
2084
|
*/
|
|
2083
2085
|
changeGatewayCompartment(changeGatewayCompartmentRequest) {
|
|
2084
2086
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2139,7 +2141,7 @@ class GatewayClient {
|
|
|
2139
2141
|
* @param CreateGatewayRequest
|
|
2140
2142
|
* @return CreateGatewayResponse
|
|
2141
2143
|
* @throws OciError when an error occurs
|
|
2142
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2144
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/CreateGateway.ts.html |here} to see how to use CreateGateway API.
|
|
2143
2145
|
*/
|
|
2144
2146
|
createGateway(createGatewayRequest) {
|
|
2145
2147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2210,7 +2212,7 @@ class GatewayClient {
|
|
|
2210
2212
|
* @param DeleteGatewayRequest
|
|
2211
2213
|
* @return DeleteGatewayResponse
|
|
2212
2214
|
* @throws OciError when an error occurs
|
|
2213
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/DeleteGateway.ts.html |here} to see how to use DeleteGateway API.
|
|
2214
2216
|
*/
|
|
2215
2217
|
deleteGateway(deleteGatewayRequest) {
|
|
2216
2218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2268,7 +2270,7 @@ class GatewayClient {
|
|
|
2268
2270
|
* @param GetGatewayRequest
|
|
2269
2271
|
* @return GetGatewayResponse
|
|
2270
2272
|
* @throws OciError when an error occurs
|
|
2271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2273
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetGateway.ts.html |here} to see how to use GetGateway API.
|
|
2272
2274
|
*/
|
|
2273
2275
|
getGateway(getGatewayRequest) {
|
|
2274
2276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2330,7 +2332,7 @@ class GatewayClient {
|
|
|
2330
2332
|
* @param ListGatewaysRequest
|
|
2331
2333
|
* @return ListGatewaysResponse
|
|
2332
2334
|
* @throws OciError when an error occurs
|
|
2333
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListGateways.ts.html |here} to see how to use ListGateways API.
|
|
2334
2336
|
*/
|
|
2335
2337
|
listGateways(listGatewaysRequest) {
|
|
2336
2338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2403,7 +2405,7 @@ class GatewayClient {
|
|
|
2403
2405
|
* @param UpdateGatewayRequest
|
|
2404
2406
|
* @return UpdateGatewayResponse
|
|
2405
2407
|
* @throws OciError when an error occurs
|
|
2406
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2408
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/UpdateGateway.ts.html |here} to see how to use UpdateGateway API.
|
|
2407
2409
|
*/
|
|
2408
2410
|
updateGateway(updateGatewayRequest) {
|
|
2409
2411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2459,6 +2461,7 @@ class GatewayClient {
|
|
|
2459
2461
|
}
|
|
2460
2462
|
exports.GatewayClient = GatewayClient;
|
|
2461
2463
|
GatewayClient.serviceEndpointTemplate = "https://apigateway.{region}.oci.{secondLevelDomain}";
|
|
2464
|
+
GatewayClient.endpointServiceName = "";
|
|
2462
2465
|
var WorkRequestsApiKeys;
|
|
2463
2466
|
(function (WorkRequestsApiKeys) {
|
|
2464
2467
|
})(WorkRequestsApiKeys = exports.WorkRequestsApiKeys || (exports.WorkRequestsApiKeys = {}));
|
|
@@ -2521,7 +2524,7 @@ class WorkRequestsClient {
|
|
|
2521
2524
|
* @param region The region of the service.
|
|
2522
2525
|
*/
|
|
2523
2526
|
set region(region) {
|
|
2524
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestsClient.serviceEndpointTemplate, region);
|
|
2527
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestsClient.serviceEndpointTemplate, region, WorkRequestsClient.endpointServiceName);
|
|
2525
2528
|
}
|
|
2526
2529
|
/**
|
|
2527
2530
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -2532,7 +2535,7 @@ class WorkRequestsClient {
|
|
|
2532
2535
|
* @param regionId The public region ID.
|
|
2533
2536
|
*/
|
|
2534
2537
|
set regionId(regionId) {
|
|
2535
|
-
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(WorkRequestsClient.serviceEndpointTemplate, regionId);
|
|
2538
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(WorkRequestsClient.serviceEndpointTemplate, regionId, WorkRequestsClient.endpointServiceName);
|
|
2536
2539
|
}
|
|
2537
2540
|
/**
|
|
2538
2541
|
* Creates a new WorkRequestsWaiter for resources for this service.
|
|
@@ -2561,7 +2564,7 @@ class WorkRequestsClient {
|
|
|
2561
2564
|
* @param CancelWorkRequestRequest
|
|
2562
2565
|
* @return CancelWorkRequestResponse
|
|
2563
2566
|
* @throws OciError when an error occurs
|
|
2564
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
2565
2568
|
*/
|
|
2566
2569
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
2567
2570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2615,7 +2618,7 @@ class WorkRequestsClient {
|
|
|
2615
2618
|
* @param GetWorkRequestRequest
|
|
2616
2619
|
* @return GetWorkRequestResponse
|
|
2617
2620
|
* @throws OciError when an error occurs
|
|
2618
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2619
2622
|
*/
|
|
2620
2623
|
getWorkRequest(getWorkRequestRequest) {
|
|
2621
2624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2682,7 +2685,7 @@ class WorkRequestsClient {
|
|
|
2682
2685
|
* @param ListWorkRequestErrorsRequest
|
|
2683
2686
|
* @return ListWorkRequestErrorsResponse
|
|
2684
2687
|
* @throws OciError when an error occurs
|
|
2685
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2688
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2686
2689
|
*/
|
|
2687
2690
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2688
2691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2754,7 +2757,7 @@ class WorkRequestsClient {
|
|
|
2754
2757
|
* @param ListWorkRequestLogsRequest
|
|
2755
2758
|
* @return ListWorkRequestLogsResponse
|
|
2756
2759
|
* @throws OciError when an error occurs
|
|
2757
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2760
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2758
2761
|
*/
|
|
2759
2762
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2760
2763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2826,7 +2829,7 @@ class WorkRequestsClient {
|
|
|
2826
2829
|
* @param ListWorkRequestsRequest
|
|
2827
2830
|
* @return ListWorkRequestsResponse
|
|
2828
2831
|
* @throws OciError when an error occurs
|
|
2829
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2832
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/apigateway/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2830
2833
|
*/
|
|
2831
2834
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2832
2835
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2894,4 +2897,5 @@ class WorkRequestsClient {
|
|
|
2894
2897
|
}
|
|
2895
2898
|
exports.WorkRequestsClient = WorkRequestsClient;
|
|
2896
2899
|
WorkRequestsClient.serviceEndpointTemplate = "https://apigateway.{region}.oci.{secondLevelDomain}";
|
|
2900
|
+
WorkRequestsClient.endpointServiceName = "";
|
|
2897
2901
|
//# sourceMappingURL=client.js.map
|