libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.PinpointSMSVoice.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-09-05 of the Amazon Pinpoint SMS and Voice Service SDK configuration.

Errors

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource you attempted to access doesn't exist.

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You've issued too many requests to the resource. Wait a few minutes, and then try again.

_InternalServiceErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The input you provided is invalid.

_AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource specified in your request already exists.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

There are too many instances of the specified resource type.

EventType

newtype EventType Source #

The types of events that are sent to the event destination.

Constructors

EventType' 

Fields

Instances

Instances details
Eq EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Ord EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Read EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Show EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Generic EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Associated Types

type Rep EventType :: Type -> Type #

NFData EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Methods

rnf :: EventType -> () #

Hashable EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

ToJSON EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

ToJSONKey EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

FromJSON EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

FromJSONKey EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

ToLog EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

ToHeader EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

ToQuery EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

FromXML EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

ToXML EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Methods

toXML :: EventType -> XML #

ToByteString EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Methods

toBS :: EventType -> ByteString #

FromText EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

ToText EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

Methods

toText :: EventType -> Text #

type Rep EventType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventType

type Rep EventType = D1 ('MetaData "EventType" "Amazonka.PinpointSMSVoice.Types.EventType" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'True) (C1 ('MetaCons "EventType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CallInstructionsMessageType

data CallInstructionsMessageType Source #

An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup.

See: newCallInstructionsMessageType smart constructor.

Constructors

CallInstructionsMessageType' 

Fields

  • text :: Maybe Text

    The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

Instances

Instances details
Eq CallInstructionsMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType

Read CallInstructionsMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType

Show CallInstructionsMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType

Generic CallInstructionsMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType

Associated Types

type Rep CallInstructionsMessageType :: Type -> Type #

NFData CallInstructionsMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType

Hashable CallInstructionsMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType

ToJSON CallInstructionsMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType

type Rep CallInstructionsMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType

type Rep CallInstructionsMessageType = D1 ('MetaData "CallInstructionsMessageType" "Amazonka.PinpointSMSVoice.Types.CallInstructionsMessageType" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "CallInstructionsMessageType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCallInstructionsMessageType :: CallInstructionsMessageType Source #

Create a value of CallInstructionsMessageType 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:text:CallInstructionsMessageType', callInstructionsMessageType_text - The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

callInstructionsMessageType_text :: Lens' CallInstructionsMessageType (Maybe Text) Source #

The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

CloudWatchLogsDestination

data CloudWatchLogsDestination Source #

An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.

See: newCloudWatchLogsDestination smart constructor.

Constructors

CloudWatchLogsDestination' 

Fields

  • iamRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.

  • logGroupArn :: Maybe Text

    The name of the Amazon CloudWatch Log Group that you want to record events in.

Instances

Instances details
Eq CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Read CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Show CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Generic CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Associated Types

type Rep CloudWatchLogsDestination :: Type -> Type #

NFData CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Hashable CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

ToJSON CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

FromJSON CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

type Rep CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

type Rep CloudWatchLogsDestination = D1 ('MetaData "CloudWatchLogsDestination" "Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "CloudWatchLogsDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCloudWatchLogsDestination :: CloudWatchLogsDestination Source #

Create a value of CloudWatchLogsDestination 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:iamRoleArn:CloudWatchLogsDestination', cloudWatchLogsDestination_iamRoleArn - The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.

$sel:logGroupArn:CloudWatchLogsDestination', cloudWatchLogsDestination_logGroupArn - The name of the Amazon CloudWatch Log Group that you want to record events in.

cloudWatchLogsDestination_iamRoleArn :: Lens' CloudWatchLogsDestination (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.

cloudWatchLogsDestination_logGroupArn :: Lens' CloudWatchLogsDestination (Maybe Text) Source #

The name of the Amazon CloudWatch Log Group that you want to record events in.

EventDestination

data EventDestination Source #

An object that defines an event destination.

See: newEventDestination smart constructor.

Constructors

EventDestination' 

Fields

Instances

Instances details
Eq EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Read EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Show EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Generic EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Associated Types

type Rep EventDestination :: Type -> Type #

NFData EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Methods

rnf :: EventDestination -> () #

Hashable EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

FromJSON EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

type Rep EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

type Rep EventDestination = D1 ('MetaData "EventDestination" "Amazonka.PinpointSMSVoice.Types.EventDestination" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "EventDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "matchingEventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventType])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "kinesisFirehoseDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KinesisFirehoseDestination)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "snsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnsDestination)) :*: S1 ('MetaSel ('Just "cloudWatchLogsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchLogsDestination))))))

newEventDestination :: EventDestination Source #

Create a value of EventDestination 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:matchingEventTypes:EventDestination', eventDestination_matchingEventTypes - Undocumented member.

$sel:enabled:EventDestination', eventDestination_enabled - Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.

$sel:kinesisFirehoseDestination:EventDestination', eventDestination_kinesisFirehoseDestination - Undocumented member.

$sel:name:EventDestination', eventDestination_name - A name that identifies the event destination configuration.

$sel:snsDestination:EventDestination', eventDestination_snsDestination - Undocumented member.

$sel:cloudWatchLogsDestination:EventDestination', eventDestination_cloudWatchLogsDestination - Undocumented member.

eventDestination_enabled :: Lens' EventDestination (Maybe Bool) Source #

Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.

eventDestination_name :: Lens' EventDestination (Maybe Text) Source #

A name that identifies the event destination configuration.

EventDestinationDefinition

data EventDestinationDefinition Source #

An object that defines a single event destination.

See: newEventDestinationDefinition smart constructor.

Constructors

EventDestinationDefinition' 

Fields

Instances

Instances details
Eq EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition

Read EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition

Show EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition

Generic EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition

Associated Types

type Rep EventDestinationDefinition :: Type -> Type #

NFData EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition

Hashable EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition

ToJSON EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition

type Rep EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition

type Rep EventDestinationDefinition = D1 ('MetaData "EventDestinationDefinition" "Amazonka.PinpointSMSVoice.Types.EventDestinationDefinition" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "EventDestinationDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "matchingEventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventType])) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "kinesisFirehoseDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KinesisFirehoseDestination)) :*: (S1 ('MetaSel ('Just "snsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnsDestination)) :*: S1 ('MetaSel ('Just "cloudWatchLogsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchLogsDestination))))))

newEventDestinationDefinition :: EventDestinationDefinition Source #

Create a value of EventDestinationDefinition 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:matchingEventTypes:EventDestinationDefinition', eventDestinationDefinition_matchingEventTypes - Undocumented member.

$sel:enabled:EventDestinationDefinition', eventDestinationDefinition_enabled - Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.

$sel:kinesisFirehoseDestination:EventDestinationDefinition', eventDestinationDefinition_kinesisFirehoseDestination - Undocumented member.

$sel:snsDestination:EventDestinationDefinition', eventDestinationDefinition_snsDestination - Undocumented member.

$sel:cloudWatchLogsDestination:EventDestinationDefinition', eventDestinationDefinition_cloudWatchLogsDestination - Undocumented member.

eventDestinationDefinition_enabled :: Lens' EventDestinationDefinition (Maybe Bool) Source #

Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.

KinesisFirehoseDestination

data KinesisFirehoseDestination Source #

An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.

See: newKinesisFirehoseDestination smart constructor.

Constructors

KinesisFirehoseDestination' 

Fields

  • iamRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose destination that you want to use in the event destination.

  • deliveryStreamArn :: Maybe Text

    The Amazon Resource Name (ARN) of an IAM role that can write data to an Amazon Kinesis Data Firehose stream.

Instances

Instances details
Eq KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

Read KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

Show KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

Generic KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

Associated Types

type Rep KinesisFirehoseDestination :: Type -> Type #

NFData KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

Hashable KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

ToJSON KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

FromJSON KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

type Rep KinesisFirehoseDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination

type Rep KinesisFirehoseDestination = D1 ('MetaData "KinesisFirehoseDestination" "Amazonka.PinpointSMSVoice.Types.KinesisFirehoseDestination" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "KinesisFirehoseDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deliveryStreamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newKinesisFirehoseDestination :: KinesisFirehoseDestination Source #

Create a value of KinesisFirehoseDestination 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:iamRoleArn:KinesisFirehoseDestination', kinesisFirehoseDestination_iamRoleArn - The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose destination that you want to use in the event destination.

$sel:deliveryStreamArn:KinesisFirehoseDestination', kinesisFirehoseDestination_deliveryStreamArn - The Amazon Resource Name (ARN) of an IAM role that can write data to an Amazon Kinesis Data Firehose stream.

kinesisFirehoseDestination_iamRoleArn :: Lens' KinesisFirehoseDestination (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose destination that you want to use in the event destination.

kinesisFirehoseDestination_deliveryStreamArn :: Lens' KinesisFirehoseDestination (Maybe Text) Source #

The Amazon Resource Name (ARN) of an IAM role that can write data to an Amazon Kinesis Data Firehose stream.

PlainTextMessageType

data PlainTextMessageType Source #

An object that defines a message that contains unformatted text.

See: newPlainTextMessageType smart constructor.

Constructors

PlainTextMessageType' 

Fields

  • languageCode :: Maybe Text

    The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

  • text :: Maybe Text

    The plain (not SSML-formatted) text to deliver to the recipient.

  • voiceId :: Maybe Text

    The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

Instances

Instances details
Eq PlainTextMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.PlainTextMessageType

Read PlainTextMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.PlainTextMessageType

Show PlainTextMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.PlainTextMessageType

Generic PlainTextMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.PlainTextMessageType

Associated Types

type Rep PlainTextMessageType :: Type -> Type #

NFData PlainTextMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.PlainTextMessageType

Methods

rnf :: PlainTextMessageType -> () #

Hashable PlainTextMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.PlainTextMessageType

ToJSON PlainTextMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.PlainTextMessageType

type Rep PlainTextMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.PlainTextMessageType

type Rep PlainTextMessageType = D1 ('MetaData "PlainTextMessageType" "Amazonka.PinpointSMSVoice.Types.PlainTextMessageType" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "PlainTextMessageType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "voiceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPlainTextMessageType :: PlainTextMessageType Source #

Create a value of PlainTextMessageType 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:languageCode:PlainTextMessageType', plainTextMessageType_languageCode - The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

$sel:text:PlainTextMessageType', plainTextMessageType_text - The plain (not SSML-formatted) text to deliver to the recipient.

$sel:voiceId:PlainTextMessageType', plainTextMessageType_voiceId - The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

plainTextMessageType_languageCode :: Lens' PlainTextMessageType (Maybe Text) Source #

The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

plainTextMessageType_text :: Lens' PlainTextMessageType (Maybe Text) Source #

The plain (not SSML-formatted) text to deliver to the recipient.

plainTextMessageType_voiceId :: Lens' PlainTextMessageType (Maybe Text) Source #

The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

SSMLMessageType

data SSMLMessageType Source #

An object that defines a message that contains SSML-formatted text.

See: newSSMLMessageType smart constructor.

Constructors

SSMLMessageType' 

Fields

  • languageCode :: Maybe Text

    The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

  • text :: Maybe Text

    The SSML-formatted text to deliver to the recipient.

  • voiceId :: Maybe Text

    The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

Instances

Instances details
Eq SSMLMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SSMLMessageType

Read SSMLMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SSMLMessageType

Show SSMLMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SSMLMessageType

Generic SSMLMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SSMLMessageType

Associated Types

type Rep SSMLMessageType :: Type -> Type #

NFData SSMLMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SSMLMessageType

Methods

rnf :: SSMLMessageType -> () #

Hashable SSMLMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SSMLMessageType

ToJSON SSMLMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SSMLMessageType

type Rep SSMLMessageType Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SSMLMessageType

type Rep SSMLMessageType = D1 ('MetaData "SSMLMessageType" "Amazonka.PinpointSMSVoice.Types.SSMLMessageType" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "SSMLMessageType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "voiceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSSMLMessageType :: SSMLMessageType Source #

Create a value of SSMLMessageType 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:languageCode:SSMLMessageType', sSMLMessageType_languageCode - The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

$sel:text:SSMLMessageType', sSMLMessageType_text - The SSML-formatted text to deliver to the recipient.

$sel:voiceId:SSMLMessageType', sSMLMessageType_voiceId - The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

sSMLMessageType_languageCode :: Lens' SSMLMessageType (Maybe Text) Source #

The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

sSMLMessageType_text :: Lens' SSMLMessageType (Maybe Text) Source #

The SSML-formatted text to deliver to the recipient.

sSMLMessageType_voiceId :: Lens' SSMLMessageType (Maybe Text) Source #

The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

SnsDestination

data SnsDestination Source #

An object that contains information about an event destination that sends data to Amazon SNS.

See: newSnsDestination smart constructor.

Constructors

SnsDestination' 

Fields

  • topicArn :: Maybe Text

    The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.

Instances

Instances details
Eq SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

Read SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

Show SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

Generic SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

Associated Types

type Rep SnsDestination :: Type -> Type #

NFData SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

Methods

rnf :: SnsDestination -> () #

Hashable SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

ToJSON SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

FromJSON SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

type Rep SnsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.SnsDestination

type Rep SnsDestination = D1 ('MetaData "SnsDestination" "Amazonka.PinpointSMSVoice.Types.SnsDestination" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "SnsDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSnsDestination :: SnsDestination Source #

Create a value of SnsDestination 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:topicArn:SnsDestination', snsDestination_topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.

snsDestination_topicArn :: Lens' SnsDestination (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.

VoiceMessageContent

data VoiceMessageContent Source #

An object that contains a voice message and information about the recipient that you want to send it to.

See: newVoiceMessageContent smart constructor.

Instances

Instances details
Eq VoiceMessageContent Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.VoiceMessageContent

Read VoiceMessageContent Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.VoiceMessageContent

Show VoiceMessageContent Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.VoiceMessageContent

Generic VoiceMessageContent Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.VoiceMessageContent

Associated Types

type Rep VoiceMessageContent :: Type -> Type #

NFData VoiceMessageContent Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.VoiceMessageContent

Methods

rnf :: VoiceMessageContent -> () #

Hashable VoiceMessageContent Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.VoiceMessageContent

ToJSON VoiceMessageContent Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.VoiceMessageContent

type Rep VoiceMessageContent Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.VoiceMessageContent

type Rep VoiceMessageContent = D1 ('MetaData "VoiceMessageContent" "Amazonka.PinpointSMSVoice.Types.VoiceMessageContent" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" 'False) (C1 ('MetaCons "VoiceMessageContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "callInstructionsMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CallInstructionsMessageType)) :*: (S1 ('MetaSel ('Just "sSMLMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SSMLMessageType)) :*: S1 ('MetaSel ('Just "plainTextMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlainTextMessageType)))))

newVoiceMessageContent :: VoiceMessageContent Source #

Create a value of VoiceMessageContent 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:callInstructionsMessage:VoiceMessageContent', voiceMessageContent_callInstructionsMessage - Undocumented member.

$sel:sSMLMessage:VoiceMessageContent', voiceMessageContent_sSMLMessage - Undocumented member.

$sel:plainTextMessage:VoiceMessageContent', voiceMessageContent_plainTextMessage - Undocumented member.