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.

GetResourcePolicyOutput

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

type GetResourcePolicyOutput struct { CreateTime *time.Time `type:"timestamp"` PolicyHash *string `min:"1" type:"string"` PolicyInJson *string `min:"2" type:"string"` UpdateTime *time.Time `type:"timestamp"` }

CreateTime

Type: *time.Time

The date and time at which the policy was created.

PolicyHash

Type: *string

Contains the hash value associated with this policy.

PolicyInJson

Type: *string

Contains the requested policy document, in JSON format.

UpdateTime

Type: *time.Time

The date and time at which the policy was last updated.

Method

GoString

func (s GetResourcePolicyOutput) GoString() string

GoString returns the string representation

SetCreateTime

func (s *GetResourcePolicyOutput) SetCreateTime(v time.Time) *GetResourcePolicyOutput

SetCreateTime sets the CreateTime field's value.

SetPolicyHash

func (s *GetResourcePolicyOutput) SetPolicyHash(v string) *GetResourcePolicyOutput

SetPolicyHash sets the PolicyHash field's value.

SetPolicyInJson

func (s *GetResourcePolicyOutput) SetPolicyInJson(v string) *GetResourcePolicyOutput

SetPolicyInJson sets the PolicyInJson field's value.

SetUpdateTime

func (s *GetResourcePolicyOutput) SetUpdateTime(v time.Time) *GetResourcePolicyOutput

SetUpdateTime sets the UpdateTime field's value.

String

func (s GetResourcePolicyOutput) String() string

String returns the string representation

On this page: