Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.
Perubahan khusus layanan
Amazon S3 berubah
SDK for Java 2.x menonaktifkan akses anonim secara default. Akibatnya, Anda harus mengaktifkan akses anonim dengan menggunakan fileAnonymousCredentialsProvider
.
Perubahan nama operasi
Banyak nama operasi untuk Amazon S3 klien telah berubah di AWS SDK for Java 2.x. Dalam versi 1.x, Amazon S3 klien tidak dihasilkan langsung dari API layanan. Hal ini mengakibatkan ketidakkonsistenan antara operasi SDK dan API layanan. Di versi 2.x, kami sekarang menghasilkan Amazon S3 klien agar lebih konsisten dengan API layanan.
Tabel berikut menunjukkan nama operasi dalam dua versi.
1.x | 2.x |
---|---|
abortMultipartUpload |
abortMultipartUpload |
changeObjectStorageClass |
copyObject |
completeMultipartUpload |
completeMultipartUpload |
copyObject |
copyObject |
copyPart |
uploadPartCopy |
createBucket |
createBucket |
deleteBucket |
deleteBucket |
deleteBucketAnalyticsConfiguration |
deleteBucketAnalyticsConfiguration |
deleteBucketCrossOriginConfiguration |
deleteBucketCors |
deleteBucketEncryption |
deleteBucketEncryption |
deleteBucketInventoryConfiguration |
deleteBucketInventoryConfiguration |
deleteBucketLifecycleConfiguration |
deleteBucketLifecycle |
deleteBucketMetricsConfiguration |
deleteBucketMetricsConfiguration |
deleteBucketPolicy |
deleteBucketPolicy |
deleteBucketReplicationConfiguration |
deleteBucketReplication |
deleteBucketTaggingConfiguration |
deleteBucketTagging |
deleteBucketWebsiteConfiguration |
deleteBucketWebsite |
deleteObject |
deleteObject |
deleteObjectTagging |
deleteObjectTagging |
deleteObjects |
deleteObjects |
deleteVersion |
deleteObject |
disableRequesterPays |
putBucketRequestPayment |
doesBucketExist |
headBucket |
doesBucketExistV2 |
headBucket |
doesObjectExist |
headObject |
enableRequesterPays |
putBucketRequestPayment |
generatePresignedUrl |
S3Presigner |
getBucketAccelerateConfiguration |
getBucketAccelerateConfiguration |
getBucketAcl |
getBucketAcl |
getBucketAnalyticsConfiguration |
getBucketAnalyticsConfiguration |
getBucketCrossOriginConfiguration |
getBucketCors |
getBucketEncryption |
getBucketEncryption |
getBucketInventoryConfiguration |
getBucketInventoryConfiguration |
getBucketLifecycleConfiguration |
getBucketLifecycle atau getBucketLifecycleConfiguration |
getBucketLocation |
getBucketLocation |
getBucketLoggingConfiguration |
getBucketLogging |
getBucketMetricsConfiguration |
getBucketMetricsConfiguration |
getBucketNotificationConfiguration |
getBucketNotification atau getBucketNotificationConfiguration |
getBucketPolicy |
getBucketPolicy |
getBucketReplicationConfiguration |
getBucketReplication |
getBucketTaggingConfiguration |
getBucketTagging |
getBucketVersioningConfiguration |
getBucketVersioning |
getBucketWebsiteConfiguration |
getBucketWebsite |
getObject |
getObject |
getObjectAcl |
getObjectAcl |
getObjectAsString |
getObjectAsBytes().asUtf8String |
getObjectMetadata |
headObject |
getObjectTagging |
getObjectTagging |
getResourceUrl |
S3Utilities#getUrl |
getS3AccountOwner |
listBuckets |
getUrl |
S3Utilities#getUrl |
headBucket |
headBucket |
initiateMultipartUpload |
createMultipartUpload |
isRequesterPaysEnabled |
getBucketRequestPayment |
listBucketAnalyticsConfigurations |
listBucketAnalyticsConfigurations |
listBucketInventoryConfigurations |
listBucketInventoryConfigurations |
listBucketMetricsConfigurations |
listBucketMetricsConfigurations |
listBuckets |
listBuckets |
listMultipartUploads |
listMultipartUploads |
listNextBatchOfObjects |
listObjectsV2Paginator |
listNextBatchOfVersions |
listObjectVersionsPaginator |
listObjects |
listObjects |
listObjectsV2 |
listObjectsV2 |
listParts |
listParts |
listVersions |
listObjectVersions |
putObject |
putObject |
restoreObject |
restoreObject |
restoreObjectV2 |
restoreObject |
selectObjectContent |
selectObjectContent |
setBucketAccelerateConfiguration |
putBucketAccelerateConfiguration |
setBucketAcl |
putBucketAcl |
setBucketAnalyticsConfiguration |
putBucketAnalyticsConfiguration |
setBucketCrossOriginConfiguration |
putBucketCors |
setBucketEncryption |
putBucketEncryption |
setBucketInventoryConfiguration |
putBucketInventoryConfiguration |
setBucketLifecycleConfiguration |
putBucketLifecycle atau putBucketLifecycleConfiguration |
setBucketLoggingConfiguration |
putBucketLogging |
setBucketMetricsConfiguration |
putBucketMetricsConfiguration |
setBucketNotificationConfiguration |
putBucketNotification atau putBucketNotificationConfiguration |
setBucketPolicy |
putBucketPolicy |
setBucketReplicationConfiguration |
putBucketReplication |
setBucketTaggingConfiguration |
putBucketTagging |
setBucketVersioningConfiguration |
putBucketVersioning |
setBucketWebsiteConfiguration |
putBucketWebsite |
setObjectAcl |
putObjectAcl |
setObjectRedirectLocation |
copyObject |
setObjectTagging |
putObjectTagging |
uploadPart |
uploadPart |
Amazon SNS berubah
Klien SNS tidak dapat lagi mengakses topik SNS di Wilayah selain Wilayah yang dikonfigurasi untuk diakses.
Amazon SQS berubah
Klien SQS tidak dapat lagi mengakses antrian SQS di Wilayah selain Wilayah yang dikonfigurasi untuk diakses.
Amazon RDS berubah
SDK for Java 2.x RdsUtilities#generateAuthenticationToken
digunakan sebagai pengganti RdsIamAuthTokenGenerator
kelas di 1.x.