AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains details about the most recent attempt to access the service.

This data type is used as a response element in the GetServiceLastAccessedDetails operation.

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.ServiceLastAccessed

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.IdentityManagement.dll
Version: 3.x.y.z

Syntax

C#
public class ServiceLastAccessed

The ServiceLastAccessed type exposes the following members

Constructors

NameDescription
Public Method ServiceLastAccessed()

Properties

NameTypeDescription
Public Property LastAuthenticated System.DateTime

Gets and sets the property LastAuthenticated.

The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the tracking period.

Public Property LastAuthenticatedEntity System.String

Gets and sets the property LastAuthenticatedEntity.

The ARN of the authenticated entity (user or role) that last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the tracking period.

Public Property LastAuthenticatedRegion System.String

Gets and sets the property LastAuthenticatedRegion.

The Region from which the authenticated entity (user or role) last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the tracking period.

Public Property ServiceName System.String

Gets and sets the property ServiceName.

The name of the service in which access was attempted.

Public Property ServiceNamespace System.String

Gets and sets the property ServiceNamespace.

The namespace of the service in which access was attempted.

To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

Public Property TotalAuthenticatedEntities System.Int32

Gets and sets the property TotalAuthenticatedEntities.

The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service.

This field is null if no principals attempted to access the service within the tracking period.

Public Property TrackedActionsLastAccessed System.Collections.Generic.List<Amazon.IdentityManagement.Model.TrackedActionLastAccessed>

Gets and sets the property TrackedActionsLastAccessed.

An object that contains details about the most recent attempt to access a tracked action within the service.

This field is null if there no tracked actions or if the principal did not use the tracked actions within the tracking period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity field in GenerateServiceLastAccessedDetails.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5