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(software.amazon.awssdk.services.s3.S3Client 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.
-
-