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.DeleteEventDestination

Description

Deletes an existing event destination.

An event destination is a location where you send response information about the messages that you send. For example, when a message is delivered successfully, you can send information about that event to an Amazon CloudWatch destination, or send notifications to endpoints that are subscribed to an Amazon SNS topic.

Synopsis

Creating a Request

data DeleteEventDestination Source #

See: newDeleteEventDestination smart constructor.

Constructors

DeleteEventDestination' 

Fields

  • configurationSetName :: Text

    The name of the configuration set or the configuration set's Amazon Resource Name (ARN) to remove the event destination from. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

  • eventDestinationName :: Text

    The name of the event destination to delete.

Instances

Instances details
ToJSON DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

ToHeaders DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

ToPath DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

ToQuery DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

AWSRequest DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

Associated Types

type AWSResponse DeleteEventDestination #

Generic DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

Associated Types

type Rep DeleteEventDestination :: Type -> Type #

Read DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

Show DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

NFData DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

Methods

rnf :: DeleteEventDestination -> () #

Eq DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

Hashable DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

type AWSResponse DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

type Rep DeleteEventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

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

newDeleteEventDestination Source #

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

DeleteEventDestination, deleteEventDestination_configurationSetName - The name of the configuration set or the configuration set's Amazon Resource Name (ARN) to remove the event destination from. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

DeleteEventDestination, deleteEventDestination_eventDestinationName - The name of the event destination to delete.

Request Lenses

deleteEventDestination_configurationSetName :: Lens' DeleteEventDestination Text Source #

The name of the configuration set or the configuration set's Amazon Resource Name (ARN) to remove the event destination from. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

Destructuring the Response

data DeleteEventDestinationResponse Source #

See: newDeleteEventDestinationResponse smart constructor.

Constructors

DeleteEventDestinationResponse' 

Fields

Instances

Instances details
Generic DeleteEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

Associated Types

type Rep DeleteEventDestinationResponse :: Type -> Type #

Read DeleteEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

Show DeleteEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

NFData DeleteEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

Eq DeleteEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

type Rep DeleteEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.DeleteEventDestination

type Rep DeleteEventDestinationResponse = D1 ('MetaData "DeleteEventDestinationResponse" "Amazonka.PinpointSmsVoiceV2.DeleteEventDestination" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "DeleteEventDestinationResponse'" '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 "eventDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDestination)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteEventDestinationResponse Source #

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

DeleteEventDestinationResponse, deleteEventDestinationResponse_configurationSetArn - The Amazon Resource Name (ARN) of the configuration set.

DeleteEventDestination, deleteEventDestinationResponse_configurationSetName - The name of the configuration set the event destination was deleted from.

$sel:eventDestination:DeleteEventDestinationResponse', deleteEventDestinationResponse_eventDestination - The event destination object that was deleted.

$sel:httpStatus:DeleteEventDestinationResponse', deleteEventDestinationResponse_httpStatus - The response's http status code.

Response Lenses

deleteEventDestinationResponse_configurationSetName :: Lens' DeleteEventDestinationResponse (Maybe Text) Source #

The name of the configuration set the event destination was deleted from.