You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| DetailType | string | Free-form string used to decide what fields to expect in the event detail. |
33
-
| Resources | string[] (optional) | AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. |
34
-
| EventBusName | string (optional) | The event bus that will receive the event. If you omit this, the default event bus is used. Only the AWS account that owns a bus can write to it. |
| DetailType | string | Free-form string used to decide what fields to expect in the event detail. |
32
+
| Resources | string[] (optional) | AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. |
33
+
| EventBusName | string (optional) | The event bus that will receive the event. If you omit this, the default event bus is used. Only the AWS account that owns a bus can write to it. |
Copy file name to clipboardExpand all lines: docs/sources/v0.48.x/javascript-api/jslib/aws/KMSClient/KMSDataKey.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,10 @@ description: 'KMSDataKey is returned by the KMSClient.*DataKey methods that quer
11
11
The KMSDataKey object describes an Amazon Key Management Service data key.
12
12
For instance, the [`generateDataKey`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/kmsclient-generatedatakey/) returns the generated KMSDataKey object.
|`KMSDataKey.id`| string | The identifier of the Key Management Service key that encrypted the data key. |
17
+
|`KMSDataKey.ciphertextBlob`| string | The base64-encoded encrypted copy of the data key. |
18
18
|`KMSDataKey.plaintext`| string | The plain text data key. Use this data key to encrypt your data outside of Key Management Service. Then, remove it from memory as soon as possible. |
19
19
20
20
### Example
@@ -53,4 +53,3 @@ export default async function () {
53
53
_A k6 script that generating a data key from an AWS Key Management Service key_
|[listKeys](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/00 listkeys) | List the all the Key Management Service keys in the caller's AWS account and region. |
24
-
|[generateDataKey](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/00 generateDataKey) | Generate a symmetric data key for use outside of the AWS Key Management Service. |
|[listKeys](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/listkeys)| List the all the Key Management Service keys in the caller's AWS account and region. |
24
+
|[generateDataKey](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/generatedatakey)| Generate a symmetric data key for use outside of the AWS Key Management Service. |
25
25
26
26
### Throws
27
27
@@ -63,7 +63,7 @@ export default async function (data) {
|`id`| string | The identifier of the key. This can be either the key ID or the Amazon Resource Name (ARN) of the key. |
18
17
|`size`| number | The length of the data key. For example, use the value 64 to generate a 512-bit data key (64 bytes is 512 bits). For 256-bit (32-byte) data keys, use the value 32, instead. |
| Promise<[KMSDataKey](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/kmsdatakey)> | A Promise that fulfills with a [KMSDataKey](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/kmskey) object. |
25
24
26
25
### Example
@@ -59,5 +58,3 @@ export default async function () {
59
58
_A k6 script that generating a data key from an AWS Key Management Service key_
| Promise<[KMSKey[]](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/kmskey)> | A Promise that fulfills with an array of [`KMSKey`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/jslib/aws/kmsclient/kmskey) objects. |
18
17
19
18
### Example
@@ -49,5 +48,3 @@ export default async function () {
49
48
_A k6 script querying the user's Key Management Service keys and verifying their test key exists_
Copy file name to clipboardExpand all lines: docs/sources/v0.48.x/javascript-api/jslib/aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md
0 commit comments