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.

GenerateDataKeyWithoutPlaintextOutput

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

type GenerateDataKeyWithoutPlaintextOutput struct { CiphertextBlob []byte `min:"1" type:"blob"` KeyId *string `min:"1" type:"string"` }

CiphertextBlob

Type: []byte

The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.

CiphertextBlob is automatically base64 encoded/decoded by the SDK.

KeyId

Type: *string

The identifier of the CMK under which the data encryption key was generated and encrypted.

Method

GoString

func (s GenerateDataKeyWithoutPlaintextOutput) GoString() string

GoString returns the string representation

SetCiphertextBlob

func (s *GenerateDataKeyWithoutPlaintextOutput) SetCiphertextBlob(v []byte) *GenerateDataKeyWithoutPlaintextOutput

SetCiphertextBlob sets the CiphertextBlob field's value.

SetKeyId

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

SetKeyId sets the KeyId field's value.

String

func (s GenerateDataKeyWithoutPlaintextOutput) String() string

String returns the string representation

On this page: