Skip to content

Commit

Permalink
Add missing methods to cross region Client (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejwalkowiak authored Mar 4, 2024
1 parent 299ff1b commit b7f958b
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ public software.amazon.awssdk.services.s3.model.CreateMultipartUploadResponse cr
return executeInBucketRegion(p0.bucket(), s3Client -> s3Client.createMultipartUpload(p0));
}

@Override
public software.amazon.awssdk.services.s3.model.CreateSessionResponse createSession(
software.amazon.awssdk.services.s3.model.CreateSessionRequest p0)
throws AwsServiceException, SdkClientException {
return executeInBucketRegion(p0.bucket(), s3Client -> s3Client.createSession(p0));
}

@Override
public software.amazon.awssdk.services.s3.model.DeleteBucketResponse deleteBucket(
software.amazon.awssdk.services.s3.model.DeleteBucketRequest p0)
Expand Down Expand Up @@ -479,6 +486,20 @@ public software.amazon.awssdk.services.s3.model.ListBucketsResponse listBuckets(
return executeInDefaultRegion(s3Client -> s3Client.listBuckets(p0));
}

@Override
public software.amazon.awssdk.services.s3.model.ListDirectoryBucketsResponse listDirectoryBuckets(
software.amazon.awssdk.services.s3.model.ListDirectoryBucketsRequest p0)
throws AwsServiceException, SdkClientException {
return executeInDefaultRegion(s3Client -> s3Client.listDirectoryBuckets(p0));
}

@Override
public software.amazon.awssdk.services.s3.paginators.ListDirectoryBucketsIterable listDirectoryBucketsPaginator(
software.amazon.awssdk.services.s3.model.ListDirectoryBucketsRequest p0)
throws AwsServiceException, SdkClientException {
return executeInDefaultRegion(s3Client -> s3Client.listDirectoryBucketsPaginator(p0));
}

@Override
public software.amazon.awssdk.services.s3.model.ListMultipartUploadsResponse listMultipartUploads(
software.amazon.awssdk.services.s3.model.ListMultipartUploadsRequest p0)
Expand Down

0 comments on commit b7f958b

Please sign in to comment.