@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonPinpointSMSVoiceClient extends AmazonWebServiceClient implements AmazonPinpointSMSVoice
Pinpoint SMS and Voice Messaging public facing APIs
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonPinpointSMSVoiceClientBuilder |
builder() |
CreateConfigurationSetResult |
createConfigurationSet(CreateConfigurationSetRequest request)
Create a new configuration set.
|
CreateConfigurationSetEventDestinationResult |
createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest request)
Create a new event destination in a configuration set.
|
DeleteConfigurationSetResult |
deleteConfigurationSet(DeleteConfigurationSetRequest request)
Deletes an existing configuration set.
|
DeleteConfigurationSetEventDestinationResult |
deleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest request)
Deletes an event destination in a configuration set.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetConfigurationSetEventDestinationsResult |
getConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request)
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.
|
ListConfigurationSetsResult |
listConfigurationSets(ListConfigurationSetsRequest request)
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
|
SendVoiceMessageResult |
sendVoiceMessage(SendVoiceMessageRequest request)
Create a new voice message and send it to a recipient's phone number.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
UpdateConfigurationSetEventDestinationResult |
updateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest request)
Update an event destination in a configuration set.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonPinpointSMSVoiceClientBuilder builder()
public CreateConfigurationSetResult createConfigurationSet(CreateConfigurationSetRequest request)
createConfigurationSet
in interface AmazonPinpointSMSVoice
createConfigurationSetRequest
- A request to create a new configuration set.TooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionLimitExceededException
- LimitExceededExceptionInternalServiceErrorException
- InternalServiceErrorExceptionAlreadyExistsException
- AlreadyExistsExceptionpublic CreateConfigurationSetEventDestinationResult createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest request)
createConfigurationSetEventDestination
in interface AmazonPinpointSMSVoice
createConfigurationSetEventDestinationRequest
- Create a new event destination in a configuration set.BadRequestException
- BadRequestExceptionLimitExceededException
- LimitExceededExceptionInternalServiceErrorException
- InternalServiceErrorExceptionNotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionAlreadyExistsException
- AlreadyExistsExceptionpublic DeleteConfigurationSetResult deleteConfigurationSet(DeleteConfigurationSetRequest request)
deleteConfigurationSet
in interface AmazonPinpointSMSVoice
deleteConfigurationSetRequest
- NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionpublic DeleteConfigurationSetEventDestinationResult deleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest request)
deleteConfigurationSetEventDestination
in interface AmazonPinpointSMSVoice
deleteConfigurationSetEventDestinationRequest
- NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionpublic GetConfigurationSetEventDestinationsResult getConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request)
getConfigurationSetEventDestinations
in interface AmazonPinpointSMSVoice
getConfigurationSetEventDestinationsRequest
- NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionpublic ListConfigurationSetsResult listConfigurationSets(ListConfigurationSetsRequest request)
listConfigurationSets
in interface AmazonPinpointSMSVoice
listConfigurationSetsRequest
- TooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionpublic SendVoiceMessageResult sendVoiceMessage(SendVoiceMessageRequest request)
sendVoiceMessage
in interface AmazonPinpointSMSVoice
sendVoiceMessageRequest
- SendVoiceMessageRequestTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionpublic UpdateConfigurationSetEventDestinationResult updateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest request)
updateConfigurationSetEventDestination
in interface AmazonPinpointSMSVoice
updateConfigurationSetEventDestinationRequest
- UpdateConfigurationSetEventDestinationRequestNotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonPinpointSMSVoice
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonPinpointSMSVoice
shutdown
in class AmazonWebServiceClient