Class SpillLocationVerifier
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.domain.spill.SpillLocationVerifier
-
public class SpillLocationVerifier extends Object
This class is used to track the bucket and its state, and check its validity
-
-
Constructor Summary
Constructors Constructor Description SpillLocationVerifier(com.amazonaws.services.s3.AmazonS3 amazons3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkBucketAuthZ(String spillBucket)
Public function used to check if the account that calls the lambda function owns the spill bucket
-
-
-
Method Detail
-
checkBucketAuthZ
public void checkBucketAuthZ(String spillBucket)
Public function used to check if the account that calls the lambda function owns the spill bucket- Parameters:
spillBucket
- The name of the spill bucket.
-
-