Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Account

import { Account } from "https://aws-api.deno.dev/v0.4/services/account.ts?docs=full";
class Account {
constructor(apiFactory: client.ApiFactory);
async deleteAlternateContact(params: DeleteAlternateContactRequest, opts?: client.RequestOptions): Promise<void>;
async disableRegion(params: DisableRegionRequest, opts?: client.RequestOptions): Promise<void>;
async enableRegion(params: EnableRegionRequest, opts?: client.RequestOptions): Promise<void>;
async getAlternateContact(params: GetAlternateContactRequest, opts?: client.RequestOptions): Promise<GetAlternateContactResponse>;
async getContactInformation(params?: GetContactInformationRequest, opts?: client.RequestOptions): Promise<GetContactInformationResponse>;
async getRegionOptStatus(params: GetRegionOptStatusRequest, opts?: client.RequestOptions): Promise<GetRegionOptStatusResponse>;
async listRegions(params?: ListRegionsRequest, opts?: client.RequestOptions): Promise<ListRegionsResponse>;
async putAlternateContact(params: PutAlternateContactRequest, opts?: client.RequestOptions): Promise<void>;
async putContactInformation(params: PutContactInformationRequest, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Account(apiFactory: client.ApiFactory)
[src]

§Methods

§
deleteAlternateContact(params: DeleteAlternateContactRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

Note: Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.

§
disableRegion(params: DisableRegionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Disables (opts-out) a particular Region for an account.

§
enableRegion(params: EnableRegionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Enables (opts-in) a particular Region for an account.

§

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.

Note: Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.

§

Retrieves the primary contact information of an Amazon Web Services account.

For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.

§

Retrieves the opt-in status of a particular Region.

§
listRegions(params?: ListRegionsRequest, opts?: client.RequestOptions): Promise<ListRegionsResponse>
[src]

Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be filtered by the region-opt-status-contains parameter.

§
putAlternateContact(params: PutAlternateContactRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

Note: Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.

§
putContactInformation(params: PutContactInformationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates the primary contact information of an Amazon Web Services account.

For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.

§Static Properties