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 |
Sets default sender ID on a configuration set.
When sending a text message to a destination country that supports sender IDs, the default sender ID on the configuration set specified will be used if no dedicated origination phone numbers or registered sender IDs are available in your account.
Synopsis
- data SetDefaultSenderId = SetDefaultSenderId' {}
- newSetDefaultSenderId :: Text -> Text -> SetDefaultSenderId
- setDefaultSenderId_configurationSetName :: Lens' SetDefaultSenderId Text
- setDefaultSenderId_senderId :: Lens' SetDefaultSenderId Text
- data SetDefaultSenderIdResponse = SetDefaultSenderIdResponse' {}
- newSetDefaultSenderIdResponse :: Int -> SetDefaultSenderIdResponse
- setDefaultSenderIdResponse_configurationSetArn :: Lens' SetDefaultSenderIdResponse (Maybe Text)
- setDefaultSenderIdResponse_configurationSetName :: Lens' SetDefaultSenderIdResponse (Maybe Text)
- setDefaultSenderIdResponse_senderId :: Lens' SetDefaultSenderIdResponse (Maybe Text)
- setDefaultSenderIdResponse_httpStatus :: Lens' SetDefaultSenderIdResponse Int
Creating a Request
data SetDefaultSenderId Source #
See: newSetDefaultSenderId
smart constructor.
SetDefaultSenderId' | |
|
Instances
newSetDefaultSenderId Source #
Create a value of SetDefaultSenderId
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:
SetDefaultSenderId
, setDefaultSenderId_configurationSetName
- The configuration set to updated with a new default SenderId. This field
can be the ConsigurationSetName or ConfigurationSetArn.
SetDefaultSenderId
, setDefaultSenderId_senderId
- The current sender ID for the configuration set. When sending a text
message to a destination country which supports SenderIds, the default
sender ID on the configuration set specified on SendTextMessage will be
used if no dedicated origination phone numbers or registered SenderIds
are available in your account, instead of a generic sender ID, such as
'NOTICE'.
Request Lenses
setDefaultSenderId_configurationSetName :: Lens' SetDefaultSenderId Text Source #
The configuration set to updated with a new default SenderId. This field can be the ConsigurationSetName or ConfigurationSetArn.
setDefaultSenderId_senderId :: Lens' SetDefaultSenderId Text Source #
The current sender ID for the configuration set. When sending a text message to a destination country which supports SenderIds, the default sender ID on the configuration set specified on SendTextMessage will be used if no dedicated origination phone numbers or registered SenderIds are available in your account, instead of a generic sender ID, such as 'NOTICE'.
Destructuring the Response
data SetDefaultSenderIdResponse Source #
See: newSetDefaultSenderIdResponse
smart constructor.
SetDefaultSenderIdResponse' | |
|
Instances
newSetDefaultSenderIdResponse Source #
Create a value of SetDefaultSenderIdResponse
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:
SetDefaultSenderIdResponse
, setDefaultSenderIdResponse_configurationSetArn
- The Amazon Resource Name (ARN) of the updated configuration set.
SetDefaultSenderId
, setDefaultSenderIdResponse_configurationSetName
- The name of the configuration set that was updated.
SetDefaultSenderId
, setDefaultSenderIdResponse_senderId
- The default sender ID to set for the ConfigurationSet.
$sel:httpStatus:SetDefaultSenderIdResponse'
, setDefaultSenderIdResponse_httpStatus
- The response's http status code.
Response Lenses
setDefaultSenderIdResponse_configurationSetArn :: Lens' SetDefaultSenderIdResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the updated configuration set.
setDefaultSenderIdResponse_configurationSetName :: Lens' SetDefaultSenderIdResponse (Maybe Text) Source #
The name of the configuration set that was updated.
setDefaultSenderIdResponse_senderId :: Lens' SetDefaultSenderIdResponse (Maybe Text) Source #
The default sender ID to set for the ConfigurationSet.
setDefaultSenderIdResponse_httpStatus :: Lens' SetDefaultSenderIdResponse Int Source #
The response's http status code.