Struct: kms.GenerateDataKeyWithoutPlaintextOutput

import "../ibm-cos-sdk-go/service/kms"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

CiphertextBlob []byte `min:"1" type:"blob"`

The encrypted data key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. CiphertextBlob is automatically base64 encoded/decoded by the SDK.

KeyId *string `min:"1" type:"string"`

The Amazon Resource Name (key ARN (docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN)) of the KMS key that encrypted the data key.

_ struct{} `type:"structure"`

Method Details

func (s GenerateDataKeyWithoutPlaintextOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



12180
12181
12182
// File 'service/kms/api.go', line 12180

func (s GenerateDataKeyWithoutPlaintextOutput) GoString() string { return s.String() }

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

SetCiphertextBlob sets the CiphertextBlob field's value.



12185
12186
12187
12188
// File 'service/kms/api.go', line 12185

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

SetKeyId sets the KeyId field's value.



12191
12192
12193
12194
// File 'service/kms/api.go', line 12191

func (s GenerateDataKeyWithoutPlaintextOutput) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



12171
12172
12173
// File 'service/kms/api.go', line 12171

func (s GenerateDataKeyWithoutPlaintextOutput) String() string { return awsutil.Prettify(s) }