@aws-sdk/client-lambda 3.1151.0 → 3.1153.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
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1150.0";
73
+ var version = "3.1152.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -1792,8 +1792,8 @@ const _XAFE = "X-Amz-Function-Error";
1792
1792
  const _XAIT = "X-Amz-Invocation-Type";
1793
1793
  const _XALR = "X-Amz-Log-Result";
1794
1794
  const _XALT = "X-Amz-Log-Type";
1795
- const _XATI = "X-Amz-Tenant-Id";
1796
- const _XATIm = "XAmznTraceId";
1795
+ const _XATI = "XAmznTraceId";
1796
+ const _XATI_ = "X-Amz-Tenant-Id";
1797
1797
  const _ZF = "ZipFile";
1798
1798
  const _c = "client";
1799
1799
  const _e = "error";
@@ -2294,8 +2294,8 @@ var ChainedInvokeFailedDetails$ = [3, n0, _CIFD,
2294
2294
  ];
2295
2295
  var ChainedInvokeOptions$ = [3, n0, _CIO,
2296
2296
  0,
2297
- [_FN, _TI],
2298
- [0, 0], 1
2297
+ [_FN, _TI, _XATI],
2298
+ [0, 0, 0], 1
2299
2299
  ];
2300
2300
  var ChainedInvokeStartedDetails$ = [3, n0, _CISD,
2301
2301
  0,
@@ -2905,7 +2905,7 @@ var InvocationCompletedDetails$ = [3, n0, _ICD,
2905
2905
  var InvocationRequest$ = [3, n0, _IRn,
2906
2906
  0,
2907
2907
  [_FN, _IT, _LT, _CC, _DEN, _Pa, _Q, _TI],
2908
- [[0, 1], [0, { [_hH]: _XAIT }], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hH]: _XADEN }], [() => _Blob, 16], [0, { [_hQ]: _Q }], [0, { [_hH]: _XATI }]], 1
2908
+ [[0, 1], [0, { [_hH]: _XAIT }], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hH]: _XADEN }], [() => _Blob, 16], [0, { [_hQ]: _Q }], [0, { [_hH]: _XATI_ }]], 1
2909
2909
  ];
2910
2910
  var InvocationResponse$ = [3, n0, _IRnv,
2911
2911
  0,
@@ -2935,7 +2935,7 @@ var InvokeWithResponseStreamCompleteEvent$ = [3, n0, _IWRSCE,
2935
2935
  var InvokeWithResponseStreamRequest$ = [3, n0, _IWRSR,
2936
2936
  0,
2937
2937
  [_FN, _LT, _CC, _Q, _Pa, _TI, _IT],
2938
- [[0, 1], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hQ]: _Q }], [() => _Blob, 16], [0, { [_hH]: _XATI }], [0, { [_hH]: _XAIT }]], 1
2938
+ [[0, 1], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hQ]: _Q }], [() => _Blob, 16], [0, { [_hH]: _XATI_ }], [0, { [_hH]: _XAIT }]], 1
2939
2939
  ];
2940
2940
  var InvokeWithResponseStreamResponse$ = [3, n0, _IWRSRn,
2941
2941
  0,
@@ -3414,7 +3414,7 @@ var TenancyConfig$ = [3, n0, _TCe,
3414
3414
  ];
3415
3415
  var TraceHeader$ = [3, n0, _TH,
3416
3416
  0,
3417
- [_XATIm],
3417
+ [_XATI],
3418
3418
  [0]
3419
3419
  ];
3420
3420
  var TracingConfig$ = [3, n0, _TCr,
@@ -729,8 +729,8 @@ const _XAFE = "X-Amz-Function-Error";
729
729
  const _XAIT = "X-Amz-Invocation-Type";
730
730
  const _XALR = "X-Amz-Log-Result";
731
731
  const _XALT = "X-Amz-Log-Type";
732
- const _XATI = "X-Amz-Tenant-Id";
733
- const _XATIm = "XAmznTraceId";
732
+ const _XATI = "XAmznTraceId";
733
+ const _XATI_ = "X-Amz-Tenant-Id";
734
734
  const _ZF = "ZipFile";
735
735
  const _c = "client";
736
736
  const _e = "error";
@@ -1234,8 +1234,8 @@ export var ChainedInvokeFailedDetails$ = [3, n0, _CIFD,
1234
1234
  ];
1235
1235
  export var ChainedInvokeOptions$ = [3, n0, _CIO,
1236
1236
  0,
1237
- [_FN, _TI],
1238
- [0, 0], 1
1237
+ [_FN, _TI, _XATI],
1238
+ [0, 0, 0], 1
1239
1239
  ];
1240
1240
  export var ChainedInvokeStartedDetails$ = [3, n0, _CISD,
1241
1241
  0,
@@ -1845,7 +1845,7 @@ export var InvocationCompletedDetails$ = [3, n0, _ICD,
1845
1845
  export var InvocationRequest$ = [3, n0, _IRn,
1846
1846
  0,
1847
1847
  [_FN, _IT, _LT, _CC, _DEN, _Pa, _Q, _TI],
1848
- [[0, 1], [0, { [_hH]: _XAIT }], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hH]: _XADEN }], [() => _Blob, 16], [0, { [_hQ]: _Q }], [0, { [_hH]: _XATI }]], 1
1848
+ [[0, 1], [0, { [_hH]: _XAIT }], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hH]: _XADEN }], [() => _Blob, 16], [0, { [_hQ]: _Q }], [0, { [_hH]: _XATI_ }]], 1
1849
1849
  ];
