amazonka-pinpoint-sms-voice-v2-2.0: Amazon Pinpoint SMS Voice V2 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.PinpointSmsVoiceV2.DeleteDefaultMessageType

Description

Deletes an existing default message type on a configuration set.

A message type is a type of messages that you plan to send. If you send account-related messages or time-sensitive messages such as one-time passcodes, choose Transactional. If you plan to send messages that contain marketing material or other promotional content, choose Promotional. This setting applies to your entire Amazon Web Services account.

Synopsis

Creating a Request

data DeleteDefaultMessageType Source #

See: newDeleteDefaultMessageType smart constructor.

Constructors

DeleteDefaultMessageType' 

Fields

  • configurationSetName :: Text

    The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default message type from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

Instances

Instances details
ToJSON DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

ToHeaders DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

ToPath DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

ToQuery DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

AWSRequest DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

Generic DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

Associated Types

type Rep DeleteDefaultMessageType :: Type -> Type #

Read DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

Show DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

NFData DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

Eq DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

Hashable DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

type AWSResponse DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

type Rep DeleteDefaultMessageType Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

type Rep DeleteDefaultMessageType = D1 ('MetaData "DeleteDefaultMessageType" "Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DeleteDefaultMessageType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configurationSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteDefaultMessageType Source #

Create a value of DeleteDefaultMessageType 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:

DeleteDefaultMessageType, deleteDefaultMessageType_configurationSetName - The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default message type from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

Request Lenses

deleteDefaultMessageType_configurationSetName :: Lens' DeleteDefaultMessageType Text Source #

The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default message type from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

Destructuring the Response

data DeleteDefaultMessageTypeResponse Source #

See: newDeleteDefaultMessageTypeResponse smart constructor.

Constructors

DeleteDefaultMessageTypeResponse' 

Fields

Instances

Instances details
Generic DeleteDefaultMessageTypeResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

Associated Types

type Rep DeleteDefaultMessageTypeResponse :: Type -> Type #

Read DeleteDefaultMessageTypeResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

Show DeleteDefaultMessageTypeResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

NFData DeleteDefaultMessageTypeResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

Eq DeleteDefaultMessageTypeResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

type Rep DeleteDefaultMessageTypeResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType

type Rep DeleteDefaultMessageTypeResponse = D1 ('MetaData "DeleteDefaultMessageTypeResponse" "Amazonka.PinpointSmsVoiceV2.DeleteDefaultMessageType" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DeleteDefaultMessageTypeResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configurationSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "configurationSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "messageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MessageType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteDefaultMessageTypeResponse Source #

Create a value of DeleteDefaultMessageTypeResponse 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:

DeleteDefaultMessageTypeResponse, deleteDefaultMessageTypeResponse_configurationSetArn - The Amazon Resource Name (ARN) of the configuration set.

DeleteDefaultMessageType, deleteDefaultMessageTypeResponse_configurationSetName - The name of the configuration set.

DeleteDefaultMessageTypeResponse, deleteDefaultMessageTypeResponse_messageType - The current message type for the configuration set.

$sel:httpStatus:DeleteDefaultMessageTypeResponse', deleteDefaultMessageTypeResponse_httpStatus - The response's http status code.

Response Lenses