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.

GenerateRandomOutput

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

type GenerateRandomOutput struct { Plaintext []byte `min:"1" type:"blob" sensitive:"true"` }

Plaintext

Type: []byte

The random byte string. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.

Plaintext is automatically base64 encoded/decoded by the SDK.

Method

GoString

func (s GenerateRandomOutput) GoString() string

GoString returns the string representation

SetPlaintext

func (s *GenerateRandomOutput) SetPlaintext(v []byte) *GenerateRandomOutput

SetPlaintext sets the Plaintext field's value.

String

func (s GenerateRandomOutput) String() string

String returns the string representation

On this page: