@@ -38,7 +38,7 @@ class STSClient;
3838namespace arrow ::fs {
3939
4040// / Options for using a proxy for S3
41- struct ARROW_EXPORT S3ProxyOptions {
41+ struct ARROW_S3_EXPORT S3ProxyOptions {
4242 std::string scheme;
4343 std::string host;
4444 int port = -1 ;
@@ -67,7 +67,7 @@ enum class S3CredentialsKind : int8_t {
6767};
6868
6969// / Pure virtual class for describing custom S3 retry strategies
70- class ARROW_EXPORT S3RetryStrategy {
70+ class ARROW_S3_EXPORT S3RetryStrategy {
7171 public:
7272 virtual ~S3RetryStrategy () = default ;
7373
@@ -96,7 +96,7 @@ class ARROW_EXPORT S3RetryStrategy {
9696};
9797
9898// / Options for the S3FileSystem implementation.
99- struct ARROW_EXPORT S3Options {
99+ struct ARROW_S3_EXPORT S3Options {
100100 // / \brief Smart defaults for option values
101101 // /
102102 // / The possible values for this setting are explained in the AWS docs:
@@ -315,7 +315,7 @@ struct ARROW_EXPORT S3Options {
315315// / Some implementation notes:
316316// / - buckets are special and the operations available on them may be limited
317317// / or more expensive than desired.
318- class ARROW_EXPORT S3FileSystem : public FileSystem {
318+ class ARROW_S3_EXPORT S3FileSystem : public FileSystem {
319319 public:
320320 ~S3FileSystem () override ;
321321
@@ -409,7 +409,7 @@ class ARROW_EXPORT S3FileSystem : public FileSystem {
409409
410410enum class S3LogLevel : int8_t { Off, Fatal, Error, Warn, Info, Debug, Trace };
411411
412- struct ARROW_EXPORT S3GlobalOptions {
412+ struct ARROW_S3_EXPORT S3GlobalOptions {
413413 // / The log level for S3-originating messages.
414414 S3LogLevel log_level;
415415
@@ -444,21 +444,21 @@ struct ARROW_EXPORT S3GlobalOptions {
444444// /
445445// / Once this function is called you MUST call FinalizeS3 before the end of the
446446// / application in order to avoid a segmentation fault at shutdown.
447- ARROW_EXPORT
447+ ARROW_S3_EXPORT
448448Status InitializeS3 (const S3GlobalOptions& options);
449449
450450// / \brief Ensure the S3 APIs are initialized, but only if not already done.
451451// /
452452// / If necessary, this will call InitializeS3() with some default options.
453- ARROW_EXPORT
453+ ARROW_S3_EXPORT
454454Status EnsureS3Initialized ();
455455
456456// / Whether S3 was initialized, and not finalized.
457- ARROW_EXPORT
457+ ARROW_S3_EXPORT
458458bool IsS3Initialized ();
459459
460460// / Whether S3 was finalized.
461- ARROW_EXPORT
461+ ARROW_S3_EXPORT
462462bool IsS3Finalized ();
463463
464464// / \brief Shutdown the S3 APIs.
@@ -470,16 +470,16 @@ bool IsS3Finalized();
470470// / Calls to InitializeS3() and FinalizeS3() should be serialized by the
471471// / application (this also applies to EnsureS3Initialized() and
472472// / EnsureS3Finalized()).
473- ARROW_EXPORT
473+ ARROW_S3_EXPORT
474474Status FinalizeS3 ();
475475
476476// / \brief Ensure the S3 APIs are shutdown, but only if not already done.
477477// /
478478// / If necessary, this will call FinalizeS3().
479- ARROW_EXPORT
479+ ARROW_S3_EXPORT
480480Status EnsureS3Finalized ();
481481
482- ARROW_EXPORT
482+ ARROW_S3_EXPORT
483483Result<std::string> ResolveS3BucketRegion (const std::string& bucket);
484484
485485} // namespace arrow::fs
0 commit comments