UpdateEncryptionKey
Source:
src/AWS/Inspector2/UpdateEncryptionKey.ts
Runtime binding for inspector2:UpdateEncryptionKey.
Updates an encryption key. A ResourceNotFoundException means that an
Amazon Web Services owned key is being used for encryption.
Provide the implementation with
Effect.provide(AWS.Inspector2.UpdateEncryptionKeyHttp).
Account Settings & Usage
Section titled “Account Settings & Usage”// initconst updateEncryptionKey = yield* AWS.Inspector2.UpdateEncryptionKey();
// runtimeyield* updateEncryptionKey({ kmsKeyId, resourceType: "AWS_ECR_CONTAINER_IMAGE", scanType: "PACKAGE",});