Class: AWS.Artifact
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Artifact
- Identifier:
- artifact
- API Version:
- 2018-05-10
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
This reference provides descriptions of the low-level AWS Artifact Service API.
Sending a Request Using Artifact
var artifact = new AWS.Artifact();
artifact.getAccountSettings(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Artifact object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var artifact = new AWS.Artifact({apiVersion: '2018-05-10'});
You can also set the API version globally in AWS.config.apiVersions
using
the artifact service identifier:
AWS.config.apiVersions = {
artifact: '2018-05-10',
// other service API versions
};
var artifact = new AWS.Artifact();
Constructor Summary collapse
-
new AWS.Artifact(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
getAccountSettings(params = {}, callback) ⇒ AWS.Request
Get the account settings for Artifact.
.
-
getReport(params = {}, callback) ⇒ AWS.Request
Get the content for a single report.
.
-
getReportMetadata(params = {}, callback) ⇒ AWS.Request
Get the metadata for a single report.
.
-
getTermForReport(params = {}, callback) ⇒ AWS.Request
Get the Term content associated with a single report.
.
-
listReports(params = {}, callback) ⇒ AWS.Request
List available reports.
.
-
putAccountSettings(params = {}, callback) ⇒ AWS.Request
Put the account settings for Artifact.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Artifact(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.