We are excited to announce our new API Documentation.
Protected
Update logging configuration.
Use a bare-bones client and the command you need to make an API call.
import { AmpClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import// const { AmpClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS importconst client = new AmpClient(config);const input = { // UpdateLoggingConfigurationRequest workspaceId: "STRING_VALUE", // required logGroupArn: "STRING_VALUE", // required clientToken: "STRING_VALUE",};const command = new UpdateLoggingConfigurationCommand(input);const response = await client.send(command);// { // UpdateLoggingConfigurationResponse// status: { // LoggingConfigurationStatus// statusCode: "STRING_VALUE", // required// statusReason: "STRING_VALUE",// },// };
UpdateLoggingConfigurationCommandInput
UpdateLoggingConfigurationCommandOutput
input
response
config
AccessDeniedException (client fault) User does not have sufficient access to perform this action.
ConflictException (client fault) Updating or deleting a resource can cause an inconsistent state.
InternalServerException (server fault) Unexpected error during processing of request.
ResourceNotFoundException (client fault) Request references a resource which does not exist.
ValidationException (client fault) The input fails to satisfy the constraints specified by an AWS service.
AmpServiceException
Base exception class for all service exceptions from Amp service.
Readonly
Static
Update logging configuration.
Example
Use a bare-bones client and the command you need to make an API call.
Param
UpdateLoggingConfigurationCommandInput
Returns
UpdateLoggingConfigurationCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault) User does not have sufficient access to perform this action.
Throws
ConflictException (client fault) Updating or deleting a resource can cause an inconsistent state.
Throws
InternalServerException (server fault) Unexpected error during processing of request.
Throws
ResourceNotFoundException (client fault) Request references a resource which does not exist.
Throws
ValidationException (client fault) The input fails to satisfy the constraints specified by an AWS service.
Throws
AmpServiceException
Base exception class for all service exceptions from Amp service.