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.

GetAccountAuthorizationDetailsOutput

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

type GetAccountAuthorizationDetailsOutput struct { GroupDetailList []*GroupDetail `type:"list"` IsTruncated *bool `type:"boolean"` Marker *string `min:"1" type:"string"` Policies []*ManagedPolicyDetail `type:"list"` RoleDetailList []*RoleDetail `type:"list"` UserDetailList []*UserDetail `type:"list"` }

Contains the response to a successful GetAccountAuthorizationDetails request.

GroupDetailList

Contains information about an IAM group, including all of the group's policies.

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

IsTruncated

Type: *bool

A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

Marker

Type: *string

When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

Policies

Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.

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

For more information about managed policies, see Managed Policies and Inline Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the Using IAM guide.

RoleDetailList

Contains information about an IAM role, including all of the role's policies.

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

UserDetailList

Contains information about an IAM user, including all the user's policies and all the IAM groups the user is in.

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

Method

GoString

func (s GetAccountAuthorizationDetailsOutput) GoString() string

GoString returns the string representation

SetGroupDetailList

func (s *GetAccountAuthorizationDetailsOutput) SetGroupDetailList(v []*GroupDetail) *GetAccountAuthorizationDetailsOutput

SetGroupDetailList sets the GroupDetailList field's value.

SetIsTruncated

func (s *GetAccountAuthorizationDetailsOutput) SetIsTruncated(v bool) *GetAccountAuthorizationDetailsOutput

SetIsTruncated sets the IsTruncated field's value.

SetMarker

func (s *GetAccountAuthorizationDetailsOutput) SetMarker(v string) *GetAccountAuthorizationDetailsOutput

SetMarker sets the Marker field's value.

SetPolicies

func (s *GetAccountAuthorizationDetailsOutput) SetPolicies(v []*ManagedPolicyDetail) *GetAccountAuthorizationDetailsOutput

SetPolicies sets the Policies field's value.

SetRoleDetailList

func (s *GetAccountAuthorizationDetailsOutput) SetRoleDetailList(v []*RoleDetail) *GetAccountAuthorizationDetailsOutput

SetRoleDetailList sets the RoleDetailList field's value.

SetUserDetailList

func (s *GetAccountAuthorizationDetailsOutput) SetUserDetailList(v []*UserDetail) *GetAccountAuthorizationDetailsOutput

SetUserDetailList sets the UserDetailList field's value.

String

func (s GetAccountAuthorizationDetailsOutput) String() string

String returns the string representation

On this page: