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(org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact)static StringimportRestAPI(org.wso2.carbon.apimgt.api.model.API api, org.wso2.carbon.apimgt.api.model.Environment environment)static StringreimportRestAPI(String referenceArtifact, org.wso2.carbon.apimgt.api.model.API api, org.wso2.carbon.apimgt.api.model.Environment environment)
-
-
-
Method Detail
-
importRestAPI
public static String importRestAPI(org.wso2.carbon.apimgt.api.model.API api, org.wso2.carbon.apimgt.api.model.Environment environment) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
reimportRestAPI
public static String reimportRestAPI(String referenceArtifact, org.wso2.carbon.apimgt.api.model.API api, org.wso2.carbon.apimgt.api.model.Environment environment) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
deleteDeployment
public static boolean deleteDeployment(org.wso2.carbon.apimgt.api.model.Environment environment, String referenceArtifact) throws org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException- Throws:
org.wso2.carbon.apimgt.impl.deployer.exceptions.DeployerException
-
-