Class: AWS.Service
- Inherits:
-
Object
- Object
- AWS.Service
- Defined in:
- lib/service.js
Overview
The service class representing an AWS service.
Direct Known Subclasses
Constructor Summary collapse
-
new AWS.Service(config) ⇒ void
constructor
Create a new service object with a configuration object.
Property Summary collapse
-
apiVersions ⇒ Array<String>
readonly
The list of API versions supported by this service.
Method Summary collapse
-
defineService(serviceIdentifier, versions, features) ⇒ 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.
-
makeRequest(operation, params, callback) ⇒ void
Calls an operation on a service with the given input parameters.
-
makeUnauthenticatedRequest(operation, params, callback) ⇒ void
Calls an operation on a service with the given input parameters, without any authentication data.
-
setupRequestListeners(request) ⇒ void
Override this method to setup any custom request listeners for each new request to the service.
-
waitFor(state, params, callback) ⇒ void
Waits for a given state.
Constructor Details
new AWS.Service(config) ⇒ void
Create a new service object with a configuration object
Property Details
apiVersions ⇒ Array<String> (readonly)
Returns the list of API versions supported by this service.
Method Details
defineService(serviceIdentifier, versions, features) ⇒ 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.
makeRequest(operation, params, callback) ⇒ void
Calls an operation on a service with the given input parameters.
makeUnauthenticatedRequest(operation, params, callback) ⇒ void
Calls an operation on a service with the given input parameters, without any authentication data. This method is useful for "public" API operations.
setupRequestListeners(request) ⇒ void
Override this method to setup any custom request listeners for each new request to the service.
waitFor(state, params, callback) ⇒ void
Waits for a given state