class Service extends Object
AWS.Service
- Annotations
- @RawJSType() @native() @JSImport( "aws-sdk" , "Service" )
- See also
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Service.html
- Alphabetic
- By Inheritance
- Service
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Service(config: |[ServiceConfigurationOptions, 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
apiVersions: Array[String]
The list of API versions supported by this service.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val config: |[ServiceConfigurationOptions, RawOptions]
-
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.
-
var
endpoint: Endpoint
An Endpoint object representing the endpoint URL for service requests.
-
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
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
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.
-
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.
-
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.
-
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.