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.

LoadPermission

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

type LoadPermission struct { Group *string `locationName:"group" type:"string" enum:"PermissionGroup"` UserId *string `locationName:"userId" type:"string"` }

Describes a load permission.

Group

Type: *string

The name of the group.

UserId

Type: *string

The AWS account ID.

Method

GoString

func (s LoadPermission) GoString() string

GoString returns the string representation

SetGroup

func (s *LoadPermission) SetGroup(v string) *LoadPermission

SetGroup sets the Group field's value.

SetUserId

func (s *LoadPermission) SetUserId(v string) *LoadPermission

SetUserId sets the UserId field's value.

String

func (s LoadPermission) String() string

String returns the string representation

LoadPermissionRequest

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

type LoadPermissionRequest struct { Group *string `type:"string" enum:"PermissionGroup"` UserId *string `type:"string"` }

Describes a load permission.

Group

Type: *string

The name of the group.

UserId

Type: *string

The AWS account ID.

Method

GoString

func (s LoadPermissionRequest) GoString() string

GoString returns the string representation

SetGroup

func (s *LoadPermissionRequest) SetGroup(v string) *LoadPermissionRequest

SetGroup sets the Group field's value.

SetUserId

func (s *LoadPermissionRequest) SetUserId(v string) *LoadPermissionRequest

SetUserId sets the UserId field's value.

String

func (s LoadPermissionRequest) String() string

String returns the string representation