Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
s3api
/
File Content:
put-bucket-lifecycle-configuration.rst
The following command applies a lifecycle configuration to a bucket named ``my-bucket``:: aws s3api put-bucket-lifecycle-configuration --bucket my-bucket --lifecycle-configuration file://lifecycle.json The file ``lifecycle.json`` is a JSON document in the current folder that specifies two rules:: { "Rules": [ { "ID": "Move rotated logs to Glacier", "Prefix": "rotated/", "Status": "Enabled", "Transitions": [ { "Date": "2015-11-10T00:00:00.000Z", "StorageClass": "GLACIER" } ] }, { "Status": "Enabled", "Prefix": "", "NoncurrentVersionTransitions": [ { "NoncurrentDays": 2, "StorageClass": "GLACIER" } ], "ID": "Move old versions to Glacier" } ] } The first rule moves files with the prefix ``rotated`` to Glacier on the specified date. The second rule moves old object versions to Glacier when they are no longer current. For information on acceptable timestamp formats, see `Specifying Parameter Values`_ in the *AWS CLI User Guide*. .. _`Specifying Parameter Values`: http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
abort-multipart-upload.rst
463 bytes
0644
complete-multipart-upload.rst
1550 bytes
0644
copy-object.rst
386 bytes
0644
create-bucket.rst
626 bytes
0644
create-multipart-upload.rst
596 bytes
0644
delete-bucket-cors.rst
163 bytes
0644
delete-bucket-lifecycle.rst
148 bytes
0644
delete-bucket-policy.rst
135 bytes
0644
delete-bucket-replication.rst
152 bytes
0644
delete-bucket-tagging.rst
144 bytes
0644
delete-bucket-website.rst
144 bytes
0644
delete-bucket.rst
126 bytes
0644
delete-object.rst
538 bytes
0644
delete-objects.rst
558 bytes
0644
get-bucket-acl.rst
582 bytes
0644
get-bucket-cors.rst
960 bytes
0644
get-bucket-lifecycle-configuration.rst
880 bytes
0644
get-bucket-lifecycle.rst
631 bytes
0644
get-bucket-location.rst
225 bytes
0644
get-bucket-notification-configuration.rst
489 bytes
0644
get-bucket-notification.rst
468 bytes
0644
get-bucket-policy.rst
1075 bytes
0644
get-bucket-replication.rst
667 bytes
0644
get-bucket-tagging.rst
285 bytes
0644
get-bucket-versioning.rst
195 bytes
0644
get-bucket-website.rst
300 bytes
0644
get-object-acl.rst
790 bytes
0644
get-object-torrent.rst
391 bytes
0644
get-object.rst
553 bytes
0644
head-bucket.rst
326 bytes
0644
head-object.rst
417 bytes
0644
list-buckets.rst
483 bytes
0644
list-multipart-uploads.rst
1035 bytes
0644
list-object-versions.rst
2584 bytes
0644
list-objects.rst
560 bytes
0644
list-parts.rst
1327 bytes
0644
put-bucket-acl.rst
531 bytes
0644
put-bucket-cors.rst
701 bytes
0644
put-bucket-lifecycle-configuration.rst
1405 bytes
0644
put-bucket-lifecycle.rst
1598 bytes
0644
put-bucket-logging.rst
1318 bytes
0644
put-bucket-notification-configuration.rst
1109 bytes
0644
put-bucket-notification.rst
1019 bytes
0644
put-bucket-policy.rst
1007 bytes
0644
put-bucket-replication.rst
1247 bytes
0644
put-bucket-tagging.rst
563 bytes
0644
put-bucket-versioning.rst
356 bytes
0644
put-bucket-website.rst
434 bytes
0644
put-object-acl.rst
554 bytes
0644
put-object.rst
647 bytes
0644
upload-part.rst
845 bytes
0644
N4ST4R_ID | Naxtarrr