Class AWSAPIUtil


  • public class AWSAPIUtil
    extends Object
    This class contains utility methods to interact with AWS API Gateway
    • Constructor Detail

      • AWSAPIUtil

        public AWSAPIUtil()
    • 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