| 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 |
Amazonka.Chime.GetPhoneNumberSettings
Description
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_callingName :: Lens' GetPhoneNumberSettingsResponse (Maybe Text)
- getPhoneNumberSettingsResponse_callingNameUpdatedTimestamp :: Lens' GetPhoneNumberSettingsResponse (Maybe UTCTime)
- getPhoneNumberSettingsResponse_httpStatus :: Lens' GetPhoneNumberSettingsResponse Int
Creating a Request
data GetPhoneNumberSettings Source #
See: newGetPhoneNumberSettings smart constructor.
Constructors
| GetPhoneNumberSettings' | |
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.
Constructors
| GetPhoneNumberSettingsResponse' | |
Fields
| |
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:
GetPhoneNumberSettingsResponse, getPhoneNumberSettingsResponse_callingName - The default outbound calling name for the account.
$sel:callingNameUpdatedTimestamp:GetPhoneNumberSettingsResponse', getPhoneNumberSettingsResponse_callingNameUpdatedTimestamp - The updated outbound calling name timestamp, in ISO 8601 format.
$sel:httpStatus:GetPhoneNumberSettingsResponse', getPhoneNumberSettingsResponse_httpStatus - The response's http status code.
Response Lenses
getPhoneNumberSettingsResponse_callingName :: Lens' GetPhoneNumberSettingsResponse (Maybe Text) Source #
The default outbound calling name for the account.
getPhoneNumberSettingsResponse_callingNameUpdatedTimestamp :: Lens' GetPhoneNumberSettingsResponse (Maybe UTCTime) Source #
The updated outbound calling name timestamp, in ISO 8601 format.
getPhoneNumberSettingsResponse_httpStatus :: Lens' GetPhoneNumberSettingsResponse Int Source #
The response's http status code.