1850
1850
  export var InvocationResponse$ = [3, n0, _IRnv,
1851
1851
  0,
@@ -1875,7 +1875,7 @@ export var InvokeWithResponseStreamCompleteEvent$ = [3, n0, _IWRSCE,
1875
1875
  export var InvokeWithResponseStreamRequest$ = [3, n0, _IWRSR,
1876
1876
  0,
1877
1877
  [_FN, _LT, _CC, _Q, _Pa, _TI, _IT],
1878
- [[0, 1], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hQ]: _Q }], [() => _Blob, 16], [0, { [_hH]: _XATI }], [0, { [_hH]: _XAIT }]], 1
1878
+ [[0, 1], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hQ]: _Q }], [() => _Blob, 16], [0, { [_hH]: _XATI_ }], [0, { [_hH]: _XAIT }]], 1
1879
1879
  ];
1880
1880
  export var InvokeWithResponseStreamResponse$ = [3, n0, _IWRSRn,
1881
1881
  0,
@@ -2354,7 +2354,7 @@ export var TenancyConfig$ = [3, n0, _TCe,
2354
2354
  ];
2355
2355
  export var TraceHeader$ = [3, n0, _TH,
2356
2356
  0,
2357
- [_XATIm],
2357
+ [_XATI],
2358
2358
  [0]
2359
2359
  ];
2360
2360
  export var TracingConfig$ = [3, n0, _TCr,
@@ -69,6 +69,7 @@ declare const CheckpointDurableExecutionCommand_base: {
69
69
  * ChainedInvokeOptions: { // ChainedInvokeOptions
70
70
  * FunctionName: "STRING_VALUE", // required
71
71
  * TenantId: "STRING_VALUE",
72
+ * XAmznTraceId: "STRING_VALUE",
72
73
  * },
73
74
  * },
74
75
  * ],
@@ -75,9 +75,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
75
75
  * <p>Base exception class for all service exceptions from Lambda service.</p>
76
76
  *
77
77
  *
78
- * @example To view a provisioned concurrency configuration
78
+ * @example To get a provisioned concurrency configuration
79
79
  * ```javascript
80
- * // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
80
+ * // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
81
81
  * const input = {
82
82
  * FunctionName: "my-function",
83
83
  * Qualifier: "BLUE"
@@ -95,9 +95,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
95
95
  * *\/
96
96
  * ```
97
97
  *
98
- * @example To get a provisioned concurrency configuration
98
+ * @example To view a provisioned concurrency configuration
99
99
  * ```javascript
100
- * // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
100
+ * // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
101
101
  * const input = {
102
102
  * FunctionName: "my-function",
103
103
  * Qualifier: "BLUE"
@@ -1017,6 +1017,11 @@ export interface ChainedInvokeOptions {
1017
1017
  * @public
1018
1018
  */
1019
1019
  TenantId?: string | undefined;
1020
+ /**
1021
+ * <p>The optional X-Ray trace header to use when starting the chained invocation. If you omit this value, the child invocation inherits the parent durable execution's trace header.</p> <p>Specify this value on the <code>START</code> update for the chained invocation operation. For more information about the header format, see <a href="https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader">Tracing header</a> in the <i>X-Ray Developer Guide</i>.</p>
1022
+ * @public
1023
+ */
1024
+ XAmznTraceId?: string | undefined;
1020
1025
  }
1021
1026
  /**
1022
1027
  * <p>Configuration options for a durable execution context.</p>
@@ -299,6 +299,7 @@ export interface CallbackOptions {
299
299
  export interface ChainedInvokeOptions {
300
300
  FunctionName: string | undefined;
301
301
  TenantId?: string | undefined;
302
+ XAmznTraceId?: string | undefined;
302
303
  }
303
304
  export interface ContextOptions {
304
305
  ReplayChildren?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
- "version": "3.1151.0",
3
+ "version": "3.1153.0",
4
4
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lambda",
6
6
  "license": "Apache-2.0",
@@ -52,10 +52,10 @@
52
52
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.978.3",
56
- "@aws-sdk/credential-provider-node": "^3.972.86",
55
+ "@aws-sdk/core": "^3.978.4",
56
+ "@aws-sdk/credential-provider-node": "^3.972.87",
57
57
  "@aws-sdk/types": "^3.974.6",
58
- "@smithy/core": "^3.35.2",
58
+ "@smithy/core": "^3.36.0",
59
59
  "@smithy/fetch-http-handler": "^5.8.0",
60
60
  "@smithy/node-http-handler": "^4.12.1",
61
61
  "@smithy/types": "^4.19.0",