AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

EntityDetails

import "github.com/aws/aws-sdk-go/service/iam"

type EntityDetails struct { EntityInfo *EntityInfo `type:"structure" required:"true"` LastAuthenticated *time.Time `type:"timestamp"` }

An object that contains details about when the IAM entities (users or roles) were last used in an attempt to access the specified AWS service.

This data type is a response element in the GetServiceLastAccessedDetailsWithEntities operation.

EntityInfo

Contains details about the specified entity (user or role).

This data type is an element of the EntityDetails object.

LastAuthenticated

Type: *time.Time

The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), when the authenticated entity last attempted to access AWS. AWS does not report unauthenticated requests.

This field is null if no IAM entities attempted to access the service within the reporting period (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period).

Method

GoString

func (s EntityDetails) GoString() string

GoString returns the string representation

SetEntityInfo

func (s *EntityDetails) SetEntityInfo(v *EntityInfo) *EntityDetails

SetEntityInfo sets the EntityInfo field's value.

SetLastAuthenticated

func (s *EntityDetails) SetLastAuthenticated(v time.Time) *EntityDetails

SetLastAuthenticated sets the LastAuthenticated field's value.

String

func (s EntityDetails) String() string

String returns the string representation

On this page: