Skip to main content

IAccountClient

Interface in AWS.Account

Interface for Amazon Account service client.

Methods

AcceptPrimaryEmailUpdate

function AcceptPrimaryEmailUpdate( const ARequest: IAccountAcceptPrimaryEmailUpdateRequest): IAccountAcceptPrimaryEmailUpdateResponse; overload;

IAccountAcceptPrimaryEmailUpdateRequestIAccountAcceptPrimaryEmailUpdateResponse

Accept the request originated by StartPrimaryEmailUpdate to change the primary email address.

Parameters

NameDescription
ARequestA AcceptPrimaryEmailUpdate request object.

Returns

Response containing AcceptPrimaryEmailUpdate results.


function AcceptPrimaryEmailUpdate(const AAccountId, AOtp, APrimaryEmail: string): IAccountAcceptPrimaryEmailUpdateResponse; overload;

IAccountAcceptPrimaryEmailUpdateResponse

Accept the request originated by StartPrimaryEmailUpdate to change the primary email address.

Parameters

NameDescription
AAccountIdSpecify the 12-digit account ID of the AWS account to modify.
AOtpSpecify the OTP code sent to the PrimaryEmail specified in the StartPrimaryEmailUpdate call.
APrimaryEmailSpecify the new primary email address for use with the specified account. This must match the PrimaryEmail from the StartPrimaryEmailUpdate call.

Returns

Response containing AcceptPrimaryEmailUpdate results.

DeleteAlternateContact

function DeleteAlternateContact( const ARequest: IAccountDeleteAlternateContactRequest): IAccountDeleteAlternateContactResponse; overload;

IAccountDeleteAlternateContactRequestIAccountDeleteAlternateContactResponse

Delete the specified alternate contact from an AWS account.

Parameters

NameDescription
ARequestA DeleteAlternateContact request object.

Returns

Response containing DeleteAlternateContact results.


function DeleteAlternateContact(const AAlternateContactType: string; const AAccountId: string = ''): IAccountDeleteAlternateContactResponse; overload;

IAccountDeleteAlternateContactResponse

Delete the specified alternate contact from an AWS account.

Parameters

NameDescription
AAlternateContactTypeSpecify which of the alternate contacts to delete. Valid values:||.
AAccountIdOptionally, specify the 12-digit account ID of the AWS account to modify. If not specified, the AWS account of the calling identity will be assumed.

Returns

Response containing DeleteAlternateContact results.

DisableRegion

function DisableRegion( const ARequest: IAccountDisableRegionRequest): IAccountDisableRegionResponse; overload;

IAccountDisableRegionRequestIAccountDisableRegionResponse

Disable a Region for an account.

Parameters

NameDescription
ARequestA DisableRegion request object.

Returns

Response containing DisableRegion results.


function DisableRegion(const ARegionName: string; const AAccountId: string = ''): IAccountDisableRegionResponse; overload;

IAccountDisableRegionResponse

Disable a Region for an account.

Parameters

NameDescription
ARegionNameSpecify the region-code for a Region to disable.
AAccountIdOptionally, specify the 12-digit account ID of the AWS account to modify. If not specified, the AWS account of the calling identity will be assumed.

Returns

Response containing DisableRegion results.

EnableRegion

function EnableRegion( const ARequest: IAccountEnableRegionRequest): IAccountEnableRegionResponse; overload;

IAccountEnableRegionRequestIAccountEnableRegionResponse

Enable a Region for an account.

Parameters

NameDescription
ARequestA EnableRegion request object.

Returns

Response containing EnableRegion results.


function EnableRegion(const ARegionName: string; const AAccountId: string = ''): IAccountEnableRegionResponse; overload;

IAccountEnableRegionResponse

Enable a Region for an account.

Parameters

NameDescription
ARegionNameSpecify the region-code for a Region to Enable.
AAccountIdOptionally, specify the 12-digit account ID of the AWS account to modify. If not specified, the AWS account of the calling identity will be assumed.

Returns

Response containing EnableRegion results.

GetAlternateContact

function GetAlternateContact( const ARequest: IAccountGetAlternateContactRequest): IAccountGetAlternateContactResponse; overload;

