diff --git a/clients/client-appsync/src/commands/CreateGraphqlApiCommand.ts b/clients/client-appsync/src/commands/CreateGraphqlApiCommand.ts index 8be6abb5b2cb..e8580b6398b3 100644 --- a/clients/client-appsync/src/commands/CreateGraphqlApiCommand.ts +++ b/clients/client-appsync/src/commands/CreateGraphqlApiCommand.ts @@ -38,7 +38,7 @@ export interface CreateGraphqlApiCommandOutput extends CreateGraphqlApiResponse, * const input = { // CreateGraphqlApiRequest * name: "STRING_VALUE", // required * logConfig: { // LogConfig - * fieldLogLevel: "NONE" || "ERROR" || "ALL", // required + * fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required * cloudWatchLogsRoleArn: "STRING_VALUE", // required * excludeVerboseContent: true || false, * }, @@ -106,7 +106,7 @@ export interface CreateGraphqlApiCommandOutput extends CreateGraphqlApiResponse, * // apiId: "STRING_VALUE", * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", * // logConfig: { // LogConfig - * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required + * // fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required * // cloudWatchLogsRoleArn: "STRING_VALUE", // required * // excludeVerboseContent: true || false, * // }, diff --git a/clients/client-appsync/src/commands/GetGraphqlApiCommand.ts b/clients/client-appsync/src/commands/GetGraphqlApiCommand.ts index a126a95d2597..4913d7b7a447 100644 --- a/clients/client-appsync/src/commands/GetGraphqlApiCommand.ts +++ b/clients/client-appsync/src/commands/GetGraphqlApiCommand.ts @@ -46,7 +46,7 @@ export interface GetGraphqlApiCommandOutput extends GetGraphqlApiResponse, __Met * // apiId: "STRING_VALUE", * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", * // logConfig: { // LogConfig - * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required + * // fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required * // cloudWatchLogsRoleArn: "STRING_VALUE", // required * // excludeVerboseContent: true || false, * // }, diff --git a/clients/client-appsync/src/commands/ListGraphqlApisCommand.ts b/clients/client-appsync/src/commands/ListGraphqlApisCommand.ts index 6f08e3765c21..6c10b9144cfa 100644 --- a/clients/client-appsync/src/commands/ListGraphqlApisCommand.ts +++ b/clients/client-appsync/src/commands/ListGraphqlApisCommand.ts @@ -50,7 +50,7 @@ export interface ListGraphqlApisCommandOutput extends ListGraphqlApisResponse, _ * // apiId: "STRING_VALUE", * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", * // logConfig: { // LogConfig - * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required + * // fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required * // cloudWatchLogsRoleArn: "STRING_VALUE", // required * // excludeVerboseContent: true || false, * // }, diff --git a/clients/client-appsync/src/commands/UpdateGraphqlApiCommand.ts b/clients/client-appsync/src/commands/UpdateGraphqlApiCommand.ts index 96d13526982b..8a7381dc7e0e 100644 --- a/clients/client-appsync/src/commands/UpdateGraphqlApiCommand.ts +++ b/clients/client-appsync/src/commands/UpdateGraphqlApiCommand.ts @@ -39,7 +39,7 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse, * apiId: "STRING_VALUE", // required * name: "STRING_VALUE", // required * logConfig: { // LogConfig - * fieldLogLevel: "NONE" || "ERROR" || "ALL", // required + * fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required * cloudWatchLogsRoleArn: "STRING_VALUE", // required * excludeVerboseContent: true || false, * }, @@ -102,7 +102,7 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse, * // apiId: "STRING_VALUE", * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", * // logConfig: { // LogConfig - * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required + * // fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required * // cloudWatchLogsRoleArn: "STRING_VALUE", // required * // excludeVerboseContent: true || false, * // }, diff --git a/clients/client-appsync/src/models/models_0.ts b/clients/client-appsync/src/models/models_0.ts index 860ab0403fb7..199747a5b97a 100644 --- a/clients/client-appsync/src/models/models_0.ts +++ b/clients/client-appsync/src/models/models_0.ts @@ -2465,7 +2465,9 @@ export type GraphQLApiIntrospectionConfig = */ export const FieldLogLevel = { ALL: "ALL", + DEBUG: "DEBUG", ERROR: "ERROR", + INFO: "INFO", NONE: "NONE", } as const; @@ -2480,7 +2482,7 @@ export type FieldLogLevel = (typeof FieldLogLevel)[keyof typeof FieldLogLevel]; */ export interface LogConfig { /** - *
The field logging level. Values can be NONE, ERROR, or ALL.
+ *The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or ALL.
*@@ -2488,8 +2490,9 @@ export interface LogConfig { *
- * ERROR: Logs the following information only for the fields that are - * in error:
+ * ERROR: Logs the following information + * only for the fields that are in the error + * category: *The error section in the server response.
@@ -2504,6 +2507,42 @@ export interface LogConfig { *+ * INFO: Logs the following information only for the fields that are in the info and error + * categories:
+ *Info-level messages.
+ *The user messages sent through $util.log.info
and
+ * console.log
.
Field-level tracing and mapping logs are not shown.
+ *+ * DEBUG: Logs the following information + * only for the fields that are in the debug, info, + * and error categories:
+ *Debug-level messages.
+ *The user messages sent through $util.log.info
,
+ * $util.log.debug
, console.log
, and
+ * console.debug
.
Field-level tracing and mapping logs are not shown.
+ ** ALL: The following information is logged for all fields in the * query:
*Field-level tracing information.
*The generated request/response functions that got resolved for each field.
+ *The generated request/response functions that were resolved for each + * field.
*