libZSservicesZSamazonka-accountZSamazonka-account
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Account.Lens

Description

 
Synopsis

Operations

DeleteAlternateContact

deleteAlternateContact_accountId :: Lens' DeleteAlternateContact (Maybe Text) Source #

Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.

If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.

To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter.

To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

PutAlternateContact

putAlternateContact_accountId :: Lens' PutAlternateContact (Maybe Text) Source #

Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.

If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.

To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter.

To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

putAlternateContact_alternateContactType :: Lens' PutAlternateContact AlternateContactType Source #

Specifies which alternate contact you want to create or update.

putAlternateContact_emailAddress :: Lens' PutAlternateContact Text Source #

Specifies an email address for the alternate contact.

putAlternateContact_name :: Lens' PutAlternateContact Text Source #

Specifies a name for the alternate contact.

putAlternateContact_phoneNumber :: Lens' PutAlternateContact Text Source #

Specifies a phone number for the alternate contact.

putAlternateContact_title :: Lens' PutAlternateContact Text Source #

Specifies a title for the alternate contact.

GetAlternateContact

getAlternateContact_accountId :: Lens' GetAlternateContact (Maybe Text) Source #

Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.

If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.

To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter.

To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

getAlternateContact_alternateContactType :: Lens' GetAlternateContact AlternateContactType Source #

Specifies which alternate contact you want to retrieve.

getAlternateContactResponse_alternateContact :: Lens' GetAlternateContactResponse (Maybe AlternateContact) Source #

A structure that contains the details for the specified alternate contact.

Types

AlternateContact

alternateContact_phoneNumber :: Lens' AlternateContact (Maybe Text) Source #

The phone number associated with this alternate contact.

alternateContact_name :: Lens' AlternateContact (Maybe Text) Source #

The name associated with this alternate contact.

alternateContact_emailAddress :: Lens' AlternateContact (Maybe Text) Source #

The email address associated with this alternate contact.

alternateContact_title :: Lens' AlternateContact (Maybe Text) Source #

The title associated with this alternate contact.