amazonka-account-2.0: Amazon Account SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

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.

GetContactInformation

getContactInformation_accountId :: Lens' GetContactInformation (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 don't 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. The specified account ID must also 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

getContactInformationResponse_contactInformation :: Lens' GetContactInformationResponse (Maybe ContactInformation) Source #

Contains the details of the primary contact information associated with an Amazon Web Services account.

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.

PutContactInformation

putContactInformation_accountId :: Lens' PutContactInformation (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 don't 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. The specified account ID must also 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

putContactInformation_contactInformation :: Lens' PutContactInformation ContactInformation Source #

Contains the details of the primary contact information associated with an Amazon Web Services account.

Types

AlternateContact

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

The email address associated with this alternate contact.

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

The name associated with this alternate contact.

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

The phone number associated with this alternate contact.

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

The title associated with this alternate contact.

ContactInformation

contactInformation_addressLine2 :: Lens' ContactInformation (Maybe Text) Source #

The second line of the primary contact address, if any.

contactInformation_addressLine3 :: Lens' ContactInformation (Maybe Text) Source #

The third line of the primary contact address, if any.

contactInformation_companyName :: Lens' ContactInformation (Maybe Text) Source #

The name of the company associated with the primary contact information, if any.

contactInformation_districtOrCounty :: Lens' ContactInformation (Maybe Text) Source #

The district or county of the primary contact address, if any.

contactInformation_stateOrRegion :: Lens' ContactInformation (Maybe Text) Source #

The state or region of the primary contact address. This field is required in selected countries.

contactInformation_websiteUrl :: Lens' ContactInformation (Maybe Text) Source #

The URL of the website associated with the primary contact information, if any.

contactInformation_addressLine1 :: Lens' ContactInformation Text Source #

The first line of the primary contact address.

contactInformation_city :: Lens' ContactInformation Text Source #

The city of the primary contact address.

contactInformation_countryCode :: Lens' ContactInformation Text Source #

The ISO-3166 two-letter country code for the primary contact address.

contactInformation_fullName :: Lens' ContactInformation Text Source #

The full name of the primary contact address.

contactInformation_phoneNumber :: Lens' ContactInformation Text Source #

The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.

contactInformation_postalCode :: Lens' ContactInformation Text Source #

The postal code of the primary contact address.