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.

GetComplianceDetailsByResourceInput

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

type GetComplianceDetailsByResourceInput struct { ComplianceTypes []*string `type:"list"` NextToken *string `type:"string"` ResourceId *string `min:"1" type:"string" required:"true"` ResourceType *string `min:"1" type:"string" required:"true"` }

ComplianceTypes

Type: []*string

Filters the results by compliance.

The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

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 AWS resource for which you want compliance information.

ResourceId is a required field

ResourceType

Type: *string

The type of the AWS resource for which you want compliance information.

ResourceType is a required field

Method

GoString

func (s GetComplianceDetailsByResourceInput) GoString() string

GoString returns the string representation

SetComplianceTypes

func (s *GetComplianceDetailsByResourceInput) SetComplianceTypes(v []*string) *GetComplianceDetailsByResourceInput

SetComplianceTypes sets the ComplianceTypes field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetResourceId

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

SetResourceId sets the ResourceId field's value.

SetResourceType

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

SetResourceType sets the ResourceType field's value.

String

func (s GetComplianceDetailsByResourceInput) String() string

String returns the string representation

Validate

func (s *GetComplianceDetailsByResourceInput) Validate() error

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

On this page: