Package org.wso2.aws.client.util
Class AWSAPIUtil
- java.lang.Object
-
- org.wso2.aws.client.util.AWSAPIUtil
-
public class AWSAPIUtil extends Object
This class contains utility methods to interact with AWS API Gateway
-
-
Constructor Summary
Constructors Constructor Description AWSAPIUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleandeleteDeployment(String referenceArtifact, software.amazon.awssdk.services.apigateway.ApiGatewayClient apiGatewayClient, String stage)static StringimportRestAPI(org.wso2.carbon.apimgt.api.model.API api, software.amazon.awssdk.services.apigateway.ApiGatewayClient apiGatewayClient, String region, String stage)static StringreimportRestAPI(String referenceArtifact, org.wso2.carbon.apimgt.api.model.API api, software.amazon.awssdk.services.apigateway.ApiGatewayClient apiGatewayClient, String region, String stage)
-
-
-
Method Detail
-
importRestAPI
public static String importRestAPI(org.wso2.carbon.apimgt.api.model.API api, software.amazon.awssdk.services.apigateway.ApiGatewayClient apiGatewayClient, String region, String stage) throws org.wso2.carbon.apimgt.api.APIManagementException
- Throws:
org.wso2.carbon.apimgt.api.APIManagementException
-
reimportRestAPI
public static String reimportRestAPI(String referenceArtifact, org.wso2.carbon.apimgt.api.model.API api, software.amazon.awssdk.services.apigateway.ApiGatewayClient apiGatewayClient, String region, String stage) throws org.wso2.carbon.apimgt.api.APIManagementException
- Throws:
org.wso2.carbon.apimgt.api.APIManagementException
-
-