class S3 extends Service
AWS.S3
- Annotations
- @RawJSType() @native() @JSImport( "aws-sdk" , "S3" )
- See also
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html
- Alphabetic
- By Inheritance
- S3
- Service
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new S3(options: |[ClientConfiguration, RawOptions] = js.native)
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
-
def
abortMultipartUpload(params: AbortMultipartUploadRequest = js.native, callback: AWSCallback[AbortMultipartUploadOutput] = js.native): AWSRequest[AbortMultipartUploadOutput]
Aborts a multipart upload.To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty.
-
def
apiVersions: Array[String]
The list of API versions supported by this service.
The list of API versions supported by this service.
- Definition Classes
- Service
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
completeMultipartUpload(params: CompleteMultipartUploadRequest = js.native, callback: AWSCallback[CompleteMultipartUploadOutput] = js.native): AWSRequest[CompleteMultipartUploadOutput]
Completes a multipart upload by assembling previously uploaded parts.
-
val
config: |[ServiceConfigurationOptions, RawOptions]
- Definition Classes
- Service
-
def
copyObject(params: CopyObjectRequest = js.native, callback: AWSCallback[CopyObjectOutput] = js.native): AWSRequest[CopyObjectOutput]
Creates a copy of an object that is already stored in Amazon S3.
-
def
createBucket(params: CreateBucketRequest, callback: AWSCallback[CreateBucketOutput]): AWSRequest[CreateBucketOutput]
Creates a new bucket.
-
def
createMultipartUpload(params: CreateMultipartUploadRequest, callback: AWSCallback[CreateMultipartUploadOutput]): AWSRequest[CreateMultipartUploadOutput]
Initiates a multipart upload and returns an upload ID.Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts.
Initiates a multipart upload and returns an upload ID.Note: After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.
-
def
defineService(serviceIdentifier: String, versions: Array[String], features: RawOptions): Class[Service]
Defines a new Service class using a service identifier and list of versions including an optional set of features (functions) to apply to the class prototype.
Defines a new Service class using a service identifier and list of versions including an optional set of features (functions) to apply to the class prototype.
- serviceIdentifier
the identifier for the service
- versions
a list of versions that work with this service
- features
an object to attach to the prototype
- returns
the service class defined by this function.
- Definition Classes
- Service
-
def
deleteBucket(params: DeleteBucketRequest = js.native, callback: AWSCallback[Unit] = js.native): AWSRequest[Unit]
Deletes the bucket.
Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.
-
def
deleteBucketAnalyticsConfiguration(params: DeleteBucketAnalyticsConfigurationRequest = js.native, callback: AWSCallback[Unit] = js.native): AWSRequest[Unit]
Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).
-
def
deleteBucketCors(params: DeleteBucketCorsRequest = js.native, callback: AWSCallback[Unit] = js.native): AWSRequest[Unit]
Deletes the cors configuration information set for the bucket.
-
def
deleteBucketInventoryConfiguration(params: DeleteBucketInventoryConfigurationRequest, callback: AWSCallback[Unit] = js.native): AWSRequest[Unit]
Deletes an inventory configuration (identified by the inventory ID) from the bucket.
-
var
endpoint: Endpoint
An Endpoint object representing the endpoint URL for service requests.
An Endpoint object representing the endpoint URL for service requests.
- Definition Classes
- Service
-
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] )
- def getBucketLocation(params: |[BucketParams, RawOptions], callback: AWSCallback[GetBucketLocationOutput] = js.native): AWSRequest[GetBucketLocationOutput]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def getObject(params: GetObjectRequest, callback: AWSCallback[GetObjectOutput] = js.native): AWSRequest[GetObjectOutput]
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def headBucket(params: RawOptions, callback: AWSCallback[Any] = js.native): AWSRequest[Any]
- def headObject(params: RawOptions, callback: AWSCallback[Any] = js.native): AWSRequest[Any]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def listObjects(params: |[ListObjectsRequest, RawOptions], callback: AWSCallback[ListObjectsOutput] = js.native): AWSRequest[ListObjectsOutput]
- def listObjectsV2(params: |[ListObjectsV2Request, RawOptions], callback: AWSCallback[ListObjectsV2Output] = js.native): AWSRequest[ListObjectsV2Output]
-
def
makeRequest[T](operation: String, params: Dictionary[Any], callback: Function2[AWSError, T, Any]): Unit
Calls an operation on a service with the given input parameters.
Calls an operation on a service with the given input parameters.
- operation
the name of the operation to call on the service.
- params
a map of input options for the operation
- callback
If a callback is supplied, it is called when a response is returned from the service. Parameters:
- err (Error) — the error object returned from the request. Set to null if the request is successful.
- data (Object) — the de-serialized data returned from the request. Set to null if a request error occurs.
- Definition Classes
- Service
-
def
makeUnauthenticatedRequest[T](operation: String, params: Dictionary[Any], callback: Function2[AWSError, T, Any]): Unit
Calls an operation on a service with the given input parameters, without any authentication data.
Calls an operation on a service with the given input parameters, without any authentication data. This method is useful for "public" API operations.
- operation
the name of the operation to call on the service.
- params
a map of input options for the operation
- callback
If a callback is supplied, it is called when a response is returned from the service. Parameters:
- err (Error) — the error object returned from the request. Set to null if the request is successful.
- data (Object) — the de-serialized data returned from the request. Set to null if a request error occurs.
- Definition Classes
- Service
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
setupRequestListeners(): Unit
Override this method to setup any custom request listeners for each new request to the service.
Override this method to setup any custom request listeners for each new request to the service.
- Definition Classes
- Service
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
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( ... )
-
def
waitFor[T](state: String, params: Dictionary[Any], callback: Function2[AWSError, T, Any]): Unit
Waits for a given state
Waits for a given state
- state
the state on the service to wait for
- params
a map of parameters to pass with each request
- callback
If a callback is supplied, it is called when a response is returned from the service.
- Definition Classes
- Service