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

Description

Derived from API version 2021-02-01 of the AWS service descriptions, licensed under Apache 2.0.

Operations for Amazon Web Services Account Management

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2021-02-01 of the Amazon Account SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Account.

AccessDeniedException

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

The operation failed because the calling identity doesn't have the minimum required permissions.

InternalServerException

_InternalServerException :: AsError a => Fold a ServiceError Source #

The operation failed because of an error internal to Amazon Web Services. Try your operation again later.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The operation failed because it specified a resource that can't be found.

TooManyRequestsException

_TooManyRequestsException :: AsError a => Fold a ServiceError Source #

The operation failed because it was called too frequently and exceeded a throttle limit.

ValidationException

_ValidationException :: AsError a => Fold a ServiceError Source #

The operation failed because one of the input parameters was invalid.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DeleteAlternateContact

data DeleteAlternateContact Source #

See: newDeleteAlternateContact smart constructor.

Instances

Instances details
ToJSON DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

ToHeaders DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

ToPath DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

ToQuery DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

AWSRequest DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

Associated Types

type AWSResponse DeleteAlternateContact #

Generic DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

Associated Types

type Rep DeleteAlternateContact :: Type -> Type #

Read DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

Show DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

NFData DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

Methods

rnf :: DeleteAlternateContact -> () #

Eq DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

Hashable DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

type AWSResponse DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

type Rep DeleteAlternateContact Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

type Rep DeleteAlternateContact = D1 ('MetaData "DeleteAlternateContact" "Amazonka.Account.DeleteAlternateContact" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "DeleteAlternateContact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alternateContactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AlternateContactType)))

newDeleteAlternateContact Source #

Create a value of DeleteAlternateContact with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountId:DeleteAlternateContact', deleteAlternateContact_accountId - 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.

DeleteAlternateContact, deleteAlternateContact_alternateContactType - Specifies which of the alternate contacts to delete.

data DeleteAlternateContactResponse Source #

See: newDeleteAlternateContactResponse smart constructor.

Instances

Instances details
Generic DeleteAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

Associated Types

type Rep DeleteAlternateContactResponse :: Type -> Type #

Read DeleteAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

Show DeleteAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

NFData DeleteAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

Eq DeleteAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

type Rep DeleteAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.DeleteAlternateContact

type Rep DeleteAlternateContactResponse = D1 ('MetaData "DeleteAlternateContactResponse" "Amazonka.Account.DeleteAlternateContact" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "DeleteAlternateContactResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteAlternateContactResponse :: DeleteAlternateContactResponse Source #

Create a value of DeleteAlternateContactResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetAlternateContact

data GetAlternateContact Source #

See: newGetAlternateContact smart constructor.

Instances

Instances details
ToJSON GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

ToHeaders GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

ToPath GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

ToQuery GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

AWSRequest GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

Associated Types

type AWSResponse GetAlternateContact #

Generic GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

Associated Types

type Rep GetAlternateContact :: Type -> Type #

Read GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

Show GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

NFData GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

Methods

rnf :: GetAlternateContact -> () #

Eq GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

Hashable GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

type AWSResponse GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

type Rep GetAlternateContact Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

type Rep GetAlternateContact = D1 ('MetaData "GetAlternateContact" "Amazonka.Account.GetAlternateContact" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "GetAlternateContact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alternateContactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AlternateContactType)))

newGetAlternateContact Source #

Create a value of GetAlternateContact with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountId:GetAlternateContact', getAlternateContact_accountId - 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_alternateContactType - Specifies which alternate contact you want to retrieve.

data GetAlternateContactResponse Source #

See: newGetAlternateContactResponse smart constructor.

Instances

Instances details
Generic GetAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

Associated Types

type Rep GetAlternateContactResponse :: Type -> Type #

Show GetAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

NFData GetAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

Eq GetAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

type Rep GetAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.GetAlternateContact

type Rep GetAlternateContactResponse = D1 ('MetaData "GetAlternateContactResponse" "Amazonka.Account.GetAlternateContact" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "GetAlternateContactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alternateContact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlternateContact)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetAlternateContactResponse Source #

Create a value of GetAlternateContactResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:alternateContact:GetAlternateContactResponse', getAlternateContactResponse_alternateContact - A structure that contains the details for the specified alternate contact.

$sel:httpStatus:GetAlternateContactResponse', getAlternateContactResponse_httpStatus - The response's http status code.

GetContactInformation

data GetContactInformation Source #

See: newGetContactInformation smart constructor.

Instances

Instances details
ToJSON GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

ToHeaders GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

ToPath GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

ToQuery GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

AWSRequest GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

Associated Types

type AWSResponse GetContactInformation #

Generic GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

Associated Types

type Rep GetContactInformation :: Type -> Type #

Read GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

Show GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

NFData GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

Methods

rnf :: GetContactInformation -> () #

Eq GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

Hashable GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

type AWSResponse GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

type Rep GetContactInformation Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

type Rep GetContactInformation = D1 ('MetaData "GetContactInformation" "Amazonka.Account.GetContactInformation" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "GetContactInformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGetContactInformation :: GetContactInformation Source #

Create a value of GetContactInformation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountId:GetContactInformation', getContactInformation_accountId - 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.

data GetContactInformationResponse Source #

See: newGetContactInformationResponse smart constructor.

Instances

Instances details
Generic GetContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

Associated Types

type Rep GetContactInformationResponse :: Type -> Type #

Show GetContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

NFData GetContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

Eq GetContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

type Rep GetContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.GetContactInformation

type Rep GetContactInformationResponse = D1 ('MetaData "GetContactInformationResponse" "Amazonka.Account.GetContactInformation" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "GetContactInformationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContactInformation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetContactInformationResponse Source #

Create a value of GetContactInformationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:contactInformation:GetContactInformationResponse', getContactInformationResponse_contactInformation - Contains the details of the primary contact information associated with an Amazon Web Services account.

$sel:httpStatus:GetContactInformationResponse', getContactInformationResponse_httpStatus - The response's http status code.

PutAlternateContact

data PutAlternateContact Source #

See: newPutAlternateContact smart constructor.

Instances

Instances details
ToJSON PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

ToHeaders PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

ToPath PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

ToQuery PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

AWSRequest PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

Associated Types

type AWSResponse PutAlternateContact #

Generic PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

Associated Types

type Rep PutAlternateContact :: Type -> Type #

Show PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

NFData PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

Methods

rnf :: PutAlternateContact -> () #

Eq PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

Hashable PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

type AWSResponse PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

type Rep PutAlternateContact Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

type Rep PutAlternateContact = D1 ('MetaData "PutAlternateContact" "Amazonka.Account.PutAlternateContact" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "PutAlternateContact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "alternateContactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AlternateContactType) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))

newPutAlternateContact Source #

Create a value of PutAlternateContact with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountId:PutAlternateContact', putAlternateContact_accountId - 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_alternateContactType - Specifies which alternate contact you want to create or update.

PutAlternateContact, putAlternateContact_emailAddress - Specifies an email address for the alternate contact.

PutAlternateContact, putAlternateContact_name - Specifies a name for the alternate contact.

PutAlternateContact, putAlternateContact_phoneNumber - Specifies a phone number for the alternate contact.

PutAlternateContact, putAlternateContact_title - Specifies a title for the alternate contact.

data PutAlternateContactResponse Source #

See: newPutAlternateContactResponse smart constructor.

Instances

Instances details
Generic PutAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

Associated Types

type Rep PutAlternateContactResponse :: Type -> Type #

Read PutAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

Show PutAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

NFData PutAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

Eq PutAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

type Rep PutAlternateContactResponse Source # 
Instance details

Defined in Amazonka.Account.PutAlternateContact

type Rep PutAlternateContactResponse = D1 ('MetaData "PutAlternateContactResponse" "Amazonka.Account.PutAlternateContact" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "PutAlternateContactResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPutAlternateContactResponse :: PutAlternateContactResponse Source #

Create a value of PutAlternateContactResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

PutContactInformation

data PutContactInformation Source #

See: newPutContactInformation smart constructor.

Instances

Instances details
ToJSON PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

ToHeaders PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

ToPath PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

ToQuery PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

AWSRequest PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

Associated Types

type AWSResponse PutContactInformation #

Generic PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

Associated Types

type Rep PutContactInformation :: Type -> Type #

Show PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

NFData PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

Methods

rnf :: PutContactInformation -> () #

Eq PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

Hashable PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

type AWSResponse PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

type Rep PutContactInformation Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

type Rep PutContactInformation = D1 ('MetaData "PutContactInformation" "Amazonka.Account.PutContactInformation" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "PutContactInformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contactInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContactInformation)))

newPutContactInformation Source #

Create a value of PutContactInformation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountId:PutContactInformation', putContactInformation_accountId - 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.

$sel:contactInformation:PutContactInformation', putContactInformation_contactInformation - Contains the details of the primary contact information associated with an Amazon Web Services account.

data PutContactInformationResponse Source #

See: newPutContactInformationResponse smart constructor.

Instances

Instances details
Generic PutContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

Associated Types

type Rep PutContactInformationResponse :: Type -> Type #

Read PutContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

Show PutContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

NFData PutContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

Eq PutContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

type Rep PutContactInformationResponse Source # 
Instance details

Defined in Amazonka.Account.PutContactInformation

type Rep PutContactInformationResponse = D1 ('MetaData "PutContactInformationResponse" "Amazonka.Account.PutContactInformation" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "PutContactInformationResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newPutContactInformationResponse :: PutContactInformationResponse Source #

Create a value of PutContactInformationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Types

AlternateContactType

newtype AlternateContactType Source #

Instances

Instances details
FromJSON AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

FromJSONKey AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToJSON AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToJSONKey AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToByteString AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToHeader AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToLog AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToQuery AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

FromText AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToText AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

FromXML AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

ToXML AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Generic AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Associated Types

type Rep AlternateContactType :: Type -> Type #

Read AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Show AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

NFData AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Methods

rnf :: AlternateContactType -> () #

Eq AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Ord AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

Hashable AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

type Rep AlternateContactType Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContactType

type Rep AlternateContactType = D1 ('MetaData "AlternateContactType" "Amazonka.Account.Types.AlternateContactType" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'True) (C1 ('MetaCons "AlternateContactType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAlternateContactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AlternateContact

data AlternateContact Source #

A structure that contains the details of an alternate contact associated with an Amazon Web Services account

See: newAlternateContact smart constructor.

Instances

Instances details
FromJSON AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

Generic AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

Associated Types

type Rep AlternateContact :: Type -> Type #

Show AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

NFData AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

Methods

rnf :: AlternateContact -> () #

Eq AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

Hashable AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

type Rep AlternateContact Source # 
Instance details

Defined in Amazonka.Account.Types.AlternateContact

type Rep AlternateContact = D1 ('MetaData "AlternateContact" "Amazonka.Account.Types.AlternateContact" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "AlternateContact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alternateContactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlternateContactType)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))))

newAlternateContact :: AlternateContact Source #

Create a value of AlternateContact with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:alternateContactType:AlternateContact', alternateContact_alternateContactType - The type of alternate contact.

$sel:emailAddress:AlternateContact', alternateContact_emailAddress - The email address associated with this alternate contact.

$sel:name:AlternateContact', alternateContact_name - The name associated with this alternate contact.

$sel:phoneNumber:AlternateContact', alternateContact_phoneNumber - The phone number associated with this alternate contact.

$sel:title:AlternateContact', alternateContact_title - The title associated with this alternate contact.

ContactInformation

data ContactInformation Source #

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

See: newContactInformation smart constructor.

Instances

Instances details
FromJSON ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

ToJSON ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

Generic ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

Associated Types

type Rep ContactInformation :: Type -> Type #

Show ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

NFData ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

Methods

rnf :: ContactInformation -> () #

Eq ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

Hashable ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

type Rep ContactInformation Source # 
Instance details

Defined in Amazonka.Account.Types.ContactInformation

type Rep ContactInformation = D1 ('MetaData "ContactInformation" "Amazonka.Account.Types.ContactInformation" "amazonka-account-2.0-ICdecQL9Ffc3FQZgw2t8jf" 'False) (C1 ('MetaCons "ContactInformation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "addressLine2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "addressLine3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "companyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "districtOrCounty") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "stateOrRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "websiteUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))) :*: ((S1 ('MetaSel ('Just "addressLine1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 ('MetaSel ('Just "city") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "countryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "fullName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "postalCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))))

newContactInformation Source #

Create a value of ContactInformation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:addressLine2:ContactInformation', contactInformation_addressLine2 - The second line of the primary contact address, if any.

$sel:addressLine3:ContactInformation', contactInformation_addressLine3 - The third line of the primary contact address, if any.

$sel:companyName:ContactInformation', contactInformation_companyName - The name of the company associated with the primary contact information, if any.

$sel:districtOrCounty:ContactInformation', contactInformation_districtOrCounty - The district or county of the primary contact address, if any.

$sel:stateOrRegion:ContactInformation', contactInformation_stateOrRegion - The state or region of the primary contact address. This field is required in selected countries.

$sel:websiteUrl:ContactInformation', contactInformation_websiteUrl - The URL of the website associated with the primary contact information, if any.

$sel:addressLine1:ContactInformation', contactInformation_addressLine1 - The first line of the primary contact address.

$sel:city:ContactInformation', contactInformation_city - The city of the primary contact address.

$sel:countryCode:ContactInformation', contactInformation_countryCode - The ISO-3166 two-letter country code for the primary contact address.

$sel:fullName:ContactInformation', contactInformation_fullName - The full name of the primary contact address.

$sel:phoneNumber:ContactInformation', contactInformation_phoneNumber - The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.

$sel:postalCode:ContactInformation', contactInformation_postalCode - The postal code of the primary contact address.