com
.
johnsnowlabs
.
client
.
aws
AWSGateway
Related Doc:
package aws
class
AWSGateway
extends
AutoCloseable
Linear Supertypes
AutoCloseable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
AWSGateway
AutoCloseable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
AWSGateway
(
accessKeyId:
String
,
secretAccessKey:
String
,
sessionToken:
String
,
awsProfile:
String
,
region:
String
,
credentialsType:
String
=
"default"
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
lazy val
client
:
AmazonS3
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
()
:
Unit
Definition Classes
AWSGateway
→ AutoCloseable
def
copyFileToS3
(
bucket:
String
,
s3FilePath:
String
,
sourceFilePath:
String
)
:
PutObjectResult
def
copyInputStreamToS3
(
bucket:
String
,
s3FilePath:
String
,
sourceFilePath:
String
)
:
PutObjectResult
def
doesS3ObjectExist
(
bucket:
String
,
s3FilePath:
String
)
:
Boolean
def
downloadFilesFromDirectory
(
bucketName:
String
,
keyPrefix:
String
,
directoryPath:
File
)
:
Unit
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getMetadata
(
s3Path:
String
,
folder:
String
,
bucket:
String
)
:
List
[
ResourceMetadata
]
def
getS3DownloadSize
(
s3Path:
String
,
folder:
String
,
fileName:
String
,
bucket:
String
)
:
Option
[
Long
]
def
getS3File
(
parts:
String
*
)
:
String
def
getS3Object
(
bucket:
String
,
s3FilePath:
String
,
tmpFile:
File
)
:
ObjectMetadata
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
logger
:
Logger
Attributes
protected
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AutoCloseable
Inherited from
AnyRef
Inherited from
Any
Ungrouped