GetModelInvocationLoggingConfigurationCommand

Get the current configuration values for model invocation logging.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { BedrockClient, GetModelInvocationLoggingConfigurationCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
// const { BedrockClient, GetModelInvocationLoggingConfigurationCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
const client = new BedrockClient(config);
const input = {};
const command = new GetModelInvocationLoggingConfigurationCommand(input);
const response = await client.send(command);
// { // GetModelInvocationLoggingConfigurationResponse
//   loggingConfig: { // LoggingConfig
//     cloudWatchConfig: { // CloudWatchConfig
//       logGroupName: "STRING_VALUE", // required
//       roleArn: "STRING_VALUE", // required
//       largeDataDeliveryS3Config: { // S3Config
//         bucketName: "STRING_VALUE", // required
//         keyPrefix: "STRING_VALUE",
//       },
//     },
//     s3Config: {
//       bucketName: "STRING_VALUE", // required
//       keyPrefix: "STRING_VALUE",
//     },
//     textDataDeliveryEnabled: true || false,
//     imageDataDeliveryEnabled: true || false,
//     embeddingDataDeliveryEnabled: true || false,
//     videoDataDeliveryEnabled: true || false,
//   },
// };

GetModelInvocationLoggingConfigurationCommand Input

See GetModelInvocationLoggingConfigurationCommandInput for more details
GetModelInvocationLoggingConfigurationCommandInput extends GetModelInvocationLoggingConfigurationRequest 

GetModelInvocationLoggingConfigurationCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
loggingConfig
LoggingConfig | undefined

The current configuration values.

Throws

Name
Fault
Details
AccessDeniedException
client

The request is denied because of missing access permissions.

InternalServerException
server

An internal server error occurred. Retry your request.

ThrottlingException
client

The number of requests exceeds the limit. Resubmit your request later.

BedrockServiceException
Base exception class for all service exceptions from Bedrock service.