Struct: kms.GenerateRandomOutput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Plaintext []byte
The random byte string.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetPlaintext([]byte) *GenerateRandomOutput
operation
SetPlaintext sets the Plaintext field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
Plaintext []byte
`min:"1" type:"blob" sensitive:"true"`
The random byte string. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
If the response includes the CiphertextForRecipient field, the Plaintext field is null or empty.
Plaintext is a sensitive parameter and its value will be replaced with “sensitive” in string returned by GenerateRandomOutput's String and GoString methods.
Plaintext is automatically base64 encoded/decoded by the SDK.
_ struct{}
`type:"structure"`
Method Details
func (s GenerateRandomOutput) 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”.
12288 12289 12290 |
// File 'service/kms/api.go', line 12288
|
func (s *GenerateRandomOutput) SetPlaintext(v []byte) *GenerateRandomOutput
SetPlaintext sets the Plaintext field's value.
12293 12294 12295 12296 |
// File 'service/kms/api.go', line 12293
|
func (s GenerateRandomOutput) 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”.
12279 12280 12281 |
// File 'service/kms/api.go', line 12279
|