Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Enums
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Deprecated Interfaces
    Interface
    Description
    com.amazonaws.handlers.RequestHandler
    by RequestHandler2. Interface for addition request handling in clients. A request handler is executed on a request object before it is sent to the client runtime to be executed.
    com.amazonaws.services.s3.model.ProgressListener
    Replaced by ProgressListener.
  • Deprecated Classes
    Class
    Description
    com.amazonaws.auth.STSSessionCredentials
    com.amazonaws.handlers.AbstractRequestHandler
    by RequestHandler2.

    Simple implementation of RequestHandler to stub out required methods.

    com.amazonaws.regions.LegacyRegionXmlLoadUtils
    com.amazonaws.regions.ServiceAbbreviations
    use AmazonWebServiceClient.getEndpointPrefix() instead for retrieving the specific service abbreviation.
    com.amazonaws.services.elasticmapreduce.util.BootstrapActions.ConfigureHadoop
    com.amazonaws.services.lambda.model.InvokeAsyncResult
    com.amazonaws.services.route53.model.ChangeBatchRecord
    com.amazonaws.services.route53.model.GetChangeDetailsResult
    com.amazonaws.services.route53.model.ListChangeBatchesByHostedZoneResult
    com.amazonaws.services.route53.model.ListChangeBatchesByRRSetResult
    com.amazonaws.services.s3.model.BucketNotificationConfiguration.TopicConfiguration
    Use TopicConfiguration instead
    com.amazonaws.services.s3.model.CloudFunctionConfiguration
    use LambdaConfiguration instead
    com.amazonaws.services.s3.model.LegacyS3ProgressListener
    com.amazonaws.services.s3.model.ProgressEvent
    Replaced by ProgressEvent
  • Deprecated Enums
    Enum
    Description
    com.amazonaws.auth.policy.STSActions
    in favor of SecurityTokenServiceActions
  • Deprecated Fields
    Field
    Description
    com.amazonaws.auth.AWS3Signer.dateUtils
    com.amazonaws.event.ProgressEvent.CANCELED_EVENT_CODE
    Replaced by ProgressEventType.TRANSFER_CANCELED_EVENT
    com.amazonaws.event.ProgressEvent.COMPLETED_EVENT_CODE
    Replaced by ProgressEventType.TRANSFER_COMPLETED_EVENT
    com.amazonaws.event.ProgressEvent.FAILED_EVENT_CODE
    Replaced by ProgressEventType.TRANSFER_FAILED_EVENT
    com.amazonaws.event.ProgressEvent.PART_COMPLETED_EVENT_CODE
    Replaced by ProgressEventType.TRANSFER_PART_COMPLETED_EVENT
    com.amazonaws.event.ProgressEvent.PART_FAILED_EVENT_CODE
    Replaced by ProgressEventType.TRANSFER_PART_FAILED_EVENT
    com.amazonaws.event.ProgressEvent.PART_STARTED_EVENT_CODE
    Replaced by ProgressEventType.TRANSFER_PART_STARTED_EVENT
    com.amazonaws.event.ProgressEvent.PREPARING_EVENT_CODE
    Replaced by ProgressEventType.TRANSFER_PREPARING_EVENT
    com.amazonaws.event.ProgressEvent.RESET_EVENT_CODE
    Replaced by ProgressEventType.HTTP_REQUEST_CONTENT_RESET_EVENT
    com.amazonaws.event.ProgressEvent.STARTED_EVENT_CODE
    Replaced by ProgressEventType.TRANSFER_STARTED_EVENT
    com.amazonaws.metrics.AwsSdkMetrics.AWS_CREDENTAIL_PROPERTIES_FILE
    in favor of AwsSdkMetrics.AWS_CREDENTIAL_PROPERTIES_FILE
    com.amazonaws.SDKGlobalConfiguration.DEFAULT_S3_STREAM_BUFFER_SIZE
    with AmazonWebServiceRequest.getRequestClientOptions() and RequestClientOptions.setReadLimit(int).

    The default size of the buffer when uploading data from a stream. A buffer of this size will be created and filled with the first bytes from a stream being uploaded so that any transmit errors that occur in that section of the data can be automatically retried without the caller's intervention.

    If not set, the default value of 128 KB will be used.

    com.amazonaws.SDKGlobalConfiguration.ENABLE_S3_SIGV4_SYSTEM_PROPERTY
    com.amazonaws.SDKGlobalConfiguration.ENFORCE_S3_SIGV4_SYSTEM_PROPERTY
    com.amazonaws.SDKGlobalConfiguration.PROFILING_SYSTEM_PROPERTY
    by SDKGlobalConfiguration.DEFAULT_METRICS_SYSTEM_PROPERTY. Internal system property to enable timing info collection.
    com.amazonaws.services.s3.model.InstructionFileId.DEFAULT_INSTURCTION_FILE_SUFFIX
    com.amazonaws.test.AWSTestBase.credentials
    Extend from AWSIntegrationTestBase to access credentials
    com.amazonaws.util.EC2MetadataUtils.IAMSecurityCredential.secretAcessKey
    because it is spelled incorrectly
  • Deprecated Methods
    Method
    Description
    com.amazonaws.AmazonWebServiceClient.addRequestHandler(RequestHandler)
    by AmazonWebServiceClient.addRequestHandler(RequestHandler2). Appends a request handler to the list of registered handlers that are run as part of a request's lifecycle.
    com.amazonaws.AmazonWebServiceClient.createExecutionContext()
    by AmazonWebServiceClient.createExecutionContext(AmazonWebServiceRequest). This method exists only for backward compatiblity reason, so that clients compiled against the older version of this class won't get NoSuchMethodError at runtime. However, calling this methods would effectively ignore and disable the request metric collector, if any, specified at the request level. Request metric collector specified at the service client or AWS SDK level will still be honored.
    com.amazonaws.AmazonWebServiceClient.getServiceAbbreviation()
    by AmazonWebServiceClient.getServiceName().
    com.amazonaws.AmazonWebServiceRequest.getRequestCredentials()
    by AmazonWebServiceRequest.getRequestCredentialsProvider()
    com.amazonaws.AmazonWebServiceRequest.setRequestCredentials(AWSCredentials)
    by AmazonWebServiceRequest.setRequestCredentialsProvider(AWSCredentialsProvider)
    com.amazonaws.auth.AbstractAWSSigner.getTimeOffset(SignableRequest<?>)
    com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider.setSTSClientEndpoint(String)
    This method may be removed in a future major version. Create multiple providers if you need to work with multiple STS endpoints.
    com.amazonaws.auth.STSSessionCredentialsProvider.setSTSClientEndpoint(String)
    This method may be removed in a future major version. Create multiple providers if you need to work with multiple STS endpoints.
    com.amazonaws.event.ProgressEvent.getEventCode()
    Use ProgressEvent.getEventType() instead.
    com.amazonaws.event.SDKProgressPublisher.waitTillCompletion()
    com.amazonaws.regions.RegionMetadata.getRegionByEndpoint(String)
    sdk no longer holds the complete endpoint for every service in the region. It now uses the partition metadata to compute the endpoints dynamically for new regions and services.
    com.amazonaws.regions.RegionMetadataParser.parseRegionMetadata(InputStream)
    in favor of RegionMetadataParser.parse(InputStream)
    com.amazonaws.regions.RegionMetadataParser.parseRegionMetadata(InputStream, boolean)
    in favor of RegionMetadataParser.parse(InputStream)
    com.amazonaws.regions.RegionMetadataProvider.getRegionByEndpoint(String)
    sdk no longer holds the complete endpoint for every service in the region. It now uses the partition metadata to compute the endpoints dynamically for new regions and services.
    com.amazonaws.regions.RegionUtils.init()
    in favor of RegionUtils.initialize()
    com.amazonaws.regions.RegionUtils.initializeFromFile(File)
    com.amazonaws.regions.RegionUtils.initializeFromResource(Class<?>, String)
    com.amazonaws.regions.RegionUtils.initializeFromResource(ClassLoader, String)
    com.amazonaws.regions.RegionUtils.initializeFromResource(String)
    com.amazonaws.regions.RegionUtils.initializeFromURI(URI)
    com.amazonaws.regions.RegionUtils.initializeFromURI(URI, ClientConfiguration)
    com.amazonaws.regions.RegionUtils.loadMetadataFromFile(File)
    com.amazonaws.regions.RegionUtils.loadMetadataFromInputStream(InputStream)
    com.amazonaws.regions.RegionUtils.loadMetadataFromResource(Class<?>, String)
    com.amazonaws.regions.RegionUtils.loadMetadataFromResource(ClassLoader, String)
    com.amazonaws.regions.RegionUtils.loadMetadataFromResource(String)
    com.amazonaws.regions.RegionUtils.loadMetadataFromURI(URI)
    com.amazonaws.regions.RegionUtils.loadMetadataFromURI(URI, ClientConfiguration)
    com.amazonaws.SDKGlobalConfiguration.getGlobalTimeOffset()
    by SDKGlobalTime.getGlobalTimeOffset()
    com.amazonaws.SDKGlobalConfiguration.setGlobalTimeOffset(int)
    by SDKGlobalTime.setGlobalTimeOffset(int)
    com.amazonaws.services.cloudfront.model.ViewerCertificate.getCertificate()
    com.amazonaws.services.cloudfront.model.ViewerCertificate.getCertificateSource()
    com.amazonaws.services.cloudfront.model.ViewerCertificate.setCertificate(String)
    com.amazonaws.services.cloudfront.model.ViewerCertificate.setCertificateSource(CertificateSource)
    com.amazonaws.services.cloudfront.model.ViewerCertificate.setCertificateSource(String)
    com.amazonaws.services.cloudfront.model.ViewerCertificate.withCertificate(String)
    com.amazonaws.services.cloudfront.model.ViewerCertificate.withCertificateSource(CertificateSource)
    com.amazonaws.services.cloudfront.model.ViewerCertificate.withCertificateSource(String)
    com.amazonaws.services.cloudtrail.model.CreateTrailResult.getSnsTopicName()
    com.amazonaws.services.cloudtrail.model.CreateTrailResult.setSnsTopicName(String)
    com.amazonaws.services.cloudtrail.model.CreateTrailResult.withSnsTopicName(String)
    com.amazonaws.services.cloudtrail.model.Trail.getSnsTopicName()
    com.amazonaws.services.cloudtrail.model.Trail.setSnsTopicName(String)
    com.amazonaws.services.cloudtrail.model.Trail.withSnsTopicName(String)
    com.amazonaws.services.cloudtrail.model.UpdateTrailResult.getSnsTopicName()
    com.amazonaws.services.cloudtrail.model.UpdateTrailResult.setSnsTopicName(String)
    com.amazonaws.services.cloudtrail.model.UpdateTrailResult.withSnsTopicName(String)
    com.amazonaws.services.dynamodbv2.document.ItemCollection.getTotalConsumedCapacity()
    This method returns the accumulated consumed capacity and not the total. Use ItemCollection.getAccumulatedScannedCount() instead.
    com.amazonaws.services.dynamodbv2.document.ItemCollection.getTotalCount()
    This method returns the accumulated count and not the total count. Use ItemCollection.getAccumulatedItemCount() instead.
    com.amazonaws.services.dynamodbv2.document.ItemCollection.getTotalScannedCount()
    This method returns the accumulated count and not the total count. Use ItemCollection.getAccumulatedScannedCount() instead.
    com.amazonaws.services.dynamodbv2.document.TableKeysAndAttributes.withAttrbuteNames(String...)
    by TableKeysAndAttributes.withAttributeNames(String...).
    com.amazonaws.services.dynamodbv2.document.TableKeysAndAttributes.withAttrbuteNames(List<String>)
    by TableKeysAndAttributes.withAttributeNames(List).
    com.amazonaws.services.elasticmapreduce.AbstractAmazonElasticMapReduce.describeJobFlows()
    com.amazonaws.services.elasticmapreduce.AbstractAmazonElasticMapReduce.describeJobFlows(DescribeJobFlowsRequest)
    com.amazonaws.services.elasticmapreduce.AbstractAmazonElasticMapReduceAsync.describeJobFlowsAsync()
    com.amazonaws.services.elasticmapreduce.AbstractAmazonElasticMapReduceAsync.describeJobFlowsAsync(DescribeJobFlowsRequest)
    com.amazonaws.services.elasticmapreduce.AbstractAmazonElasticMapReduceAsync.describeJobFlowsAsync(DescribeJobFlowsRequest, AsyncHandler<DescribeJobFlowsRequest, DescribeJobFlowsResult>)
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduce.describeJobFlows()
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduce.describeJobFlows(DescribeJobFlowsRequest)
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceAsync.describeJobFlowsAsync()
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceAsync.describeJobFlowsAsync(DescribeJobFlowsRequest)
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceAsync.describeJobFlowsAsync(DescribeJobFlowsRequest, AsyncHandler<DescribeJobFlowsRequest, DescribeJobFlowsResult>)
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceAsyncClient.describeJobFlowsAsync()
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceAsyncClient.describeJobFlowsAsync(DescribeJobFlowsRequest)
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceAsyncClient.describeJobFlowsAsync(DescribeJobFlowsRequest, AsyncHandler<DescribeJobFlowsRequest, DescribeJobFlowsResult>)
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceClient.describeJobFlows()
    com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceClient.describeJobFlows(DescribeJobFlowsRequest)
    com.amazonaws.services.lambda.AbstractAWSLambda.invokeAsync(InvokeAsyncRequest)
    com.amazonaws.services.lambda.AbstractAWSLambdaAsync.invokeAsyncAsync(InvokeAsyncRequest)
    com.amazonaws.services.lambda.AbstractAWSLambdaAsync.invokeAsyncAsync(InvokeAsyncRequest, AsyncHandler<InvokeAsyncRequest, InvokeAsyncResult>)
    com.amazonaws.services.lambda.AWSLambda.invokeAsync(InvokeAsyncRequest)
    com.amazonaws.services.lambda.AWSLambdaAsync.invokeAsyncAsync(InvokeAsyncRequest)
    com.amazonaws.services.lambda.AWSLambdaAsync.invokeAsyncAsync(InvokeAsyncRequest, AsyncHandler<InvokeAsyncRequest, InvokeAsyncResult>)
    com.amazonaws.services.lambda.AWSLambdaAsyncClient.invokeAsyncAsync(InvokeAsyncRequest)
    com.amazonaws.services.lambda.AWSLambdaAsyncClient.invokeAsyncAsync(InvokeAsyncRequest, AsyncHandler<InvokeAsyncRequest, InvokeAsyncResult>)
    com.amazonaws.services.lambda.AWSLambdaClient.invokeAsync(InvokeAsyncRequest)
    com.amazonaws.services.route53.AbstractAmazonRoute53.getChangeDetails(GetChangeDetailsRequest)
    com.amazonaws.services.route53.AbstractAmazonRoute53.listChangeBatchesByHostedZone(ListChangeBatchesByHostedZoneRequest)
    com.amazonaws.services.route53.AbstractAmazonRoute53.listChangeBatchesByRRSet(ListChangeBatchesByRRSetRequest)
    com.amazonaws.services.route53.AbstractAmazonRoute53Async.getChangeDetailsAsync(GetChangeDetailsRequest)
    com.amazonaws.services.route53.AbstractAmazonRoute53Async.getChangeDetailsAsync(GetChangeDetailsRequest, AsyncHandler<GetChangeDetailsRequest, GetChangeDetailsResult>)
    com.amazonaws.services.route53.AbstractAmazonRoute53Async.listChangeBatchesByHostedZoneAsync(ListChangeBatchesByHostedZoneRequest)
    com.amazonaws.services.route53.AbstractAmazonRoute53Async.listChangeBatchesByHostedZoneAsync(ListChangeBatchesByHostedZoneRequest, AsyncHandler<ListChangeBatchesByHostedZoneRequest, ListChangeBatchesByHostedZoneResult>)
    com.amazonaws.services.route53.AbstractAmazonRoute53Async.listChangeBatchesByRRSetAsync(ListChangeBatchesByRRSetRequest)
    com.amazonaws.services.route53.AbstractAmazonRoute53Async.listChangeBatchesByRRSetAsync(ListChangeBatchesByRRSetRequest, AsyncHandler<ListChangeBatchesByRRSetRequest, ListChangeBatchesByRRSetResult>)
    com.amazonaws.services.route53.AmazonRoute53.getChangeDetails(GetChangeDetailsRequest)
    com.amazonaws.services.route53.AmazonRoute53.listChangeBatchesByHostedZone(ListChangeBatchesByHostedZoneRequest)
    com.amazonaws.services.route53.AmazonRoute53.listChangeBatchesByRRSet(ListChangeBatchesByRRSetRequest)
    com.amazonaws.services.route53.AmazonRoute53Async.getChangeDetailsAsync(GetChangeDetailsRequest)
    com.amazonaws.services.route53.AmazonRoute53Async.getChangeDetailsAsync(GetChangeDetailsRequest, AsyncHandler<GetChangeDetailsRequest, GetChangeDetailsResult>)
    com.amazonaws.services.route53.AmazonRoute53Async.listChangeBatchesByHostedZoneAsync(ListChangeBatchesByHostedZoneRequest)
    com.amazonaws.services.route53.AmazonRoute53Async.listChangeBatchesByHostedZoneAsync(ListChangeBatchesByHostedZoneRequest, AsyncHandler<ListChangeBatchesByHostedZoneRequest, ListChangeBatchesByHostedZoneResult>)
    com.amazonaws.services.route53.AmazonRoute53Async.listChangeBatchesByRRSetAsync(ListChangeBatchesByRRSetRequest)
    com.amazonaws.services.route53.AmazonRoute53Async.listChangeBatchesByRRSetAsync(ListChangeBatchesByRRSetRequest, AsyncHandler<ListChangeBatchesByRRSetRequest, ListChangeBatchesByRRSetResult>)
    com.amazonaws.services.route53.AmazonRoute53AsyncClient.getChangeDetailsAsync(GetChangeDetailsRequest)
    com.amazonaws.services.route53.AmazonRoute53AsyncClient.getChangeDetailsAsync(GetChangeDetailsRequest, AsyncHandler<GetChangeDetailsRequest, GetChangeDetailsResult>)
    com.amazonaws.services.route53.AmazonRoute53AsyncClient.listChangeBatchesByHostedZoneAsync(ListChangeBatchesByHostedZoneRequest)
    com.amazonaws.services.route53.AmazonRoute53AsyncClient.listChangeBatchesByHostedZoneAsync(ListChangeBatchesByHostedZoneRequest, AsyncHandler<ListChangeBatchesByHostedZoneRequest, ListChangeBatchesByHostedZoneResult>)
    com.amazonaws.services.route53.AmazonRoute53AsyncClient.listChangeBatchesByRRSetAsync(ListChangeBatchesByRRSetRequest)
    com.amazonaws.services.route53.AmazonRoute53AsyncClient.listChangeBatchesByRRSetAsync(ListChangeBatchesByRRSetRequest, AsyncHandler<ListChangeBatchesByRRSetRequest, ListChangeBatchesByRRSetResult>)
    com.amazonaws.services.route53.AmazonRoute53Client.getChangeDetails(GetChangeDetailsRequest)
    com.amazonaws.services.route53.AmazonRoute53Client.listChangeBatchesByHostedZone(ListChangeBatchesByHostedZoneRequest)
    com.amazonaws.services.route53.AmazonRoute53Client.listChangeBatchesByRRSet(ListChangeBatchesByRRSetRequest)
    com.amazonaws.services.route53.model.GetChangeDetailsResult.getChangeBatchRecord()
    com.amazonaws.services.route53.model.GetChangeDetailsResult.setChangeBatchRecord(ChangeBatchRecord)
    com.amazonaws.services.route53.model.GetChangeDetailsResult.withChangeBatchRecord(ChangeBatchRecord)
    com.amazonaws.services.s3.AmazonS3.changeObjectStorageClass(String, String, StorageClass)
    this operation will not retain the ACL's or SSE parameters associated with the given Amazon S3 object. Use AmazonS3.copyObject(CopyObjectRequest) instead.
    com.amazonaws.services.s3.AmazonS3.setObjectRedirectLocation(String, String, String)
    this operation will not retain the ACL's or SSE parameters associated with the given Amazon S3 object. Use AmazonS3.copyObject(CopyObjectRequest) instead.
    com.amazonaws.services.s3.event.S3EventNotification.S3ObjectEntity.getSize()
    use S3EventNotification.S3ObjectEntity.getSizeAsLong() instead.
    com.amazonaws.services.s3.model.AbstractPutObjectRequest.getProgressListener()
    use AmazonWebServiceRequest.getGeneralProgressListener() instead.
    com.amazonaws.services.s3.model.AbstractPutObjectRequest.setProgressListener(ProgressListener)
    use AmazonWebServiceRequest.setGeneralProgressListener(ProgressListener) instead.
    com.amazonaws.services.s3.model.AbstractPutObjectRequest.withProgressListener(ProgressListener)
    use AmazonWebServiceRequest.withGeneralProgressListener(ProgressListener) instead.
    com.amazonaws.services.s3.model.AccessControlList.getGrants()
    This will remove the duplicate grants if received from Amazon S3. Use AccessControlList.getGrantsAsList() instead.
    com.amazonaws.services.s3.model.BucketLifecycleConfiguration.NoncurrentVersionTransition.getStorageClass()
    This method should not be used. Use BucketLifecycleConfiguration.NoncurrentVersionTransition.getStorageClassAsString() instead.
    com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Rule.getNoncurrentVersionTransition()
    com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Rule.getTransition()
    com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Rule.setNoncurrentVersionTransition(BucketLifecycleConfiguration.NoncurrentVersionTransition)
    com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Rule.setTransition(BucketLifecycleConfiguration.Transition)
    com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Rule.withNoncurrentVersionTransition(BucketLifecycleConfiguration.NoncurrentVersionTransition)
    com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Rule.withTransition(BucketLifecycleConfiguration.Transition)
    com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Transition.getStorageClass()
    This method should not be used. Use BucketLifecycleConfiguration.Transition.getStorageClassAsString() instead.
    com.amazonaws.services.s3.model.BucketNotificationConfiguration.getTopicConfigurations()
     
    com.amazonaws.services.s3.model.BucketNotificationConfiguration.setTopicConfigurations(Collection<BucketNotificationConfiguration.TopicConfiguration>)
     
    com.amazonaws.services.s3.model.BucketNotificationConfiguration.TopicConfiguration.getEvent()
    use NotificationConfiguration.getEvents() instead.
    com.amazonaws.services.s3.model.BucketNotificationConfiguration.withTopicConfigurations(BucketNotificationConfiguration.TopicConfiguration...)
     
    com.amazonaws.services.s3.model.CryptoConfiguration.getKmsRegion()
    com.amazonaws.services.s3.model.CryptoConfiguration.setKmsRegion(Regions)
    com.amazonaws.services.s3.model.CryptoConfiguration.withKmsRegion(Regions)
    com.amazonaws.services.s3.model.GenericBucketRequest.getBucket()
    Use getBucketName() instead.
    com.amazonaws.services.s3.model.GetObjectRequest.getProgressListener()
    use AmazonWebServiceRequest.getGeneralProgressListener() instead.
    com.amazonaws.services.s3.model.GetObjectRequest.setProgressListener(ProgressListener)
    use AmazonWebServiceRequest.setGeneralProgressListener(ProgressListener) instead.
    com.amazonaws.services.s3.model.GetObjectRequest.withProgressListener(ProgressListener)
    use AmazonWebServiceRequest.withGeneralProgressListener(ProgressListener) instead.
    com.amazonaws.services.s3.model.NotificationConfiguration.addObjectPrefix(String)
    This field is not used by S3. It will be removed in the next major version of the SDK
    com.amazonaws.services.s3.model.NotificationConfiguration.getObjectPrefixes()
    This field is not used by S3. It will be removed in the next major version of the SDK. See NotificationConfiguration.getFilter() for the correct way to filter notifications.
    com.amazonaws.services.s3.model.NotificationConfiguration.setObjectPrefixes(List<String>)
    This field is not used by S3. It will be removed in the next major version of the SDK. See NotificationConfiguration.setFilter(Filter) for the correct way to filter notifications.
    com.amazonaws.services.s3.model.NotificationConfiguration.withObjectPrefixes(String...)
    This field is not used by S3. It will be removed in the next major version of the SDK. See NotificationConfiguration.withFilter(Filter) for the correct way to filter notifications.
    com.amazonaws.services.s3.model.ObjectMetadata.getServerSideEncryption()
    Replaced by ObjectMetadata.getSSEAlgorithm()
    com.amazonaws.services.s3.model.ObjectMetadata.setServerSideEncryption(String)
    Replaced by ObjectMetadata.setSSEAlgorithm(String)
    com.amazonaws.services.s3.model.ProgressEvent.getBytesTransfered()
    Replaced by ProgressEvent.getBytesTransferred()
    com.amazonaws.services.s3.model.PutObjectRequest.withProgressListener(ProgressListener)
    com.amazonaws.services.s3.model.SetBucketNotificationConfigurationRequest.getBucket()
    Use getBucketName() instead.
    com.amazonaws.services.s3.model.SetBucketNotificationConfigurationRequest.getBucketNotificationConfiguration()
    Use getNotificationConfiguration() instead.
    com.amazonaws.services.s3.model.SetBucketNotificationConfigurationRequest.setBucket(String)
    Use setBucketName(String) instead.
    com.amazonaws.services.s3.model.SetBucketNotificationConfigurationRequest.setBucketNotificationConfiguration(BucketNotificationConfiguration)
    Use setNotificationConfiguration(BucketNotificationConfiguration) instead.
    com.amazonaws.services.s3.model.UploadPartRequest.getProgressListener()
    use AmazonWebServiceRequest.getGeneralProgressListener() instead.
    com.amazonaws.services.s3.model.UploadPartRequest.setProgressListener(ProgressListener)
    use AmazonWebServiceRequest.setGeneralProgressListener(ProgressListener) instead.
    com.amazonaws.services.s3.model.UploadPartRequest.withProgressListener(ProgressListener)
    use AmazonWebServiceRequest.withGeneralProgressListener(ProgressListener) instead.
    com.amazonaws.services.s3.S3ClientOptions.disableChunkedEncoding()
    Use S3ClientOptions.builder() to build new S3ClientOptions instead.
    com.amazonaws.services.s3.S3ClientOptions.setChunkedEncodingDisabled(boolean)
    Use S3ClientOptions.builder() to build new S3ClientOptions instead.
    com.amazonaws.services.s3.S3ClientOptions.setPathStyleAccess(boolean)
    Use S3ClientOptions.builder() to build new S3ClientOptions instead.
    com.amazonaws.services.s3.S3ClientOptions.withChunkedEncodingDisabled(boolean)
    Use S3ClientOptions.builder() to build new S3ClientOptions instead.
    com.amazonaws.services.s3.S3ClientOptions.withPathStyleAccess(boolean)
    Use S3ClientOptions.builder() to build new S3ClientOptions instead.
    com.amazonaws.services.s3.transfer.Transfer.addProgressListener(ProgressListener)
    Replaced by Transfer.addProgressListener(ProgressListener)
    com.amazonaws.services.s3.transfer.Transfer.removeProgressListener(ProgressListener)
    Replaced by Transfer.removeProgressListener(ProgressListener)
    com.amazonaws.services.s3.transfer.TransferManagerConfiguration.setMultipartUploadThreshold(int)
    replaced by TransferManagerConfiguration.setMultipartUploadThreshold(long)
    com.amazonaws.services.s3.transfer.TransferProgress.getBytesTransfered()
    Replaced by TransferProgress.getBytesTransferred()
    com.amazonaws.services.s3.transfer.TransferProgress.getPercentTransfered()
    Replaced by TransferProgress.getPercentTransferred()
    com.amazonaws.test.AWSTestBase.assertFileEqualsFile(File, File)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.assertFileEqualsStream(File, InputStream)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.assertFileEqualsStream(String, File, InputStream)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.assertNotEmpty(String)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.assertStreamEqualsStream(InputStream, InputStream)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.assertStreamEqualsStream(String, InputStream, InputStream)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.assertStringEqualsStream(String, InputStream)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.assertValidException(AmazonServiceException)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.doesFileEqualStream(File, InputStream)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.doesStreamEqualStream(InputStream, InputStream)
    Use static imports for custom asserts in SdkAsserts instead
    com.amazonaws.test.AWSTestBase.drainInputStream(InputStream)
    Use InputStreamUtils.drainInputStream(InputStream)
    com.amazonaws.test.AWSTestBase.setUpCredentials()
    Extend from AWSIntegrationTestBase to access credentials
    com.amazonaws.test.util.SdkAsserts.assertNotEmpty(String)
    Use Hamcrest Matchers instead
    com.amazonaws.util.AwsHostNameUtils.parseRegionName(URI)
    in favor of AwsHostNameUtils.parseRegionName(String, String).
    com.amazonaws.util.AwsHostNameUtils.parseServiceName(URI)
    com.amazonaws.util.TimingInfo.getElapsedTimeMillis()
    com.amazonaws.util.TimingInfo.getEndEpochTimeMilli()
    com.amazonaws.util.TimingInfo.getEndTime()
    com.amazonaws.util.TimingInfo.getStartEpochTimeMilli()
    com.amazonaws.util.TimingInfo.getStartTime()
    com.amazonaws.util.TimingInfo.getTimeTakenMillis()
    com.amazonaws.util.TimingInfo.setEndTime(long)
  • Deprecated Constructors
    Constructor
    Description
    com.amazonaws.event.ProgressEvent(long)
    com.amazonaws.regions.RegionMetadataParser()
    since this object is stateless
    com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperConfig(DynamoDBMapperConfig.SaveBehavior, DynamoDBMapperConfig.ConsistentReads, DynamoDBMapperConfig.TableNameOverride)
    in favor of the fluent DynamoDBMapperConfig.Builder
    com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperConfig(DynamoDBMapperConfig.SaveBehavior, DynamoDBMapperConfig.ConsistentReads, DynamoDBMapperConfig.TableNameOverride, DynamoDBMapperConfig.PaginationLoadingStrategy)
    in favor of the fluent Builder
    com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperConfig(DynamoDBMapperConfig.SaveBehavior, DynamoDBMapperConfig.ConsistentReads, DynamoDBMapperConfig.TableNameOverride, DynamoDBMapperConfig.PaginationLoadingStrategy, RequestMetricCollector)
    in favor of the fluent Builder
    com.amazonaws.services.dynamodbv2.datamodeling.ParallelScanTask(DynamoDBMapper, AmazonDynamoDB, List<ScanRequest>)
    com.amazonaws.services.s3.event.S3EventNotification.S3ObjectEntity(String, Integer, String, String)
    com.amazonaws.services.s3.model.BucketNotificationConfiguration(Collection<BucketNotificationConfiguration.TopicConfiguration>)
     
    com.amazonaws.services.s3.model.SetBucketNotificationConfigurationRequest(BucketNotificationConfiguration, String)
    Use SetBucketNotificationConfigurationRequest(String, BucketNotificationConfiguration) instead.
    com.amazonaws.services.s3.S3ClientOptions()
    Use S3ClientOptions.builder() to build new S3ClientOptions instead.
    com.amazonaws.services.s3.S3ClientOptions(S3ClientOptions)
    Will be removed once S3ClientOptions is made an immutable class.
  • Deprecated Enum Constants
    Enum Constant
    Description
    com.amazonaws.auth.policy.actions.CodecommitActions.GetCommit
    com.amazonaws.auth.policy.actions.CodecommitActions.GetRepositoryTriggers
    com.amazonaws.auth.policy.actions.CodecommitActions.PutRepositoryTriggers
    com.amazonaws.auth.policy.actions.CodecommitActions.TestRepositoryTriggers
    com.amazonaws.event.ProgressEventType.BYTE_TRANSFER_EVENT

Copyright © 2023. All rights reserved.