IAccountGetAlternateContactRequestIAccountGetAlternateContactResponse

Fetch details about the specified alternate contact attached to an account.

Parameters

NameDescription
ARequestA GetAlternateContact request object.

Returns

Response containing GetAlternateContact results.


function GetAlternateContact(const AAlternateContactType: string; const AAccountId: string = ''): IAccountGetAlternateContactResponse; overload;

IAccountGetAlternateContactResponse

Fetch details about the specified alternate contact attached to an account.

Parameters

NameDescription
AAlternateContactTypeSpecify which of the alternate contacts to retrieve. Valid values:||.
AAccountIdOptionally, specify the 12-digit account ID of the AWS account. If not specified, the AWS account of the calling identity will be assumed.

Returns

Response containing GetAlternateContact results.

GetContactInformation

function GetContactInformation( const ARequest: IAccountGetContactInformationRequest): IAccountGetContactInformationResponse; overload;

IAccountGetContactInformationRequestIAccountGetContactInformationResponse

Fetch the primary contact information of an AWS account.

Parameters

NameDescription
ARequestA GetContactInformation request object.

Returns

Response containing GetContactInformation results.


function GetContactInformation: IAccountGetContactInformationResponse; overload;

IAccountGetContactInformationResponse

Fetch the primary contact information for the AWS account of the calling identity.

Returns

Response containing GetContactInformation results.


function GetContactInformation( const AAccountId: string): IAccountGetContactInformationResponse; overload;

IAccountGetContactInformationResponse

Fetch the primary contact information of an AWS account.

Parameters

NameDescription
AAccountIdSpecify the 12-digit account ID of the AWS account.

Returns

Response containing GetContactInformation results.

GetPrimaryEmail

function GetPrimaryEmail( const ARequest: IAccountGetPrimaryEmailRequest): IAccountGetPrimaryEmailResponse; overload;

IAccountGetPrimaryEmailRequestIAccountGetPrimaryEmailResponse

Fetch the primary email address associated with the specified AWS account.

Parameters

NameDescription
ARequestA GetPrimaryEmail request object.

Returns

Response containing GetPrimaryEmail results.


function GetPrimaryEmail( const AAccountId: string): IAccountGetPrimaryEmailResponse; overload;

IAccountGetPrimaryEmailResponse

Fetch the primary email address associated with the specified AWS account.

Parameters

NameDescription
AAccountIdSpecify the 12-digit account ID of the AWS account.

Returns

Response containing GetPrimaryEmail results.

GetRegionOptStatus

function GetRegionOptStatus( const ARequest: IAccountGetRegionOptStatusRequest): IAccountGetRegionOptStatusResponse; overload;

IAccountGetRegionOptStatusRequestIAccountGetRegionOptStatusResponse

Fetch the opt-in status of a specific region.

Parameters

NameDescription
ARequestA GetRegionOptStatus request object.

Returns

Response containing GetRegionOptStatus results.


function GetRegionOptStatus(const ARegionName: string; const AAccountId: string = ''): IAccountGetRegionOptStatusResponse; overload;

IAccountGetRegionOptStatusResponse

Fetch the opt-in status of a specific region.

Parameters

NameDescription
ARegionNameSpecify the region-code for a Region.
AAccountIdOptionally, specify the 12-digit account ID of the AWS account. If not specified, the AWS account of the calling identity will be assumed.

Returns

Response containing GetRegionOptStatus results.

ListRegions

function ListRegions( const ARequest: IAccountListRegionsRequest): IAccountListRegionsResponse; overload;

IAccountListRegionsRequestIAccountListRegionsResponse

Fetch a list of the Regions and their opt-in statuses for an AWS account.

Parameters

NameDescription
ARequestA ListRegions request object.

Returns

Response containing ListRegions results.


function ListRegions: IAccountListRegionsResponse; overload;

IAccountListRegionsResponse

Fetch a list of the Regions and their opt-in statuses for an AWS account.

Returns

Response containing ListRegions results.


function ListRegions( const ARegionOptStatusContains: TArray<string>): IAccountListRegionsResponse; overload;

IAccountListRegionsResponse

