trait Request[T, E] extends Object with IEventEmitter
AWS.Request - All requests made through the SDK are asynchronous and use a callback interface. Each service method that kicks off a request returns an AWS.Request object that you can use to register callbacks.
- Annotations
- @RawJSType() @native()
- See also
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Request.html
- Alphabetic
- By Inheritance
- Request
- IEventEmitter
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
abort(): Unit
Aborts a request, emitting the error and complete events.
Aborts a request, emitting the error and complete events. This feature is not supported in the browser environment of the SDK.
-
def
addListener(eventName: String, listener: Function): Request.this.type
- Definition Classes
- IEventEmitter
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createReadStream(): Readable
Converts the request object into a readable stream that can be read from or piped into a writable stream.
Converts the request object into a readable stream that can be read from or piped into a writable stream. The data read from a readable stream contains only the raw HTTP body contents. This feature is not supported in the browser environment of the SDK.
-
val
domain: String
- Definition Classes
- IEventEmitter
-
def
eachPage(callback: (E, T, () ⇒ Any) ⇒ Boolean): Unit
Iterates over each page of results given a pageable request, calling the provided callback with each page of data.
Iterates over each page of results given a pageable request, calling the provided callback with each page of data. After all pages have been retrieved, the callback is called with null data.
- callback
- The callback that handles the response.
-
def
eachPage(callback: (E, T) ⇒ Boolean): Unit
Iterates over each page of results given a pageable request, calling the provided callback with each page of data.
Iterates over each page of results given a pageable request, calling the provided callback with each page of data. After all pages have been retrieved, the callback is called with null data.
- callback
- The callback that handles the response.
-
def
emit(name: String, args: Any*): Any
- Definition Classes
- IEventEmitter
-
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
getMaxListeners(): Int
- Definition Classes
- IEventEmitter
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
httpRequest: HttpRequest
The raw HTTP request object containing request headers and body information sent by the service.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPageable(): Boolean
Returns whether the operation can return multiple pages of response data.
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
listenerCount(eventName: String): Int
- Definition Classes
- IEventEmitter
-
def
listeners(eventName: String): Array[Function]
- Definition Classes
- IEventEmitter
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
on(eventName: String, listener: Function): Request.this.type
- Definition Classes
- IEventEmitter
-
def
once(eventName: String, listener: Function): Request.this.type
- Definition Classes
- IEventEmitter
-
def
promise(): Promise[T]
Returns a 'thenable' promise.
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
removeAllListeners(): Request.this.type
- Definition Classes
- IEventEmitter
-
def
removeAllListeners(eventName: String): Request.this.type
- Definition Classes
- IEventEmitter
-
def
removeListener(eventName: String, listener: Function): Request.this.type
- Definition Classes
- IEventEmitter
-
def
send(callback: (E, T) ⇒ Any = null): Unit
Sends the request object.
Sends the request object. If a callback is supplied, it is called when a response is returned from the service.
-
def
setMaxListeners(n: Int): Request.this.type
- Definition Classes
- IEventEmitter
-
def
startTime: Date
The time that the request started.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
usingDomains: Boolean
- Definition Classes
- IEventEmitter
-
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( ... )