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.

GetCredentialReportOutput

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

type GetCredentialReportOutput struct { Content []byte `type:"blob"` GeneratedTime *time.Time `type:"timestamp"` ReportFormat *string `type:"string" enum:"ReportFormatType"` }

Contains the response to a successful GetCredentialReport request.

Content

Type: []byte

Contains the credential report. The report is Base64-encoded.

Content is automatically base64 encoded/decoded by the SDK.

GeneratedTime

Type: *time.Time

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

ReportFormat

Type: *string

The format (MIME type) of the credential report.

Method

GoString

func (s GetCredentialReportOutput) GoString() string

GoString returns the string representation

SetContent

func (s *GetCredentialReportOutput) SetContent(v []byte) *GetCredentialReportOutput

SetContent sets the Content field's value.

SetGeneratedTime

func (s *GetCredentialReportOutput) SetGeneratedTime(v time.Time) *GetCredentialReportOutput

SetGeneratedTime sets the GeneratedTime field's value.

SetReportFormat

func (s *GetCredentialReportOutput) SetReportFormat(v string) *GetCredentialReportOutput

SetReportFormat sets the ReportFormat field's value.

String

func (s GetCredentialReportOutput) String() string

String returns the string representation

On this page: