Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionby
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.Replaced byProgressListener
.
-
Deprecated ClassesClassDescriptionby
RequestHandler2
.Simple implementation of RequestHandler to stub out required methods.
useAmazonWebServiceClient.getEndpointPrefix()
instead for retrieving the specific service abbreviation.UseTopicConfiguration
insteaduseLambdaConfiguration
insteadReplaced byProgressEvent
-
Deprecated Enums
-
Deprecated FieldsFieldDescriptionReplaced by
ProgressEventType.TRANSFER_CANCELED_EVENT
Replaced byProgressEventType.TRANSFER_COMPLETED_EVENT
Replaced byProgressEventType.TRANSFER_FAILED_EVENT
Replaced byProgressEventType.TRANSFER_PART_COMPLETED_EVENT
Replaced byProgressEventType.TRANSFER_PART_FAILED_EVENT
Replaced byProgressEventType.TRANSFER_PART_STARTED_EVENT
Replaced byProgressEventType.TRANSFER_PREPARING_EVENT
Replaced byProgressEventType.TRANSFER_STARTED_EVENT
in favor ofAwsSdkMetrics.AWS_CREDENTIAL_PROPERTIES_FILE
withAmazonWebServiceRequest.getRequestClientOptions()
andRequestClientOptions.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.
bySDKGlobalConfiguration.DEFAULT_METRICS_SYSTEM_PROPERTY
. Internal system property to enable timing info collection.Extend fromAWSIntegrationTestBase
to access credentialsbecause it is spelled incorrectly
-
Deprecated MethodsMethodDescriptionby
AmazonWebServiceClient.addRequestHandler(RequestHandler2)
. Appends a request handler to the list of registered handlers that are run as part of a request's lifecycle.byAmazonWebServiceClient.createExecutionContext(AmazonWebServiceRequest)
. This method exists only for backward compatiblity reason, so that clients compiled against the older version of this class won't getNoSuchMethodError
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.This method may be removed in a future major version. Create multiple providers if you need to work with multiple STS endpoints.This method may be removed in a future major version. Create multiple providers if you need to work with multiple STS endpoints.UseProgressEvent.getEventType()
instead.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.in favor ofRegionMetadataParser.parse(InputStream)
in favor ofRegionMetadataParser.parse(InputStream)
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.in favor ofRegionUtils.initialize()
This method returns the accumulated consumed capacity and not the total. UseItemCollection.getAccumulatedScannedCount()
instead.This method returns the accumulated count and not the total count. UseItemCollection.getAccumulatedItemCount()
instead.This method returns the accumulated count and not the total count. UseItemCollection.getAccumulatedScannedCount()
instead.com.amazonaws.services.route53.model.GetChangeDetailsResult.withChangeBatchRecord(ChangeBatchRecord) this operation will not retain the ACL's or SSE parameters associated with the given Amazon S3 object. UseAmazonS3.copyObject(CopyObjectRequest)
instead.this operation will not retain the ACL's or SSE parameters associated with the given Amazon S3 object. UseAmazonS3.copyObject(CopyObjectRequest)
instead.useS3EventNotification.S3ObjectEntity.getSizeAsLong()
instead.useAmazonWebServiceRequest.getGeneralProgressListener()
instead.This will remove the duplicate grants if received from Amazon S3. UseAccessControlList.getGrantsAsList()
instead.This method should not be used. UseBucketLifecycleConfiguration.NoncurrentVersionTransition.getStorageClassAsString()
instead.This method should not be used. UseBucketLifecycleConfiguration.Transition.getStorageClassAsString()
instead.useNotificationConfiguration.getEvents()
instead.Use getBucketName() instead.useAmazonWebServiceRequest.getGeneralProgressListener()
instead.This field is not used by S3. It will be removed in the next major version of the SDKThis field is not used by S3. It will be removed in the next major version of the SDK. SeeNotificationConfiguration.getFilter()
for the correct way to filter notifications.This field is not used by S3. It will be removed in the next major version of the SDK. SeeNotificationConfiguration.setFilter(Filter)
for the correct way to filter notifications.This field is not used by S3. It will be removed in the next major version of the SDK. SeeNotificationConfiguration.withFilter(Filter)
for the correct way to filter notifications.Replaced byObjectMetadata.getSSEAlgorithm()
Replaced byObjectMetadata.setSSEAlgorithm(String)
Replaced byProgressEvent.getBytesTransferred()
Use getBucketName() instead.Use getNotificationConfiguration() instead.Use setBucketName(String) instead.Use setNotificationConfiguration(BucketNotificationConfiguration) instead.useAmazonWebServiceRequest.getGeneralProgressListener()
instead.UseS3ClientOptions.builder()
to build new S3ClientOptions instead.UseS3ClientOptions.builder()
to build new S3ClientOptions instead.UseS3ClientOptions.builder()
to build new S3ClientOptions instead.UseS3ClientOptions.builder()
to build new S3ClientOptions instead.UseS3ClientOptions.builder()
to build new S3ClientOptions instead.Replaced byTransfer.addProgressListener(ProgressListener)
Replaced byTransferProgress.getBytesTransferred()
Replaced byTransferProgress.getPercentTransferred()
Use static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadUse static imports for custom asserts inSdkAsserts
insteadExtend fromAWSIntegrationTestBase
to access credentialsUse Hamcrest Matchers insteadin favor ofAwsHostNameUtils.parseRegionName(String, String)
.
-
Deprecated ConstructorsConstructorDescriptionsince this object is statelessin favor of the fluent
DynamoDBMapperConfig.Builder
in favor of the fluentBuilder
in favor of the fluentBuilder
Use SetBucketNotificationConfigurationRequest(String, BucketNotificationConfiguration) instead.UseS3ClientOptions.builder()
to build new S3ClientOptions instead.Will be removed once S3ClientOptions is made an immutable class.
-
Deprecated Enum ConstantsEnum ConstantDescription