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.

GetGroupPolicyOutput

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

type GetGroupPolicyOutput struct { GroupName *string `min:"1" type:"string" required:"true"` PolicyDocument *string `min:"1" type:"string" required:"true"` PolicyName *string `min:"1" type:"string" required:"true"` }

Contains the response to a successful GetGroupPolicy request.

GroupName

Type: *string

The group the policy is associated with.

GroupName is a required field

PolicyDocument

Type: *string

The policy document.

PolicyDocument is a required field

PolicyName

Type: *string

The name of the policy.

PolicyName is a required field

Method

GoString

func (s GetGroupPolicyOutput) GoString() string

GoString returns the string representation

SetGroupName

func (s *GetGroupPolicyOutput) SetGroupName(v string) *GetGroupPolicyOutput

SetGroupName sets the GroupName field's value.

SetPolicyDocument

func (s *GetGroupPolicyOutput) SetPolicyDocument(v string) *GetGroupPolicyOutput

SetPolicyDocument sets the PolicyDocument field's value.

SetPolicyName

func (s *GetGroupPolicyOutput) SetPolicyName(v string) *GetGroupPolicyOutput

SetPolicyName sets the PolicyName field's value.

String

func (s GetGroupPolicyOutput) String() string

String returns the string representation

On this page: