Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.
Synopsis
- data GetPhoneNumberSettings = GetPhoneNumberSettings' {
- newGetPhoneNumberSettings :: GetPhoneNumberSettings
- data GetPhoneNumberSettingsResponse = GetPhoneNumberSettingsResponse' {}
- newGetPhoneNumberSettingsResponse :: Int -> GetPhoneNumberSettingsResponse
- getPhoneNumberSettingsResponse_callingNameUpdatedTimestamp :: Lens' GetPhoneNumberSettingsResponse (Maybe UTCTime)
- getPhoneNumberSettingsResponse_callingName :: Lens' GetPhoneNumberSettingsResponse (Maybe Text)
- getPhoneNumberSettingsResponse_httpStatus :: Lens' GetPhoneNumberSettingsResponse Int
Creating a Request
data GetPhoneNumberSettings Source #
See: newGetPhoneNumberSettings
smart constructor.
Instances
newGetPhoneNumberSettings :: GetPhoneNumberSettings Source #
Create a value of GetPhoneNumberSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetPhoneNumberSettingsResponse Source #
See: newGetPhoneNumberSettingsResponse
smart constructor.
GetPhoneNumberSettingsResponse' | |
|
Instances
newGetPhoneNumberSettingsResponse Source #
Create a value of GetPhoneNumberSettingsResponse
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:callingNameUpdatedTimestamp:GetPhoneNumberSettingsResponse'
, getPhoneNumberSettingsResponse_callingNameUpdatedTimestamp
- The updated outbound calling name timestamp, in ISO 8601 format.
$sel:callingName:GetPhoneNumberSettingsResponse'
, getPhoneNumberSettingsResponse_callingName
- The default outbound calling name for the account.
$sel:httpStatus:GetPhoneNumberSettingsResponse'
, getPhoneNumberSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
getPhoneNumberSettingsResponse_callingNameUpdatedTimestamp :: Lens' GetPhoneNumberSettingsResponse (Maybe UTCTime) Source #
The updated outbound calling name timestamp, in ISO 8601 format.
getPhoneNumberSettingsResponse_callingName :: Lens' GetPhoneNumberSettingsResponse (Maybe Text) Source #
The default outbound calling name for the account.
getPhoneNumberSettingsResponse_httpStatus :: Lens' GetPhoneNumberSettingsResponse Int Source #
The response's http status code.