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.

ListPoliciesGrantingServiceAccessEntry

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

type ListPoliciesGrantingServiceAccessEntry struct { Policies []*PolicyGrantingServiceAccess `type:"list"` ServiceNamespace *string `min:"1" type:"string"` }

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

This data type is used as a response element in the ListPoliciesGrantingServiceAccess operation.

Policies

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

This data type is an element of the ListPoliciesGrantingServiceAccessEntry object.

ServiceNamespace

Type: *string

The namespace of the service that was accessed.

To learn the service namespace of a service, go to Actions, Resources, and Condition Keys for AWS Services (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_actions-resources-contextkeys.html) in the IAM User Guide. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) in the AWS General Reference.

Method

GoString

func (s ListPoliciesGrantingServiceAccessEntry) GoString() string

GoString returns the string representation

SetPolicies

func (s *ListPoliciesGrantingServiceAccessEntry) SetPolicies(v []*PolicyGrantingServiceAccess) *ListPoliciesGrantingServiceAccessEntry

SetPolicies sets the Policies field's value.

SetServiceNamespace

func (s *ListPoliciesGrantingServiceAccessEntry) SetServiceNamespace(v string) *ListPoliciesGrantingServiceAccessEntry

SetServiceNamespace sets the ServiceNamespace field's value.

String

func (s ListPoliciesGrantingServiceAccessEntry) String() string

String returns the string representation

On this page: