Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _TooManyRequestsException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype AlternateContactType where
- data AlternateContact = AlternateContact' {}
- newAlternateContact :: AlternateContact
- alternateContact_alternateContactType :: Lens' AlternateContact (Maybe AlternateContactType)
- alternateContact_emailAddress :: Lens' AlternateContact (Maybe Text)
- alternateContact_name :: Lens' AlternateContact (Maybe Text)
- alternateContact_phoneNumber :: Lens' AlternateContact (Maybe Text)
- alternateContact_title :: Lens' AlternateContact (Maybe Text)
- data ContactInformation = ContactInformation' {
- addressLine2 :: Maybe (Sensitive Text)
- addressLine3 :: Maybe (Sensitive Text)
- companyName :: Maybe (Sensitive Text)
- districtOrCounty :: Maybe (Sensitive Text)
- stateOrRegion :: Maybe (Sensitive Text)
- websiteUrl :: Maybe (Sensitive Text)
- addressLine1 :: Sensitive Text
- city :: Sensitive Text
- countryCode :: Sensitive Text
- fullName :: Sensitive Text
- phoneNumber :: Sensitive Text
- postalCode :: Sensitive Text
- newContactInformation :: Text -> Text -> Text -> Text -> Text -> Text -> ContactInformation
- contactInformation_addressLine2 :: Lens' ContactInformation (Maybe Text)
- contactInformation_addressLine3 :: Lens' ContactInformation (Maybe Text)
- contactInformation_companyName :: Lens' ContactInformation (Maybe Text)
- contactInformation_districtOrCounty :: Lens' ContactInformation (Maybe Text)
- contactInformation_stateOrRegion :: Lens' ContactInformation (Maybe Text)
- contactInformation_websiteUrl :: Lens' ContactInformation (Maybe Text)
- contactInformation_addressLine1 :: Lens' ContactInformation Text
- contactInformation_city :: Lens' ContactInformation Text
- contactInformation_countryCode :: Lens' ContactInformation Text
- contactInformation_fullName :: Lens' ContactInformation Text
- contactInformation_phoneNumber :: Lens' ContactInformation Text
- contactInformation_postalCode :: Lens' ContactInformation Text
Service Configuration
defaultService :: Service Source #
API version 2021-02-01
of the Amazon Account SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
The operation failed because the calling identity doesn't have the minimum required permissions.
_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 :: AsError a => Fold a ServiceError Source #
The operation failed because it specified a resource that can't be found.
_TooManyRequestsException :: AsError a => Fold a ServiceError Source #
The operation failed because it was called too frequently and exceeded a throttle limit.
_ValidationException :: AsError a => Fold a ServiceError Source #
The operation failed because one of the input parameters was invalid.
AlternateContactType
newtype AlternateContactType Source #
pattern AlternateContactType_BILLING :: AlternateContactType | |
pattern AlternateContactType_OPERATIONS :: AlternateContactType | |
pattern AlternateContactType_SECURITY :: AlternateContactType |
Instances
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.
AlternateContact' | |
|
Instances
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.
alternateContact_alternateContactType :: Lens' AlternateContact (Maybe AlternateContactType) Source #
The type of alternate contact.
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
data ContactInformation Source #
Contains the details of the primary contact information associated with an Amazon Web Services account.
See: newContactInformation
smart constructor.
ContactInformation' | |
|
Instances
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.
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.