Class: AWS.Account
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Account
- Identifier:
- account
- API Version:
- 2021-02-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Operations for Amazon Web Services Account Management
Sending a Request Using Account
var account = new AWS.Account();
account.deleteAlternateContact(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 Account object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var account = new AWS.Account({apiVersion: '2021-02-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the account service identifier:
AWS.config.apiVersions = {
account: '2021-02-01',
// other service API versions
};
var account = new AWS.Account();
Constructor Summary collapse
-
new AWS.Account(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
-
deleteAlternateContact(params = {}, callback) ⇒ AWS.Request
Deletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
. -
getAlternateContact(params = {}, callback) ⇒ AWS.Request
Retrieves the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
. -
putAlternateContact(params = {}, callback) ⇒ AWS.Request
Modifies the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Account(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
deleteAlternateContact(params = {}, callback) ⇒ AWS.Request
Deletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
getAlternateContact(params = {}, callback) ⇒ AWS.Request
Retrieves the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
putAlternateContact(params = {}, callback) ⇒ AWS.Request
Modifies the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.