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.

GetResourceConfigHistoryInput

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

type GetResourceConfigHistoryInput struct { ChronologicalOrder *string `locationName:"chronologicalOrder" type:"string" enum:"ChronologicalOrder"` EarlierTime *time.Time `locationName:"earlierTime" type:"timestamp"` LaterTime *time.Time `locationName:"laterTime" type:"timestamp"` Limit *int64 `locationName:"limit" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` ResourceId *string `locationName:"resourceId" min:"1" type:"string" required:"true"` ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` }

The input for the GetResourceConfigHistory action.

ChronologicalOrder

Type: *string

The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.

EarlierTime

Type: *time.Time

The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.

LaterTime

Type: *time.Time

The time stamp that indicates a later time. If not specified, current time is taken.

Limit

Type: *int64

The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.

NextToken

Type: *string

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

ResourceId

Type: *string

The ID of the resource (for example., sg-xxxxxx).

ResourceId is a required field

ResourceType

Type: *string

The resource type.

ResourceType is a required field

Method

GoString

func (s GetResourceConfigHistoryInput) GoString() string

GoString returns the string representation

SetChronologicalOrder

func (s *GetResourceConfigHistoryInput) SetChronologicalOrder(v string) *GetResourceConfigHistoryInput

SetChronologicalOrder sets the ChronologicalOrder field's value.

SetEarlierTime

func (s *GetResourceConfigHistoryInput) SetEarlierTime(v time.Time) *GetResourceConfigHistoryInput

SetEarlierTime sets the EarlierTime field's value.

SetLaterTime

func (s *GetResourceConfigHistoryInput) SetLaterTime(v time.Time) *GetResourceConfigHistoryInput

SetLaterTime sets the LaterTime field's value.

SetLimit

func (s *GetResourceConfigHistoryInput) SetLimit(v int64) *GetResourceConfigHistoryInput

SetLimit sets the Limit field's value.

SetNextToken

func (s *GetResourceConfigHistoryInput) SetNextToken(v string) *GetResourceConfigHistoryInput

SetNextToken sets the NextToken field's value.

SetResourceId

func (s *GetResourceConfigHistoryInput) SetResourceId(v string) *GetResourceConfigHistoryInput

SetResourceId sets the ResourceId field's value.

SetResourceType

func (s *GetResourceConfigHistoryInput) SetResourceType(v string) *GetResourceConfigHistoryInput

SetResourceType sets the ResourceType field's value.

String

func (s GetResourceConfigHistoryInput) String() string

String returns the string representation

Validate

func (s *GetResourceConfigHistoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: