/** * Represents a <a href= * "http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.Modifying.html" * >REMOVE</a> action in the REMOVE section of an update expression. * <p> * A REMOVE action is used to remove one or more attributes from an item. */ @Beta @Immutable public final class RemoveAction extends UpdateAction { RemoveAction(PathOperand attr) { super("REMOVE", attr, null); } }
/** * Holds an instance of the CacheLoader * @param <K> * @param <V> */ @SdkInternalApi public interface Cache<K, V> { V get(K key); void put(K key, V value); }
/** * This method is current exposed for testing purposes * * @return The underlying {@link ScheduledThreadPoolExecutor} */ @SdkTestInternalApi public ScheduledThreadPoolExecutor getExecutor() { return this.executor; }
/** * @return The region used to sign requests with AWS SigV4 auth. */ @SdkProtectedApi protected String getSigningRegion() { return this.signingRegion; }
/** * Factory interface that can be used for creating the underlying http client * for request execution. */ @Beta public interface HttpClientFactory<T> { T create(HttpClientSettings settings); }
/** * Constructs a new AWSsignerWaiters with the given client * * @param client * Service client */ @SdkInternalApi public AWSsignerWaiters(AWSsigner client) { this.client = client; }
/** * Exposed for tests to verify the correct number of bytes were read in mark/reset scenarios. */ @SdkTestInternalApi long getBytesRead() { return this.bytesRead; }
@SdkInternalApi UploadContext(File file, String bucket, String key) { this.file = file; this.bucket = bucket; this.key = key; }
@SdkInternalApi class AmazonSQSClientConfigurationFactory extends ClientConfigurationFactory { @Override protected ClientConfiguration getInRegionOptimizedConfig() { return super.getInRegionOptimizedConfig().withSocketTimeout(25000); } }
/** * Constructs a new AmazonAppStreamWaiters with the given client * * @param client * Service client */ @SdkInternalApi public AmazonAppStreamWaiters(AmazonAppStream client) { this.client = client; }
@SdkInternalApi public class NoOpWaiterHandler extends WaiterHandler<AmazonWebServiceRequest>{ @Override public void onWaitSuccess(AmazonWebServiceRequest request) { } @Override public void onWaitFailure(Exception e) { } }
/** * Parameter object for {@link AmazonS3Client}. Simple wrapper to include {@link S3ClientOptions}. */ @SdkInternalApi abstract class AmazonS3ClientParams { public abstract AwsSyncClientParams getClientParams(); public abstract S3ClientOptions getS3ClientOptions(); }
/** * Constructs a new AmazonRDSWaiters with the given client * * @param client * Service client */ @SdkInternalApi public AmazonRDSWaiters(AmazonRDS client) { this.client = client; }
/** * Constructs a new AmazonElasticMapReduceWaiters with the given client * * @param client * Service client */ @SdkInternalApi public AmazonElasticMapReduceWaiters(AmazonElasticMapReduce client) { this.client = client; }
@SdkInternalApi public class AmazonSimpleWorkflowClientConfigurationFactory extends ClientConfigurationFactory { @Override protected ClientConfiguration getDefaultConfig() { return super.getDefaultConfig().withMaxConnections(1000).withSocketTimeout(90000); } }
/** * Sets document version ID. * @param versionId Document version ID. */ @SdkInternalApi final void setVersionId(String versionId) { this.versionId = versionId; }
/** * Constructs a new AWSOpsWorksCMWaiters with the given client * * @param client * Service client */ @SdkInternalApi public AWSOpsWorksCMWaiters(AWSOpsWorksCM client) { this.client = client; }
/** * This is an internal API. */ @SdkInternalApi public final class StateMachineAdapter implements TypeAdapter<StateMachine, String> { @Override public String adapt(StateMachine stateMachine) { return stateMachine == null ? null : stateMachine.toJson(); } }
@SdkInternalApi public class AWSStepFunctionsClientConfigurationFactory extends ClientConfigurationFactory { @Override protected ClientConfiguration getDefaultConfig() { return super.getDefaultConfig().withSocketTimeout(65000); } }
/** * Constructs a new AmazonSimpleEmailServiceWaiters with the given client * * @param client * Service client */ @SdkInternalApi public AmazonSimpleEmailServiceWaiters(AmazonSimpleEmailService client) { this.client = client; }