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.

ListAccessKeysOutput

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

type ListAccessKeysOutput struct { AccessKeyMetadata []*AccessKeyMetadata `type:"list" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `min:"1" type:"string"` }

Contains the response to a successful ListAccessKeys request.

AccessKeyMetadata

Contains information about an AWS access key, without its secret key.

This data type is used as a response element in the ListAccessKeys 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.

Method

GoString

func (s ListAccessKeysOutput) GoString() string

GoString returns the string representation

SetAccessKeyMetadata

func (s *ListAccessKeysOutput) SetAccessKeyMetadata(v []*AccessKeyMetadata) *ListAccessKeysOutput

SetAccessKeyMetadata sets the AccessKeyMetadata field's value.

SetIsTruncated

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

SetIsTruncated sets the IsTruncated field's value.

SetMarker

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

SetMarker sets the Marker field's value.

String

func (s ListAccessKeysOutput) String() string

String returns the string representation

On this page: