Closed eszterbordi closed 3 years ago
Result<JobResponse> result = client.jobs().create( ImmutableMap.of( "upload", new S3ImportRequest() .setBucket(exportDestination) .setKey(tmpFile.getName()) .setEndpoint(s3Endpoint) .setSecretAccessKey(credentials.getAWSSecretKey()) .setAccessKeyId(credentials.getAWSAccessKeyId()), "convert", new ConvertFilesTaskRequest() .setEngine("inkscape") .setInput("upload") .setInputFormat("svg") .setOutputFormat("dxf") .setFilename(tmpFile.getName()), "export-result", new S3ExportRequest() .setBucket(exportDestination) .setKey(tmpFile.getName()) .setEndpoint(s3Endpoint) .setSecretAccessKey(credentials.getAWSSecretKey()) .setAccessKeyId(credentials.getAWSAccessKeyId()) ) );
Why?
This is not a valid API key.
This is the issue tracker for the Java SDK. Please do not use the issue tracker for support requests. Thanks.
Result<JobResponse> result = client.jobs().create( ImmutableMap.of( "upload", new S3ImportRequest() .setBucket(exportDestination) .setKey(tmpFile.getName()) .setEndpoint(s3Endpoint) .setSecretAccessKey(credentials.getAWSSecretKey()) .setAccessKeyId(credentials.getAWSAccessKeyId()), "convert", new ConvertFilesTaskRequest() .setEngine("inkscape") .setInput("upload") .setInputFormat("svg") .setOutputFormat("dxf") .setFilename(tmpFile.getName()), "export-result", new S3ExportRequest() .setBucket(exportDestination) .setKey(tmpFile.getName()) .setEndpoint(s3Endpoint) .setSecretAccessKey(credentials.getAWSSecretKey()) .setAccessKeyId(credentials.getAWSAccessKeyId()) ) );
Why?