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.

GetServiceLastAccessedDetailsOutput

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

type GetServiceLastAccessedDetailsOutput struct { Error *ErrorDetails `type:"structure"` IsTruncated *bool `type:"boolean"` JobCompletionDate *time.Time `type:"timestamp" required:"true"` JobCreationDate *time.Time `type:"timestamp" required:"true"` JobStatus *string `type:"string" required:"true" enum:"jobStatusType"` Marker *string `min:"1" type:"string"` ServicesLastAccessed []*ServiceLastAccessed `type:"list" required:"true"` }

Error

Contains information about the reason that the operation failed.

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

IsTruncated

Type: *bool

A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Markerrequest parameter to retrieve more items. Note that IAM might return fewer than the MaxItemsnumber of results even when there are more results available. We recommend that you check IsTruncated

JobCompletionDate

Type: *time.Time

The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), when the generated report job was completed or failed.

This field is null if the job is still in progress, as indicated by a JobStatus value of IN_PROGRESS.

JobCompletionDate is a required field

JobCreationDate

Type: *time.Time

The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), when the report job was created.

JobCreationDate is a required field

JobStatus

Type: *string

The status of the job.

JobStatus is a required field

Marker

Type: *string

When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

ServicesLastAccessed

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

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

Method

GoString

func (s GetServiceLastAccessedDetailsOutput) GoString() string

GoString returns the string representation

SetError

func (s *GetServiceLastAccessedDetailsOutput) SetError(v *ErrorDetails) *GetServiceLastAccessedDetailsOutput

SetError sets the Error field's value.

SetIsTruncated

func (s *GetServiceLastAccessedDetailsOutput) SetIsTruncated(v bool) *GetServiceLastAccessedDetailsOutput

SetIsTruncated sets the IsTruncated field's value.

SetJobCompletionDate

func (s *GetServiceLastAccessedDetailsOutput) SetJobCompletionDate(v time.Time) *GetServiceLastAccessedDetailsOutput

SetJobCompletionDate sets the JobCompletionDate field's value.

SetJobCreationDate

func (s *GetServiceLastAccessedDetailsOutput) SetJobCreationDate(v time.Time) *GetServiceLastAccessedDetailsOutput

SetJobCreationDate sets the JobCreationDate field's value.

SetJobStatus

func (s *GetServiceLastAccessedDetailsOutput) SetJobStatus(v string) *GetServiceLastAccessedDetailsOutput

SetJobStatus sets the JobStatus field's value.

SetMarker

func (s *GetServiceLastAccessedDetailsOutput) SetMarker(v string) *GetServiceLastAccessedDetailsOutput

SetMarker sets the Marker field's value.

SetServicesLastAccessed

func (s *GetServiceLastAccessedDetailsOutput) SetServicesLastAccessed(v []*ServiceLastAccessed) *GetServiceLastAccessedDetailsOutput

SetServicesLastAccessed sets the ServicesLastAccessed field's value.

String

func (s GetServiceLastAccessedDetailsOutput) String() string

String returns the string representation

On this page: