public static void main()

in Java/src/main/java/com/example/customername/FeatureStoreAPIExample.java [37:65]


    public static void main(String[] args) throws IOException{

        Region region = Region.US_EAST_1;

        //S3 bucket where the Offline store data is stored
        String bucketName = "DOC-EXAMPLE-BUCKET"; // Please replace with your values
        String featureGroupDescription = "someDescription"; // Please replace with your values
        String sagemakerRoleARN = "arn:aws:iam::444455556666:role/service-role/AmazonSageMaker-ExecutionRole-111122223333"; // Please replace with your values

        // CSV file path
        String filepath = "../data/Transaction_data.csv";

        // Feature groups to create
        String[] featureGroupNames = {"Transactions"};

        // unique record identifier
        String recordIdentifierFeatureName = "TransactionID";

        // Timestamp feature name for DynamoDB
        final String eventTimeFeatureName = "EventTime"; // Do not delete

        // Number of threads to create per feature group ingestion
        int numOfthreads = 4;

        featureGroupAPIs(bucketName, filepath, featureGroupNames, recordIdentifierFeatureName,
            eventTimeFeatureName, featureGroupDescription, sagemakerRoleARN, numOfthreads, region);

        System.exit(0);
    }