Nothing
# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include pinpointsmsvoice_service.R
NULL
#' Create a new configuration set
#'
#' @description
#' Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
#'
#' See [https://www.paws-r-sdk.com/docs/pinpointsmsvoice_create_configuration_set/](https://www.paws-r-sdk.com/docs/pinpointsmsvoice_create_configuration_set/) for full documentation.
#'
#' @param ConfigurationSetName The name that you want to give the configuration set.
#'
#' @keywords internal
#'
#' @rdname pinpointsmsvoice_create_configuration_set
pinpointsmsvoice_create_configuration_set <- function(ConfigurationSetName = NULL) {
op <- new_operation(
name = "CreateConfigurationSet",
http_method = "POST",
http_path = "/v1/sms-voice/configuration-sets",
paginator = list()
)
input <- .pinpointsmsvoice$create_configuration_set_input(ConfigurationSetName = ConfigurationSetName)
output <- .pinpointsmsvoice$create_configuration_set_output()
config <- get_config()
svc <- .pinpointsmsvoice$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.pinpointsmsvoice$operations$create_configuration_set <- pinpointsmsvoice_create_configuration_set
#' Create a new event destination in a configuration set
#'
#' @description
#' Create a new event destination in a configuration set.
#'
#' See [https://www.paws-r-sdk.com/docs/pinpointsmsvoice_create_configuration_set_event_destination/](https://www.paws-r-sdk.com/docs/pinpointsmsvoice_create_configuration_set_event_destination/) for full documentation.
#'
#' @param ConfigurationSetName [required] ConfigurationSetName
#' @param EventDestination
#' @param EventDestinationName A name that identifies the event destination.
#'
#' @keywords internal
#'
#' @rdname pinpointsmsvoice_create_configuration_set_event_destination
pinpointsmsvoice_create_configuration_set_event_destination <- function(ConfigurationSetName, EventDestination = NULL, EventDestinationName = NULL) {
op <- new_operation(
name = "CreateConfigurationSetEventDestination",
http_method = "POST",
http_path = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations",
paginator = list()
)
input <- .pinpointsmsvoice$create_configuration_set_event_destination_input(ConfigurationSetName = ConfigurationSetName, EventDestination = EventDestination, EventDestinationName = EventDestinationName)
output <- .pinpointsmsvoice$create_configuration_set_event_destination_output()
config <- get_config()
svc <- .pinpointsmsvoice$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.pinpointsmsvoice$operations$create_configuration_set_event_destination <- pinpointsmsvoice_create_configuration_set_event_destination
#' Deletes an existing configuration set
#'
#' @description
#' Deletes an existing configuration set.
#'
#' See [https://www.paws-r-sdk.com/docs/pinpointsmsvoice_delete_configuration_set/](https://www.paws-r-sdk.com/docs/pinpointsmsvoice_delete_configuration_set/) for full documentation.
#'
#' @param ConfigurationSetName [required] ConfigurationSetName
#'
#' @keywords internal
#'
#' @rdname pinpointsmsvoice_delete_configuration_set
pinpointsmsvoice_delete_configuration_set <- function(ConfigurationSetName) {
op <- new_operation(
name = "DeleteConfigurationSet",
http_method = "DELETE",
http_path = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}",
paginator = list()
)
input <- .pinpointsmsvoice$delete_configuration_set_input(ConfigurationSetName = ConfigurationSetName)
output <- .pinpointsmsvoice$delete_configuration_set_output()
config <- get_config()
svc <- .pinpointsmsvoice$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.pinpointsmsvoice$operations$delete_configuration_set <- pinpointsmsvoice_delete_configuration_set
#' Deletes an event destination in a configuration set
#'
#' @description
#' Deletes an event destination in a configuration set.
#'
#' See [https://www.paws-r-sdk.com/docs/pinpointsmsvoice_delete_configuration_set_event_destination/](https://www.paws-r-sdk.com/docs/pinpointsmsvoice_delete_configuration_set_event_destination/) for full documentation.
#'
#' @param ConfigurationSetName [required] ConfigurationSetName
#' @param EventDestinationName [required] EventDestinationName
#'
#' @keywords internal
#'
#' @rdname pinpointsmsvoice_delete_configuration_set_event_destination
pinpointsmsvoice_delete_configuration_set_event_destination <- function(ConfigurationSetName, EventDestinationName) {
op <- new_operation(
name = "DeleteConfigurationSetEventDestination",
http_method = "DELETE",
http_path = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
paginator = list()
)
input <- .pinpointsmsvoice$delete_configuration_set_event_destination_input(ConfigurationSetName = ConfigurationSetName, EventDestinationName = EventDestinationName)
output <- .pinpointsmsvoice$delete_configuration_set_event_destination_output()
config <- get_config()
svc <- .pinpointsmsvoice$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.pinpointsmsvoice$operations$delete_configuration_set_event_destination <- pinpointsmsvoice_delete_configuration_set_event_destination
#' Obtain information about an event destination, including the types of
#' events it reports, the Amazon Resource Name (ARN) of the destination,
#' and the name of the event destination
#'
#' @description
#' Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name (ARN) of the destination, and the name of the event destination.
#'
#' See [https://www.paws-r-sdk.com/docs/pinpointsmsvoice_get_configuration_set_event_destinations/](https://www.paws-r-sdk.com/docs/pinpointsmsvoice_get_configuration_set_event_destinations/) for full documentation.
#'
#' @param ConfigurationSetName [required] ConfigurationSetName
#'
#' @keywords internal
#'
#' @rdname pinpointsmsvoice_get_configuration_set_event_destinations
pinpointsmsvoice_get_configuration_set_event_destinations <- function(ConfigurationSetName) {
op <- new_operation(
name = "GetConfigurationSetEventDestinations",
http_method = "GET",
http_path = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations",
paginator = list()
)
input <- .pinpointsmsvoice$get_configuration_set_event_destinations_input(ConfigurationSetName = ConfigurationSetName)
output <- .pinpointsmsvoice$get_configuration_set_event_destinations_output()
config <- get_config()
svc <- .pinpointsmsvoice$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.pinpointsmsvoice$operations$get_configuration_set_event_destinations <- pinpointsmsvoice_get_configuration_set_event_destinations
#' List all of the configuration sets associated with your Amazon Pinpoint
#' account in the current region
#'
#' @description
#' List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
#'
#' See [https://www.paws-r-sdk.com/docs/pinpointsmsvoice_list_configuration_sets/](https://www.paws-r-sdk.com/docs/pinpointsmsvoice_list_configuration_sets/) for full documentation.
#'
#' @param NextToken A token returned from a previous call to the API that indicates the
#' position in the list of results.
#' @param PageSize Used to specify the number of items that should be returned in the
#' response.
#'
#' @keywords internal
#'
#' @rdname pinpointsmsvoice_list_configuration_sets
pinpointsmsvoice_list_configuration_sets <- function(NextToken = NULL, PageSize = NULL) {
op <- new_operation(
name = "ListConfigurationSets",
http_method = "GET",
http_path = "/v1/sms-voice/configuration-sets",
paginator = list()
)
input <- .pinpointsmsvoice$list_configuration_sets_input(NextToken = NextToken, PageSize = PageSize)
output <- .pinpointsmsvoice$list_configuration_sets_output()
config <- get_config()
svc <- .pinpointsmsvoice$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.pinpointsmsvoice$operations$list_configuration_sets <- pinpointsmsvoice_list_configuration_sets
#' Create a new voice message and send it to a recipient's phone number
#'
#' @description
#' Create a new voice message and send it to a recipient's phone number.
#'
#' See [https://www.paws-r-sdk.com/docs/pinpointsmsvoice_send_voice_message/](https://www.paws-r-sdk.com/docs/pinpointsmsvoice_send_voice_message/) for full documentation.
#'
#' @param CallerId The phone number that appears on recipients' devices when they receive
#' the message.
#' @param ConfigurationSetName The name of the configuration set that you want to use to send the
#' message.
#' @param Content
#' @param DestinationPhoneNumber The phone number that you want to send the voice message to.
#' @param OriginationPhoneNumber The phone number that Amazon Pinpoint should use to send the voice
#' message. This isn't necessarily the phone number that appears on
#' recipients' devices when they receive the message, because you can
#' specify a CallerId parameter in the request.
#'
#' @keywords internal
#'
#' @rdname pinpointsmsvoice_send_voice_message
pinpointsmsvoice_send_voice_message <- function(CallerId = NULL, ConfigurationSetName = NULL, Content = NULL, DestinationPhoneNumber = NULL, OriginationPhoneNumber = NULL) {
op <- new_operation(
name = "SendVoiceMessage",
http_method = "POST",
http_path = "/v1/sms-voice/voice/message",
paginator = list()
)
input <- .pinpointsmsvoice$send_voice_message_input(CallerId = CallerId, ConfigurationSetName = ConfigurationSetName, Content = Content, DestinationPhoneNumber = DestinationPhoneNumber, OriginationPhoneNumber = OriginationPhoneNumber)
output <- .pinpointsmsvoice$send_voice_message_output()
config <- get_config()
svc <- .pinpointsmsvoice$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.pinpointsmsvoice$operations$send_voice_message <- pinpointsmsvoice_send_voice_message
#' Update an event destination in a configuration set
#'
#' @description
#' Update an event destination in a configuration set. An event destination is a location that you publish information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when a call fails.
#'
#' See [https://www.paws-r-sdk.com/docs/pinpointsmsvoice_update_configuration_set_event_destination/](https://www.paws-r-sdk.com/docs/pinpointsmsvoice_update_configuration_set_event_destination/) for full documentation.
#'
#' @param ConfigurationSetName [required] ConfigurationSetName
#' @param EventDestination
#' @param EventDestinationName [required] EventDestinationName
#'
#' @keywords internal
#'
#' @rdname pinpointsmsvoice_update_configuration_set_event_destination
pinpointsmsvoice_update_configuration_set_event_destination <- function(ConfigurationSetName, EventDestination = NULL, EventDestinationName) {
op <- new_operation(
name = "UpdateConfigurationSetEventDestination",
http_method = "PUT",
http_path = "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}",
paginator = list()
)
input <- .pinpointsmsvoice$update_configuration_set_event_destination_input(ConfigurationSetName = ConfigurationSetName, EventDestination = EventDestination, EventDestinationName = EventDestinationName)
output <- .pinpointsmsvoice$update_configuration_set_event_destination_output()
config <- get_config()
svc <- .pinpointsmsvoice$service(config)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.pinpointsmsvoice$operations$update_configuration_set_event_destination <- pinpointsmsvoice_update_configuration_set_event_destination
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.