Skip to content

Commit 376b448

Browse files
author
AWS
committed
Amazon Lightsail Update: This release adds support to track when a bucket access key was last used.
1 parent deba443 commit 376b448

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Lightsail",
4+
"contributor": "",
5+
"description": "This release adds support to track when a bucket access key was last used."
6+
}

services/lightsail/src/main/resources/codegen-resources/service-2.json

+23-1
Original file line numberDiff line numberDiff line change
@@ -2874,10 +2874,32 @@
28742874
"createdAt":{
28752875
"shape":"IsoDate",
28762876
"documentation":"<p>The timestamp when the access key was created.</p>"
2877+
},
2878+
"lastUsed":{
2879+
"shape":"AccessKeyLastUsed",
2880+
"documentation":"<p>An object that describes the last time the access key was used.</p> <note> <p>This object does not include data in the response of a <a>CreateBucketAccessKey</a> action. If the access key has not been used, the <code>region</code> and <code>serviceName</code> values are <code>N/A</code>, and the <code>lastUsedDate</code> value is null.</p> </note>"
28772881
}
28782882
},
28792883
"documentation":"<p>Describes an access key for an Amazon Lightsail bucket.</p> <p>Access keys grant full programmatic access to the specified bucket and its objects. You can have a maximum of two access keys per bucket. Use the <a>CreateBucketAccessKey</a> action to create an access key for a specific bucket. For more information about access keys, see <a href=\"https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys\">Creating access keys for a bucket in Amazon Lightsail</a> in the <i>Amazon Lightsail Developer Guide</i>.</p> <important> <p>The <code>secretAccessKey</code> value is returned only in response to the <code>CreateBucketAccessKey</code> action. You can get a secret access key only when you first create an access key; you cannot get the secret access key later. If you lose the secret access key, you must create a new access key.</p> </important>"
28802884
},
2885+
"AccessKeyLastUsed":{
2886+
"type":"structure",
2887+
"members":{
2888+
"lastUsedDate":{
2889+
"shape":"IsoDate",
2890+
"documentation":"<p>The date and time when the access key was most recently used.</p> <p>This value is null if the access key has not been used.</p>"
2891+
},
2892+
"region":{
2893+
"shape":"string",
2894+
"documentation":"<p>The AWS Region where this access key was most recently used.</p> <p>This value is <code>N/A</code> if the access key has not been used.</p>"
2895+
},
2896+
"serviceName":{
2897+
"shape":"string",
2898+
"documentation":"<p>The name of the AWS service with which this access key was most recently used.</p> <p>This value is <code>N/A</code> if the access key has not been used.</p>"
2899+
}
2900+
},
2901+
"documentation":"<p>Describes the last time an access key was used.</p> <note> <p>This object does not include data in the response of a <a>CreateBucketAccessKey</a> action.</p> </note>"
2902+
},
28812903
"AccessKeyList":{
28822904
"type":"list",
28832905
"member":{"shape":"AccessKey"}
@@ -4459,7 +4481,7 @@
44594481
},
44604482
"enableObjectVersioning":{
44614483
"shape":"boolean",
4462-
"documentation":"<p>A Boolean value that indicates whether to enable versioning of objects in the bucket.</p> <p>For more information about versioning, see <a href=\"https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-bucket-object-versioning\">Enabling and suspending bucket object versioning in Amazon Lightsail</a> in the <i>Amazon Lightsail Developer Guide</i>.</p>"
4484+
"documentation":"<p>A Boolean value that indicates whether to enable versioning of objects in the bucket.</p> <p>For more information about versioning, see <a href=\"https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-bucket-object-versioning\">Enabling and suspending object versioning in a bucket in Amazon Lightsail</a> in the <i>Amazon Lightsail Developer Guide</i>.</p>"
44634485
}
44644486
}
44654487
},

0 commit comments

Comments
 (0)