updateRoomAsync(UpdateRoomRequest request) {
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChime.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChime.java
index 5aa055d43ee9..8a72396719a3 100644
--- a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChime.java
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChime.java
@@ -606,6 +606,30 @@ AssociateSigninDelegateGroupsWithAccountResult associateSigninDelegateGroupsWith
*/
CreatePhoneNumberOrderResult createPhoneNumberOrder(CreatePhoneNumberOrderRequest createPhoneNumberOrderRequest);
+ /**
+ * @param createProxySessionRequest
+ * @return Result of the CreateProxySession operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.CreateProxySession
+ * @see AWS API
+ * Documentation
+ */
+ CreateProxySessionResult createProxySession(CreateProxySessionRequest createProxySessionRequest);
+
/**
*
* Creates a chat room for the specified Amazon Chime Enterprise account.
@@ -934,6 +958,30 @@ AssociateSigninDelegateGroupsWithAccountResult associateSigninDelegateGroupsWith
*/
DeletePhoneNumberResult deletePhoneNumber(DeletePhoneNumberRequest deletePhoneNumberRequest);
+ /**
+ * @param deleteProxySessionRequest
+ * @return Result of the DeleteProxySession operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.DeleteProxySession
+ * @see AWS API
+ * Documentation
+ */
+ DeleteProxySessionResult deleteProxySession(DeleteProxySessionRequest deleteProxySessionRequest);
+
/**
*
* Deletes a chat room in an Amazon Chime Enterprise account.
@@ -1080,6 +1128,30 @@ AssociateSigninDelegateGroupsWithAccountResult associateSigninDelegateGroupsWith
*/
DeleteVoiceConnectorOriginationResult deleteVoiceConnectorOrigination(DeleteVoiceConnectorOriginationRequest deleteVoiceConnectorOriginationRequest);
+ /**
+ * @param deleteVoiceConnectorProxyRequest
+ * @return Result of the DeleteVoiceConnectorProxy operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.DeleteVoiceConnectorProxy
+ * @see AWS API Documentation
+ */
+ DeleteVoiceConnectorProxyResult deleteVoiceConnectorProxy(DeleteVoiceConnectorProxyRequest deleteVoiceConnectorProxyRequest);
+
/**
*
* Deletes the streaming configuration for the specified Amazon Chime Voice Connector.
@@ -1570,6 +1642,30 @@ DisassociateSigninDelegateGroupsFromAccountResult disassociateSigninDelegateGrou
*/
GetPhoneNumberSettingsResult getPhoneNumberSettings(GetPhoneNumberSettingsRequest getPhoneNumberSettingsRequest);
+ /**
+ * @param getProxySessionRequest
+ * @return Result of the GetProxySession operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.GetProxySession
+ * @see AWS API
+ * Documentation
+ */
+ GetProxySessionResult getProxySession(GetProxySessionRequest getProxySessionRequest);
+
/**
*
* Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.
@@ -1775,6 +1871,30 @@ GetVoiceConnectorLoggingConfigurationResult getVoiceConnectorLoggingConfiguratio
*/
GetVoiceConnectorOriginationResult getVoiceConnectorOrigination(GetVoiceConnectorOriginationRequest getVoiceConnectorOriginationRequest);
+ /**
+ * @param getVoiceConnectorProxyRequest
+ * @return Result of the GetVoiceConnectorProxy operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.GetVoiceConnectorProxy
+ * @see AWS
+ * API Documentation
+ */
+ GetVoiceConnectorProxyResult getVoiceConnectorProxy(GetVoiceConnectorProxyRequest getVoiceConnectorProxyRequest);
+
/**
*
* Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector. Shows whether media
@@ -2062,6 +2182,30 @@ GetVoiceConnectorTerminationHealthResult getVoiceConnectorTerminationHealth(
*/
ListPhoneNumbersResult listPhoneNumbers(ListPhoneNumbersRequest listPhoneNumbersRequest);
+ /**
+ * @param listProxySessionsRequest
+ * @return Result of the ListProxySessions operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.ListProxySessions
+ * @see AWS API
+ * Documentation
+ */
+ ListProxySessionsResult listProxySessions(ListProxySessionsRequest listProxySessionsRequest);
+
/**
*
* Lists the membership details for the specified room in an Amazon Chime Enterprise account, such as the members'
@@ -2345,6 +2489,32 @@ PutVoiceConnectorLoggingConfigurationResult putVoiceConnectorLoggingConfiguratio
*/
PutVoiceConnectorOriginationResult putVoiceConnectorOrigination(PutVoiceConnectorOriginationRequest putVoiceConnectorOriginationRequest);
+ /**
+ * @param putVoiceConnectorProxyRequest
+ * @return Result of the PutVoiceConnectorProxy operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws AccessDeniedException
+ * You don't have permissions to perform the requested operation.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.PutVoiceConnectorProxy
+ * @see AWS
+ * API Documentation
+ */
+ PutVoiceConnectorProxyResult putVoiceConnectorProxy(PutVoiceConnectorProxyRequest putVoiceConnectorProxyRequest);
+
/**
*
* Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration
@@ -2733,6 +2903,30 @@ PutVoiceConnectorTerminationCredentialsResult putVoiceConnectorTerminationCreden
*/
UpdatePhoneNumberSettingsResult updatePhoneNumberSettings(UpdatePhoneNumberSettingsRequest updatePhoneNumberSettingsRequest);
+ /**
+ * @param updateProxySessionRequest
+ * @return Result of the UpdateProxySession operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.UpdateProxySession
+ * @see AWS API
+ * Documentation
+ */
+ UpdateProxySessionResult updateProxySession(UpdateProxySessionRequest updateProxySessionRequest);
+
/**
*
* Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsync.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsync.java
index 0a272cfbcc61..17c8e0e7850d 100644
--- a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsync.java
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsync.java
@@ -698,6 +698,29 @@ java.util.concurrent.Future createMeetingAsync(CreateMeetin
java.util.concurrent.Future createPhoneNumberOrderAsync(CreatePhoneNumberOrderRequest createPhoneNumberOrderRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ * @param createProxySessionRequest
+ * @return A Java Future containing the result of the CreateProxySession operation returned by the service.
+ * @sample AmazonChimeAsync.CreateProxySession
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future createProxySessionAsync(CreateProxySessionRequest createProxySessionRequest);
+
+ /**
+ * @param createProxySessionRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the CreateProxySession operation returned by the service.
+ * @sample AmazonChimeAsyncHandler.CreateProxySession
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future createProxySessionAsync(CreateProxySessionRequest createProxySessionRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Creates a chat room for the specified Amazon Chime Enterprise account.
@@ -1084,6 +1107,29 @@ java.util.concurrent.Future deleteMeetingAsync(DeleteMeetin
java.util.concurrent.Future deletePhoneNumberAsync(DeletePhoneNumberRequest deletePhoneNumberRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ * @param deleteProxySessionRequest
+ * @return A Java Future containing the result of the DeleteProxySession operation returned by the service.
+ * @sample AmazonChimeAsync.DeleteProxySession
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future deleteProxySessionAsync(DeleteProxySessionRequest deleteProxySessionRequest);
+
+ /**
+ * @param deleteProxySessionRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DeleteProxySession operation returned by the service.
+ * @sample AmazonChimeAsyncHandler.DeleteProxySession
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future deleteProxySessionAsync(DeleteProxySessionRequest deleteProxySessionRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Deletes a chat room in an Amazon Chime Enterprise account.
@@ -1249,6 +1295,31 @@ java.util.concurrent.Future deleteVoiceCo
DeleteVoiceConnectorOriginationRequest deleteVoiceConnectorOriginationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ * @param deleteVoiceConnectorProxyRequest
+ * @return A Java Future containing the result of the DeleteVoiceConnectorProxy operation returned by the service.
+ * @sample AmazonChimeAsync.DeleteVoiceConnectorProxy
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future deleteVoiceConnectorProxyAsync(
+ DeleteVoiceConnectorProxyRequest deleteVoiceConnectorProxyRequest);
+
+ /**
+ * @param deleteVoiceConnectorProxyRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DeleteVoiceConnectorProxy operation returned by the service.
+ * @sample AmazonChimeAsyncHandler.DeleteVoiceConnectorProxy
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future deleteVoiceConnectorProxyAsync(
+ DeleteVoiceConnectorProxyRequest deleteVoiceConnectorProxyRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Deletes the streaming configuration for the specified Amazon Chime Voice Connector.
@@ -1830,6 +1901,29 @@ java.util.concurrent.Future getPhoneNumberOrderAsync(
java.util.concurrent.Future getPhoneNumberSettingsAsync(GetPhoneNumberSettingsRequest getPhoneNumberSettingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ * @param getProxySessionRequest
+ * @return A Java Future containing the result of the GetProxySession operation returned by the service.
+ * @sample AmazonChimeAsync.GetProxySession
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future getProxySessionAsync(GetProxySessionRequest getProxySessionRequest);
+
+ /**
+ * @param getProxySessionRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the GetProxySession operation returned by the service.
+ * @sample AmazonChimeAsyncHandler.GetProxySession
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future getProxySessionAsync(GetProxySessionRequest getProxySessionRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.
@@ -2071,6 +2165,29 @@ java.util.concurrent.Future getVoiceConnecto
GetVoiceConnectorOriginationRequest getVoiceConnectorOriginationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ * @param getVoiceConnectorProxyRequest
+ * @return A Java Future containing the result of the GetVoiceConnectorProxy operation returned by the service.
+ * @sample AmazonChimeAsync.GetVoiceConnectorProxy
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future getVoiceConnectorProxyAsync(GetVoiceConnectorProxyRequest getVoiceConnectorProxyRequest);
+
+ /**
+ * @param getVoiceConnectorProxyRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the GetVoiceConnectorProxy operation returned by the service.
+ * @sample AmazonChimeAsyncHandler.GetVoiceConnectorProxy
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future getVoiceConnectorProxyAsync(GetVoiceConnectorProxyRequest getVoiceConnectorProxyRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector. Shows whether media
@@ -2415,6 +2532,29 @@ java.util.concurrent.Future listPhoneNumberOrdersAs
java.util.concurrent.Future listPhoneNumbersAsync(ListPhoneNumbersRequest listPhoneNumbersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ * @param listProxySessionsRequest
+ * @return A Java Future containing the result of the ListProxySessions operation returned by the service.
+ * @sample AmazonChimeAsync.ListProxySessions
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future listProxySessionsAsync(ListProxySessionsRequest listProxySessionsRequest);
+
+ /**
+ * @param listProxySessionsRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the ListProxySessions operation returned by the service.
+ * @sample AmazonChimeAsyncHandler.ListProxySessions
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future listProxySessionsAsync(ListProxySessionsRequest listProxySessionsRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Lists the membership details for the specified room in an Amazon Chime Enterprise account, such as the members'
@@ -2747,6 +2887,29 @@ java.util.concurrent.Future putVoiceConnecto
PutVoiceConnectorOriginationRequest putVoiceConnectorOriginationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ * @param putVoiceConnectorProxyRequest
+ * @return A Java Future containing the result of the PutVoiceConnectorProxy operation returned by the service.
+ * @sample AmazonChimeAsync.PutVoiceConnectorProxy
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future putVoiceConnectorProxyAsync(PutVoiceConnectorProxyRequest putVoiceConnectorProxyRequest);
+
+ /**
+ * @param putVoiceConnectorProxyRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the PutVoiceConnectorProxy operation returned by the service.
+ * @sample AmazonChimeAsyncHandler.PutVoiceConnectorProxy
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future putVoiceConnectorProxyAsync(PutVoiceConnectorProxyRequest putVoiceConnectorProxyRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration
@@ -3206,6 +3369,29 @@ java.util.concurrent.Future updatePhoneNumberSe
UpdatePhoneNumberSettingsRequest updatePhoneNumberSettingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ * @param updateProxySessionRequest
+ * @return A Java Future containing the result of the UpdateProxySession operation returned by the service.
+ * @sample AmazonChimeAsync.UpdateProxySession
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future updateProxySessionAsync(UpdateProxySessionRequest updateProxySessionRequest);
+
+ /**
+ * @param updateProxySessionRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the UpdateProxySession operation returned by the service.
+ * @sample AmazonChimeAsyncHandler.UpdateProxySession
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future updateProxySessionAsync(UpdateProxySessionRequest updateProxySessionRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsyncClient.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsyncClient.java
index c448be0ceb36..810361358ba7 100644
--- a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsyncClient.java
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsyncClient.java
@@ -643,6 +643,39 @@ public CreatePhoneNumberOrderResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future createProxySessionAsync(CreateProxySessionRequest request) {
+
+ return createProxySessionAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createProxySessionAsync(final CreateProxySessionRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final CreateProxySessionRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public CreateProxySessionResult call() throws Exception {
+ CreateProxySessionResult result = null;
+
+ try {
+ result = executeCreateProxySession(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future createRoomAsync(CreateRoomRequest request) {
@@ -973,6 +1006,39 @@ public DeletePhoneNumberResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future deleteProxySessionAsync(DeleteProxySessionRequest request) {
+
+ return deleteProxySessionAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteProxySessionAsync(final DeleteProxySessionRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DeleteProxySessionRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DeleteProxySessionResult call() throws Exception {
+ DeleteProxySessionResult result = null;
+
+ try {
+ result = executeDeleteProxySession(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future deleteRoomAsync(DeleteRoomRequest request) {
@@ -1140,6 +1206,39 @@ public DeleteVoiceConnectorOriginationResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future deleteVoiceConnectorProxyAsync(DeleteVoiceConnectorProxyRequest request) {
+
+ return deleteVoiceConnectorProxyAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteVoiceConnectorProxyAsync(final DeleteVoiceConnectorProxyRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DeleteVoiceConnectorProxyRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DeleteVoiceConnectorProxyResult call() throws Exception {
+ DeleteVoiceConnectorProxyResult result = null;
+
+ try {
+ result = executeDeleteVoiceConnectorProxy(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future deleteVoiceConnectorStreamingConfigurationAsync(
DeleteVoiceConnectorStreamingConfigurationRequest request) {
@@ -1715,6 +1814,39 @@ public GetPhoneNumberSettingsResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future getProxySessionAsync(GetProxySessionRequest request) {
+
+ return getProxySessionAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future getProxySessionAsync(final GetProxySessionRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final GetProxySessionRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public GetProxySessionResult call() throws Exception {
+ GetProxySessionResult result = null;
+
+ try {
+ result = executeGetProxySession(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future getRoomAsync(GetRoomRequest request) {
@@ -1948,6 +2080,39 @@ public GetVoiceConnectorOriginationResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future getVoiceConnectorProxyAsync(GetVoiceConnectorProxyRequest request) {
+
+ return getVoiceConnectorProxyAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future getVoiceConnectorProxyAsync(final GetVoiceConnectorProxyRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final GetVoiceConnectorProxyRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public GetVoiceConnectorProxyResult call() throws Exception {
+ GetVoiceConnectorProxyResult result = null;
+
+ try {
+ result = executeGetVoiceConnectorProxy(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future getVoiceConnectorStreamingConfigurationAsync(
GetVoiceConnectorStreamingConfigurationRequest request) {
@@ -2282,6 +2447,39 @@ public ListPhoneNumbersResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future listProxySessionsAsync(ListProxySessionsRequest request) {
+
+ return listProxySessionsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listProxySessionsAsync(final ListProxySessionsRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final ListProxySessionsRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public ListProxySessionsResult call() throws Exception {
+ ListProxySessionsResult result = null;
+
+ try {
+ result = executeListProxySessions(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future listRoomMembershipsAsync(ListRoomMembershipsRequest request) {
@@ -2616,6 +2814,39 @@ public PutVoiceConnectorOriginationResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future putVoiceConnectorProxyAsync(PutVoiceConnectorProxyRequest request) {
+
+ return putVoiceConnectorProxyAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future putVoiceConnectorProxyAsync(final PutVoiceConnectorProxyRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final PutVoiceConnectorProxyRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public PutVoiceConnectorProxyResult call() throws Exception {
+ PutVoiceConnectorProxyResult result = null;
+
+ try {
+ result = executePutVoiceConnectorProxy(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future putVoiceConnectorStreamingConfigurationAsync(
PutVoiceConnectorStreamingConfigurationRequest request) {
@@ -3049,6 +3280,39 @@ public UpdatePhoneNumberSettingsResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future updateProxySessionAsync(UpdateProxySessionRequest request) {
+
+ return updateProxySessionAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future updateProxySessionAsync(final UpdateProxySessionRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final UpdateProxySessionRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public UpdateProxySessionResult call() throws Exception {
+ UpdateProxySessionResult result = null;
+
+ try {
+ result = executeUpdateProxySession(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future updateRoomAsync(UpdateRoomRequest request) {
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeClient.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeClient.java
index 6f17b7970fac..2d8fd95a7263 100644
--- a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeClient.java
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeClient.java
@@ -1377,6 +1377,70 @@ final CreatePhoneNumberOrderResult executeCreatePhoneNumberOrder(CreatePhoneNumb
}
}
+ /**
+ * @param createProxySessionRequest
+ * @return Result of the CreateProxySession operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.CreateProxySession
+ * @see AWS API
+ * Documentation
+ */
+ @Override
+ public CreateProxySessionResult createProxySession(CreateProxySessionRequest request) {
+ request = beforeClientExecution(request);
+ return executeCreateProxySession(request);
+ }
+
+ @SdkInternalApi
+ final CreateProxySessionResult executeCreateProxySession(CreateProxySessionRequest createProxySessionRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(createProxySessionRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new CreateProxySessionRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createProxySessionRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Chime");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateProxySession");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateProxySessionResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Creates a chat room for the specified Amazon Chime Enterprise account.
@@ -2109,6 +2173,70 @@ final DeletePhoneNumberResult executeDeletePhoneNumber(DeletePhoneNumberRequest
}
}
+ /**
+ * @param deleteProxySessionRequest
+ * @return Result of the DeleteProxySession operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.DeleteProxySession
+ * @see AWS API
+ * Documentation
+ */
+ @Override
+ public DeleteProxySessionResult deleteProxySession(DeleteProxySessionRequest request) {
+ request = beforeClientExecution(request);
+ return executeDeleteProxySession(request);
+ }
+
+ @SdkInternalApi
+ final DeleteProxySessionResult executeDeleteProxySession(DeleteProxySessionRequest deleteProxySessionRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(deleteProxySessionRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DeleteProxySessionRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteProxySessionRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Chime");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteProxySession");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteProxySessionResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Deletes a chat room in an Amazon Chime Enterprise account.
@@ -2460,6 +2588,72 @@ final DeleteVoiceConnectorOriginationResult executeDeleteVoiceConnectorOriginati
}
}
+ /**
+ * @param deleteVoiceConnectorProxyRequest
+ * @return Result of the DeleteVoiceConnectorProxy operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.DeleteVoiceConnectorProxy
+ * @see AWS API Documentation
+ */
+ @Override
+ public DeleteVoiceConnectorProxyResult deleteVoiceConnectorProxy(DeleteVoiceConnectorProxyRequest request) {
+ request = beforeClientExecution(request);
+ return executeDeleteVoiceConnectorProxy(request);
+ }
+
+ @SdkInternalApi
+ final DeleteVoiceConnectorProxyResult executeDeleteVoiceConnectorProxy(DeleteVoiceConnectorProxyRequest deleteVoiceConnectorProxyRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(deleteVoiceConnectorProxyRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DeleteVoiceConnectorProxyRequestProtocolMarshaller(protocolFactory).marshall(super
+ .beforeMarshalling(deleteVoiceConnectorProxyRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Chime");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteVoiceConnectorProxy");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new DeleteVoiceConnectorProxyResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Deletes the streaming configuration for the specified Amazon Chime Voice Connector.
@@ -3650,6 +3844,70 @@ final GetPhoneNumberSettingsResult executeGetPhoneNumberSettings(GetPhoneNumberS
}
}
+ /**
+ * @param getProxySessionRequest
+ * @return Result of the GetProxySession operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.GetProxySession
+ * @see AWS API
+ * Documentation
+ */
+ @Override
+ public GetProxySessionResult getProxySession(GetProxySessionRequest request) {
+ request = beforeClientExecution(request);
+ return executeGetProxySession(request);
+ }
+
+ @SdkInternalApi
+ final GetProxySessionResult executeGetProxySession(GetProxySessionRequest getProxySessionRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(getProxySessionRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new GetProxySessionRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getProxySessionRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Chime");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetProxySession");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetProxySessionResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.
@@ -4140,6 +4398,71 @@ final GetVoiceConnectorOriginationResult executeGetVoiceConnectorOrigination(Get
}
}
+ /**
+ * @param getVoiceConnectorProxyRequest
+ * @return Result of the GetVoiceConnectorProxy operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.GetVoiceConnectorProxy
+ * @see AWS
+ * API Documentation
+ */
+ @Override
+ public GetVoiceConnectorProxyResult getVoiceConnectorProxy(GetVoiceConnectorProxyRequest request) {
+ request = beforeClientExecution(request);
+ return executeGetVoiceConnectorProxy(request);
+ }
+
+ @SdkInternalApi
+ final GetVoiceConnectorProxyResult executeGetVoiceConnectorProxy(GetVoiceConnectorProxyRequest getVoiceConnectorProxyRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(getVoiceConnectorProxyRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new GetVoiceConnectorProxyRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getVoiceConnectorProxyRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Chime");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetVoiceConnectorProxy");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new GetVoiceConnectorProxyResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Retrieves the streaming configuration details for the specified Amazon Chime Voice Connector. Shows whether media
@@ -4834,6 +5157,70 @@ final ListPhoneNumbersResult executeListPhoneNumbers(ListPhoneNumbersRequest lis
}
}
+ /**
+ * @param listProxySessionsRequest
+ * @return Result of the ListProxySessions operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.ListProxySessions
+ * @see AWS API
+ * Documentation
+ */
+ @Override
+ public ListProxySessionsResult listProxySessions(ListProxySessionsRequest request) {
+ request = beforeClientExecution(request);
+ return executeListProxySessions(request);
+ }
+
+ @SdkInternalApi
+ final ListProxySessionsResult executeListProxySessions(ListProxySessionsRequest listProxySessionsRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(listProxySessionsRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new ListProxySessionsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listProxySessionsRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Chime");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListProxySessions");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListProxySessionsResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Lists the membership details for the specified room in an Amazon Chime Enterprise account, such as the members'
@@ -5526,6 +5913,73 @@ final PutVoiceConnectorOriginationResult executePutVoiceConnectorOrigination(Put
}
}
+ /**
+ * @param putVoiceConnectorProxyRequest
+ * @return Result of the PutVoiceConnectorProxy operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws AccessDeniedException
+ * You don't have permissions to perform the requested operation.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.PutVoiceConnectorProxy
+ * @see AWS
+ * API Documentation
+ */
+ @Override
+ public PutVoiceConnectorProxyResult putVoiceConnectorProxy(PutVoiceConnectorProxyRequest request) {
+ request = beforeClientExecution(request);
+ return executePutVoiceConnectorProxy(request);
+ }
+
+ @SdkInternalApi
+ final PutVoiceConnectorProxyResult executePutVoiceConnectorProxy(PutVoiceConnectorProxyRequest putVoiceConnectorProxyRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(putVoiceConnectorProxyRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new PutVoiceConnectorProxyRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(putVoiceConnectorProxyRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Chime");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "PutVoiceConnectorProxy");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new PutVoiceConnectorProxyResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration
@@ -6447,6 +6901,70 @@ final UpdatePhoneNumberSettingsResult executeUpdatePhoneNumberSettings(UpdatePho
}
}
+ /**
+ * @param updateProxySessionRequest
+ * @return Result of the UpdateProxySession operation returned by the service.
+ * @throws UnauthorizedClientException
+ * The client is not currently authorized to make the request.
+ * @throws NotFoundException
+ * One or more of the resources in the request does not exist in the system.
+ * @throws ForbiddenException
+ * The client is permanently forbidden from making the request. For example, when a user tries to create an
+ * account from an unsupported Region.
+ * @throws BadRequestException
+ * The input parameters don't match the service's restrictions.
+ * @throws ThrottledClientException
+ * The client exceeded its request rate limit.
+ * @throws ServiceUnavailableException
+ * The service is currently unavailable.
+ * @throws ServiceFailureException
+ * The service encountered an unexpected error.
+ * @sample AmazonChime.UpdateProxySession
+ * @see AWS API
+ * Documentation
+ */
+ @Override
+ public UpdateProxySessionResult updateProxySession(UpdateProxySessionRequest request) {
+ request = beforeClientExecution(request);
+ return executeUpdateProxySession(request);
+ }
+
+ @SdkInternalApi
+ final UpdateProxySessionResult executeUpdateProxySession(UpdateProxySessionRequest updateProxySessionRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(updateProxySessionRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new UpdateProxySessionRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(updateProxySessionRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Chime");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateProxySession");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateProxySessionResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Updates room details, such as the room name, for a room in an Amazon Chime Enterprise account.
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Capability.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Capability.java
new file mode 100644
index 000000000000..e219dcd74d7d
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Capability.java
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import javax.annotation.Generated;
+
+/**
+ *
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public enum Capability {
+
+ Voice("Voice"),
+ SMS("SMS");
+
+ private String value;
+
+ private Capability(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return Capability corresponding to the value
+ *
+ * @throws IllegalArgumentException
+ * If the specified value does not map to one of the known values in this enum.
+ */
+ public static Capability fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+ }
+
+ for (Capability enumEntry : Capability.values()) {
+ if (enumEntry.toString().equals(value)) {
+ return enumEntry;
+ }
+ }
+
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/CreateProxySessionRequest.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/CreateProxySessionRequest.java
new file mode 100644
index 000000000000..9a0d26b240ea
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/CreateProxySessionRequest.java
@@ -0,0 +1,453 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreateProxySessionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private String voiceConnectorId;
+
+ private java.util.List participantPhoneNumbers;
+
+ private String name;
+
+ private Integer expiryMinutes;
+
+ private java.util.List capabilities;
+
+ private String numberSelectionBehavior;
+
+ private String geoMatchLevel;
+
+ private GeoMatchParams geoMatchParams;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateProxySessionRequest withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * @return
+ */
+
+ public java.util.List getParticipantPhoneNumbers() {
+ return participantPhoneNumbers;
+ }
+
+ /**
+ * @param participantPhoneNumbers
+ */
+
+ public void setParticipantPhoneNumbers(java.util.Collection participantPhoneNumbers) {
+ if (participantPhoneNumbers == null) {
+ this.participantPhoneNumbers = null;
+ return;
+ }
+
+ this.participantPhoneNumbers = new java.util.ArrayList(participantPhoneNumbers);
+ }
+
+ /**
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setParticipantPhoneNumbers(java.util.Collection)} or
+ * {@link #withParticipantPhoneNumbers(java.util.Collection)} if you want to override the existing values.
+ *
+ *
+ * @param participantPhoneNumbers
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateProxySessionRequest withParticipantPhoneNumbers(String... participantPhoneNumbers) {
+ if (this.participantPhoneNumbers == null) {
+ setParticipantPhoneNumbers(new java.util.ArrayList(participantPhoneNumbers.length));
+ }
+ for (String ele : participantPhoneNumbers) {
+ this.participantPhoneNumbers.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * @param participantPhoneNumbers
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateProxySessionRequest withParticipantPhoneNumbers(java.util.Collection participantPhoneNumbers) {
+ setParticipantPhoneNumbers(participantPhoneNumbers);
+ return this;
+ }
+
+ /**
+ * @param name
+ */
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ * @param name
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateProxySessionRequest withName(String name) {
+ setName(name);
+ return this;
+ }
+
+ /**
+ * @param expiryMinutes
+ */
+
+ public void setExpiryMinutes(Integer expiryMinutes) {
+ this.expiryMinutes = expiryMinutes;
+ }
+
+ /**
+ * @return
+ */
+
+ public Integer getExpiryMinutes() {
+ return this.expiryMinutes;
+ }
+
+ /**
+ * @param expiryMinutes
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateProxySessionRequest withExpiryMinutes(Integer expiryMinutes) {
+ setExpiryMinutes(expiryMinutes);
+ return this;
+ }
+
+ /**
+ * @return
+ * @see Capability
+ */
+
+ public java.util.List getCapabilities() {
+ return capabilities;
+ }
+
+ /**
+ * @param capabilities
+ * @see Capability
+ */
+
+ public void setCapabilities(java.util.Collection capabilities) {
+ if (capabilities == null) {
+ this.capabilities = null;
+ return;
+ }
+
+ this.capabilities = new java.util.ArrayList(capabilities);
+ }
+
+ /**
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setCapabilities(java.util.Collection)} or {@link #withCapabilities(java.util.Collection)} if you want to
+ * override the existing values.
+ *
+ *
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public CreateProxySessionRequest withCapabilities(String... capabilities) {
+ if (this.capabilities == null) {
+ setCapabilities(new java.util.ArrayList(capabilities.length));
+ }
+ for (String ele : capabilities) {
+ this.capabilities.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public CreateProxySessionRequest withCapabilities(java.util.Collection capabilities) {
+ setCapabilities(capabilities);
+ return this;
+ }
+
+ /**
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public CreateProxySessionRequest withCapabilities(Capability... capabilities) {
+ java.util.ArrayList capabilitiesCopy = new java.util.ArrayList(capabilities.length);
+ for (Capability value : capabilities) {
+ capabilitiesCopy.add(value.toString());
+ }
+ if (getCapabilities() == null) {
+ setCapabilities(capabilitiesCopy);
+ } else {
+ getCapabilities().addAll(capabilitiesCopy);
+ }
+ return this;
+ }
+
+ /**
+ * @param numberSelectionBehavior
+ * @see NumberSelectionBehavior
+ */
+
+ public void setNumberSelectionBehavior(String numberSelectionBehavior) {
+ this.numberSelectionBehavior = numberSelectionBehavior;
+ }
+
+ /**
+ * @return
+ * @see NumberSelectionBehavior
+ */
+
+ public String getNumberSelectionBehavior() {
+ return this.numberSelectionBehavior;
+ }
+
+ /**
+ * @param numberSelectionBehavior
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see NumberSelectionBehavior
+ */
+
+ public CreateProxySessionRequest withNumberSelectionBehavior(String numberSelectionBehavior) {
+ setNumberSelectionBehavior(numberSelectionBehavior);
+ return this;
+ }
+
+ /**
+ * @param numberSelectionBehavior
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see NumberSelectionBehavior
+ */
+
+ public CreateProxySessionRequest withNumberSelectionBehavior(NumberSelectionBehavior numberSelectionBehavior) {
+ this.numberSelectionBehavior = numberSelectionBehavior.toString();
+ return this;
+ }
+
+ /**
+ * @param geoMatchLevel
+ * @see GeoMatchLevel
+ */
+
+ public void setGeoMatchLevel(String geoMatchLevel) {
+ this.geoMatchLevel = geoMatchLevel;
+ }
+
+ /**
+ * @return
+ * @see GeoMatchLevel
+ */
+
+ public String getGeoMatchLevel() {
+ return this.geoMatchLevel;
+ }
+
+ /**
+ * @param geoMatchLevel
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see GeoMatchLevel
+ */
+
+ public CreateProxySessionRequest withGeoMatchLevel(String geoMatchLevel) {
+ setGeoMatchLevel(geoMatchLevel);
+ return this;
+ }
+
+ /**
+ * @param geoMatchLevel
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see GeoMatchLevel
+ */
+
+ public CreateProxySessionRequest withGeoMatchLevel(GeoMatchLevel geoMatchLevel) {
+ this.geoMatchLevel = geoMatchLevel.toString();
+ return this;
+ }
+
+ /**
+ * @param geoMatchParams
+ */
+
+ public void setGeoMatchParams(GeoMatchParams geoMatchParams) {
+ this.geoMatchParams = geoMatchParams;
+ }
+
+ /**
+ * @return
+ */
+
+ public GeoMatchParams getGeoMatchParams() {
+ return this.geoMatchParams;
+ }
+
+ /**
+ * @param geoMatchParams
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateProxySessionRequest withGeoMatchParams(GeoMatchParams geoMatchParams) {
+ setGeoMatchParams(geoMatchParams);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId()).append(",");
+ if (getParticipantPhoneNumbers() != null)
+ sb.append("ParticipantPhoneNumbers: ").append("***Sensitive Data Redacted***").append(",");
+ if (getName() != null)
+ sb.append("Name: ").append("***Sensitive Data Redacted***").append(",");
+ if (getExpiryMinutes() != null)
+ sb.append("ExpiryMinutes: ").append(getExpiryMinutes()).append(",");
+ if (getCapabilities() != null)
+ sb.append("Capabilities: ").append(getCapabilities()).append(",");
+ if (getNumberSelectionBehavior() != null)
+ sb.append("NumberSelectionBehavior: ").append(getNumberSelectionBehavior()).append(",");
+ if (getGeoMatchLevel() != null)
+ sb.append("GeoMatchLevel: ").append(getGeoMatchLevel()).append(",");
+ if (getGeoMatchParams() != null)
+ sb.append("GeoMatchParams: ").append(getGeoMatchParams());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreateProxySessionRequest == false)
+ return false;
+ CreateProxySessionRequest other = (CreateProxySessionRequest) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ if (other.getParticipantPhoneNumbers() == null ^ this.getParticipantPhoneNumbers() == null)
+ return false;
+ if (other.getParticipantPhoneNumbers() != null && other.getParticipantPhoneNumbers().equals(this.getParticipantPhoneNumbers()) == false)
+ return false;
+ if (other.getName() == null ^ this.getName() == null)
+ return false;
+ if (other.getName() != null && other.getName().equals(this.getName()) == false)
+ return false;
+ if (other.getExpiryMinutes() == null ^ this.getExpiryMinutes() == null)
+ return false;
+ if (other.getExpiryMinutes() != null && other.getExpiryMinutes().equals(this.getExpiryMinutes()) == false)
+ return false;
+ if (other.getCapabilities() == null ^ this.getCapabilities() == null)
+ return false;
+ if (other.getCapabilities() != null && other.getCapabilities().equals(this.getCapabilities()) == false)
+ return false;
+ if (other.getNumberSelectionBehavior() == null ^ this.getNumberSelectionBehavior() == null)
+ return false;
+ if (other.getNumberSelectionBehavior() != null && other.getNumberSelectionBehavior().equals(this.getNumberSelectionBehavior()) == false)
+ return false;
+ if (other.getGeoMatchLevel() == null ^ this.getGeoMatchLevel() == null)
+ return false;
+ if (other.getGeoMatchLevel() != null && other.getGeoMatchLevel().equals(this.getGeoMatchLevel()) == false)
+ return false;
+ if (other.getGeoMatchParams() == null ^ this.getGeoMatchParams() == null)
+ return false;
+ if (other.getGeoMatchParams() != null && other.getGeoMatchParams().equals(this.getGeoMatchParams()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ hashCode = prime * hashCode + ((getParticipantPhoneNumbers() == null) ? 0 : getParticipantPhoneNumbers().hashCode());
+ hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
+ hashCode = prime * hashCode + ((getExpiryMinutes() == null) ? 0 : getExpiryMinutes().hashCode());
+ hashCode = prime * hashCode + ((getCapabilities() == null) ? 0 : getCapabilities().hashCode());
+ hashCode = prime * hashCode + ((getNumberSelectionBehavior() == null) ? 0 : getNumberSelectionBehavior().hashCode());
+ hashCode = prime * hashCode + ((getGeoMatchLevel() == null) ? 0 : getGeoMatchLevel().hashCode());
+ hashCode = prime * hashCode + ((getGeoMatchParams() == null) ? 0 : getGeoMatchParams().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreateProxySessionRequest clone() {
+ return (CreateProxySessionRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/CreateProxySessionResult.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/CreateProxySessionResult.java
new file mode 100644
index 000000000000..c4a9ad506aad
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/CreateProxySessionResult.java
@@ -0,0 +1,107 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreateProxySessionResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ private ProxySession proxySession;
+
+ /**
+ * @param proxySession
+ */
+
+ public void setProxySession(ProxySession proxySession) {
+ this.proxySession = proxySession;
+ }
+
+ /**
+ * @return
+ */
+
+ public ProxySession getProxySession() {
+ return this.proxySession;
+ }
+
+ /**
+ * @param proxySession
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateProxySessionResult withProxySession(ProxySession proxySession) {
+ setProxySession(proxySession);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getProxySession() != null)
+ sb.append("ProxySession: ").append(getProxySession());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreateProxySessionResult == false)
+ return false;
+ CreateProxySessionResult other = (CreateProxySessionResult) obj;
+ if (other.getProxySession() == null ^ this.getProxySession() == null)
+ return false;
+ if (other.getProxySession() != null && other.getProxySession().equals(this.getProxySession()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getProxySession() == null) ? 0 : getProxySession().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreateProxySessionResult clone() {
+ try {
+ return (CreateProxySessionResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteProxySessionRequest.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteProxySessionRequest.java
new file mode 100644
index 000000000000..b114078dcc40
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteProxySessionRequest.java
@@ -0,0 +1,140 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeleteProxySessionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private String voiceConnectorId;
+
+ private String proxySessionId;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DeleteProxySessionRequest withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * @param proxySessionId
+ */
+
+ public void setProxySessionId(String proxySessionId) {
+ this.proxySessionId = proxySessionId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getProxySessionId() {
+ return this.proxySessionId;
+ }
+
+ /**
+ * @param proxySessionId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DeleteProxySessionRequest withProxySessionId(String proxySessionId) {
+ setProxySessionId(proxySessionId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId()).append(",");
+ if (getProxySessionId() != null)
+ sb.append("ProxySessionId: ").append(getProxySessionId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeleteProxySessionRequest == false)
+ return false;
+ DeleteProxySessionRequest other = (DeleteProxySessionRequest) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ if (other.getProxySessionId() == null ^ this.getProxySessionId() == null)
+ return false;
+ if (other.getProxySessionId() != null && other.getProxySessionId().equals(this.getProxySessionId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ hashCode = prime * hashCode + ((getProxySessionId() == null) ? 0 : getProxySessionId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DeleteProxySessionRequest clone() {
+ return (DeleteProxySessionRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteProxySessionResult.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteProxySessionResult.java
new file mode 100644
index 000000000000..169ea1a355ce
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteProxySessionResult.java
@@ -0,0 +1,72 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeleteProxySessionResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeleteProxySessionResult == false)
+ return false;
+ DeleteProxySessionResult other = (DeleteProxySessionResult) obj;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ return hashCode;
+ }
+
+ @Override
+ public DeleteProxySessionResult clone() {
+ try {
+ return (DeleteProxySessionResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteVoiceConnectorProxyRequest.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteVoiceConnectorProxyRequest.java
new file mode 100644
index 000000000000..1b513529e346
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteVoiceConnectorProxyRequest.java
@@ -0,0 +1,105 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS
+ * API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeleteVoiceConnectorProxyRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private String voiceConnectorId;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DeleteVoiceConnectorProxyRequest withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeleteVoiceConnectorProxyRequest == false)
+ return false;
+ DeleteVoiceConnectorProxyRequest other = (DeleteVoiceConnectorProxyRequest) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DeleteVoiceConnectorProxyRequest clone() {
+ return (DeleteVoiceConnectorProxyRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteVoiceConnectorProxyResult.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteVoiceConnectorProxyResult.java
new file mode 100644
index 000000000000..6dc3375e07db
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/DeleteVoiceConnectorProxyResult.java
@@ -0,0 +1,72 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS
+ * API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeleteVoiceConnectorProxyResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeleteVoiceConnectorProxyResult == false)
+ return false;
+ DeleteVoiceConnectorProxyResult other = (DeleteVoiceConnectorProxyResult) obj;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ return hashCode;
+ }
+
+ @Override
+ public DeleteVoiceConnectorProxyResult clone() {
+ try {
+ return (DeleteVoiceConnectorProxyResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GeoMatchLevel.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GeoMatchLevel.java
new file mode 100644
index 000000000000..380af5198229
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GeoMatchLevel.java
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import javax.annotation.Generated;
+
+/**
+ *
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public enum GeoMatchLevel {
+
+ Country("Country"),
+ AreaCode("AreaCode");
+
+ private String value;
+
+ private GeoMatchLevel(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return GeoMatchLevel corresponding to the value
+ *
+ * @throws IllegalArgumentException
+ * If the specified value does not map to one of the known values in this enum.
+ */
+ public static GeoMatchLevel fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+ }
+
+ for (GeoMatchLevel enumEntry : GeoMatchLevel.values()) {
+ if (enumEntry.toString().equals(value)) {
+ return enumEntry;
+ }
+ }
+
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GeoMatchParams.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GeoMatchParams.java
new file mode 100644
index 000000000000..4e5bb0e9023f
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GeoMatchParams.java
@@ -0,0 +1,149 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class GeoMatchParams implements Serializable, Cloneable, StructuredPojo {
+
+ private String country;
+
+ private String areaCode;
+
+ /**
+ * @param country
+ */
+
+ public void setCountry(String country) {
+ this.country = country;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getCountry() {
+ return this.country;
+ }
+
+ /**
+ * @param country
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public GeoMatchParams withCountry(String country) {
+ setCountry(country);
+ return this;
+ }
+
+ /**
+ * @param areaCode
+ */
+
+ public void setAreaCode(String areaCode) {
+ this.areaCode = areaCode;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getAreaCode() {
+ return this.areaCode;
+ }
+
+ /**
+ * @param areaCode
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public GeoMatchParams withAreaCode(String areaCode) {
+ setAreaCode(areaCode);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getCountry() != null)
+ sb.append("Country: ").append(getCountry()).append(",");
+ if (getAreaCode() != null)
+ sb.append("AreaCode: ").append(getAreaCode());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof GeoMatchParams == false)
+ return false;
+ GeoMatchParams other = (GeoMatchParams) obj;
+ if (other.getCountry() == null ^ this.getCountry() == null)
+ return false;
+ if (other.getCountry() != null && other.getCountry().equals(this.getCountry()) == false)
+ return false;
+ if (other.getAreaCode() == null ^ this.getAreaCode() == null)
+ return false;
+ if (other.getAreaCode() != null && other.getAreaCode().equals(this.getAreaCode()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getCountry() == null) ? 0 : getCountry().hashCode());
+ hashCode = prime * hashCode + ((getAreaCode() == null) ? 0 : getAreaCode().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public GeoMatchParams clone() {
+ try {
+ return (GeoMatchParams) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.chime.model.transform.GeoMatchParamsMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetProxySessionRequest.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetProxySessionRequest.java
new file mode 100644
index 000000000000..0b82040f34fc
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetProxySessionRequest.java
@@ -0,0 +1,140 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class GetProxySessionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private String voiceConnectorId;
+
+ private String proxySessionId;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public GetProxySessionRequest withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * @param proxySessionId
+ */
+
+ public void setProxySessionId(String proxySessionId) {
+ this.proxySessionId = proxySessionId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getProxySessionId() {
+ return this.proxySessionId;
+ }
+
+ /**
+ * @param proxySessionId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public GetProxySessionRequest withProxySessionId(String proxySessionId) {
+ setProxySessionId(proxySessionId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId()).append(",");
+ if (getProxySessionId() != null)
+ sb.append("ProxySessionId: ").append(getProxySessionId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof GetProxySessionRequest == false)
+ return false;
+ GetProxySessionRequest other = (GetProxySessionRequest) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ if (other.getProxySessionId() == null ^ this.getProxySessionId() == null)
+ return false;
+ if (other.getProxySessionId() != null && other.getProxySessionId().equals(this.getProxySessionId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ hashCode = prime * hashCode + ((getProxySessionId() == null) ? 0 : getProxySessionId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public GetProxySessionRequest clone() {
+ return (GetProxySessionRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetProxySessionResult.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetProxySessionResult.java
new file mode 100644
index 000000000000..b205fb2e9789
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetProxySessionResult.java
@@ -0,0 +1,107 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class GetProxySessionResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ private ProxySession proxySession;
+
+ /**
+ * @param proxySession
+ */
+
+ public void setProxySession(ProxySession proxySession) {
+ this.proxySession = proxySession;
+ }
+
+ /**
+ * @return
+ */
+
+ public ProxySession getProxySession() {
+ return this.proxySession;
+ }
+
+ /**
+ * @param proxySession
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public GetProxySessionResult withProxySession(ProxySession proxySession) {
+ setProxySession(proxySession);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getProxySession() != null)
+ sb.append("ProxySession: ").append(getProxySession());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof GetProxySessionResult == false)
+ return false;
+ GetProxySessionResult other = (GetProxySessionResult) obj;
+ if (other.getProxySession() == null ^ this.getProxySession() == null)
+ return false;
+ if (other.getProxySession() != null && other.getProxySession().equals(this.getProxySession()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getProxySession() == null) ? 0 : getProxySession().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public GetProxySessionResult clone() {
+ try {
+ return (GetProxySessionResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetVoiceConnectorProxyRequest.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetVoiceConnectorProxyRequest.java
new file mode 100644
index 000000000000..3fd7ad41460d
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetVoiceConnectorProxyRequest.java
@@ -0,0 +1,105 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class GetVoiceConnectorProxyRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private String voiceConnectorId;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public GetVoiceConnectorProxyRequest withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof GetVoiceConnectorProxyRequest == false)
+ return false;
+ GetVoiceConnectorProxyRequest other = (GetVoiceConnectorProxyRequest) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public GetVoiceConnectorProxyRequest clone() {
+ return (GetVoiceConnectorProxyRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetVoiceConnectorProxyResult.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetVoiceConnectorProxyResult.java
new file mode 100644
index 000000000000..ebf96ad446c3
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/GetVoiceConnectorProxyResult.java
@@ -0,0 +1,107 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class GetVoiceConnectorProxyResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ private Proxy proxy;
+
+ /**
+ * @param proxy
+ */
+
+ public void setProxy(Proxy proxy) {
+ this.proxy = proxy;
+ }
+
+ /**
+ * @return
+ */
+
+ public Proxy getProxy() {
+ return this.proxy;
+ }
+
+ /**
+ * @param proxy
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public GetVoiceConnectorProxyResult withProxy(Proxy proxy) {
+ setProxy(proxy);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getProxy() != null)
+ sb.append("Proxy: ").append(getProxy());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof GetVoiceConnectorProxyResult == false)
+ return false;
+ GetVoiceConnectorProxyResult other = (GetVoiceConnectorProxyResult) obj;
+ if (other.getProxy() == null ^ this.getProxy() == null)
+ return false;
+ if (other.getProxy() != null && other.getProxy().equals(this.getProxy()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getProxy() == null) ? 0 : getProxy().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public GetVoiceConnectorProxyResult clone() {
+ try {
+ return (GetVoiceConnectorProxyResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListProxySessionsRequest.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListProxySessionsRequest.java
new file mode 100644
index 000000000000..ec69a10ad1cc
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListProxySessionsRequest.java
@@ -0,0 +1,224 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListProxySessionsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private String voiceConnectorId;
+
+ private String status;
+
+ private String nextToken;
+
+ private Integer maxResults;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListProxySessionsRequest withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * @param status
+ * @see ProxySessionStatus
+ */
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ /**
+ * @return
+ * @see ProxySessionStatus
+ */
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ /**
+ * @param status
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see ProxySessionStatus
+ */
+
+ public ListProxySessionsRequest withStatus(String status) {
+ setStatus(status);
+ return this;
+ }
+
+ /**
+ * @param status
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see ProxySessionStatus
+ */
+
+ public ListProxySessionsRequest withStatus(ProxySessionStatus status) {
+ this.status = status.toString();
+ return this;
+ }
+
+ /**
+ * @param nextToken
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * @param nextToken
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListProxySessionsRequest withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * @param maxResults
+ */
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ }
+
+ /**
+ * @return
+ */
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ /**
+ * @param maxResults
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListProxySessionsRequest withMaxResults(Integer maxResults) {
+ setMaxResults(maxResults);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId()).append(",");
+ if (getStatus() != null)
+ sb.append("Status: ").append(getStatus()).append(",");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken()).append(",");
+ if (getMaxResults() != null)
+ sb.append("MaxResults: ").append(getMaxResults());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListProxySessionsRequest == false)
+ return false;
+ ListProxySessionsRequest other = (ListProxySessionsRequest) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ if (other.getStatus() == null ^ this.getStatus() == null)
+ return false;
+ if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
+ return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ if (other.getMaxResults() == null ^ this.getMaxResults() == null)
+ return false;
+ if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListProxySessionsRequest clone() {
+ return (ListProxySessionsRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListProxySessionsResult.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListProxySessionsResult.java
new file mode 100644
index 000000000000..b1e0d504b974
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListProxySessionsResult.java
@@ -0,0 +1,168 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListProxySessionsResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ private java.util.List proxySessions;
+
+ private String nextToken;
+
+ /**
+ * @return
+ */
+
+ public java.util.List getProxySessions() {
+ return proxySessions;
+ }
+
+ /**
+ * @param proxySessions
+ */
+
+ public void setProxySessions(java.util.Collection proxySessions) {
+ if (proxySessions == null) {
+ this.proxySessions = null;
+ return;
+ }
+
+ this.proxySessions = new java.util.ArrayList(proxySessions);
+ }
+
+ /**
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setProxySessions(java.util.Collection)} or {@link #withProxySessions(java.util.Collection)} if you want
+ * to override the existing values.
+ *
+ *
+ * @param proxySessions
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListProxySessionsResult withProxySessions(ProxySession... proxySessions) {
+ if (this.proxySessions == null) {
+ setProxySessions(new java.util.ArrayList(proxySessions.length));
+ }
+ for (ProxySession ele : proxySessions) {
+ this.proxySessions.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * @param proxySessions
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListProxySessionsResult withProxySessions(java.util.Collection proxySessions) {
+ setProxySessions(proxySessions);
+ return this;
+ }
+
+ /**
+ * @param nextToken
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * @param nextToken
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListProxySessionsResult withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getProxySessions() != null)
+ sb.append("ProxySessions: ").append(getProxySessions()).append(",");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListProxySessionsResult == false)
+ return false;
+ ListProxySessionsResult other = (ListProxySessionsResult) obj;
+ if (other.getProxySessions() == null ^ this.getProxySessions() == null)
+ return false;
+ if (other.getProxySessions() != null && other.getProxySessions().equals(this.getProxySessions()) == false)
+ return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getProxySessions() == null) ? 0 : getProxySessions().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListProxySessionsResult clone() {
+ try {
+ return (ListProxySessionsResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/NumberSelectionBehavior.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/NumberSelectionBehavior.java
new file mode 100644
index 000000000000..1bd585af1d53
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/NumberSelectionBehavior.java
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import javax.annotation.Generated;
+
+/**
+ *
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public enum NumberSelectionBehavior {
+
+ PreferSticky("PreferSticky"),
+ AvoidSticky("AvoidSticky");
+
+ private String value;
+
+ private NumberSelectionBehavior(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return NumberSelectionBehavior corresponding to the value
+ *
+ * @throws IllegalArgumentException
+ * If the specified value does not map to one of the known values in this enum.
+ */
+ public static NumberSelectionBehavior fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+ }
+
+ for (NumberSelectionBehavior enumEntry : NumberSelectionBehavior.values()) {
+ if (enumEntry.toString().equals(value)) {
+ return enumEntry;
+ }
+ }
+
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Participant.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Participant.java
new file mode 100644
index 000000000000..bd6d39053c1e
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Participant.java
@@ -0,0 +1,149 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class Participant implements Serializable, Cloneable, StructuredPojo {
+
+ private String phoneNumber;
+
+ private String proxyPhoneNumber;
+
+ /**
+ * @param phoneNumber
+ */
+
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getPhoneNumber() {
+ return this.phoneNumber;
+ }
+
+ /**
+ * @param phoneNumber
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Participant withPhoneNumber(String phoneNumber) {
+ setPhoneNumber(phoneNumber);
+ return this;
+ }
+
+ /**
+ * @param proxyPhoneNumber
+ */
+
+ public void setProxyPhoneNumber(String proxyPhoneNumber) {
+ this.proxyPhoneNumber = proxyPhoneNumber;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getProxyPhoneNumber() {
+ return this.proxyPhoneNumber;
+ }
+
+ /**
+ * @param proxyPhoneNumber
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Participant withProxyPhoneNumber(String proxyPhoneNumber) {
+ setProxyPhoneNumber(proxyPhoneNumber);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getPhoneNumber() != null)
+ sb.append("PhoneNumber: ").append("***Sensitive Data Redacted***").append(",");
+ if (getProxyPhoneNumber() != null)
+ sb.append("ProxyPhoneNumber: ").append("***Sensitive Data Redacted***");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof Participant == false)
+ return false;
+ Participant other = (Participant) obj;
+ if (other.getPhoneNumber() == null ^ this.getPhoneNumber() == null)
+ return false;
+ if (other.getPhoneNumber() != null && other.getPhoneNumber().equals(this.getPhoneNumber()) == false)
+ return false;
+ if (other.getProxyPhoneNumber() == null ^ this.getProxyPhoneNumber() == null)
+ return false;
+ if (other.getProxyPhoneNumber() != null && other.getProxyPhoneNumber().equals(this.getProxyPhoneNumber()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getPhoneNumber() == null) ? 0 : getPhoneNumber().hashCode());
+ hashCode = prime * hashCode + ((getProxyPhoneNumber() == null) ? 0 : getProxyPhoneNumber().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public Participant clone() {
+ try {
+ return (Participant) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.chime.model.transform.ParticipantMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Proxy.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Proxy.java
new file mode 100644
index 000000000000..8ff7b0d3be3c
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Proxy.java
@@ -0,0 +1,252 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class Proxy implements Serializable, Cloneable, StructuredPojo {
+
+ private Integer defaultSessionExpiryMinutes;
+
+ private Boolean disabled;
+
+ private String fallBackPhoneNumber;
+
+ private java.util.List phoneNumberCountries;
+
+ /**
+ * @param defaultSessionExpiryMinutes
+ */
+
+ public void setDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes) {
+ this.defaultSessionExpiryMinutes = defaultSessionExpiryMinutes;
+ }
+
+ /**
+ * @return
+ */
+
+ public Integer getDefaultSessionExpiryMinutes() {
+ return this.defaultSessionExpiryMinutes;
+ }
+
+ /**
+ * @param defaultSessionExpiryMinutes
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Proxy withDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes) {
+ setDefaultSessionExpiryMinutes(defaultSessionExpiryMinutes);
+ return this;
+ }
+
+ /**
+ * @param disabled
+ */
+
+ public void setDisabled(Boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * @return
+ */
+
+ public Boolean getDisabled() {
+ return this.disabled;
+ }
+
+ /**
+ * @param disabled
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Proxy withDisabled(Boolean disabled) {
+ setDisabled(disabled);
+ return this;
+ }
+
+ /**
+ * @return
+ */
+
+ public Boolean isDisabled() {
+ return this.disabled;
+ }
+
+ /**
+ * @param fallBackPhoneNumber
+ */
+
+ public void setFallBackPhoneNumber(String fallBackPhoneNumber) {
+ this.fallBackPhoneNumber = fallBackPhoneNumber;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getFallBackPhoneNumber() {
+ return this.fallBackPhoneNumber;
+ }
+
+ /**
+ * @param fallBackPhoneNumber
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Proxy withFallBackPhoneNumber(String fallBackPhoneNumber) {
+ setFallBackPhoneNumber(fallBackPhoneNumber);
+ return this;
+ }
+
+ /**
+ * @return
+ */
+
+ public java.util.List getPhoneNumberCountries() {
+ return phoneNumberCountries;
+ }
+
+ /**
+ * @param phoneNumberCountries
+ */
+
+ public void setPhoneNumberCountries(java.util.Collection phoneNumberCountries) {
+ if (phoneNumberCountries == null) {
+ this.phoneNumberCountries = null;
+ return;
+ }
+
+ this.phoneNumberCountries = new java.util.ArrayList(phoneNumberCountries);
+ }
+
+ /**
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setPhoneNumberCountries(java.util.Collection)} or {@link #withPhoneNumberCountries(java.util.Collection)}
+ * if you want to override the existing values.
+ *
+ *
+ * @param phoneNumberCountries
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Proxy withPhoneNumberCountries(String... phoneNumberCountries) {
+ if (this.phoneNumberCountries == null) {
+ setPhoneNumberCountries(new java.util.ArrayList(phoneNumberCountries.length));
+ }
+ for (String ele : phoneNumberCountries) {
+ this.phoneNumberCountries.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * @param phoneNumberCountries
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Proxy withPhoneNumberCountries(java.util.Collection phoneNumberCountries) {
+ setPhoneNumberCountries(phoneNumberCountries);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getDefaultSessionExpiryMinutes() != null)
+ sb.append("DefaultSessionExpiryMinutes: ").append(getDefaultSessionExpiryMinutes()).append(",");
+ if (getDisabled() != null)
+ sb.append("Disabled: ").append(getDisabled()).append(",");
+ if (getFallBackPhoneNumber() != null)
+ sb.append("FallBackPhoneNumber: ").append("***Sensitive Data Redacted***").append(",");
+ if (getPhoneNumberCountries() != null)
+ sb.append("PhoneNumberCountries: ").append(getPhoneNumberCountries());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof Proxy == false)
+ return false;
+ Proxy other = (Proxy) obj;
+ if (other.getDefaultSessionExpiryMinutes() == null ^ this.getDefaultSessionExpiryMinutes() == null)
+ return false;
+ if (other.getDefaultSessionExpiryMinutes() != null && other.getDefaultSessionExpiryMinutes().equals(this.getDefaultSessionExpiryMinutes()) == false)
+ return false;
+ if (other.getDisabled() == null ^ this.getDisabled() == null)
+ return false;
+ if (other.getDisabled() != null && other.getDisabled().equals(this.getDisabled()) == false)
+ return false;
+ if (other.getFallBackPhoneNumber() == null ^ this.getFallBackPhoneNumber() == null)
+ return false;
+ if (other.getFallBackPhoneNumber() != null && other.getFallBackPhoneNumber().equals(this.getFallBackPhoneNumber()) == false)
+ return false;
+ if (other.getPhoneNumberCountries() == null ^ this.getPhoneNumberCountries() == null)
+ return false;
+ if (other.getPhoneNumberCountries() != null && other.getPhoneNumberCountries().equals(this.getPhoneNumberCountries()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getDefaultSessionExpiryMinutes() == null) ? 0 : getDefaultSessionExpiryMinutes().hashCode());
+ hashCode = prime * hashCode + ((getDisabled() == null) ? 0 : getDisabled().hashCode());
+ hashCode = prime * hashCode + ((getFallBackPhoneNumber() == null) ? 0 : getFallBackPhoneNumber().hashCode());
+ hashCode = prime * hashCode + ((getPhoneNumberCountries() == null) ? 0 : getPhoneNumberCountries().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public Proxy clone() {
+ try {
+ return (Proxy) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.chime.model.transform.ProxyMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ProxySession.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ProxySession.java
new file mode 100644
index 000000000000..540515587bee
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ProxySession.java
@@ -0,0 +1,651 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ProxySession implements Serializable, Cloneable, StructuredPojo {
+
+ private String voiceConnectorId;
+
+ private String proxySessionId;
+
+ private String name;
+
+ private String status;
+
+ private Integer expiryMinutes;
+
+ private java.util.List capabilities;
+
+ private java.util.Date createdTimestamp;
+
+ private java.util.Date updatedTimestamp;
+
+ private java.util.Date endedTimestamp;
+
+ private java.util.List participants;
+
+ private String numberSelectionBehavior;
+
+ private String geoMatchLevel;
+
+ private GeoMatchParams geoMatchParams;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * @param proxySessionId
+ */
+
+ public void setProxySessionId(String proxySessionId) {
+ this.proxySessionId = proxySessionId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getProxySessionId() {
+ return this.proxySessionId;
+ }
+
+ /**
+ * @param proxySessionId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withProxySessionId(String proxySessionId) {
+ setProxySessionId(proxySessionId);
+ return this;
+ }
+
+ /**
+ * @param name
+ */
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ * @param name
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withName(String name) {
+ setName(name);
+ return this;
+ }
+
+ /**
+ * @param status
+ * @see ProxySessionStatus
+ */
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ /**
+ * @return
+ * @see ProxySessionStatus
+ */
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ /**
+ * @param status
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see ProxySessionStatus
+ */
+
+ public ProxySession withStatus(String status) {
+ setStatus(status);
+ return this;
+ }
+
+ /**
+ * @param status
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see ProxySessionStatus
+ */
+
+ public ProxySession withStatus(ProxySessionStatus status) {
+ this.status = status.toString();
+ return this;
+ }
+
+ /**
+ * @param expiryMinutes
+ */
+
+ public void setExpiryMinutes(Integer expiryMinutes) {
+ this.expiryMinutes = expiryMinutes;
+ }
+
+ /**
+ * @return
+ */
+
+ public Integer getExpiryMinutes() {
+ return this.expiryMinutes;
+ }
+
+ /**
+ * @param expiryMinutes
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withExpiryMinutes(Integer expiryMinutes) {
+ setExpiryMinutes(expiryMinutes);
+ return this;
+ }
+
+ /**
+ * @return
+ * @see Capability
+ */
+
+ public java.util.List getCapabilities() {
+ return capabilities;
+ }
+
+ /**
+ * @param capabilities
+ * @see Capability
+ */
+
+ public void setCapabilities(java.util.Collection capabilities) {
+ if (capabilities == null) {
+ this.capabilities = null;
+ return;
+ }
+
+ this.capabilities = new java.util.ArrayList(capabilities);
+ }
+
+ /**
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setCapabilities(java.util.Collection)} or {@link #withCapabilities(java.util.Collection)} if you want to
+ * override the existing values.
+ *
+ *
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public ProxySession withCapabilities(String... capabilities) {
+ if (this.capabilities == null) {
+ setCapabilities(new java.util.ArrayList(capabilities.length));
+ }
+ for (String ele : capabilities) {
+ this.capabilities.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public ProxySession withCapabilities(java.util.Collection capabilities) {
+ setCapabilities(capabilities);
+ return this;
+ }
+
+ /**
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public ProxySession withCapabilities(Capability... capabilities) {
+ java.util.ArrayList capabilitiesCopy = new java.util.ArrayList(capabilities.length);
+ for (Capability value : capabilities) {
+ capabilitiesCopy.add(value.toString());
+ }
+ if (getCapabilities() == null) {
+ setCapabilities(capabilitiesCopy);
+ } else {
+ getCapabilities().addAll(capabilitiesCopy);
+ }
+ return this;
+ }
+
+ /**
+ * @param createdTimestamp
+ */
+
+ public void setCreatedTimestamp(java.util.Date createdTimestamp) {
+ this.createdTimestamp = createdTimestamp;
+ }
+
+ /**
+ * @return
+ */
+
+ public java.util.Date getCreatedTimestamp() {
+ return this.createdTimestamp;
+ }
+
+ /**
+ * @param createdTimestamp
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withCreatedTimestamp(java.util.Date createdTimestamp) {
+ setCreatedTimestamp(createdTimestamp);
+ return this;
+ }
+
+ /**
+ * @param updatedTimestamp
+ */
+
+ public void setUpdatedTimestamp(java.util.Date updatedTimestamp) {
+ this.updatedTimestamp = updatedTimestamp;
+ }
+
+ /**
+ * @return
+ */
+
+ public java.util.Date getUpdatedTimestamp() {
+ return this.updatedTimestamp;
+ }
+
+ /**
+ * @param updatedTimestamp
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withUpdatedTimestamp(java.util.Date updatedTimestamp) {
+ setUpdatedTimestamp(updatedTimestamp);
+ return this;
+ }
+
+ /**
+ * @param endedTimestamp
+ */
+
+ public void setEndedTimestamp(java.util.Date endedTimestamp) {
+ this.endedTimestamp = endedTimestamp;
+ }
+
+ /**
+ * @return
+ */
+
+ public java.util.Date getEndedTimestamp() {
+ return this.endedTimestamp;
+ }
+
+ /**
+ * @param endedTimestamp
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withEndedTimestamp(java.util.Date endedTimestamp) {
+ setEndedTimestamp(endedTimestamp);
+ return this;
+ }
+
+ /**
+ * @return
+ */
+
+ public java.util.List getParticipants() {
+ return participants;
+ }
+
+ /**
+ * @param participants
+ */
+
+ public void setParticipants(java.util.Collection participants) {
+ if (participants == null) {
+ this.participants = null;
+ return;
+ }
+
+ this.participants = new java.util.ArrayList(participants);
+ }
+
+ /**
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setParticipants(java.util.Collection)} or {@link #withParticipants(java.util.Collection)} if you want to
+ * override the existing values.
+ *
+ *
+ * @param participants
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withParticipants(Participant... participants) {
+ if (this.participants == null) {
+ setParticipants(new java.util.ArrayList(participants.length));
+ }
+ for (Participant ele : participants) {
+ this.participants.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * @param participants
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withParticipants(java.util.Collection participants) {
+ setParticipants(participants);
+ return this;
+ }
+
+ /**
+ * @param numberSelectionBehavior
+ * @see NumberSelectionBehavior
+ */
+
+ public void setNumberSelectionBehavior(String numberSelectionBehavior) {
+ this.numberSelectionBehavior = numberSelectionBehavior;
+ }
+
+ /**
+ * @return
+ * @see NumberSelectionBehavior
+ */
+
+ public String getNumberSelectionBehavior() {
+ return this.numberSelectionBehavior;
+ }
+
+ /**
+ * @param numberSelectionBehavior
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see NumberSelectionBehavior
+ */
+
+ public ProxySession withNumberSelectionBehavior(String numberSelectionBehavior) {
+ setNumberSelectionBehavior(numberSelectionBehavior);
+ return this;
+ }
+
+ /**
+ * @param numberSelectionBehavior
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see NumberSelectionBehavior
+ */
+
+ public ProxySession withNumberSelectionBehavior(NumberSelectionBehavior numberSelectionBehavior) {
+ this.numberSelectionBehavior = numberSelectionBehavior.toString();
+ return this;
+ }
+
+ /**
+ * @param geoMatchLevel
+ * @see GeoMatchLevel
+ */
+
+ public void setGeoMatchLevel(String geoMatchLevel) {
+ this.geoMatchLevel = geoMatchLevel;
+ }
+
+ /**
+ * @return
+ * @see GeoMatchLevel
+ */
+
+ public String getGeoMatchLevel() {
+ return this.geoMatchLevel;
+ }
+
+ /**
+ * @param geoMatchLevel
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see GeoMatchLevel
+ */
+
+ public ProxySession withGeoMatchLevel(String geoMatchLevel) {
+ setGeoMatchLevel(geoMatchLevel);
+ return this;
+ }
+
+ /**
+ * @param geoMatchLevel
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see GeoMatchLevel
+ */
+
+ public ProxySession withGeoMatchLevel(GeoMatchLevel geoMatchLevel) {
+ this.geoMatchLevel = geoMatchLevel.toString();
+ return this;
+ }
+
+ /**
+ * @param geoMatchParams
+ */
+
+ public void setGeoMatchParams(GeoMatchParams geoMatchParams) {
+ this.geoMatchParams = geoMatchParams;
+ }
+
+ /**
+ * @return
+ */
+
+ public GeoMatchParams getGeoMatchParams() {
+ return this.geoMatchParams;
+ }
+
+ /**
+ * @param geoMatchParams
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ProxySession withGeoMatchParams(GeoMatchParams geoMatchParams) {
+ setGeoMatchParams(geoMatchParams);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId()).append(",");
+ if (getProxySessionId() != null)
+ sb.append("ProxySessionId: ").append(getProxySessionId()).append(",");
+ if (getName() != null)
+ sb.append("Name: ").append(getName()).append(",");
+ if (getStatus() != null)
+ sb.append("Status: ").append(getStatus()).append(",");
+ if (getExpiryMinutes() != null)
+ sb.append("ExpiryMinutes: ").append(getExpiryMinutes()).append(",");
+ if (getCapabilities() != null)
+ sb.append("Capabilities: ").append(getCapabilities()).append(",");
+ if (getCreatedTimestamp() != null)
+ sb.append("CreatedTimestamp: ").append(getCreatedTimestamp()).append(",");
+ if (getUpdatedTimestamp() != null)
+ sb.append("UpdatedTimestamp: ").append(getUpdatedTimestamp()).append(",");
+ if (getEndedTimestamp() != null)
+ sb.append("EndedTimestamp: ").append(getEndedTimestamp()).append(",");
+ if (getParticipants() != null)
+ sb.append("Participants: ").append(getParticipants()).append(",");
+ if (getNumberSelectionBehavior() != null)
+ sb.append("NumberSelectionBehavior: ").append(getNumberSelectionBehavior()).append(",");
+ if (getGeoMatchLevel() != null)
+ sb.append("GeoMatchLevel: ").append(getGeoMatchLevel()).append(",");
+ if (getGeoMatchParams() != null)
+ sb.append("GeoMatchParams: ").append(getGeoMatchParams());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ProxySession == false)
+ return false;
+ ProxySession other = (ProxySession) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ if (other.getProxySessionId() == null ^ this.getProxySessionId() == null)
+ return false;
+ if (other.getProxySessionId() != null && other.getProxySessionId().equals(this.getProxySessionId()) == false)
+ return false;
+ if (other.getName() == null ^ this.getName() == null)
+ return false;
+ if (other.getName() != null && other.getName().equals(this.getName()) == false)
+ return false;
+ if (other.getStatus() == null ^ this.getStatus() == null)
+ return false;
+ if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
+ return false;
+ if (other.getExpiryMinutes() == null ^ this.getExpiryMinutes() == null)
+ return false;
+ if (other.getExpiryMinutes() != null && other.getExpiryMinutes().equals(this.getExpiryMinutes()) == false)
+ return false;
+ if (other.getCapabilities() == null ^ this.getCapabilities() == null)
+ return false;
+ if (other.getCapabilities() != null && other.getCapabilities().equals(this.getCapabilities()) == false)
+ return false;
+ if (other.getCreatedTimestamp() == null ^ this.getCreatedTimestamp() == null)
+ return false;
+ if (other.getCreatedTimestamp() != null && other.getCreatedTimestamp().equals(this.getCreatedTimestamp()) == false)
+ return false;
+ if (other.getUpdatedTimestamp() == null ^ this.getUpdatedTimestamp() == null)
+ return false;
+ if (other.getUpdatedTimestamp() != null && other.getUpdatedTimestamp().equals(this.getUpdatedTimestamp()) == false)
+ return false;
+ if (other.getEndedTimestamp() == null ^ this.getEndedTimestamp() == null)
+ return false;
+ if (other.getEndedTimestamp() != null && other.getEndedTimestamp().equals(this.getEndedTimestamp()) == false)
+ return false;
+ if (other.getParticipants() == null ^ this.getParticipants() == null)
+ return false;
+ if (other.getParticipants() != null && other.getParticipants().equals(this.getParticipants()) == false)
+ return false;
+ if (other.getNumberSelectionBehavior() == null ^ this.getNumberSelectionBehavior() == null)
+ return false;
+ if (other.getNumberSelectionBehavior() != null && other.getNumberSelectionBehavior().equals(this.getNumberSelectionBehavior()) == false)
+ return false;
+ if (other.getGeoMatchLevel() == null ^ this.getGeoMatchLevel() == null)
+ return false;
+ if (other.getGeoMatchLevel() != null && other.getGeoMatchLevel().equals(this.getGeoMatchLevel()) == false)
+ return false;
+ if (other.getGeoMatchParams() == null ^ this.getGeoMatchParams() == null)
+ return false;
+ if (other.getGeoMatchParams() != null && other.getGeoMatchParams().equals(this.getGeoMatchParams()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ hashCode = prime * hashCode + ((getProxySessionId() == null) ? 0 : getProxySessionId().hashCode());
+ hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
+ hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode());
+ hashCode = prime * hashCode + ((getExpiryMinutes() == null) ? 0 : getExpiryMinutes().hashCode());
+ hashCode = prime * hashCode + ((getCapabilities() == null) ? 0 : getCapabilities().hashCode());
+ hashCode = prime * hashCode + ((getCreatedTimestamp() == null) ? 0 : getCreatedTimestamp().hashCode());
+ hashCode = prime * hashCode + ((getUpdatedTimestamp() == null) ? 0 : getUpdatedTimestamp().hashCode());
+ hashCode = prime * hashCode + ((getEndedTimestamp() == null) ? 0 : getEndedTimestamp().hashCode());
+ hashCode = prime * hashCode + ((getParticipants() == null) ? 0 : getParticipants().hashCode());
+ hashCode = prime * hashCode + ((getNumberSelectionBehavior() == null) ? 0 : getNumberSelectionBehavior().hashCode());
+ hashCode = prime * hashCode + ((getGeoMatchLevel() == null) ? 0 : getGeoMatchLevel().hashCode());
+ hashCode = prime * hashCode + ((getGeoMatchParams() == null) ? 0 : getGeoMatchParams().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ProxySession clone() {
+ try {
+ return (ProxySession) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.chime.model.transform.ProxySessionMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ProxySessionStatus.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ProxySessionStatus.java
new file mode 100644
index 000000000000..e2c06e8230b4
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ProxySessionStatus.java
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import javax.annotation.Generated;
+
+/**
+ *
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public enum ProxySessionStatus {
+
+ Open("Open"),
+ InProgress("InProgress"),
+ Closed("Closed");
+
+ private String value;
+
+ private ProxySessionStatus(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return ProxySessionStatus corresponding to the value
+ *
+ * @throws IllegalArgumentException
+ * If the specified value does not map to one of the known values in this enum.
+ */
+ public static ProxySessionStatus fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+ }
+
+ for (ProxySessionStatus enumEntry : ProxySessionStatus.values()) {
+ if (enumEntry.toString().equals(value)) {
+ return enumEntry;
+ }
+ }
+
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/PutVoiceConnectorProxyRequest.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/PutVoiceConnectorProxyRequest.java
new file mode 100644
index 000000000000..73cbec029f89
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/PutVoiceConnectorProxyRequest.java
@@ -0,0 +1,279 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class PutVoiceConnectorProxyRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private String voiceConnectorId;
+
+ private Integer defaultSessionExpiryMinutes;
+
+ private java.util.List phoneNumberPoolCountries;
+
+ private String fallBackPhoneNumber;
+
+ private Boolean disabled;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PutVoiceConnectorProxyRequest withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * @param defaultSessionExpiryMinutes
+ */
+
+ public void setDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes) {
+ this.defaultSessionExpiryMinutes = defaultSessionExpiryMinutes;
+ }
+
+ /**
+ * @return
+ */
+
+ public Integer getDefaultSessionExpiryMinutes() {
+ return this.defaultSessionExpiryMinutes;
+ }
+
+ /**
+ * @param defaultSessionExpiryMinutes
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PutVoiceConnectorProxyRequest withDefaultSessionExpiryMinutes(Integer defaultSessionExpiryMinutes) {
+ setDefaultSessionExpiryMinutes(defaultSessionExpiryMinutes);
+ return this;
+ }
+
+ /**
+ * @return
+ */
+
+ public java.util.List getPhoneNumberPoolCountries() {
+ return phoneNumberPoolCountries;
+ }
+
+ /**
+ * @param phoneNumberPoolCountries
+ */
+
+ public void setPhoneNumberPoolCountries(java.util.Collection phoneNumberPoolCountries) {
+ if (phoneNumberPoolCountries == null) {
+ this.phoneNumberPoolCountries = null;
+ return;
+ }
+
+ this.phoneNumberPoolCountries = new java.util.ArrayList(phoneNumberPoolCountries);
+ }
+
+ /**
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setPhoneNumberPoolCountries(java.util.Collection)} or
+ * {@link #withPhoneNumberPoolCountries(java.util.Collection)} if you want to override the existing values.
+ *
+ *
+ * @param phoneNumberPoolCountries
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PutVoiceConnectorProxyRequest withPhoneNumberPoolCountries(String... phoneNumberPoolCountries) {
+ if (this.phoneNumberPoolCountries == null) {
+ setPhoneNumberPoolCountries(new java.util.ArrayList(phoneNumberPoolCountries.length));
+ }
+ for (String ele : phoneNumberPoolCountries) {
+ this.phoneNumberPoolCountries.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * @param phoneNumberPoolCountries
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PutVoiceConnectorProxyRequest withPhoneNumberPoolCountries(java.util.Collection phoneNumberPoolCountries) {
+ setPhoneNumberPoolCountries(phoneNumberPoolCountries);
+ return this;
+ }
+
+ /**
+ * @param fallBackPhoneNumber
+ */
+
+ public void setFallBackPhoneNumber(String fallBackPhoneNumber) {
+ this.fallBackPhoneNumber = fallBackPhoneNumber;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getFallBackPhoneNumber() {
+ return this.fallBackPhoneNumber;
+ }
+
+ /**
+ * @param fallBackPhoneNumber
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PutVoiceConnectorProxyRequest withFallBackPhoneNumber(String fallBackPhoneNumber) {
+ setFallBackPhoneNumber(fallBackPhoneNumber);
+ return this;
+ }
+
+ /**
+ * @param disabled
+ */
+
+ public void setDisabled(Boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * @return
+ */
+
+ public Boolean getDisabled() {
+ return this.disabled;
+ }
+
+ /**
+ * @param disabled
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PutVoiceConnectorProxyRequest withDisabled(Boolean disabled) {
+ setDisabled(disabled);
+ return this;
+ }
+
+ /**
+ * @return
+ */
+
+ public Boolean isDisabled() {
+ return this.disabled;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId()).append(",");
+ if (getDefaultSessionExpiryMinutes() != null)
+ sb.append("DefaultSessionExpiryMinutes: ").append(getDefaultSessionExpiryMinutes()).append(",");
+ if (getPhoneNumberPoolCountries() != null)
+ sb.append("PhoneNumberPoolCountries: ").append(getPhoneNumberPoolCountries()).append(",");
+ if (getFallBackPhoneNumber() != null)
+ sb.append("FallBackPhoneNumber: ").append("***Sensitive Data Redacted***").append(",");
+ if (getDisabled() != null)
+ sb.append("Disabled: ").append(getDisabled());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof PutVoiceConnectorProxyRequest == false)
+ return false;
+ PutVoiceConnectorProxyRequest other = (PutVoiceConnectorProxyRequest) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ if (other.getDefaultSessionExpiryMinutes() == null ^ this.getDefaultSessionExpiryMinutes() == null)
+ return false;
+ if (other.getDefaultSessionExpiryMinutes() != null && other.getDefaultSessionExpiryMinutes().equals(this.getDefaultSessionExpiryMinutes()) == false)
+ return false;
+ if (other.getPhoneNumberPoolCountries() == null ^ this.getPhoneNumberPoolCountries() == null)
+ return false;
+ if (other.getPhoneNumberPoolCountries() != null && other.getPhoneNumberPoolCountries().equals(this.getPhoneNumberPoolCountries()) == false)
+ return false;
+ if (other.getFallBackPhoneNumber() == null ^ this.getFallBackPhoneNumber() == null)
+ return false;
+ if (other.getFallBackPhoneNumber() != null && other.getFallBackPhoneNumber().equals(this.getFallBackPhoneNumber()) == false)
+ return false;
+ if (other.getDisabled() == null ^ this.getDisabled() == null)
+ return false;
+ if (other.getDisabled() != null && other.getDisabled().equals(this.getDisabled()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ hashCode = prime * hashCode + ((getDefaultSessionExpiryMinutes() == null) ? 0 : getDefaultSessionExpiryMinutes().hashCode());
+ hashCode = prime * hashCode + ((getPhoneNumberPoolCountries() == null) ? 0 : getPhoneNumberPoolCountries().hashCode());
+ hashCode = prime * hashCode + ((getFallBackPhoneNumber() == null) ? 0 : getFallBackPhoneNumber().hashCode());
+ hashCode = prime * hashCode + ((getDisabled() == null) ? 0 : getDisabled().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public PutVoiceConnectorProxyRequest clone() {
+ return (PutVoiceConnectorProxyRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/PutVoiceConnectorProxyResult.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/PutVoiceConnectorProxyResult.java
new file mode 100644
index 000000000000..678d5713e44d
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/PutVoiceConnectorProxyResult.java
@@ -0,0 +1,107 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class PutVoiceConnectorProxyResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ private Proxy proxy;
+
+ /**
+ * @param proxy
+ */
+
+ public void setProxy(Proxy proxy) {
+ this.proxy = proxy;
+ }
+
+ /**
+ * @return
+ */
+
+ public Proxy getProxy() {
+ return this.proxy;
+ }
+
+ /**
+ * @param proxy
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PutVoiceConnectorProxyResult withProxy(Proxy proxy) {
+ setProxy(proxy);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getProxy() != null)
+ sb.append("Proxy: ").append(getProxy());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof PutVoiceConnectorProxyResult == false)
+ return false;
+ PutVoiceConnectorProxyResult other = (PutVoiceConnectorProxyResult) obj;
+ if (other.getProxy() == null ^ this.getProxy() == null)
+ return false;
+ if (other.getProxy() != null && other.getProxy().equals(this.getProxy()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getProxy() == null) ? 0 : getProxy().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public PutVoiceConnectorProxyResult clone() {
+ try {
+ return (PutVoiceConnectorProxyResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/UpdateProxySessionRequest.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/UpdateProxySessionRequest.java
new file mode 100644
index 000000000000..c7b9488df784
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/UpdateProxySessionRequest.java
@@ -0,0 +1,259 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class UpdateProxySessionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private String voiceConnectorId;
+
+ private String proxySessionId;
+
+ private java.util.List capabilities;
+
+ private Integer expiryMinutes;
+
+ /**
+ * @param voiceConnectorId
+ */
+
+ public void setVoiceConnectorId(String voiceConnectorId) {
+ this.voiceConnectorId = voiceConnectorId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getVoiceConnectorId() {
+ return this.voiceConnectorId;
+ }
+
+ /**
+ * @param voiceConnectorId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public UpdateProxySessionRequest withVoiceConnectorId(String voiceConnectorId) {
+ setVoiceConnectorId(voiceConnectorId);
+ return this;
+ }
+
+ /**
+ * @param proxySessionId
+ */
+
+ public void setProxySessionId(String proxySessionId) {
+ this.proxySessionId = proxySessionId;
+ }
+
+ /**
+ * @return
+ */
+
+ public String getProxySessionId() {
+ return this.proxySessionId;
+ }
+
+ /**
+ * @param proxySessionId
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public UpdateProxySessionRequest withProxySessionId(String proxySessionId) {
+ setProxySessionId(proxySessionId);
+ return this;
+ }
+
+ /**
+ * @return
+ * @see Capability
+ */
+
+ public java.util.List getCapabilities() {
+ return capabilities;
+ }
+
+ /**
+ * @param capabilities
+ * @see Capability
+ */
+
+ public void setCapabilities(java.util.Collection capabilities) {
+ if (capabilities == null) {
+ this.capabilities = null;
+ return;
+ }
+
+ this.capabilities = new java.util.ArrayList(capabilities);
+ }
+
+ /**
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setCapabilities(java.util.Collection)} or {@link #withCapabilities(java.util.Collection)} if you want to
+ * override the existing values.
+ *
+ *
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public UpdateProxySessionRequest withCapabilities(String... capabilities) {
+ if (this.capabilities == null) {
+ setCapabilities(new java.util.ArrayList(capabilities.length));
+ }
+ for (String ele : capabilities) {
+ this.capabilities.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public UpdateProxySessionRequest withCapabilities(java.util.Collection capabilities) {
+ setCapabilities(capabilities);
+ return this;
+ }
+
+ /**
+ * @param capabilities
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Capability
+ */
+
+ public UpdateProxySessionRequest withCapabilities(Capability... capabilities) {
+ java.util.ArrayList capabilitiesCopy = new java.util.ArrayList(capabilities.length);
+ for (Capability value : capabilities) {
+ capabilitiesCopy.add(value.toString());
+ }
+ if (getCapabilities() == null) {
+ setCapabilities(capabilitiesCopy);
+ } else {
+ getCapabilities().addAll(capabilitiesCopy);
+ }
+ return this;
+ }
+
+ /**
+ * @param expiryMinutes
+ */
+
+ public void setExpiryMinutes(Integer expiryMinutes) {
+ this.expiryMinutes = expiryMinutes;
+ }
+
+ /**
+ * @return
+ */
+
+ public Integer getExpiryMinutes() {
+ return this.expiryMinutes;
+ }
+
+ /**
+ * @param expiryMinutes
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public UpdateProxySessionRequest withExpiryMinutes(Integer expiryMinutes) {
+ setExpiryMinutes(expiryMinutes);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getVoiceConnectorId() != null)
+ sb.append("VoiceConnectorId: ").append(getVoiceConnectorId()).append(",");
+ if (getProxySessionId() != null)
+ sb.append("ProxySessionId: ").append(getProxySessionId()).append(",");
+ if (getCapabilities() != null)
+ sb.append("Capabilities: ").append(getCapabilities()).append(",");
+ if (getExpiryMinutes() != null)
+ sb.append("ExpiryMinutes: ").append(getExpiryMinutes());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof UpdateProxySessionRequest == false)
+ return false;
+ UpdateProxySessionRequest other = (UpdateProxySessionRequest) obj;
+ if (other.getVoiceConnectorId() == null ^ this.getVoiceConnectorId() == null)
+ return false;
+ if (other.getVoiceConnectorId() != null && other.getVoiceConnectorId().equals(this.getVoiceConnectorId()) == false)
+ return false;
+ if (other.getProxySessionId() == null ^ this.getProxySessionId() == null)
+ return false;
+ if (other.getProxySessionId() != null && other.getProxySessionId().equals(this.getProxySessionId()) == false)
+ return false;
+ if (other.getCapabilities() == null ^ this.getCapabilities() == null)
+ return false;
+ if (other.getCapabilities() != null && other.getCapabilities().equals(this.getCapabilities()) == false)
+ return false;
+ if (other.getExpiryMinutes() == null ^ this.getExpiryMinutes() == null)
+ return false;
+ if (other.getExpiryMinutes() != null && other.getExpiryMinutes().equals(this.getExpiryMinutes()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getVoiceConnectorId() == null) ? 0 : getVoiceConnectorId().hashCode());
+ hashCode = prime * hashCode + ((getProxySessionId() == null) ? 0 : getProxySessionId().hashCode());
+ hashCode = prime * hashCode + ((getCapabilities() == null) ? 0 : getCapabilities().hashCode());
+ hashCode = prime * hashCode + ((getExpiryMinutes() == null) ? 0 : getExpiryMinutes().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public UpdateProxySessionRequest clone() {
+ return (UpdateProxySessionRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/UpdateProxySessionResult.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/UpdateProxySessionResult.java
new file mode 100644
index 000000000000..6b6e57193089
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/UpdateProxySessionResult.java
@@ -0,0 +1,107 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class UpdateProxySessionResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ private ProxySession proxySession;
+
+ /**
+ * @param proxySession
+ */
+
+ public void setProxySession(ProxySession proxySession) {
+ this.proxySession = proxySession;
+ }
+
+ /**
+ * @return
+ */
+
+ public ProxySession getProxySession() {
+ return this.proxySession;
+ }
+
+ /**
+ * @param proxySession
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public UpdateProxySessionResult withProxySession(ProxySession proxySession) {
+ setProxySession(proxySession);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getProxySession() != null)
+ sb.append("ProxySession: ").append(getProxySession());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof UpdateProxySessionResult == false)
+ return false;
+ UpdateProxySessionResult other = (UpdateProxySessionResult) obj;
+ if (other.getProxySession() == null ^ this.getProxySession() == null)
+ return false;
+ if (other.getProxySession() != null && other.getProxySession().equals(this.getProxySession()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getProxySession() == null) ? 0 : getProxySession().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public UpdateProxySessionResult clone() {
+ try {
+ return (UpdateProxySessionResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionRequestMarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionRequestMarshaller.java
new file mode 100644
index 000000000000..9fc3942566e3
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionRequestMarshaller.java
@@ -0,0 +1,77 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import java.util.List;
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.chime.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * CreateProxySessionRequestMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class CreateProxySessionRequestMarshaller {
+
+ private static final MarshallingInfo VOICECONNECTORID_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PATH).marshallLocationName("voiceConnectorId").build();
+ private static final MarshallingInfo PARTICIPANTPHONENUMBERS_BINDING = MarshallingInfo.builder(MarshallingType.LIST)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("ParticipantPhoneNumbers").build();
+ private static final MarshallingInfo NAME_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("Name").build();
+ private static final MarshallingInfo EXPIRYMINUTES_BINDING = MarshallingInfo.builder(MarshallingType.INTEGER)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("ExpiryMinutes").build();
+ private static final MarshallingInfo CAPABILITIES_BINDING = MarshallingInfo.builder(MarshallingType.LIST).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("Capabilities").build();
+ private static final MarshallingInfo NUMBERSELECTIONBEHAVIOR_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("NumberSelectionBehavior").build();
+ private static final MarshallingInfo GEOMATCHLEVEL_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("GeoMatchLevel").build();
+ private static final MarshallingInfo GEOMATCHPARAMS_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("GeoMatchParams").build();
+
+ private static final CreateProxySessionRequestMarshaller instance = new CreateProxySessionRequestMarshaller();
+
+ public static CreateProxySessionRequestMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(CreateProxySessionRequest createProxySessionRequest, ProtocolMarshaller protocolMarshaller) {
+
+ if (createProxySessionRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(createProxySessionRequest.getVoiceConnectorId(), VOICECONNECTORID_BINDING);
+ protocolMarshaller.marshall(createProxySessionRequest.getParticipantPhoneNumbers(), PARTICIPANTPHONENUMBERS_BINDING);
+ protocolMarshaller.marshall(createProxySessionRequest.getName(), NAME_BINDING);
+ protocolMarshaller.marshall(createProxySessionRequest.getExpiryMinutes(), EXPIRYMINUTES_BINDING);
+ protocolMarshaller.marshall(createProxySessionRequest.getCapabilities(), CAPABILITIES_BINDING);
+ protocolMarshaller.marshall(createProxySessionRequest.getNumberSelectionBehavior(), NUMBERSELECTIONBEHAVIOR_BINDING);
+ protocolMarshaller.marshall(createProxySessionRequest.getGeoMatchLevel(), GEOMATCHLEVEL_BINDING);
+ protocolMarshaller.marshall(createProxySessionRequest.getGeoMatchParams(), GEOMATCHPARAMS_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionRequestProtocolMarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionRequestProtocolMarshaller.java
new file mode 100644
index 000000000000..de6395adf5d5
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionRequestProtocolMarshaller.java
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.Request;
+
+import com.amazonaws.http.HttpMethodName;
+import com.amazonaws.services.chime.model.*;
+import com.amazonaws.transform.Marshaller;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.protocol.Protocol;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * CreateProxySessionRequest Marshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class CreateProxySessionRequestProtocolMarshaller implements Marshaller, CreateProxySessionRequest> {
+
+ private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.REST_JSON)
+ .requestUri("/voice-connectors/{voiceConnectorId}/proxy-sessions").httpMethodName(HttpMethodName.POST).hasExplicitPayloadMember(false)
+ .hasPayloadMembers(true).serviceName("AmazonChime").build();
+
+ private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
+
+ public CreateProxySessionRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
+ this.protocolFactory = protocolFactory;
+ }
+
+ public Request marshall(CreateProxySessionRequest createProxySessionRequest) {
+
+ if (createProxySessionRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ final ProtocolRequestMarshaller protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING,
+ createProxySessionRequest);
+
+ protocolMarshaller.startMarshalling();
+ CreateProxySessionRequestMarshaller.getInstance().marshall(createProxySessionRequest, protocolMarshaller);
+ return protocolMarshaller.finishMarshalling();
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionResultJsonUnmarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionResultJsonUnmarshaller.java
new file mode 100644
index 000000000000..f7170613113a
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/CreateProxySessionResultJsonUnmarshaller.java
@@ -0,0 +1,74 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.chime.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * CreateProxySessionResult JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreateProxySessionResultJsonUnmarshaller implements Unmarshaller {
+
+ public CreateProxySessionResult unmarshall(JsonUnmarshallerContext context) throws Exception {
+ CreateProxySessionResult createProxySessionResult = new CreateProxySessionResult();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return createProxySessionResult;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("ProxySession", targetDepth)) {
+ context.nextToken();
+ createProxySessionResult.setProxySession(ProxySessionJsonUnmarshaller.getInstance().unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return createProxySessionResult;
+ }
+
+ private static CreateProxySessionResultJsonUnmarshaller instance;
+
+ public static CreateProxySessionResultJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new CreateProxySessionResultJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionRequestMarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionRequestMarshaller.java
new file mode 100644
index 000000000000..4702a0ef966c
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionRequestMarshaller.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.chime.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * DeleteProxySessionRequestMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class DeleteProxySessionRequestMarshaller {
+
+ private static final MarshallingInfo VOICECONNECTORID_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PATH).marshallLocationName("voiceConnectorId").build();
+ private static final MarshallingInfo PROXYSESSIONID_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PATH).marshallLocationName("proxySessionId").build();
+
+ private static final DeleteProxySessionRequestMarshaller instance = new DeleteProxySessionRequestMarshaller();
+
+ public static DeleteProxySessionRequestMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(DeleteProxySessionRequest deleteProxySessionRequest, ProtocolMarshaller protocolMarshaller) {
+
+ if (deleteProxySessionRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(deleteProxySessionRequest.getVoiceConnectorId(), VOICECONNECTORID_BINDING);
+ protocolMarshaller.marshall(deleteProxySessionRequest.getProxySessionId(), PROXYSESSIONID_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionRequestProtocolMarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionRequestProtocolMarshaller.java
new file mode 100644
index 000000000000..e278d950b3ac
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionRequestProtocolMarshaller.java
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.Request;
+
+import com.amazonaws.http.HttpMethodName;
+import com.amazonaws.services.chime.model.*;
+import com.amazonaws.transform.Marshaller;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.protocol.Protocol;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * DeleteProxySessionRequest Marshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class DeleteProxySessionRequestProtocolMarshaller implements Marshaller, DeleteProxySessionRequest> {
+
+ private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.REST_JSON)
+ .requestUri("/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}").httpMethodName(HttpMethodName.DELETE)
+ .hasExplicitPayloadMember(false).hasPayloadMembers(false).serviceName("AmazonChime").build();
+
+ private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
+
+ public DeleteProxySessionRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
+ this.protocolFactory = protocolFactory;
+ }
+
+ public Request marshall(DeleteProxySessionRequest deleteProxySessionRequest) {
+
+ if (deleteProxySessionRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ final ProtocolRequestMarshaller protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING,
+ deleteProxySessionRequest);
+
+ protocolMarshaller.startMarshalling();
+ DeleteProxySessionRequestMarshaller.getInstance().marshall(deleteProxySessionRequest, protocolMarshaller);
+ return protocolMarshaller.finishMarshalling();
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionResultJsonUnmarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionResultJsonUnmarshaller.java
new file mode 100644
index 000000000000..1119453112f4
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteProxySessionResultJsonUnmarshaller.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.chime.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * DeleteProxySessionResult JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeleteProxySessionResultJsonUnmarshaller implements Unmarshaller {
+
+ public DeleteProxySessionResult unmarshall(JsonUnmarshallerContext context) throws Exception {
+ DeleteProxySessionResult deleteProxySessionResult = new DeleteProxySessionResult();
+
+ return deleteProxySessionResult;
+ }
+
+ private static DeleteProxySessionResultJsonUnmarshaller instance;
+
+ public static DeleteProxySessionResultJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new DeleteProxySessionResultJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyRequestMarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyRequestMarshaller.java
new file mode 100644
index 000000000000..bb3ebd3d7bd1
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyRequestMarshaller.java
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.chime.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * DeleteVoiceConnectorProxyRequestMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class DeleteVoiceConnectorProxyRequestMarshaller {
+
+ private static final MarshallingInfo VOICECONNECTORID_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PATH).marshallLocationName("voiceConnectorId").build();
+
+ private static final DeleteVoiceConnectorProxyRequestMarshaller instance = new DeleteVoiceConnectorProxyRequestMarshaller();
+
+ public static DeleteVoiceConnectorProxyRequestMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(DeleteVoiceConnectorProxyRequest deleteVoiceConnectorProxyRequest, ProtocolMarshaller protocolMarshaller) {
+
+ if (deleteVoiceConnectorProxyRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(deleteVoiceConnectorProxyRequest.getVoiceConnectorId(), VOICECONNECTORID_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyRequestProtocolMarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyRequestProtocolMarshaller.java
new file mode 100644
index 000000000000..54ea58b2ef00
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyRequestProtocolMarshaller.java
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.Request;
+
+import com.amazonaws.http.HttpMethodName;
+import com.amazonaws.services.chime.model.*;
+import com.amazonaws.transform.Marshaller;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.protocol.Protocol;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * DeleteVoiceConnectorProxyRequest Marshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class DeleteVoiceConnectorProxyRequestProtocolMarshaller implements
+ Marshaller, DeleteVoiceConnectorProxyRequest> {
+
+ private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.REST_JSON)
+ .requestUri("/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy").httpMethodName(HttpMethodName.DELETE)
+ .hasExplicitPayloadMember(false).hasPayloadMembers(false).serviceName("AmazonChime").build();
+
+ private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
+
+ public DeleteVoiceConnectorProxyRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
+ this.protocolFactory = protocolFactory;
+ }
+
+ public Request marshall(DeleteVoiceConnectorProxyRequest deleteVoiceConnectorProxyRequest) {
+
+ if (deleteVoiceConnectorProxyRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ final ProtocolRequestMarshaller protocolMarshaller = protocolFactory.createProtocolMarshaller(
+ SDK_OPERATION_BINDING, deleteVoiceConnectorProxyRequest);
+
+ protocolMarshaller.startMarshalling();
+ DeleteVoiceConnectorProxyRequestMarshaller.getInstance().marshall(deleteVoiceConnectorProxyRequest, protocolMarshaller);
+ return protocolMarshaller.finishMarshalling();
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyResultJsonUnmarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyResultJsonUnmarshaller.java
new file mode 100644
index 000000000000..d79f121da623
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/DeleteVoiceConnectorProxyResultJsonUnmarshaller.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.chime.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * DeleteVoiceConnectorProxyResult JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeleteVoiceConnectorProxyResultJsonUnmarshaller implements Unmarshaller {
+
+ public DeleteVoiceConnectorProxyResult unmarshall(JsonUnmarshallerContext context) throws Exception {
+ DeleteVoiceConnectorProxyResult deleteVoiceConnectorProxyResult = new DeleteVoiceConnectorProxyResult();
+
+ return deleteVoiceConnectorProxyResult;
+ }
+
+ private static DeleteVoiceConnectorProxyResultJsonUnmarshaller instance;
+
+ public static DeleteVoiceConnectorProxyResultJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new DeleteVoiceConnectorProxyResultJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GeoMatchParamsJsonUnmarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GeoMatchParamsJsonUnmarshaller.java
new file mode 100644
index 000000000000..a350cc37f94d
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GeoMatchParamsJsonUnmarshaller.java
@@ -0,0 +1,78 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.chime.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * GeoMatchParams JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class GeoMatchParamsJsonUnmarshaller implements Unmarshaller {
+
+ public GeoMatchParams unmarshall(JsonUnmarshallerContext context) throws Exception {
+ GeoMatchParams geoMatchParams = new GeoMatchParams();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return null;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("Country", targetDepth)) {
+ context.nextToken();
+ geoMatchParams.setCountry(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("AreaCode", targetDepth)) {
+ context.nextToken();
+ geoMatchParams.setAreaCode(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return geoMatchParams;
+ }
+
+ private static GeoMatchParamsJsonUnmarshaller instance;
+
+ public static GeoMatchParamsJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new GeoMatchParamsJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GeoMatchParamsMarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GeoMatchParamsMarshaller.java
new file mode 100644
index 000000000000..5f012930ec79
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GeoMatchParamsMarshaller.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.chime.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * GeoMatchParamsMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class GeoMatchParamsMarshaller {
+
+ private static final MarshallingInfo COUNTRY_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("Country").build();
+ private static final MarshallingInfo AREACODE_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("AreaCode").build();
+
+ private static final GeoMatchParamsMarshaller instance = new GeoMatchParamsMarshaller();
+
+ public static GeoMatchParamsMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(GeoMatchParams geoMatchParams, ProtocolMarshaller protocolMarshaller) {
+
+ if (geoMatchParams == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(geoMatchParams.getCountry(), COUNTRY_BINDING);
+ protocolMarshaller.marshall(geoMatchParams.getAreaCode(), AREACODE_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GetProxySessionRequestMarshaller.java b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GetProxySessionRequestMarshaller.java
new file mode 100644
index 000000000000..bdbc25eab3ce
--- /dev/null
+++ b/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GetProxySessionRequestMarshaller.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.chime.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.chime.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * GetProxySessionRequestMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class GetProxySessionRequestMarshaller {
+
+ private static final MarshallingInfo VOICECONNECTORID_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PATH).marshallLocationName("voiceConnectorId").build();
+ private static final MarshallingInfo