@Generated(value="software.amazon.awssdk:codegen") public interface PinpointSmsVoiceClient extends SdkClient
builder()
method.
Pinpoint SMS and Voice Messaging public facing APIsModifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static PinpointSmsVoiceClientBuilder |
builder()
Create a builder that can be used to configure and create a
PinpointSmsVoiceClient . |
static PinpointSmsVoiceClient |
create()
Create a
PinpointSmsVoiceClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateConfigurationSetResponse |
createConfigurationSet(Consumer<CreateConfigurationSetRequest.Builder> createConfigurationSetRequest)
Create a new configuration set.
|
default CreateConfigurationSetResponse |
createConfigurationSet(CreateConfigurationSetRequest createConfigurationSetRequest)
Create a new configuration set.
|
default CreateConfigurationSetEventDestinationResponse |
createConfigurationSetEventDestination(Consumer<CreateConfigurationSetEventDestinationRequest.Builder> createConfigurationSetEventDestinationRequest)
Create a new event destination in a configuration set.
|
default CreateConfigurationSetEventDestinationResponse |
createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest)
Create a new event destination in a configuration set.
|
default DeleteConfigurationSetResponse |
deleteConfigurationSet(Consumer<DeleteConfigurationSetRequest.Builder> deleteConfigurationSetRequest)
Deletes an existing configuration set.
|
default DeleteConfigurationSetResponse |
deleteConfigurationSet(DeleteConfigurationSetRequest deleteConfigurationSetRequest)
Deletes an existing configuration set.
|
default DeleteConfigurationSetEventDestinationResponse |
deleteConfigurationSetEventDestination(Consumer<DeleteConfigurationSetEventDestinationRequest.Builder> deleteConfigurationSetEventDestinationRequest)
Deletes an event destination in a configuration set.
|
default DeleteConfigurationSetEventDestinationResponse |
deleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest deleteConfigurationSetEventDestinationRequest)
Deletes an event destination in a configuration set.
|
default GetConfigurationSetEventDestinationsResponse |
getConfigurationSetEventDestinations(Consumer<GetConfigurationSetEventDestinationsRequest.Builder> getConfigurationSetEventDestinationsRequest)
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.
|
default GetConfigurationSetEventDestinationsResponse |
getConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest getConfigurationSetEventDestinationsRequest)
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.
|
default SendVoiceMessageResponse |
sendVoiceMessage(Consumer<SendVoiceMessageRequest.Builder> sendVoiceMessageRequest)
Create a new voice message and send it to a recipient's phone number.
|
default SendVoiceMessageResponse |
sendVoiceMessage(SendVoiceMessageRequest sendVoiceMessageRequest)
Create a new voice message and send it to a recipient's phone number.
|
static ServiceMetadata |
serviceMetadata() |
default UpdateConfigurationSetEventDestinationResponse |
updateConfigurationSetEventDestination(Consumer<UpdateConfigurationSetEventDestinationRequest.Builder> updateConfigurationSetEventDestinationRequest)
Update an event destination in a configuration set.
|
default UpdateConfigurationSetEventDestinationResponse |
updateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest updateConfigurationSetEventDestinationRequest)
Update an event destination in a configuration set.
|
serviceName
close
static final String SERVICE_NAME
static PinpointSmsVoiceClient create()
PinpointSmsVoiceClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static PinpointSmsVoiceClientBuilder builder()
PinpointSmsVoiceClient
.default CreateConfigurationSetResponse createConfigurationSet(CreateConfigurationSetRequest createConfigurationSetRequest) throws TooManyRequestsException, BadRequestException, LimitExceededException, InternalServiceErrorException, AlreadyExistsException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
createConfigurationSetRequest
- CreateConfigurationSetRequestTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionLimitExceededException
- LimitExceededExceptionInternalServiceErrorException
- InternalServiceErrorExceptionAlreadyExistsException
- AlreadyExistsExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateConfigurationSetResponse createConfigurationSet(Consumer<CreateConfigurationSetRequest.Builder> createConfigurationSetRequest) throws TooManyRequestsException, BadRequestException, LimitExceededException, InternalServiceErrorException, AlreadyExistsException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
This is a convenience which creates an instance of the CreateConfigurationSetRequest.Builder
avoiding the
need to create one manually via CreateConfigurationSetRequest.builder()
createConfigurationSetRequest
- A Consumer
that will call methods on CreateConfigurationSetRequest.Builder
to create a
request. CreateConfigurationSetRequestTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionLimitExceededException
- LimitExceededExceptionInternalServiceErrorException
- InternalServiceErrorExceptionAlreadyExistsException
- AlreadyExistsExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateConfigurationSetEventDestinationResponse createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest) throws BadRequestException, LimitExceededException, InternalServiceErrorException, NotFoundException, TooManyRequestsException, AlreadyExistsException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
createConfigurationSetEventDestinationRequest
- CreateConfigurationSetEventDestinationRequestBadRequestException
- BadRequestExceptionLimitExceededException
- LimitExceededExceptionInternalServiceErrorException
- InternalServiceErrorExceptionNotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionAlreadyExistsException
- AlreadyExistsExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateConfigurationSetEventDestinationResponse createConfigurationSetEventDestination(Consumer<CreateConfigurationSetEventDestinationRequest.Builder> createConfigurationSetEventDestinationRequest) throws BadRequestException, LimitExceededException, InternalServiceErrorException, NotFoundException, TooManyRequestsException, AlreadyExistsException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
This is a convenience which creates an instance of the
CreateConfigurationSetEventDestinationRequest.Builder
avoiding the need to create one manually via
CreateConfigurationSetEventDestinationRequest.builder()
createConfigurationSetEventDestinationRequest
- A Consumer
that will call methods on CreateConfigurationSetEventDestinationRequest.Builder
to create a request. CreateConfigurationSetEventDestinationRequestBadRequestException
- BadRequestExceptionLimitExceededException
- LimitExceededExceptionInternalServiceErrorException
- InternalServiceErrorExceptionNotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionAlreadyExistsException
- AlreadyExistsExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteConfigurationSetResponse deleteConfigurationSet(DeleteConfigurationSetRequest deleteConfigurationSetRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
deleteConfigurationSetRequest
- NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteConfigurationSetResponse deleteConfigurationSet(Consumer<DeleteConfigurationSetRequest.Builder> deleteConfigurationSetRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
This is a convenience which creates an instance of the DeleteConfigurationSetRequest.Builder
avoiding the
need to create one manually via DeleteConfigurationSetRequest.builder()
deleteConfigurationSetRequest
- A Consumer
that will call methods on DeleteConfigurationSetRequest.Builder
to create a
request.NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteConfigurationSetEventDestinationResponse deleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest deleteConfigurationSetEventDestinationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
deleteConfigurationSetEventDestinationRequest
- NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteConfigurationSetEventDestinationResponse deleteConfigurationSetEventDestination(Consumer<DeleteConfigurationSetEventDestinationRequest.Builder> deleteConfigurationSetEventDestinationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
This is a convenience which creates an instance of the
DeleteConfigurationSetEventDestinationRequest.Builder
avoiding the need to create one manually via
DeleteConfigurationSetEventDestinationRequest.builder()
deleteConfigurationSetEventDestinationRequest
- A Consumer
that will call methods on DeleteConfigurationSetEventDestinationRequest.Builder
to create a request.NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetConfigurationSetEventDestinationsResponse getConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest getConfigurationSetEventDestinationsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
getConfigurationSetEventDestinationsRequest
- NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetConfigurationSetEventDestinationsResponse getConfigurationSetEventDestinations(Consumer<GetConfigurationSetEventDestinationsRequest.Builder> getConfigurationSetEventDestinationsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
This is a convenience which creates an instance of the
GetConfigurationSetEventDestinationsRequest.Builder
avoiding the need to create one manually via
GetConfigurationSetEventDestinationsRequest.builder()
getConfigurationSetEventDestinationsRequest
- A Consumer
that will call methods on GetConfigurationSetEventDestinationsRequest.Builder
to create a request.NotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default SendVoiceMessageResponse sendVoiceMessage(SendVoiceMessageRequest sendVoiceMessageRequest) throws TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
sendVoiceMessageRequest
- SendVoiceMessageRequestTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default SendVoiceMessageResponse sendVoiceMessage(Consumer<SendVoiceMessageRequest.Builder> sendVoiceMessageRequest) throws TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
This is a convenience which creates an instance of the SendVoiceMessageRequest.Builder
avoiding the need
to create one manually via SendVoiceMessageRequest.builder()
sendVoiceMessageRequest
- A Consumer
that will call methods on SendVoiceMessageRequest.Builder
to create a request.
SendVoiceMessageRequestTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateConfigurationSetEventDestinationResponse updateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest updateConfigurationSetEventDestinationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
updateConfigurationSetEventDestinationRequest
- UpdateConfigurationSetEventDestinationRequestNotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateConfigurationSetEventDestinationResponse updateConfigurationSetEventDestination(Consumer<UpdateConfigurationSetEventDestinationRequest.Builder> updateConfigurationSetEventDestinationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
This is a convenience which creates an instance of the
UpdateConfigurationSetEventDestinationRequest.Builder
avoiding the need to create one manually via
UpdateConfigurationSetEventDestinationRequest.builder()
updateConfigurationSetEventDestinationRequest
- A Consumer
that will call methods on UpdateConfigurationSetEventDestinationRequest.Builder
to create a request. UpdateConfigurationSetEventDestinationRequestNotFoundException
- NotFoundExceptionTooManyRequestsException
- TooManyRequestsExceptionBadRequestException
- BadRequestExceptionInternalServiceErrorException
- InternalServiceErrorExceptionSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.PinpointSmsVoiceException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.