@@ -34,6 +34,7 @@ export enum ApiGatewayApiKeys {}
3434 */
3535export class ApiGatewayClient {
3636 protected static serviceEndpointTemplate = "https://apigateway.{region}.oci.{secondLevelDomain}" ;
37+ protected static endpointServiceName = "" ;
3738 protected "_endpoint" : string = "" ;
3839 protected "_defaultHeaders" : any = { } ;
3940 protected "_waiters" : ApiGatewayWaiter ;
@@ -104,7 +105,8 @@ export class ApiGatewayClient {
104105 public set region ( region : common . Region ) {
105106 this . endpoint = common . EndpointBuilder . createEndpointFromRegion (
106107 ApiGatewayClient . serviceEndpointTemplate ,
107- region
108+ region ,
109+ ApiGatewayClient . endpointServiceName
108110 ) ;
109111 }
110112
@@ -119,7 +121,8 @@ export class ApiGatewayClient {
119121 public set regionId ( regionId : string ) {
120122 this . endpoint = common . EndpointBuilder . createEndpointFromRegionId (
121123 ApiGatewayClient . serviceEndpointTemplate ,
122- regionId
124+ regionId ,
125+ ApiGatewayClient . endpointServiceName
123126 ) ;
124127 }
125128
@@ -1649,6 +1652,7 @@ export enum DeploymentApiKeys {}
16491652 */
16501653export class DeploymentClient {
16511654 protected static serviceEndpointTemplate = "https://apigateway.{region}.oci.{secondLevelDomain}" ;
1655+ protected static endpointServiceName = "" ;
16521656 protected "_endpoint" : string = "" ;
16531657 protected "_defaultHeaders" : any = { } ;
16541658 protected "_waiters" : DeploymentWaiter ;
@@ -1719,7 +1723,8 @@ export class DeploymentClient {
17191723 public set region ( region : common . Region ) {
17201724 this . endpoint = common . EndpointBuilder . createEndpointFromRegion (
17211725 DeploymentClient . serviceEndpointTemplate ,
1722- region
1726+ region ,
1727+ DeploymentClient . endpointServiceName
17231728 ) ;
17241729 }
17251730
@@ -1734,7 +1739,8 @@ export class DeploymentClient {
17341739 public set regionId ( regionId : string ) {
17351740 this . endpoint = common . EndpointBuilder . createEndpointFromRegionId (
17361741 DeploymentClient . serviceEndpointTemplate ,
1737- regionId
1742+ regionId ,
1743+ DeploymentClient . endpointServiceName
17381744 ) ;
17391745 }
17401746
@@ -2200,6 +2206,7 @@ export enum GatewayApiKeys {}
22002206 */
22012207export class GatewayClient {
22022208 protected static serviceEndpointTemplate = "https://apigateway.{region}.oci.{secondLevelDomain}" ;
2209+ protected static endpointServiceName = "" ;
22032210 protected "_endpoint" : string = "" ;
22042211 protected "_defaultHeaders" : any = { } ;
22052212 protected "_waiters" : GatewayWaiter ;
@@ -2270,7 +2277,8 @@ export class GatewayClient {
22702277 public set region ( region : common . Region ) {
22712278 this . endpoint = common . EndpointBuilder . createEndpointFromRegion (
22722279 GatewayClient . serviceEndpointTemplate ,
2273- region
2280+ region ,
2281+ GatewayClient . endpointServiceName
22742282 ) ;
22752283 }
22762284
@@ -2285,7 +2293,8 @@ export class GatewayClient {
22852293 public set regionId ( regionId : string ) {
22862294 this . endpoint = common . EndpointBuilder . createEndpointFromRegionId (
22872295 GatewayClient . serviceEndpointTemplate ,
2288- regionId
2296+ regionId ,
2297+ GatewayClient . endpointServiceName
22892298 ) ;
22902299 }
22912300
@@ -2750,6 +2759,7 @@ export enum WorkRequestsApiKeys {}
27502759 */
27512760export class WorkRequestsClient {
27522761 protected static serviceEndpointTemplate = "https://apigateway.{region}.oci.{secondLevelDomain}" ;
2762+ protected static endpointServiceName = "" ;
27532763 protected "_endpoint" : string = "" ;
27542764 protected "_defaultHeaders" : any = { } ;
27552765 protected "_waiters" : WorkRequestsWaiter ;
@@ -2820,7 +2830,8 @@ export class WorkRequestsClient {
28202830 public set region ( region : common . Region ) {
28212831 this . endpoint = common . EndpointBuilder . createEndpointFromRegion (
28222832 WorkRequestsClient . serviceEndpointTemplate ,
2823- region
2833+ region ,
2834+ WorkRequestsClient . endpointServiceName
28242835 ) ;
28252836 }
28262837
@@ -2835,7 +2846,8 @@ export class WorkRequestsClient {
28352846 public set regionId ( regionId : string ) {
28362847 this . endpoint = common . EndpointBuilder . createEndpointFromRegionId (
28372848 WorkRequestsClient . serviceEndpointTemplate ,
2838- regionId
2849+ regionId ,
2850+ WorkRequestsClient . endpointServiceName
28392851 ) ;
28402852 }
28412853
0 commit comments