Generates the random byte string in the AWS CloudHSM cluster that is
associated with the specified custom key store.
To find the ID of a custom key store, use the DescribeCustomKeyStores
operation.
By default, the random byte string is generated in AWS KMS. To generate
the byte string in the AWS CloudHSM cluster that is associated with a
custom key store,
specify the custom key store ID.
# NOT RUN {# The following example uses AWS KMS to generate 32 bytes of random data.# }# NOT RUN {svc$generate_random(
NumberOfBytes = 32L)
# }# NOT RUN {# }