All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.sms.SmsClient Maven / Gradle / Ivy

/*
 * Copyright 2014-2019 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 software.amazon.awssdk.services.sms;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.sms.model.CreateAppRequest;
import software.amazon.awssdk.services.sms.model.CreateAppResponse;
import software.amazon.awssdk.services.sms.model.CreateReplicationJobRequest;
import software.amazon.awssdk.services.sms.model.CreateReplicationJobResponse;
import software.amazon.awssdk.services.sms.model.DeleteAppLaunchConfigurationRequest;
import software.amazon.awssdk.services.sms.model.DeleteAppLaunchConfigurationResponse;
import software.amazon.awssdk.services.sms.model.DeleteAppReplicationConfigurationRequest;
import software.amazon.awssdk.services.sms.model.DeleteAppReplicationConfigurationResponse;
import software.amazon.awssdk.services.sms.model.DeleteAppRequest;
import software.amazon.awssdk.services.sms.model.DeleteAppResponse;
import software.amazon.awssdk.services.sms.model.DeleteReplicationJobRequest;
import software.amazon.awssdk.services.sms.model.DeleteReplicationJobResponse;
import software.amazon.awssdk.services.sms.model.DeleteServerCatalogRequest;
import software.amazon.awssdk.services.sms.model.DeleteServerCatalogResponse;
import software.amazon.awssdk.services.sms.model.DisassociateConnectorRequest;
import software.amazon.awssdk.services.sms.model.DisassociateConnectorResponse;
import software.amazon.awssdk.services.sms.model.GenerateChangeSetRequest;
import software.amazon.awssdk.services.sms.model.GenerateChangeSetResponse;
import software.amazon.awssdk.services.sms.model.GenerateTemplateRequest;
import software.amazon.awssdk.services.sms.model.GenerateTemplateResponse;
import software.amazon.awssdk.services.sms.model.GetAppLaunchConfigurationRequest;
import software.amazon.awssdk.services.sms.model.GetAppLaunchConfigurationResponse;
import software.amazon.awssdk.services.sms.model.GetAppReplicationConfigurationRequest;
import software.amazon.awssdk.services.sms.model.GetAppReplicationConfigurationResponse;
import software.amazon.awssdk.services.sms.model.GetAppRequest;
import software.amazon.awssdk.services.sms.model.GetAppResponse;
import software.amazon.awssdk.services.sms.model.GetConnectorsRequest;
import software.amazon.awssdk.services.sms.model.GetConnectorsResponse;
import software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest;
import software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse;
import software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest;
import software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse;
import software.amazon.awssdk.services.sms.model.GetServersRequest;
import software.amazon.awssdk.services.sms.model.GetServersResponse;
import software.amazon.awssdk.services.sms.model.ImportServerCatalogRequest;
import software.amazon.awssdk.services.sms.model.ImportServerCatalogResponse;
import software.amazon.awssdk.services.sms.model.InternalErrorException;
import software.amazon.awssdk.services.sms.model.InvalidParameterException;
import software.amazon.awssdk.services.sms.model.LaunchAppRequest;
import software.amazon.awssdk.services.sms.model.LaunchAppResponse;
import software.amazon.awssdk.services.sms.model.ListAppsRequest;
import software.amazon.awssdk.services.sms.model.ListAppsResponse;
import software.amazon.awssdk.services.sms.model.MissingRequiredParameterException;
import software.amazon.awssdk.services.sms.model.NoConnectorsAvailableException;
import software.amazon.awssdk.services.sms.model.OperationNotPermittedException;
import software.amazon.awssdk.services.sms.model.PutAppLaunchConfigurationRequest;
import software.amazon.awssdk.services.sms.model.PutAppLaunchConfigurationResponse;
import software.amazon.awssdk.services.sms.model.PutAppReplicationConfigurationRequest;
import software.amazon.awssdk.services.sms.model.PutAppReplicationConfigurationResponse;
import software.amazon.awssdk.services.sms.model.ReplicationJobAlreadyExistsException;
import software.amazon.awssdk.services.sms.model.ReplicationJobNotFoundException;
import software.amazon.awssdk.services.sms.model.ReplicationRunLimitExceededException;
import software.amazon.awssdk.services.sms.model.ServerCannotBeReplicatedException;
import software.amazon.awssdk.services.sms.model.SmsException;
import software.amazon.awssdk.services.sms.model.StartAppReplicationRequest;
import software.amazon.awssdk.services.sms.model.StartAppReplicationResponse;
import software.amazon.awssdk.services.sms.model.StartOnDemandReplicationRunRequest;
import software.amazon.awssdk.services.sms.model.StartOnDemandReplicationRunResponse;
import software.amazon.awssdk.services.sms.model.StopAppReplicationRequest;
import software.amazon.awssdk.services.sms.model.StopAppReplicationResponse;
import software.amazon.awssdk.services.sms.model.TemporarilyUnavailableException;
import software.amazon.awssdk.services.sms.model.TerminateAppRequest;
import software.amazon.awssdk.services.sms.model.TerminateAppResponse;
import software.amazon.awssdk.services.sms.model.UnauthorizedOperationException;
import software.amazon.awssdk.services.sms.model.UpdateAppRequest;
import software.amazon.awssdk.services.sms.model.UpdateAppResponse;
import software.amazon.awssdk.services.sms.model.UpdateReplicationJobRequest;
import software.amazon.awssdk.services.sms.model.UpdateReplicationJobResponse;
import software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable;
import software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable;
import software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable;
import software.amazon.awssdk.services.sms.paginators.GetServersIterable;

/**
 * Service client for accessing SMS. This can be created using the static {@link #builder()} method.
 *
 * AAWS Sever Migration Service
 * 

* This is the AWS Sever Migration Service API Reference. It provides descriptions, syntax, and usage examples * for each of the actions and data types for the AWS Sever Migration Service (AWS SMS). The topic for each action shows * the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL. *

*

* Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or * platform that you're using. For more information, see AWS SDKs. *

*

* To learn more about the Server Migration Service, see the following resources: *

* */ @Generated("software.amazon.awssdk:codegen") public interface SmsClient extends SdkClient { String SERVICE_NAME = "sms"; /** * Create a {@link SmsClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static SmsClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link SmsClient}. */ static SmsClientBuilder builder() { return new DefaultSmsClientBuilder(); } /** *

* Creates an application. An application consists of one or more server groups. Each server group contain one or * more servers. *

* * @param createAppRequest * @return Result of the CreateApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.CreateApp * @see AWS API * Documentation */ default CreateAppResponse createApp(CreateAppRequest createAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Creates an application. An application consists of one or more server groups. Each server group contain one or * more servers. *

*
*

* This is a convenience which creates an instance of the {@link CreateAppRequest.Builder} avoiding the need to * create one manually via {@link CreateAppRequest#builder()} *

* * @param createAppRequest * A {@link Consumer} that will call methods on {@link CreateAppRequest.Builder} to create a request. * @return Result of the CreateApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.CreateApp * @see AWS API * Documentation */ default CreateAppResponse createApp(Consumer createAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return createApp(CreateAppRequest.builder().applyMutation(createAppRequest).build()); } /** *

* Creates a replication job. The replication job schedules periodic replication runs to replicate your server to * AWS. Each replication run creates an Amazon Machine Image (AMI). *

* * @param createReplicationJobRequest * @return Result of the CreateReplicationJob operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws ServerCannotBeReplicatedException * The specified server cannot be replicated. * @throws ReplicationJobAlreadyExistsException * The specified replication job already exists. * @throws NoConnectorsAvailableException * There are no connectors available. * @throws InternalErrorException * An internal error occurred. * @throws TemporarilyUnavailableException * The service is temporarily unavailable. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.CreateReplicationJob * @see AWS API * Documentation */ default CreateReplicationJobResponse createReplicationJob(CreateReplicationJobRequest createReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ServerCannotBeReplicatedException, ReplicationJobAlreadyExistsException, NoConnectorsAvailableException, InternalErrorException, TemporarilyUnavailableException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Creates a replication job. The replication job schedules periodic replication runs to replicate your server to * AWS. Each replication run creates an Amazon Machine Image (AMI). *

*
*

* This is a convenience which creates an instance of the {@link CreateReplicationJobRequest.Builder} avoiding the * need to create one manually via {@link CreateReplicationJobRequest#builder()} *

* * @param createReplicationJobRequest * A {@link Consumer} that will call methods on {@link CreateReplicationJobRequest.Builder} to create a * request. * @return Result of the CreateReplicationJob operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws ServerCannotBeReplicatedException * The specified server cannot be replicated. * @throws ReplicationJobAlreadyExistsException * The specified replication job already exists. * @throws NoConnectorsAvailableException * There are no connectors available. * @throws InternalErrorException * An internal error occurred. * @throws TemporarilyUnavailableException * The service is temporarily unavailable. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.CreateReplicationJob * @see AWS API * Documentation */ default CreateReplicationJobResponse createReplicationJob( Consumer createReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ServerCannotBeReplicatedException, ReplicationJobAlreadyExistsException, NoConnectorsAvailableException, InternalErrorException, TemporarilyUnavailableException, AwsServiceException, SdkClientException, SmsException { return createReplicationJob(CreateReplicationJobRequest.builder().applyMutation(createReplicationJobRequest).build()); } /** *

* Deletes an existing application. Optionally deletes the launched stack associated with the application and all * AWS SMS replication jobs for servers in the application. *

* * @param deleteAppRequest * @return Result of the DeleteApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteApp * @see AWS API * Documentation */ default DeleteAppResponse deleteApp(DeleteAppRequest deleteAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Deletes an existing application. Optionally deletes the launched stack associated with the application and all * AWS SMS replication jobs for servers in the application. *

*
*

* This is a convenience which creates an instance of the {@link DeleteAppRequest.Builder} avoiding the need to * create one manually via {@link DeleteAppRequest#builder()} *

* * @param deleteAppRequest * A {@link Consumer} that will call methods on {@link DeleteAppRequest.Builder} to create a request. * @return Result of the DeleteApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteApp * @see AWS API * Documentation */ default DeleteAppResponse deleteApp(Consumer deleteAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return deleteApp(DeleteAppRequest.builder().applyMutation(deleteAppRequest).build()); } /** *

* Deletes existing launch configuration for an application. *

* * @param deleteAppLaunchConfigurationRequest * @return Result of the DeleteAppLaunchConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteAppLaunchConfiguration * @see AWS API Documentation */ default DeleteAppLaunchConfigurationResponse deleteAppLaunchConfiguration( DeleteAppLaunchConfigurationRequest deleteAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Deletes existing launch configuration for an application. *

*
*

* This is a convenience which creates an instance of the {@link DeleteAppLaunchConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DeleteAppLaunchConfigurationRequest#builder()} *

* * @param deleteAppLaunchConfigurationRequest * A {@link Consumer} that will call methods on {@link DeleteAppLaunchConfigurationRequest.Builder} to create * a request. * @return Result of the DeleteAppLaunchConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteAppLaunchConfiguration * @see AWS API Documentation */ default DeleteAppLaunchConfigurationResponse deleteAppLaunchConfiguration( Consumer deleteAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest.builder() .applyMutation(deleteAppLaunchConfigurationRequest).build()); } /** *

* Deletes existing replication configuration for an application. *

* * @param deleteAppReplicationConfigurationRequest * @return Result of the DeleteAppReplicationConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteAppReplicationConfiguration * @see AWS API Documentation */ default DeleteAppReplicationConfigurationResponse deleteAppReplicationConfiguration( DeleteAppReplicationConfigurationRequest deleteAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Deletes existing replication configuration for an application. *

*
*

* This is a convenience which creates an instance of the {@link DeleteAppReplicationConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DeleteAppReplicationConfigurationRequest#builder()} *

* * @param deleteAppReplicationConfigurationRequest * A {@link Consumer} that will call methods on {@link DeleteAppReplicationConfigurationRequest.Builder} to * create a request. * @return Result of the DeleteAppReplicationConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteAppReplicationConfiguration * @see AWS API Documentation */ default DeleteAppReplicationConfigurationResponse deleteAppReplicationConfiguration( Consumer deleteAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest.builder() .applyMutation(deleteAppReplicationConfigurationRequest).build()); } /** *

* Deletes the specified replication job. *

*

* After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon * S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted. *

* * @param deleteReplicationJobRequest * @return Result of the DeleteReplicationJob operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws ReplicationJobNotFoundException * The specified replication job does not exist. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteReplicationJob * @see AWS API * Documentation */ default DeleteReplicationJobResponse deleteReplicationJob(DeleteReplicationJobRequest deleteReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationJobNotFoundException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Deletes the specified replication job. *

*

* After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon * S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted. *

*
*

* This is a convenience which creates an instance of the {@link DeleteReplicationJobRequest.Builder} avoiding the * need to create one manually via {@link DeleteReplicationJobRequest#builder()} *

* * @param deleteReplicationJobRequest * A {@link Consumer} that will call methods on {@link DeleteReplicationJobRequest.Builder} to create a * request. * @return Result of the DeleteReplicationJob operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws ReplicationJobNotFoundException * The specified replication job does not exist. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteReplicationJob * @see AWS API * Documentation */ default DeleteReplicationJobResponse deleteReplicationJob( Consumer deleteReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationJobNotFoundException, AwsServiceException, SdkClientException, SmsException { return deleteReplicationJob(DeleteReplicationJobRequest.builder().applyMutation(deleteReplicationJobRequest).build()); } /** *

* Deletes all servers from your server catalog. *

* * @return Result of the DeleteServerCatalog operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteServerCatalog * @see #deleteServerCatalog(DeleteServerCatalogRequest) * @see AWS API * Documentation */ default DeleteServerCatalogResponse deleteServerCatalog() throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsException { return deleteServerCatalog(DeleteServerCatalogRequest.builder().build()); } /** *

* Deletes all servers from your server catalog. *

* * @param deleteServerCatalogRequest * @return Result of the DeleteServerCatalog operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteServerCatalog * @see AWS API * Documentation */ default DeleteServerCatalogResponse deleteServerCatalog(DeleteServerCatalogRequest deleteServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Deletes all servers from your server catalog. *

*
*

* This is a convenience which creates an instance of the {@link DeleteServerCatalogRequest.Builder} avoiding the * need to create one manually via {@link DeleteServerCatalogRequest#builder()} *

* * @param deleteServerCatalogRequest * A {@link Consumer} that will call methods on {@link DeleteServerCatalogRequest.Builder} to create a * request. * @return Result of the DeleteServerCatalog operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DeleteServerCatalog * @see AWS API * Documentation */ default DeleteServerCatalogResponse deleteServerCatalog( Consumer deleteServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsException { return deleteServerCatalog(DeleteServerCatalogRequest.builder().applyMutation(deleteServerCatalogRequest).build()); } /** *

* Disassociates the specified connector from AWS SMS. *

*

* After you disassociate a connector, it is no longer available to support replication jobs. *

* * @param disassociateConnectorRequest * @return Result of the DisassociateConnector operation returned by the service. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws InvalidParameterException * A specified parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DisassociateConnector * @see AWS API * Documentation */ default DisassociateConnectorResponse disassociateConnector(DisassociateConnectorRequest disassociateConnectorRequest) throws MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Disassociates the specified connector from AWS SMS. *

*

* After you disassociate a connector, it is no longer available to support replication jobs. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateConnectorRequest.Builder} avoiding the * need to create one manually via {@link DisassociateConnectorRequest#builder()} *

* * @param disassociateConnectorRequest * A {@link Consumer} that will call methods on {@link DisassociateConnectorRequest.Builder} to create a * request. * @return Result of the DisassociateConnector operation returned by the service. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws InvalidParameterException * A specified parameter is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.DisassociateConnector * @see AWS API * Documentation */ default DisassociateConnectorResponse disassociateConnector( Consumer disassociateConnectorRequest) throws MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, AwsServiceException, SdkClientException, SmsException { return disassociateConnector(DisassociateConnectorRequest.builder().applyMutation(disassociateConnectorRequest).build()); } /** *

* Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the * customer’s Amazon S3 bucket. *

* * @param generateChangeSetRequest * @return Result of the GenerateChangeSet operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GenerateChangeSet * @see AWS API * Documentation */ default GenerateChangeSetResponse generateChangeSet(GenerateChangeSetRequest generateChangeSetRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the * customer’s Amazon S3 bucket. *

*
*

* This is a convenience which creates an instance of the {@link GenerateChangeSetRequest.Builder} avoiding the need * to create one manually via {@link GenerateChangeSetRequest#builder()} *

* * @param generateChangeSetRequest * A {@link Consumer} that will call methods on {@link GenerateChangeSetRequest.Builder} to create a request. * @return Result of the GenerateChangeSet operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GenerateChangeSet * @see AWS API * Documentation */ default GenerateChangeSetResponse generateChangeSet(Consumer generateChangeSetRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return generateChangeSet(GenerateChangeSetRequest.builder().applyMutation(generateChangeSetRequest).build()); } /** *

* Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon * S3 object in the customer’s Amazon S3 bucket. *

* * @param generateTemplateRequest * @return Result of the GenerateTemplate operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GenerateTemplate * @see AWS API * Documentation */ default GenerateTemplateResponse generateTemplate(GenerateTemplateRequest generateTemplateRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon * S3 object in the customer’s Amazon S3 bucket. *

*
*

* This is a convenience which creates an instance of the {@link GenerateTemplateRequest.Builder} avoiding the need * to create one manually via {@link GenerateTemplateRequest#builder()} *

* * @param generateTemplateRequest * A {@link Consumer} that will call methods on {@link GenerateTemplateRequest.Builder} to create a request. * @return Result of the GenerateTemplate operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GenerateTemplate * @see AWS API * Documentation */ default GenerateTemplateResponse generateTemplate(Consumer generateTemplateRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return generateTemplate(GenerateTemplateRequest.builder().applyMutation(generateTemplateRequest).build()); } /** *

* Retrieve information about an application. *

* * @return Result of the GetApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetApp * @see #getApp(GetAppRequest) * @see AWS API * Documentation */ default GetAppResponse getApp() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return getApp(GetAppRequest.builder().build()); } /** *

* Retrieve information about an application. *

* * @param getAppRequest * @return Result of the GetApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetApp * @see AWS API * Documentation */ default GetAppResponse getApp(GetAppRequest getAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Retrieve information about an application. *

*
*

* This is a convenience which creates an instance of the {@link GetAppRequest.Builder} avoiding the need to create * one manually via {@link GetAppRequest#builder()} *

* * @param getAppRequest * A {@link Consumer} that will call methods on {@link GetAppRequest.Builder} to create a request. * @return Result of the GetApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetApp * @see AWS API * Documentation */ default GetAppResponse getApp(Consumer getAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return getApp(GetAppRequest.builder().applyMutation(getAppRequest).build()); } /** *

* Retrieves the application launch configuration associated with an application. *

* * @return Result of the GetAppLaunchConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetAppLaunchConfiguration * @see #getAppLaunchConfiguration(GetAppLaunchConfigurationRequest) * @see AWS * API Documentation */ default GetAppLaunchConfigurationResponse getAppLaunchConfiguration() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return getAppLaunchConfiguration(GetAppLaunchConfigurationRequest.builder().build()); } /** *

* Retrieves the application launch configuration associated with an application. *

* * @param getAppLaunchConfigurationRequest * @return Result of the GetAppLaunchConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetAppLaunchConfiguration * @see AWS * API Documentation */ default GetAppLaunchConfigurationResponse getAppLaunchConfiguration( GetAppLaunchConfigurationRequest getAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Retrieves the application launch configuration associated with an application. *

*
*

* This is a convenience which creates an instance of the {@link GetAppLaunchConfigurationRequest.Builder} avoiding * the need to create one manually via {@link GetAppLaunchConfigurationRequest#builder()} *

* * @param getAppLaunchConfigurationRequest * A {@link Consumer} that will call methods on {@link GetAppLaunchConfigurationRequest.Builder} to create a * request. * @return Result of the GetAppLaunchConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetAppLaunchConfiguration * @see AWS * API Documentation */ default GetAppLaunchConfigurationResponse getAppLaunchConfiguration( Consumer getAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return getAppLaunchConfiguration(GetAppLaunchConfigurationRequest.builder() .applyMutation(getAppLaunchConfigurationRequest).build()); } /** *

* Retrieves an application replication configuration associatd with an application. *

* * @return Result of the GetAppReplicationConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetAppReplicationConfiguration * @see #getAppReplicationConfiguration(GetAppReplicationConfigurationRequest) * @see AWS API Documentation */ default GetAppReplicationConfigurationResponse getAppReplicationConfiguration() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return getAppReplicationConfiguration(GetAppReplicationConfigurationRequest.builder().build()); } /** *

* Retrieves an application replication configuration associatd with an application. *

* * @param getAppReplicationConfigurationRequest * @return Result of the GetAppReplicationConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetAppReplicationConfiguration * @see AWS API Documentation */ default GetAppReplicationConfigurationResponse getAppReplicationConfiguration( GetAppReplicationConfigurationRequest getAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Retrieves an application replication configuration associatd with an application. *

*
*

* This is a convenience which creates an instance of the {@link GetAppReplicationConfigurationRequest.Builder} * avoiding the need to create one manually via {@link GetAppReplicationConfigurationRequest#builder()} *

* * @param getAppReplicationConfigurationRequest * A {@link Consumer} that will call methods on {@link GetAppReplicationConfigurationRequest.Builder} to * create a request. * @return Result of the GetAppReplicationConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetAppReplicationConfiguration * @see AWS API Documentation */ default GetAppReplicationConfigurationResponse getAppReplicationConfiguration( Consumer getAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return getAppReplicationConfiguration(GetAppReplicationConfigurationRequest.builder() .applyMutation(getAppReplicationConfigurationRequest).build()); } /** *

* Describes the connectors registered with the AWS SMS. *

* * @return Result of the GetConnectors operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetConnectors * @see #getConnectors(GetConnectorsRequest) * @see AWS API * Documentation */ default GetConnectorsResponse getConnectors() throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getConnectors(GetConnectorsRequest.builder().build()); } /** *

* Describes the connectors registered with the AWS SMS. *

* * @param getConnectorsRequest * @return Result of the GetConnectors operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetConnectors * @see AWS API * Documentation */ default GetConnectorsResponse getConnectors(GetConnectorsRequest getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Describes the connectors registered with the AWS SMS. *

*
*

* This is a convenience which creates an instance of the {@link GetConnectorsRequest.Builder} avoiding the need to * create one manually via {@link GetConnectorsRequest#builder()} *

* * @param getConnectorsRequest * A {@link Consumer} that will call methods on {@link GetConnectorsRequest.Builder} to create a request. * @return Result of the GetConnectors operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetConnectors * @see AWS API * Documentation */ default GetConnectorsResponse getConnectors(Consumer getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getConnectors(GetConnectorsRequest.builder().applyMutation(getConnectorsRequest).build()); } /** *

* Describes the connectors registered with the AWS SMS. *

*
*

* This is a variant of {@link #getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetConnectorsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)} operation. *

* * @return A custom iterable that can be used to iterate through all the response pages. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetConnectors * @see #getConnectorsPaginator(GetConnectorsRequest) * @see AWS API * Documentation */ default GetConnectorsIterable getConnectorsPaginator() throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getConnectorsPaginator(GetConnectorsRequest.builder().build()); } /** *

* Describes the connectors registered with the AWS SMS. *

*
*

* This is a variant of {@link #getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetConnectorsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)} operation. *

* * @param getConnectorsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetConnectors * @see AWS API * Documentation */ default GetConnectorsIterable getConnectorsPaginator(GetConnectorsRequest getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Describes the connectors registered with the AWS SMS. *

*
*

* This is a variant of {@link #getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetConnectorsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link GetConnectorsRequest.Builder} avoiding the need to * create one manually via {@link GetConnectorsRequest#builder()} *

* * @param getConnectorsRequest * A {@link Consumer} that will call methods on {@link GetConnectorsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetConnectors * @see AWS API * Documentation */ default GetConnectorsIterable getConnectorsPaginator(Consumer getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getConnectorsPaginator(GetConnectorsRequest.builder().applyMutation(getConnectorsRequest).build()); } /** *

* Describes the specified replication job or all of your replication jobs. *

* * @return Result of the GetReplicationJobs operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationJobs * @see #getReplicationJobs(GetReplicationJobsRequest) * @see AWS API * Documentation */ default GetReplicationJobsResponse getReplicationJobs() throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getReplicationJobs(GetReplicationJobsRequest.builder().build()); } /** *

* Describes the specified replication job or all of your replication jobs. *

* * @param getReplicationJobsRequest * @return Result of the GetReplicationJobs operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationJobs * @see AWS API * Documentation */ default GetReplicationJobsResponse getReplicationJobs(GetReplicationJobsRequest getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Describes the specified replication job or all of your replication jobs. *

*
*

* This is a convenience which creates an instance of the {@link GetReplicationJobsRequest.Builder} avoiding the * need to create one manually via {@link GetReplicationJobsRequest#builder()} *

* * @param getReplicationJobsRequest * A {@link Consumer} that will call methods on {@link GetReplicationJobsRequest.Builder} to create a * request. * @return Result of the GetReplicationJobs operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationJobs * @see AWS API * Documentation */ default GetReplicationJobsResponse getReplicationJobs(Consumer getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getReplicationJobs(GetReplicationJobsRequest.builder().applyMutation(getReplicationJobsRequest).build()); } /** *

* Describes the specified replication job or all of your replication jobs. *

*
*

* This is a variant of * {@link #getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client
     *             .getReplicationJobsPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)} operation. *

* * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationJobs * @see #getReplicationJobsPaginator(GetReplicationJobsRequest) * @see AWS API * Documentation */ default GetReplicationJobsIterable getReplicationJobsPaginator() throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getReplicationJobsPaginator(GetReplicationJobsRequest.builder().build()); } /** *

* Describes the specified replication job or all of your replication jobs. *

*
*

* This is a variant of * {@link #getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client
     *             .getReplicationJobsPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)} operation. *

* * @param getReplicationJobsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationJobs * @see AWS API * Documentation */ default GetReplicationJobsIterable getReplicationJobsPaginator(GetReplicationJobsRequest getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Describes the specified replication job or all of your replication jobs. *

*
*

* This is a variant of * {@link #getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client
     *             .getReplicationJobsPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link GetReplicationJobsRequest.Builder} avoiding the * need to create one manually via {@link GetReplicationJobsRequest#builder()} *

* * @param getReplicationJobsRequest * A {@link Consumer} that will call methods on {@link GetReplicationJobsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationJobs * @see AWS API * Documentation */ default GetReplicationJobsIterable getReplicationJobsPaginator( Consumer getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getReplicationJobsPaginator(GetReplicationJobsRequest.builder().applyMutation(getReplicationJobsRequest).build()); } /** *

* Describes the replication runs for the specified replication job. *

* * @param getReplicationRunsRequest * @return Result of the GetReplicationRuns operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationRuns * @see AWS API * Documentation */ default GetReplicationRunsResponse getReplicationRuns(GetReplicationRunsRequest getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Describes the replication runs for the specified replication job. *

*
*

* This is a convenience which creates an instance of the {@link GetReplicationRunsRequest.Builder} avoiding the * need to create one manually via {@link GetReplicationRunsRequest#builder()} *

* * @param getReplicationRunsRequest * A {@link Consumer} that will call methods on {@link GetReplicationRunsRequest.Builder} to create a * request. * @return Result of the GetReplicationRuns operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationRuns * @see AWS API * Documentation */ default GetReplicationRunsResponse getReplicationRuns(Consumer getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getReplicationRuns(GetReplicationRunsRequest.builder().applyMutation(getReplicationRunsRequest).build()); } /** *

* Describes the replication runs for the specified replication job. *

*
*

* This is a variant of * {@link #getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client.getReplicationRunsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client
     *             .getReplicationRunsPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client.getReplicationRunsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)} operation. *

* * @param getReplicationRunsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationRuns * @see AWS API * Documentation */ default GetReplicationRunsIterable getReplicationRunsPaginator(GetReplicationRunsRequest getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Describes the replication runs for the specified replication job. *

*
*

* This is a variant of * {@link #getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client.getReplicationRunsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client
     *             .getReplicationRunsPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client.getReplicationRunsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link GetReplicationRunsRequest.Builder} avoiding the * need to create one manually via {@link GetReplicationRunsRequest#builder()} *

* * @param getReplicationRunsRequest * A {@link Consumer} that will call methods on {@link GetReplicationRunsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetReplicationRuns * @see AWS API * Documentation */ default GetReplicationRunsIterable getReplicationRunsPaginator( Consumer getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getReplicationRunsPaginator(GetReplicationRunsRequest.builder().applyMutation(getReplicationRunsRequest).build()); } /** *

* Describes the servers in your server catalog. *

*

* Before you can describe your servers, you must import them using ImportServerCatalog. *

* * @return Result of the GetServers operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetServers * @see #getServers(GetServersRequest) * @see AWS API * Documentation */ default GetServersResponse getServers() throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getServers(GetServersRequest.builder().build()); } /** *

* Describes the servers in your server catalog. *

*

* Before you can describe your servers, you must import them using ImportServerCatalog. *

* * @param getServersRequest * @return Result of the GetServers operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetServers * @see AWS API * Documentation */ default GetServersResponse getServers(GetServersRequest getServersRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Describes the servers in your server catalog. *

*

* Before you can describe your servers, you must import them using ImportServerCatalog. *

*
*

* This is a convenience which creates an instance of the {@link GetServersRequest.Builder} avoiding the need to * create one manually via {@link GetServersRequest#builder()} *

* * @param getServersRequest * A {@link Consumer} that will call methods on {@link GetServersRequest.Builder} to create a request. * @return Result of the GetServers operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetServers * @see AWS API * Documentation */ default GetServersResponse getServers(Consumer getServersRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getServers(GetServersRequest.builder().applyMutation(getServersRequest).build()); } /** *

* Describes the servers in your server catalog. *

*

* Before you can describe your servers, you must import them using ImportServerCatalog. *

*
*

* This is a variant of {@link #getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetServersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)} operation. *

* * @return A custom iterable that can be used to iterate through all the response pages. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetServers * @see #getServersPaginator(GetServersRequest) * @see AWS API * Documentation */ default GetServersIterable getServersPaginator() throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getServersPaginator(GetServersRequest.builder().build()); } /** *

* Describes the servers in your server catalog. *

*

* Before you can describe your servers, you must import them using ImportServerCatalog. *

*
*

* This is a variant of {@link #getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetServersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)} operation. *

* * @param getServersRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetServers * @see AWS API * Documentation */ default GetServersIterable getServersPaginator(GetServersRequest getServersRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Describes the servers in your server catalog. *

*

* Before you can describe your servers, you must import them using ImportServerCatalog. *

*
*

* This is a variant of {@link #getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     *     for (software.amazon.awssdk.services.sms.model.GetServersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Note: If you prefer to have control on service calls, use the * {@link #getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link GetServersRequest.Builder} avoiding the need to * create one manually via {@link GetServersRequest#builder()} *

* * @param getServersRequest * A {@link Consumer} that will call methods on {@link GetServersRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.GetServers * @see AWS API * Documentation */ default GetServersIterable getServersPaginator(Consumer getServersRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException { return getServersPaginator(GetServersRequest.builder().applyMutation(getServersRequest).build()); } /** *

* Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you * want to import. *

*

* This call returns immediately, but might take additional time to retrieve all the servers. *

* * @return Result of the ImportServerCatalog operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws NoConnectorsAvailableException * There are no connectors available. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.ImportServerCatalog * @see #importServerCatalog(ImportServerCatalogRequest) * @see AWS API * Documentation */ default ImportServerCatalogResponse importServerCatalog() throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsException { return importServerCatalog(ImportServerCatalogRequest.builder().build()); } /** *

* Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you * want to import. *

*

* This call returns immediately, but might take additional time to retrieve all the servers. *

* * @param importServerCatalogRequest * @return Result of the ImportServerCatalog operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws NoConnectorsAvailableException * There are no connectors available. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.ImportServerCatalog * @see AWS API * Documentation */ default ImportServerCatalogResponse importServerCatalog(ImportServerCatalogRequest importServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you * want to import. *

*

* This call returns immediately, but might take additional time to retrieve all the servers. *

*
*

* This is a convenience which creates an instance of the {@link ImportServerCatalogRequest.Builder} avoiding the * need to create one manually via {@link ImportServerCatalogRequest#builder()} *

* * @param importServerCatalogRequest * A {@link Consumer} that will call methods on {@link ImportServerCatalogRequest.Builder} to create a * request. * @return Result of the ImportServerCatalog operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws NoConnectorsAvailableException * There are no connectors available. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.ImportServerCatalog * @see AWS API * Documentation */ default ImportServerCatalogResponse importServerCatalog( Consumer importServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsException { return importServerCatalog(ImportServerCatalogRequest.builder().applyMutation(importServerCatalogRequest).build()); } /** *

* Launches an application stack. *

* * @param launchAppRequest * @return Result of the LaunchApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.LaunchApp * @see AWS API * Documentation */ default LaunchAppResponse launchApp(LaunchAppRequest launchAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Launches an application stack. *

*
*

* This is a convenience which creates an instance of the {@link LaunchAppRequest.Builder} avoiding the need to * create one manually via {@link LaunchAppRequest#builder()} *

* * @param launchAppRequest * A {@link Consumer} that will call methods on {@link LaunchAppRequest.Builder} to create a request. * @return Result of the LaunchApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.LaunchApp * @see AWS API * Documentation */ default LaunchAppResponse launchApp(Consumer launchAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return launchApp(LaunchAppRequest.builder().applyMutation(launchAppRequest).build()); } /** *

* Returns a list of summaries for all applications. *

* * @return Result of the ListApps operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.ListApps * @see #listApps(ListAppsRequest) * @see AWS API * Documentation */ default ListAppsResponse listApps() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return listApps(ListAppsRequest.builder().build()); } /** *

* Returns a list of summaries for all applications. *

* * @param listAppsRequest * @return Result of the ListApps operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.ListApps * @see AWS API * Documentation */ default ListAppsResponse listApps(ListAppsRequest listAppsRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Returns a list of summaries for all applications. *

*
*

* This is a convenience which creates an instance of the {@link ListAppsRequest.Builder} avoiding the need to * create one manually via {@link ListAppsRequest#builder()} *

* * @param listAppsRequest * A {@link Consumer} that will call methods on {@link ListAppsRequest.Builder} to create a request. * @return Result of the ListApps operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.ListApps * @see AWS API * Documentation */ default ListAppsResponse listApps(Consumer listAppsRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return listApps(ListAppsRequest.builder().applyMutation(listAppsRequest).build()); } /** *

* Creates a launch configuration for an application. *

* * @param putAppLaunchConfigurationRequest * @return Result of the PutAppLaunchConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.PutAppLaunchConfiguration * @see AWS * API Documentation */ default PutAppLaunchConfigurationResponse putAppLaunchConfiguration( PutAppLaunchConfigurationRequest putAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Creates a launch configuration for an application. *

*
*

* This is a convenience which creates an instance of the {@link PutAppLaunchConfigurationRequest.Builder} avoiding * the need to create one manually via {@link PutAppLaunchConfigurationRequest#builder()} *

* * @param putAppLaunchConfigurationRequest * A {@link Consumer} that will call methods on {@link PutAppLaunchConfigurationRequest.Builder} to create a * request. * @return Result of the PutAppLaunchConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.PutAppLaunchConfiguration * @see AWS * API Documentation */ default PutAppLaunchConfigurationResponse putAppLaunchConfiguration( Consumer putAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return putAppLaunchConfiguration(PutAppLaunchConfigurationRequest.builder() .applyMutation(putAppLaunchConfigurationRequest).build()); } /** *

* Creates or updates a replication configuration for an application. *

* * @param putAppReplicationConfigurationRequest * @return Result of the PutAppReplicationConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.PutAppReplicationConfiguration * @see AWS API Documentation */ default PutAppReplicationConfigurationResponse putAppReplicationConfiguration( PutAppReplicationConfigurationRequest putAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Creates or updates a replication configuration for an application. *

*
*

* This is a convenience which creates an instance of the {@link PutAppReplicationConfigurationRequest.Builder} * avoiding the need to create one manually via {@link PutAppReplicationConfigurationRequest#builder()} *

* * @param putAppReplicationConfigurationRequest * A {@link Consumer} that will call methods on {@link PutAppReplicationConfigurationRequest.Builder} to * create a request. * @return Result of the PutAppReplicationConfiguration operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.PutAppReplicationConfiguration * @see AWS API Documentation */ default PutAppReplicationConfigurationResponse putAppReplicationConfiguration( Consumer putAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return putAppReplicationConfiguration(PutAppReplicationConfigurationRequest.builder() .applyMutation(putAppReplicationConfigurationRequest).build()); } /** *

* Starts replicating an application. *

* * @param startAppReplicationRequest * @return Result of the StartAppReplication operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.StartAppReplication * @see AWS API * Documentation */ default StartAppReplicationResponse startAppReplication(StartAppReplicationRequest startAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Starts replicating an application. *

*
*

* This is a convenience which creates an instance of the {@link StartAppReplicationRequest.Builder} avoiding the * need to create one manually via {@link StartAppReplicationRequest#builder()} *

* * @param startAppReplicationRequest * A {@link Consumer} that will call methods on {@link StartAppReplicationRequest.Builder} to create a * request. * @return Result of the StartAppReplication operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.StartAppReplication * @see AWS API * Documentation */ default StartAppReplicationResponse startAppReplication( Consumer startAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return startAppReplication(StartAppReplicationRequest.builder().applyMutation(startAppReplicationRequest).build()); } /** *

* Starts an on-demand replication run for the specified replication job. This replication run starts immediately. * This replication run is in addition to the ones already scheduled. *

*

* There is a limit on the number of on-demand replications runs you can request in a 24-hour period. *

* * @param startOnDemandReplicationRunRequest * @return Result of the StartOnDemandReplicationRun operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws ReplicationRunLimitExceededException * You have exceeded the number of on-demand replication runs you can request in a 24-hour period. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.StartOnDemandReplicationRun * @see AWS API Documentation */ default StartOnDemandReplicationRunResponse startOnDemandReplicationRun( StartOnDemandReplicationRunRequest startOnDemandReplicationRunRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationRunLimitExceededException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Starts an on-demand replication run for the specified replication job. This replication run starts immediately. * This replication run is in addition to the ones already scheduled. *

*

* There is a limit on the number of on-demand replications runs you can request in a 24-hour period. *

*
*

* This is a convenience which creates an instance of the {@link StartOnDemandReplicationRunRequest.Builder} * avoiding the need to create one manually via {@link StartOnDemandReplicationRunRequest#builder()} *

* * @param startOnDemandReplicationRunRequest * A {@link Consumer} that will call methods on {@link StartOnDemandReplicationRunRequest.Builder} to create * a request. * @return Result of the StartOnDemandReplicationRun operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws OperationNotPermittedException * This operation is not allowed. * @throws ReplicationRunLimitExceededException * You have exceeded the number of on-demand replication runs you can request in a 24-hour period. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.StartOnDemandReplicationRun * @see AWS API Documentation */ default StartOnDemandReplicationRunResponse startOnDemandReplicationRun( Consumer startOnDemandReplicationRunRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationRunLimitExceededException, AwsServiceException, SdkClientException, SmsException { return startOnDemandReplicationRun(StartOnDemandReplicationRunRequest.builder() .applyMutation(startOnDemandReplicationRunRequest).build()); } /** *

* Stops replicating an application. *

* * @param stopAppReplicationRequest * @return Result of the StopAppReplication operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.StopAppReplication * @see AWS API * Documentation */ default StopAppReplicationResponse stopAppReplication(StopAppReplicationRequest stopAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Stops replicating an application. *

*
*

* This is a convenience which creates an instance of the {@link StopAppReplicationRequest.Builder} avoiding the * need to create one manually via {@link StopAppReplicationRequest#builder()} *

* * @param stopAppReplicationRequest * A {@link Consumer} that will call methods on {@link StopAppReplicationRequest.Builder} to create a * request. * @return Result of the StopAppReplication operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.StopAppReplication * @see AWS API * Documentation */ default StopAppReplicationResponse stopAppReplication(Consumer stopAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return stopAppReplication(StopAppReplicationRequest.builder().applyMutation(stopAppReplicationRequest).build()); } /** *

* Terminates the stack for an application. *

* * @param terminateAppRequest * @return Result of the TerminateApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.TerminateApp * @see AWS API * Documentation */ default TerminateAppResponse terminateApp(TerminateAppRequest terminateAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Terminates the stack for an application. *

*
*

* This is a convenience which creates an instance of the {@link TerminateAppRequest.Builder} avoiding the need to * create one manually via {@link TerminateAppRequest#builder()} *

* * @param terminateAppRequest * A {@link Consumer} that will call methods on {@link TerminateAppRequest.Builder} to create a request. * @return Result of the TerminateApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.TerminateApp * @see AWS API * Documentation */ default TerminateAppResponse terminateApp(Consumer terminateAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return terminateApp(TerminateAppRequest.builder().applyMutation(terminateAppRequest).build()); } /** *

* Updates an application. *

* * @param updateAppRequest * @return Result of the UpdateApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.UpdateApp * @see AWS API * Documentation */ default UpdateAppResponse updateApp(UpdateAppRequest updateAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Updates an application. *

*
*

* This is a convenience which creates an instance of the {@link UpdateAppRequest.Builder} avoiding the need to * create one manually via {@link UpdateAppRequest#builder()} *

* * @param updateAppRequest * A {@link Consumer} that will call methods on {@link UpdateAppRequest.Builder} to create a request. * @return Result of the UpdateApp operation returned by the service. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws InternalErrorException * An internal error occurred. * @throws OperationNotPermittedException * This operation is not allowed. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.UpdateApp * @see AWS API * Documentation */ default UpdateAppResponse updateApp(Consumer updateAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException { return updateApp(UpdateAppRequest.builder().applyMutation(updateAppRequest).build()); } /** *

* Updates the specified settings for the specified replication job. *

* * @param updateReplicationJobRequest * @return Result of the UpdateReplicationJob operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws OperationNotPermittedException * This operation is not allowed. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws ServerCannotBeReplicatedException * The specified server cannot be replicated. * @throws ReplicationJobNotFoundException * The specified replication job does not exist. * @throws InternalErrorException * An internal error occurred. * @throws TemporarilyUnavailableException * The service is temporarily unavailable. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.UpdateReplicationJob * @see AWS API * Documentation */ default UpdateReplicationJobResponse updateReplicationJob(UpdateReplicationJobRequest updateReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, OperationNotPermittedException, UnauthorizedOperationException, ServerCannotBeReplicatedException, ReplicationJobNotFoundException, InternalErrorException, TemporarilyUnavailableException, AwsServiceException, SdkClientException, SmsException { throw new UnsupportedOperationException(); } /** *

* Updates the specified settings for the specified replication job. *

*
*

* This is a convenience which creates an instance of the {@link UpdateReplicationJobRequest.Builder} avoiding the * need to create one manually via {@link UpdateReplicationJobRequest#builder()} *

* * @param updateReplicationJobRequest * A {@link Consumer} that will call methods on {@link UpdateReplicationJobRequest.Builder} to create a * request. * @return Result of the UpdateReplicationJob operation returned by the service. * @throws InvalidParameterException * A specified parameter is not valid. * @throws MissingRequiredParameterException * A required parameter is missing. * @throws OperationNotPermittedException * This operation is not allowed. * @throws UnauthorizedOperationException * You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are * using the correct access keys. * @throws ServerCannotBeReplicatedException * The specified server cannot be replicated. * @throws ReplicationJobNotFoundException * The specified replication job does not exist. * @throws InternalErrorException * An internal error occurred. * @throws TemporarilyUnavailableException * The service is temporarily unavailable. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SmsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SmsClient.UpdateReplicationJob * @see AWS API * Documentation */ default UpdateReplicationJobResponse updateReplicationJob( Consumer updateReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, OperationNotPermittedException, UnauthorizedOperationException, ServerCannotBeReplicatedException, ReplicationJobNotFoundException, InternalErrorException, TemporarilyUnavailableException, AwsServiceException, SdkClientException, SmsException { return updateReplicationJob(UpdateReplicationJobRequest.builder().applyMutation(updateReplicationJobRequest).build()); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of("sms"); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy