title: Is there a way to enable ReplicationConfiguration for AWS S3 Replication management using s3.putbucketreplication API?
body: <p>I am trying to enable replication configuration via the s3.putbucketreplication() api. I am getting "<strong>InvalidRequest: Priority cannot be used for this version of Cross Region Replication configuration schema. Please refer to S3 Developer Guide for more information.</strong>" error. What does this mean?</p>
  
  <pre><code>var params = {
   Bucket: "428096-jwtuseragent-data-lab",
   ReplicationConfiguration: {
      Role: "arn:aws:iam::315327487940:role/S3BatchJobRole",
      Rules: [ Destination: {
                      Bucket: "arn:aws:s3:::428096-jwtuseragent-details-lab",
                      ReplicationTime: {
                          Status: "Enabled",
                          Time: {
                              Minutes: 15
                          }
                      },
                      Metrics: {
                          Status: "Enabled",
                          EventThreshold: {
                              Minutes: 15
                          }
                      }
  
                  },                  
                  ID: "folder",
                  DeleteMarkerReplication:{
                        Status: "Disabled"
                      },
                  Prefix: "folder1/",
                      Priority: 2,
                  Status: "Enabled"
              }]
  }}
  </code></pre>
  
  <p>This is my params.
  Please help</p>