Protected
Creates a user access logging settings resource that can be associated with a web portal.
Use a bare-bones client and the command you need to make an API call.
import { WorkSpacesWebClient, CreateUserAccessLoggingSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import// const { WorkSpacesWebClient, CreateUserAccessLoggingSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS importconst client = new WorkSpacesWebClient(config);const command = new CreateUserAccessLoggingSettingsCommand(input);const response = await client.send(command);
CreateUserAccessLoggingSettingsCommandInput
CreateUserAccessLoggingSettingsCommandOutput
input
response
config
AccessDeniedException (client fault)
Access is denied.
ConflictException (client fault)
There is a conflict.
InternalServerException (server fault)
There is an internal server error.
ServiceQuotaExceededException (client fault)
The service quota has been exceeded.
ThrottlingException (client fault)
There is a throttling error.
ValidationException (client fault)
There is a validation error.
Readonly
Static
Creates a user access logging settings resource that can be associated with a web portal.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateUserAccessLoggingSettingsCommandInput
Returns
CreateUserAccessLoggingSettingsCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
Access is denied.
Throws
ConflictException (client fault)
There is a conflict.
Throws
InternalServerException (server fault)
There is an internal server error.
Throws
ServiceQuotaExceededException (client fault)
The service quota has been exceeded.
Throws
ThrottlingException (client fault)
There is a throttling error.
Throws
ValidationException (client fault)
There is a validation error.