@aws-sdk/client-appsync 3.635.0 → 3.645.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -597,7 +597,9 @@ var GraphQLApiIntrospectionConfig = {
597
597
  };
598
598
  var FieldLogLevel = {
599
599
  ALL: "ALL",
600
+ DEBUG: "DEBUG",
600
601
  ERROR: "ERROR",
602
+ INFO: "INFO",
601
603
  NONE: "NONE"
602
604
  };
603
605
  var DefaultAction = {
@@ -237,7 +237,9 @@ export const GraphQLApiIntrospectionConfig = {
237
237
  };
238
238
  export const FieldLogLevel = {
239
239
  ALL: "ALL",
240
+ DEBUG: "DEBUG",
240
241
  ERROR: "ERROR",
242
+ INFO: "INFO",
241
243
  NONE: "NONE",
242
244
  };
243
245
  export const DefaultAction = {
@@ -37,7 +37,7 @@ declare const CreateGraphqlApiCommand_base: {
37
37
  * const input = { // CreateGraphqlApiRequest
38
38
  * name: "STRING_VALUE", // required
39
39
  * logConfig: { // LogConfig
40
- * fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
40
+ * fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
41
41
  * cloudWatchLogsRoleArn: "STRING_VALUE", // required
42
42
  * excludeVerboseContent: true || false,
43
43
  * },
@@ -105,7 +105,7 @@ declare const CreateGraphqlApiCommand_base: {
105
105
  * // apiId: "STRING_VALUE",
106
106
  * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
107
107
  * // logConfig: { // LogConfig
108
- * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
108
+ * // fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
109
109
  * // cloudWatchLogsRoleArn: "STRING_VALUE", // required
110
110
  * // excludeVerboseContent: true || false,
111
111
  * // },
@@ -45,7 +45,7 @@ declare const GetGraphqlApiCommand_base: {
45
45
  * // apiId: "STRING_VALUE",
46
46
  * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
47
47
  * // logConfig: { // LogConfig
48
- * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
48
+ * // fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
49
49
  * // cloudWatchLogsRoleArn: "STRING_VALUE", // required
50
50
  * // excludeVerboseContent: true || false,
51
51
  * // },
@@ -49,7 +49,7 @@ declare const ListGraphqlApisCommand_base: {
49
49
  * // apiId: "STRING_VALUE",
50
50
  * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
51
51
  * // logConfig: { // LogConfig
52
- * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
52
+ * // fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
53
53
  * // cloudWatchLogsRoleArn: "STRING_VALUE", // required
54
54
  * // excludeVerboseContent: true || false,
55
55
  * // },
@@ -38,7 +38,7 @@ declare const UpdateGraphqlApiCommand_base: {
38
38
  * apiId: "STRING_VALUE", // required
39
39
  * name: "STRING_VALUE", // required
40
40
  * logConfig: { // LogConfig
41
- * fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
41
+ * fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
42
42
  * cloudWatchLogsRoleArn: "STRING_VALUE", // required
43
43
  * excludeVerboseContent: true || false,
44
44
  * },
@@ -101,7 +101,7 @@ declare const UpdateGraphqlApiCommand_base: {
101
101
  * // apiId: "STRING_VALUE",
102
102
  * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
103
103
  * // logConfig: { // LogConfig
104
- * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
104
+ * // fieldLogLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
105
105
  * // cloudWatchLogsRoleArn: "STRING_VALUE", // required
106
106
  * // excludeVerboseContent: true || false,
107
107
  * // },
@@ -2161,7 +2161,9 @@ export type GraphQLApiIntrospectionConfig = (typeof GraphQLApiIntrospectionConfi
2161
2161
  */
2162
2162
  export declare const FieldLogLevel: {
2163
2163
  readonly ALL: "ALL";
2164
+ readonly DEBUG: "DEBUG";
2164
2165
  readonly ERROR: "ERROR";
2166
+ readonly INFO: "INFO";
2165
2167
  readonly NONE: "NONE";
2166
2168
  };
2167
2169
  /**
@@ -2174,7 +2176,7 @@ export type FieldLogLevel = (typeof FieldLogLevel)[keyof typeof FieldLogLevel];
2174
2176
  */
2175
2177
  export interface LogConfig {
2176
2178
  /**
2177
- * <p>The field logging level. Values can be NONE, ERROR, or ALL.</p>
2179
+ * <p>The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or ALL.</p>
2178
2180
  * <ul>
2179
2181
  * <li>
2180
2182
  * <p>
@@ -2182,8 +2184,9 @@ export interface LogConfig {
2182
2184
  * </li>
2183
2185
  * <li>
2184
2186
  * <p>
2185
- * <b>ERROR</b>: Logs the following information only for the fields that are
2186
- * in error:</p>
2187
+ * <b>ERROR</b>: Logs the following information
2188
+ * <b>only</b> for the fields that are in the error
2189
+ * category:</p>
2187
2190
  * <ul>
2188
2191
  * <li>
2189
2192
  * <p>The error section in the server response.</p>
@@ -2198,6 +2201,42 @@ export interface LogConfig {
2198
2201
  * </li>
2199
2202
  * <li>
2200
2203
  * <p>
2204
+ * <b>INFO</b>: Logs the following information <b>only</b> for the fields that are in the info and error
2205
+ * categories:</p>
2206
+ * <ul>
2207
+ * <li>
2208
+ * <p>Info-level messages.</p>
2209
+ * </li>
2210
+ * <li>
2211
+ * <p>The user messages sent through <code>$util.log.info</code> and
2212
+ * <code>console.log</code>.</p>
2213
+ * </li>
2214
+ * <li>
2215
+ * <p>Field-level tracing and mapping logs are not shown.</p>
2216
+ * </li>
2217
+ * </ul>
2218
+ * </li>
2219
+ * <li>
2220
+ * <p>
2221
+ * <b>DEBUG</b>: Logs the following information
2222
+ * <b>only</b> for the fields that are in the debug, info,
2223
+ * and error categories:</p>
2224
+ * <ul>
2225
+ * <li>
2226
+ * <p>Debug-level messages.</p>
2227
+ * </li>
2228
+ * <li>
2229
+ * <p>The user messages sent through <code>$util.log.info</code>,
2230
+ * <code>$util.log.debug</code>, <code>console.log</code>, and
2231
+ * <code>console.debug</code>.</p>
2232
+ * </li>
2233
+ * <li>
2234
+ * <p>Field-level tracing and mapping logs are not shown.</p>
2235
+ * </li>
2236
+ * </ul>
2237
+ * </li>
2238
+ * <li>
2239
+ * <p>
2201
2240
  * <b>ALL</b>: The following information is logged for all fields in the
2202
2241
  * query:</p>
2203
2242
  * <ul>
@@ -2205,7 +2244,8 @@ export interface LogConfig {
2205
2244
  * <p>Field-level tracing information.</p>
2206
2245
  * </li>
2207
2246
  * <li>
2208
- * <p>The generated request/response functions that got resolved for each field.</p>
2247
+ * <p>The generated request/response functions that were resolved for each
2248
+ * field.</p>
2209
2249
  * </li>
2210
2250
  * </ul>
2211
2251
  * </li>
@@ -492,7 +492,9 @@ export type GraphQLApiIntrospectionConfig =
492
492
  (typeof GraphQLApiIntrospectionConfig)[keyof typeof GraphQLApiIntrospectionConfig];
493
493
  export declare const FieldLogLevel: {
494
494
  readonly ALL: "ALL";
495
+ readonly DEBUG: "DEBUG";
495
496
  readonly ERROR: "ERROR";
497
+ readonly INFO: "INFO";
496
498
  readonly NONE: "NONE";
497
499
  };
498
500
  export type FieldLogLevel = (typeof FieldLogLevel)[keyof typeof FieldLogLevel];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appsync",
3
3
  "description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
4
- "version": "3.635.0",
4
+ "version": "3.645.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appsync",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.635.0",
24
- "@aws-sdk/client-sts": "3.635.0",
23
+ "@aws-sdk/client-sso-oidc": "3.645.0",
24
+ "@aws-sdk/client-sts": "3.645.0",
25
25
  "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.635.0",
26
+ "@aws-sdk/credential-provider-node": "3.645.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.632.0",
30
+ "@aws-sdk/middleware-user-agent": "3.645.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.632.0",
33
+ "@aws-sdk/util-endpoints": "3.645.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",