Fetch a list of the Regions and their opt-in statuses for an AWS account.

Parameters

NameDescription
ARegionOptStatusContainsSpecify a list of Region statuses to use to filter the list of Regions to be returned. Valid values:||||.

Returns

Response containing ListRegions results.


function ListRegions(const ARegionOptStatusContains: TArray<string>; const AMaxResults: Integer; const ANextToken: string = ''; const AAccountId: string = ''): IAccountListRegionsResponse; overload;

IAccountListRegionsResponse

Fetch a list of the Regions and their opt-in statuses for an AWS account.

Parameters

NameDescription
ARegionOptStatusContainsSpecify a list of Region statuses to use to filter the list of Regions to be returned. Valid values:||||.
AMaxResultsSpecify the maximum number of results to return. Valid range:.
ANextTokenSpecify a NextToken returned from a previous call to retrieve more results.
AAccountIdOptionally, specify the 12-digit account ID of the AWS account. If not specified, the AWS account of the calling identity will be assumed.

Returns

Response containing ListRegions results.

PutAlternateContact

function PutAlternateContact( const ARequest: IAccountPutAlternateContactRequest): IAccountPutAlternateContactResponse; overload;

IAccountPutAlternateContactRequestIAccountPutAlternateContactResponse

Update the specified alternate contact on the AWS account.

Parameters

NameDescription
ARequestA PutAlternateContact request object.

Returns

Response containing PutAlternateContact results.


function PutAlternateContact(const AAlternateContactType, ATitle, AName, AEmailAddress, APhoneNumber: string; const AAccountId: string = ''): IAccountPutAlternateContactResponse; overload;

IAccountPutAlternateContactResponse

Update the specified alternate contact on the AWS account.

Parameters

NameDescription
AAlternateContactTypeSpecify which of the alternate contacts to update. Valid values:||.
ATitleSpecify a title for the the alternate contact.
ANameSpecify a name for the the alternate contact.
AEmailAddressSpecify an email address for the the alternate contact.
APhoneNumberSpecify a phone number for the the alternate contact.
AAccountIdOptionally, specify the 12-digit account ID of the AWS account to modify. If not specified, the AWS account of the calling identity will be assumed.

Returns

Response containing PutAlternateContact results.

PutContactInformation

function PutContactInformation( const ARequest: IAccountPutContactInformationRequest): IAccountPutContactInformationResponse; overload;

IAccountPutContactInformationRequestIAccountPutContactInformationResponse

Update the primary contact information of an AWS account.

Parameters

NameDescription
ARequestA PutContactInformation request object.

Returns

Response containing PutContactInformation results.


function PutContactInformation( const AContactInformation: IAccountContactInformation; const AAccountId: string = ''): IAccountPutContactInformationResponse; overload;

IAccountContactInformationIAccountPutContactInformationResponse

Update the primary contact information of an AWS account.

Parameters

NameDescription
AContactInformationSpecify new details for the primary contact information.
AAccountIdOptionally, specify the 12-digit account ID of the AWS account to modify. If not specified, the AWS account of the calling identity will be assumed.

Returns

Response containing PutContactInformation results.

StartPrimaryEmailUpdate

function StartPrimaryEmailUpdate( const ARequest: IAccountStartPrimaryEmailUpdateRequest): IAccountStartPrimaryEmailUpdateResponse; overload;

IAccountStartPrimaryEmailUpdateRequestIAccountStartPrimaryEmailUpdateResponse

Start a process to update the primary email address for the specified AWS account.

Parameters

NameDescription
ARequestA StartPrimaryEmailUpdate request object.

Returns

Response containing StartPrimaryEmailUpdate results.


function StartPrimaryEmailUpdate(const AAccountId, APrimaryEmail: string): IAccountStartPrimaryEmailUpdateResponse; overload;

IAccountStartPrimaryEmailUpdateResponse

Start a process to update the primary email address for the specified AWS account.

Parameters

NameDescription
AAccountIdSpecify the 12-digit account ID of the AWS account to modify.
APrimaryEmailSpecify the new primary email address for use with the specified account.

Returns

Response containing StartPrimaryEmailUpdate results.