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.

GetLifecyclePoliciesInput

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

type GetLifecyclePoliciesInput struct { PolicyIds []*string `location:"querystring" locationName:"policyIds" type:"list"` ResourceTypes []*string `location:"querystring" locationName:"resourceTypes" min:"1" type:"list"` State *string `location:"querystring" locationName:"state" type:"string" enum:"GettablePolicyStateValues"` TagsToAdd []*string `location:"querystring" locationName:"tagsToAdd" type:"list"` TargetTags []*string `location:"querystring" locationName:"targetTags" min:"1" type:"list"` }

PolicyIds

Type: []*string

The identifiers of the data lifecycle policies.

ResourceTypes

Type: []*string

The resource type.

State

Type: *string

The activation state.

TagsToAdd

Type: []*string

The tags to add to objects created by the policy.

Tags are strings in the format key=value.

These user-defined tags are added in addition to the AWS-added lifecycle tags.

TargetTags

Type: []*string

The target tag for a policy.

Tags are strings in the format key=value.

Method

GoString

func (s GetLifecyclePoliciesInput) GoString() string

GoString returns the string representation

SetPolicyIds

func (s *GetLifecyclePoliciesInput) SetPolicyIds(v []*string) *GetLifecyclePoliciesInput

SetPolicyIds sets the PolicyIds field's value.

SetResourceTypes

func (s *GetLifecyclePoliciesInput) SetResourceTypes(v []*string) *GetLifecyclePoliciesInput

SetResourceTypes sets the ResourceTypes field's value.

SetState

func (s *GetLifecyclePoliciesInput) SetState(v string) *GetLifecyclePoliciesInput

SetState sets the State field's value.

SetTagsToAdd

func (s *GetLifecyclePoliciesInput) SetTagsToAdd(v []*string) *GetLifecyclePoliciesInput

SetTagsToAdd sets the TagsToAdd field's value.

SetTargetTags

func (s *GetLifecyclePoliciesInput) SetTargetTags(v []*string) *GetLifecyclePoliciesInput

SetTargetTags sets the TargetTags field's value.

String

func (s GetLifecyclePoliciesInput) String() string

String returns the string representation

Validate

func (s *GetLifecyclePoliciesInput) Validate() error

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

On this page: