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.

ListGrantsResponse

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

type ListGrantsResponse struct { Grants []*GrantListEntry `type:"list"` NextMarker *string `min:"1" type:"string"` Truncated *bool `type:"boolean"` }

Grants

Contains information about an entry in a list of grants.

NextMarker

Type: *string

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

Truncated

Type: *bool

A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker element in this response to the Marker parameter in a subsequent request.

Method

GoString

func (s ListGrantsResponse) GoString() string

GoString returns the string representation

SetGrants

func (s *ListGrantsResponse) SetGrants(v []*GrantListEntry) *ListGrantsResponse

SetGrants sets the Grants field's value.

SetNextMarker

func (s *ListGrantsResponse) SetNextMarker(v string) *ListGrantsResponse

SetNextMarker sets the NextMarker field's value.

SetTruncated

func (s *ListGrantsResponse) SetTruncated(v bool) *ListGrantsResponse

SetTruncated sets the Truncated field's value.

String

func (s ListGrantsResponse) String() string

String returns the string representation

On this page: