-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(storage): update s3 storage service to support multiple s3 clien…
…t for multi-bucket support (#5493)
- Loading branch information
Showing
3 changed files
with
99 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...es/storage/amplify_storage_s3_dart/lib/src/storage_s3_service/service/s3_client_info.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import 'package:amplify_storage_s3_dart/src/sdk/src/s3/s3_client.dart'; | ||
import 'package:meta/meta.dart'; | ||
import 'package:smithy_aws/smithy_aws.dart'; | ||
|
||
/// It holds Amazon S3 client information. | ||
@internal | ||
class S3ClientInfo { | ||
const S3ClientInfo({required this.client, required this.config}); | ||
|
||
final S3Client client; | ||
final S3ClientConfig config; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters