IAccountClient
Interface in AWS.Account
Interface for Amazon Account service client.
Methods
AcceptPrimaryEmailUpdate
function AcceptPrimaryEmailUpdate( const ARequest: IAccountAcceptPrimaryEmailUpdateRequest): IAccountAcceptPrimaryEmailUpdateResponse; overload;
IAccountAcceptPrimaryEmailUpdateRequest → IAccountAcceptPrimaryEmailUpdateResponse
Accept the request originated by StartPrimaryEmailUpdate to change the primary email address.
Parameters
| Name | Description |
|---|---|
ARequest | A 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
| Name | Description |
|---|---|
AAccountId | Specify the 12-digit account ID of the AWS account to modify. |
AOtp | Specify the OTP code sent to the PrimaryEmail specified in the StartPrimaryEmailUpdate call. |
APrimaryEmail | Specify 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;
IAccountDeleteAlternateContactRequest → IAccountDeleteAlternateContactResponse
Delete the specified alternate contact from an AWS account.
Parameters
| Name | Description |
|---|---|
ARequest | A 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
| Name | Description |
|---|---|
AAlternateContactType | Specify which of the alternate contacts to delete. Valid values:||. |
AAccountId | Optionally, 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;
IAccountDisableRegionRequest → IAccountDisableRegionResponse
Disable a Region for an account.
Parameters
| Name | Description |
|---|---|
ARequest | A DisableRegion request object. |
Returns
Response containing DisableRegion results.
function DisableRegion(const ARegionName: string; const AAccountId: string = ''): IAccountDisableRegionResponse; overload;
Disable a Region for an account.
Parameters
| Name | Description |
|---|---|
ARegionName | Specify the region-code for a Region to disable. |
AAccountId | Optionally, 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;
IAccountEnableRegionRequest → IAccountEnableRegionResponse
Enable a Region for an account.
Parameters
| Name | Description |
|---|---|
ARequest | A EnableRegion request object. |
Returns
Response containing EnableRegion results.
function EnableRegion(const ARegionName: string; const AAccountId: string = ''): IAccountEnableRegionResponse; overload;
Enable a Region for an account.
Parameters
| Name | Description |
|---|---|
ARegionName | Specify the region-code for a Region to Enable. |
AAccountId | Optionally, 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;
IAccountGetAlternateContactRequest → IAccountGetAlternateContactResponse
Fetch details about the specified alternate contact attached to an account.
Parameters
| Name | Description |
|---|---|
ARequest | A 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
| Name | Description |
|---|---|
AAlternateContactType | Specify which of the alternate contacts to retrieve. Valid values:||. |
AAccountId | Optionally, 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;
IAccountGetContactInformationRequest → IAccountGetContactInformationResponse
Fetch the primary contact information of an AWS account.
Parameters
| Name | Description |
|---|---|
ARequest | A 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
| Name | Description |
|---|---|
AAccountId | Specify the 12-digit account ID of the AWS account. |
Returns
Response containing GetContactInformation results.
GetPrimaryEmail
function GetPrimaryEmail( const ARequest: IAccountGetPrimaryEmailRequest): IAccountGetPrimaryEmailResponse; overload;
IAccountGetPrimaryEmailRequest → IAccountGetPrimaryEmailResponse
Fetch the primary email address associated with the specified AWS account.
Parameters
| Name | Description |
|---|---|
ARequest | A 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
| Name | Description |
|---|---|
AAccountId | Specify the 12-digit account ID of the AWS account. |
Returns
Response containing GetPrimaryEmail results.
GetRegionOptStatus
function GetRegionOptStatus( const ARequest: IAccountGetRegionOptStatusRequest): IAccountGetRegionOptStatusResponse; overload;
IAccountGetRegionOptStatusRequest → IAccountGetRegionOptStatusResponse
Fetch the opt-in status of a specific region.
Parameters
| Name | Description |
|---|---|
ARequest | A 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
| Name | Description |
|---|---|
ARegionName | Specify the region-code for a Region. |
AAccountId | Optionally, 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;
IAccountListRegionsRequest → IAccountListRegionsResponse
Fetch a list of the Regions and their opt-in statuses for an AWS account.
Parameters
| Name | Description |
|---|---|
ARequest | A ListRegions request object. |
Returns
Response containing ListRegions results.
function ListRegions: IAccountListRegionsResponse; overload;
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;
Fetch a list of the Regions and their opt-in statuses for an AWS account.
Parameters
| Name | Description |
|---|---|
ARegionOptStatusContains | Specify 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;
Fetch a list of the Regions and their opt-in statuses for an AWS account.
Parameters
| Name | Description |
|---|---|
ARegionOptStatusContains | Specify a list of Region statuses to use to filter the list of Regions to be returned. Valid values:||||. |
AMaxResults | Specify the maximum number of results to return. Valid range:. |
ANextToken | Specify a NextToken returned from a previous call to retrieve more results. |
AAccountId | Optionally, 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;
IAccountPutAlternateContactRequest → IAccountPutAlternateContactResponse
Update the specified alternate contact on the AWS account.
Parameters
| Name | Description |
|---|---|
ARequest | A 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
| Name | Description |
|---|---|
AAlternateContactType | Specify which of the alternate contacts to update. Valid values:||. |
ATitle | Specify a title for the the alternate contact. |
AName | Specify a name for the the alternate contact. |
AEmailAddress | Specify an email address for the the alternate contact. |
APhoneNumber | Specify a phone number for the the alternate contact. |
AAccountId | Optionally, 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;
IAccountPutContactInformationRequest → IAccountPutContactInformationResponse
Update the primary contact information of an AWS account.
Parameters
| Name | Description |
|---|---|
ARequest | A PutContactInformation request object. |
Returns
Response containing PutContactInformation results.
function PutContactInformation( const AContactInformation: IAccountContactInformation; const AAccountId: string = ''): IAccountPutContactInformationResponse; overload;
IAccountContactInformation → IAccountPutContactInformationResponse
Update the primary contact information of an AWS account.
Parameters
| Name | Description |
|---|---|
AContactInformation | Specify new details for the primary contact information. |
AAccountId | Optionally, 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;
IAccountStartPrimaryEmailUpdateRequest → IAccountStartPrimaryEmailUpdateResponse
Start a process to update the primary email address for the specified AWS account.
Parameters
| Name | Description |
|---|---|
ARequest | A 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
| Name | Description |
|---|---|
AAccountId | Specify the 12-digit account ID of the AWS account to modify. |
APrimaryEmail | Specify the new primary email address for use with the specified account. |
Returns
Response containing StartPrimaryEmailUpdate results.