« blib/lib/Paws/PinpointEmail/VolumeStatistics.pm
↑ Summary
blib/lib/Paws/PinpointSMSVoice/CallInstructionsMessageType.pm »
| 1 | package Paws::PinpointSMSVoice; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'sms-voice.pinpoint' } | ||
| 4 | sub signing_name { 'sms-voice' } | ||
| 5 | sub version { '2018-09-05' } | ||
| 6 | sub flattened_arrays { 0 } | ||
| 7 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 8 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 9 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 10 | }); | ||
| 11 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 12 | ] }); | ||
| 13 | |||
| 14 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; | ||
| 15 | |||
| 16 | |||
| 17 | sub CreateConfigurationSet { | ||
| 18 | my $self = shift; | ||
| 19 | my $call_object = $self->new_with_coercions('Paws::PinpointSMSVoice::CreateConfigurationSet', @_); | ||
| 20 | return $self->caller->do_call($self, $call_object); | ||
| 21 | } | ||
| 22 | sub CreateConfigurationSetEventDestination { | ||
| 23 | my $self = shift; | ||
| 24 | my $call_object = $self->new_with_coercions('Paws::PinpointSMSVoice::CreateConfigurationSetEventDestination', @_); | ||
| 25 | return $self->caller->do_call($self, $call_object); | ||
| 26 | } | ||
| 27 | sub DeleteConfigurationSet { | ||
| 28 | my $self = shift; | ||
| 29 | my $call_object = $self->new_with_coercions('Paws::PinpointSMSVoice::DeleteConfigurationSet', @_); | ||
| 30 | return $self->caller->do_call($self, $call_object); | ||
| 31 | } | ||
| 32 | sub DeleteConfigurationSetEventDestination { | ||
| 33 | my $self = shift; | ||
| 34 | my $call_object = $self->new_with_coercions('Paws::PinpointSMSVoice::DeleteConfigurationSetEventDestination', @_); | ||
| 35 | return $self->caller->do_call($self, $call_object); | ||
| 36 | } | ||
| 37 | sub GetConfigurationSetEventDestinations { | ||
| 38 | my $self = shift; | ||
| 39 | my $call_object = $self->new_with_coercions('Paws::PinpointSMSVoice::GetConfigurationSetEventDestinations', @_); | ||
| 40 | return $self->caller->do_call($self, $call_object); | ||
| 41 | } | ||
| 42 | sub ListConfigurationSets { | ||
| 43 | my $self = shift; | ||
| 44 | my $call_object = $self->new_with_coercions('Paws::PinpointSMSVoice::ListConfigurationSets', @_); | ||
| 45 | return $self->caller->do_call($self, $call_object); | ||
| 46 | } | ||
| 47 | sub SendVoiceMessage { | ||
| 48 | my $self = shift; | ||
| 49 | my $call_object = $self->new_with_coercions('Paws::PinpointSMSVoice::SendVoiceMessage', @_); | ||
| 50 | return $self->caller->do_call($self, $call_object); | ||
| 51 | } | ||
| 52 | sub UpdateConfigurationSetEventDestination { | ||
| 53 | my $self = shift; | ||
| 54 | my $call_object = $self->new_with_coercions('Paws::PinpointSMSVoice::UpdateConfigurationSetEventDestination', @_); | ||
| 55 | return $self->caller->do_call($self, $call_object); | ||
| 56 | } | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | sub operations { qw/CreateConfigurationSet CreateConfigurationSetEventDestination DeleteConfigurationSet DeleteConfigurationSetEventDestination GetConfigurationSetEventDestinations ListConfigurationSets SendVoiceMessage UpdateConfigurationSetEventDestination / } | ||
| 61 | |||
| 62 | 1; | ||
| 63 | |||
| 64 | ### main pod documentation begin ### | ||
| 65 | |||
| 66 | =head1 NAME | ||
| 67 | |||
| 68 | Paws::PinpointSMSVoice - Perl Interface to AWS Amazon Pinpoint SMS and Voice Service | ||
| 69 | |||
| 70 | =head1 SYNOPSIS | ||
| 71 | |||
| 72 | use Paws; | ||
| 73 | |||
| 74 | my $obj = Paws->service('PinpointSMSVoice'); | ||
| 75 | my $res = $obj->Method( | ||
| 76 | Arg1 => $val1, | ||
| 77 | Arg2 => [ 'V1', 'V2' ], | ||
| 78 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 79 | # of the arguments type | ||
| 80 | Arg3 => { Att1 => 'Val1' }, | ||
| 81 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 82 | # the constructor of the arguments type | ||
| 83 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 84 | ); | ||
| 85 | |||
| 86 | =head1 DESCRIPTION | ||
| 87 | |||
| 88 | Pinpoint SMS and Voice Messaging public facing APIs | ||
| 89 | |||
| 90 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sms-voice.pinpoint-2018-09-05> | ||
| 91 | |||
| 92 | |||
| 93 | =head1 METHODS | ||
| 94 | |||
| 95 | =head2 CreateConfigurationSet | ||
| 96 | |||
| 97 | =over | ||
| 98 | |||
| 99 | =item [ConfigurationSetName => Str] | ||
| 100 | |||
| 101 | |||
| 102 | =back | ||
| 103 | |||
| 104 | Each argument is described in detail in: L<Paws::PinpointSMSVoice::CreateConfigurationSet> | ||
| 105 | |||
| 106 | Returns: a L<Paws::PinpointSMSVoice::CreateConfigurationSetResponse> instance | ||
| 107 | |||
| 108 | Create a new configuration set. After you create the configuration set, | ||
| 109 | you can add one or more event destinations to it. | ||
| 110 | |||
| 111 | |||
| 112 | =head2 CreateConfigurationSetEventDestination | ||
| 113 | |||
| 114 | =over | ||
| 115 | |||
| 116 | =item ConfigurationSetName => Str | ||
| 117 | |||
| 118 | =item [EventDestination => L<Paws::PinpointSMSVoice::EventDestinationDefinition>] | ||
| 119 | |||
| 120 | =item [EventDestinationName => Str] | ||
| 121 | |||
| 122 | |||
| 123 | =back | ||
| 124 | |||
| 125 | Each argument is described in detail in: L<Paws::PinpointSMSVoice::CreateConfigurationSetEventDestination> | ||
| 126 | |||
| 127 | Returns: a L<Paws::PinpointSMSVoice::CreateConfigurationSetEventDestinationResponse> instance | ||
| 128 | |||
| 129 | Create a new event destination in a configuration set. | ||
| 130 | |||
| 131 | |||
| 132 | =head2 DeleteConfigurationSet | ||
| 133 | |||
| 134 | =over | ||
| 135 | |||
| 136 | =item ConfigurationSetName => Str | ||
| 137 | |||
| 138 | |||
| 139 | =back | ||
| 140 | |||
| 141 | Each argument is described in detail in: L<Paws::PinpointSMSVoice::DeleteConfigurationSet> | ||
| 142 | |||
| 143 | Returns: a L<Paws::PinpointSMSVoice::DeleteConfigurationSetResponse> instance | ||
| 144 | |||
| 145 | Deletes an existing configuration set. | ||
| 146 | |||
| 147 | |||
| 148 | =head2 DeleteConfigurationSetEventDestination | ||
| 149 | |||
| 150 | =over | ||
| 151 | |||
| 152 | =item ConfigurationSetName => Str | ||
| 153 | |||
| 154 | =item EventDestinationName => Str | ||
| 155 | |||
| 156 | |||
| 157 | =back | ||
| 158 | |||
| 159 | Each argument is described in detail in: L<Paws::PinpointSMSVoice::DeleteConfigurationSetEventDestination> | ||
| 160 | |||
| 161 | Returns: a L<Paws::PinpointSMSVoice::DeleteConfigurationSetEventDestinationResponse> instance | ||
| 162 | |||
| 163 | Deletes an event destination in a configuration set. | ||
| 164 | |||
| 165 | |||
| 166 | =head2 GetConfigurationSetEventDestinations | ||
| 167 | |||
| 168 | =over | ||
| 169 | |||
| 170 | =item ConfigurationSetName => Str | ||
| 171 | |||
| 172 | |||
| 173 | =back | ||
| 174 | |||
| 175 | Each argument is described in detail in: L<Paws::PinpointSMSVoice::GetConfigurationSetEventDestinations> | ||
| 176 | |||
| 177 | Returns: a L<Paws::PinpointSMSVoice::GetConfigurationSetEventDestinationsResponse> instance | ||
| 178 | |||
| 179 | Obtain information about an event destination, including the types of | ||
| 180 | events it reports, the Amazon Resource Name (ARN) of the destination, | ||
| 181 | and the name of the event destination. | ||
| 182 | |||
| 183 | |||
| 184 | =head2 ListConfigurationSets | ||
| 185 | |||
| 186 | =over | ||
| 187 | |||
| 188 | =item [NextToken => Str] | ||
| 189 | |||
| 190 | =item [PageSize => Str] | ||
| 191 | |||
| 192 | |||
| 193 | =back | ||
| 194 | |||
| 195 | Each argument is described in detail in: L<Paws::PinpointSMSVoice::ListConfigurationSets> | ||
| 196 | |||
| 197 | Returns: a L<Paws::PinpointSMSVoice::ListConfigurationSetsResponse> instance | ||
| 198 | |||
| 199 | List all of the configuration sets associated with your Amazon Pinpoint | ||
| 200 | account in the current region. | ||
| 201 | |||
| 202 | |||
| 203 | =head2 SendVoiceMessage | ||
| 204 | |||
| 205 | =over | ||
| 206 | |||
| 207 | =item [CallerId => Str] | ||
| 208 | |||
| 209 | =item [ConfigurationSetName => Str] | ||
| 210 | |||
| 211 | =item [Content => L<Paws::PinpointSMSVoice::VoiceMessageContent>] | ||
| 212 | |||
| 213 | =item [DestinationPhoneNumber => Str] | ||
| 214 | |||
| 215 | =item [OriginationPhoneNumber => Str] | ||
| 216 | |||
| 217 | |||
| 218 | =back | ||
| 219 | |||
| 220 | Each argument is described in detail in: L<Paws::PinpointSMSVoice::SendVoiceMessage> | ||
| 221 | |||
| 222 | Returns: a L<Paws::PinpointSMSVoice::SendVoiceMessageResponse> instance | ||
| 223 | |||
| 224 | Create a new voice message and send it to a recipient's phone number. | ||
| 225 | |||
| 226 | |||
| 227 | =head2 UpdateConfigurationSetEventDestination | ||
| 228 | |||
| 229 | =over | ||
| 230 | |||
| 231 | =item ConfigurationSetName => Str | ||
| 232 | |||
| 233 | =item EventDestinationName => Str | ||
| 234 | |||
| 235 | =item [EventDestination => L<Paws::PinpointSMSVoice::EventDestinationDefinition>] | ||
| 236 | |||
| 237 | |||
| 238 | =back | ||
| 239 | |||
| 240 | Each argument is described in detail in: L<Paws::PinpointSMSVoice::UpdateConfigurationSetEventDestination> | ||
| 241 | |||
| 242 | Returns: a L<Paws::PinpointSMSVoice::UpdateConfigurationSetEventDestinationResponse> instance | ||
| 243 | |||
| 244 | Update an event destination in a configuration set. An event | ||
| 245 | destination is a location that you publish information about your voice | ||
| 246 | calls to. For example, you can log an event to an Amazon CloudWatch | ||
| 247 | destination when a call fails. | ||
| 248 | |||
| 249 | |||
| 250 | |||
| 251 | |||
| 252 | =head1 PAGINATORS | ||
| 253 | |||
| 254 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 255 | |||
| 256 | |||
| 257 | |||
| 258 | |||
| 259 | =head1 SEE ALSO | ||
| 260 | |||
| 261 | This service class forms part of L<Paws> | ||
| 262 | |||
| 263 | =head1 BUGS and CONTRIBUTIONS | ||
| 264 | |||
| 265 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 266 | |||
| 267 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 268 | |||
| 269 | =cut | ||
| 270 |