listKeys

abstract suspend fun listKeys(input: ListKeysRequest): ListKeysResponse

Returns a list of key value pairs.

Samples


fun main() { 
   //sampleStart 
   // List keys in the key value store with ARN arn aws cloudfront 123456789012 key value store 327284aa
// bcd5 499f a3ff 26b9a9d31b58
val resp = cloudFrontKeyValueStoreClient.listKeys {
    kvsArn = "arn:aws:cloudfront::123456789012:key-value-store/327284aa-bcd5-499f-a3ff-26b9a9d31b58"
    maxResults = 3
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // List the next page in the key value store with ARN arn aws cloudfront 123456789012 key value store
// 327284aa bcd5 499f a3ff 26b9a9d31b58
val resp = cloudFrontKeyValueStoreClient.listKeys {
    kvsArn = "arn:aws:cloudfront::123456789012:key-value-store/327284aa-bcd5-499f-a3ff-26b9a9d31b58"
    maxResults = 3
    nextToken = "hVTTZndkpBZ0VRZ0R1RF"
} 
   //sampleEnd
}