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.

PutEvaluationsInput

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

type PutEvaluationsInput struct { Evaluations []*Evaluation `type:"list"` ResultToken *string `type:"string" required:"true"` TestMode *bool `type:"boolean"` }

Evaluations

Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.

ResultToken

Type: *string

An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation.

ResultToken is a required field

TestMode

Type: *bool

Use this parameter to specify a test run for PutEvaluations. You can verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config.

When TestMode is true, PutEvaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null.

Method

GoString

func (s PutEvaluationsInput) GoString() string

GoString returns the string representation

SetEvaluations

func (s *PutEvaluationsInput) SetEvaluations(v []*Evaluation) *PutEvaluationsInput

SetEvaluations sets the Evaluations field's value.

SetResultToken

func (s *PutEvaluationsInput) SetResultToken(v string) *PutEvaluationsInput

SetResultToken sets the ResultToken field's value.

SetTestMode

func (s *PutEvaluationsInput) SetTestMode(v bool) *PutEvaluationsInput

SetTestMode sets the TestMode field's value.

String

func (s PutEvaluationsInput) String() string

String returns the string representation

Validate

func (s *PutEvaluationsInput) Validate() error

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

On this page: