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.

DecryptOutput

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

type DecryptOutput struct { KeyId *string `min:"1" type:"string"` Plaintext []byte `min:"1" type:"blob" sensitive:"true"` }

KeyId

Type: *string

ARN of the key used to perform the decryption. This value is returned if no errors are encountered during the operation.

Plaintext

Type: []byte

Decrypted plaintext data. 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 DecryptOutput) GoString() string

GoString returns the string representation

SetKeyId

func (s *DecryptOutput) SetKeyId(v string) *DecryptOutput

SetKeyId sets the KeyId field's value.

SetPlaintext

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

SetPlaintext sets the Plaintext field's value.

String

func (s DecryptOutput) String() string

String returns the string representation

On this page: