Wählen Sie Ihre Cookie-Einstellungen aus

Wir verwenden essentielle Cookies und ähnliche Tools, die für die Bereitstellung unserer Website und Services erforderlich sind. Wir verwenden Performance-Cookies, um anonyme Statistiken zu sammeln, damit wir verstehen können, wie Kunden unsere Website nutzen, und Verbesserungen vornehmen können. Essentielle Cookies können nicht deaktiviert werden, aber Sie können auf „Anpassen“ oder „Ablehnen“ klicken, um Performance-Cookies abzulehnen.

Wenn Sie damit einverstanden sind, verwenden AWS und zugelassene Drittanbieter auch Cookies, um nützliche Features der Website bereitzustellen, Ihre Präferenzen zu speichern und relevante Inhalte, einschließlich relevanter Werbung, anzuzeigen. Um alle nicht notwendigen Cookies zu akzeptieren oder abzulehnen, klicken Sie auf „Akzeptieren“ oder „Ablehnen“. Um detailliertere Entscheidungen zu treffen, klicken Sie auf „Anpassen“.

GetAccessKeyLastUsed - AWS Identity and Access Management
Diese Seite wurde nicht in Ihre Sprache übersetzt. Übersetzung anfragen

GetAccessKeyLastUsed

Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the AWS service and Region that were specified in the last request made with that key.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

AccessKeyId

The identifier of an access key.

This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.

Type: String

Length Constraints: Minimum length of 16. Maximum length of 128.

Pattern: [\w]+

Required: Yes

Response Elements

The following elements are returned by the service.

AccessKeyLastUsed

Contains information about the last time the access key was used.

Type: AccessKeyLastUsed object

UserName

The name of the IAM user that owns this access key.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\w+=,.@-]+

Errors

For information about the errors that are common to all actions, see Common Errors.

Examples

Example

This example illustrates one usage of GetAccessKeyLastUsed.

Sample Request

https://iam.amazonaws.com/ ?Action=GetAccessKeyLastUsed &AccessKeyId=AKIAIOSFODNN7EXAMPLE &Version=2010-05-08 &AUTHPARAMS

Sample Response

<GetAccessKeyLastUsedResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <GetAccessKeyLastUsedResult> <AccessKeyLastUsed> <Region>us-west-2</Region> <LastUsedDate>2015-03-13T10:45:00Z</LastUsedDate> <ServiceName>s3</ServiceName> </AccessKeyLastUsed> <UserName>bob</UserName> </GetAccessKeyLastUsedResult> <ResponseMetadata> <RequestId>510a6abf-d022-11e4-abe8-9b0ebEXAMPLE</RequestId> </ResponseMetadata> </GetAccessKeyLastUsedResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

DatenschutzNutzungsbedingungen für die WebsiteCookie-Einstellungen
© 2025, Amazon Web Services, Inc. oder Tochtergesellschaften. Alle Rechte vorbehalten.