@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface PinpointSmsVoiceClient extends AwsClient
builder() method.
Pinpoint SMS and Voice Messaging public facing APIs| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
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 ListConfigurationSetsResponse |
listConfigurationSets(Consumer<ListConfigurationSetsRequest.Builder> listConfigurationSetsRequest)
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
|
default ListConfigurationSetsResponse |
listConfigurationSets(ListConfigurationSetsRequest listConfigurationSetsRequest)
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
|
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.
|
default PinpointSmsVoiceServiceClientConfiguration |
serviceClientConfiguration() |
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.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CreateConfigurationSetResponse createConfigurationSet(CreateConfigurationSetRequest createConfigurationSetRequest) throws TooManyRequestsException, BadRequestException, LimitExceededException, InternalServiceErrorException, AlreadyExistsException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
createConfigurationSetRequest - A request to create a new configuration set.TooManyRequestsException - 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.AwsServiceExceptiondefault 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. A request to create a new configuration set.TooManyRequestsException - 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.AwsServiceExceptiondefault CreateConfigurationSetEventDestinationResponse createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest) throws BadRequestException, LimitExceededException, InternalServiceErrorException, NotFoundException, TooManyRequestsException, AlreadyExistsException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
createConfigurationSetEventDestinationRequest - Create a new event destination in a configuration set.BadRequestException - 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.AwsServiceExceptiondefault 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. Create a new event destination in a configuration set.BadRequestException - 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault ListConfigurationSetsResponse listConfigurationSets(ListConfigurationSetsRequest listConfigurationSetsRequest) throws TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
listConfigurationSetsRequest - TooManyRequestsException - 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.AwsServiceExceptiondefault ListConfigurationSetsResponse listConfigurationSets(Consumer<ListConfigurationSetsRequest.Builder> listConfigurationSetsRequest) throws TooManyRequestsException, BadRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, PinpointSmsVoiceException
This is a convenience which creates an instance of the ListConfigurationSetsRequest.Builder avoiding the
need to create one manually via ListConfigurationSetsRequest.builder()
listConfigurationSetsRequest - A Consumer that will call methods on ListConfigurationSetsRequest.Builder to create a
request.TooManyRequestsException - 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault 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.AwsServiceExceptiondefault 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.AwsServiceExceptionstatic PinpointSmsVoiceClient create()
PinpointSmsVoiceClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static PinpointSmsVoiceClientBuilder builder()
PinpointSmsVoiceClient.static ServiceMetadata serviceMetadata()
default PinpointSmsVoiceServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.