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.

ConfigurationRecorderStatus

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

type ConfigurationRecorderStatus struct { LastErrorCode *string `locationName:"lastErrorCode" type:"string"` LastErrorMessage *string `locationName:"lastErrorMessage" type:"string"` LastStartTime *time.Time `locationName:"lastStartTime" type:"timestamp"` LastStatus *string `locationName:"lastStatus" type:"string" enum:"RecorderStatus"` LastStatusChangeTime *time.Time `locationName:"lastStatusChangeTime" type:"timestamp"` LastStopTime *time.Time `locationName:"lastStopTime" type:"timestamp"` Name *string `locationName:"name" type:"string"` Recording *bool `locationName:"recording" type:"boolean"` }

The current status of the configuration recorder.

LastErrorCode

Type: *string

The error code indicating that the recording failed.

LastErrorMessage

Type: *string

The message indicating that the recording failed due to an error.

LastStartTime

Type: *time.Time

The time the recorder was last started.

LastStatus

Type: *string

The last (previous) status of the recorder.

LastStatusChangeTime

Type: *time.Time

The time when the status was last changed.

LastStopTime

Type: *time.Time

The time the recorder was last stopped.

Name

Type: *string

The name of the configuration recorder.

Recording

Type: *bool

Specifies whether or not the recorder is currently recording.

Method

GoString

func (s ConfigurationRecorderStatus) GoString() string

GoString returns the string representation

SetLastErrorCode

func (s *ConfigurationRecorderStatus) SetLastErrorCode(v string) *ConfigurationRecorderStatus

SetLastErrorCode sets the LastErrorCode field's value.

SetLastErrorMessage

func (s *ConfigurationRecorderStatus) SetLastErrorMessage(v string) *ConfigurationRecorderStatus

SetLastErrorMessage sets the LastErrorMessage field's value.

SetLastStartTime

func (s *ConfigurationRecorderStatus) SetLastStartTime(v time.Time) *ConfigurationRecorderStatus

SetLastStartTime sets the LastStartTime field's value.

SetLastStatus

func (s *ConfigurationRecorderStatus) SetLastStatus(v string) *ConfigurationRecorderStatus

SetLastStatus sets the LastStatus field's value.

SetLastStatusChangeTime

func (s *ConfigurationRecorderStatus) SetLastStatusChangeTime(v time.Time) *ConfigurationRecorderStatus

SetLastStatusChangeTime sets the LastStatusChangeTime field's value.

SetLastStopTime

func (s *ConfigurationRecorderStatus) SetLastStopTime(v time.Time) *ConfigurationRecorderStatus

SetLastStopTime sets the LastStopTime field's value.

SetName

func (s *ConfigurationRecorderStatus) SetName(v string) *ConfigurationRecorderStatus

SetName sets the Name field's value.

SetRecording

func (s *ConfigurationRecorderStatus) SetRecording(v bool) *ConfigurationRecorderStatus

SetRecording sets the Recording field's value.

String

func (s ConfigurationRecorderStatus) String() string

String returns the string representation

On this page: