Skip to content

ESPRMAdminCloudwatchLog

Defined in: src/ESPRMAdminCloudwatchLog.ts:11

Shell class for admin cloudwatch log IAM user operations. Methods are added via prototype augmentation in methods/ESPRMAdminCloudwatchLog/*.

new ESPRMAdminCloudwatchLog(): ESPRMAdminCloudwatchLog

ESPRMAdminCloudwatchLog

addCloudwatchLogUser(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminCloudwatchLog/AddCloudwatchLogUser.ts:22

Adds an IAM user for accessing CloudWatch logs.

AddCloudwatchLogUserRequest

The request containing the user details to add.

Promise<ESPAPISuccessResponse>

A promise that resolves to a success response.


removeCloudwatchLogUser(email): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminCloudwatchLog/RemoveCloudwatchLogUser.ts:26

Removes an IAM user’s access to CloudWatch logs.

string

The email address of the user to remove.

Promise<ESPAPISuccessResponse>

A promise that resolves to a success response.