@aws-sdk/client-lambda 3.679.0 → 3.682.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/README.md CHANGED
@@ -75,7 +75,7 @@ up-to-date is the more straightforward solution. To learn more about ACM-provide
75
75
 
76
76
  ## Installing
77
77
 
78
- To install the this package, simply type add or install @aws-sdk/client-lambda
78
+ To install this package, simply type add or install @aws-sdk/client-lambda
79
79
  using your favorite package manager:
80
80
 
81
81
  - `npm install @aws-sdk/client-lambda`
package/dist-cjs/index.js CHANGED
@@ -2883,7 +2883,8 @@ var de_GetFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {
2883
2883
  Code: import_smithy_client._json,
2884
2884
  Concurrency: import_smithy_client._json,
2885
2885
  Configuration: import_smithy_client._json,
2886
- Tags: import_smithy_client._json
2886
+ Tags: import_smithy_client._json,
2887
+ TagsError: import_smithy_client._json
2887
2888
  });
2888
2889
  Object.assign(contents, doc);
2889
2890
  return contents;
@@ -1417,6 +1417,7 @@ export const de_GetFunctionCommand = async (output, context) => {
1417
1417
  Concurrency: _json,
1418
1418
  Configuration: _json,
1419
1419
  Tags: _json,
1420
+ TagsError: _json,
1420
1421
  });
1421
1422
  Object.assign(contents, doc);
1422
1423
  return contents;
@@ -155,6 +155,10 @@ declare const GetFunctionCommand_base: {
155
155
  * // Tags: { // Tags
156
156
  * // "<keys>": "STRING_VALUE",
157
157
  * // },
158
+ * // TagsError: { // TagsError
159
+ * // ErrorCode: "STRING_VALUE", // required
160
+ * // Message: "STRING_VALUE", // required
161
+ * // },
158
162
  * // Concurrency: { // Concurrency
159
163
  * // ReservedConcurrentExecutions: Number("int"),
160
164
  * // },
@@ -2916,6 +2916,22 @@ export interface Concurrency {
2916
2916
  */
2917
2917
  ReservedConcurrentExecutions?: number;
2918
2918
  }
2919
+ /**
2920
+ * <p>An object that contains details about an error related to retrieving tags.</p>
2921
+ * @public
2922
+ */
2923
+ export interface TagsError {
2924
+ /**
2925
+ * <p>The error code.</p>
2926
+ * @public
2927
+ */
2928
+ ErrorCode: string | undefined;
2929
+ /**
2930
+ * <p>The error message.</p>
2931
+ * @public
2932
+ */
2933
+ Message: string | undefined;
2934
+ }
2919
2935
  /**
2920
2936
  * @public
2921
2937
  */
@@ -2931,10 +2947,16 @@ export interface GetFunctionResponse {
2931
2947
  */
2932
2948
  Code?: FunctionCodeLocation;
2933
2949
  /**
2934
- * <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>.</p>
2950
+ * <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. Lambda
2951
+ * returns tag data only if you have explicit allow permissions for <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/lambda/latest/api/API_ListTags.html">lambda:ListTags</a>.</p>
2935
2952
  * @public
2936
2953
  */
2937
2954
  Tags?: Record<string, string>;
2955
+ /**
2956
+ * <p>An object that contains details about an error related to retrieving tags.</p>
2957
+ * @public
2958
+ */
2959
+ TagsError?: TagsError;
2938
2960
  /**
2939
2961
  * <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">reserved
2940
2962
  * concurrency</a>.</p>
@@ -747,10 +747,15 @@ export interface FunctionCodeLocation {
747
747
  export interface Concurrency {
748
748
  ReservedConcurrentExecutions?: number;
749
749
  }
750
+ export interface TagsError {
751
+ ErrorCode: string | undefined;
752
+ Message: string | undefined;
753
+ }
750
754
  export interface GetFunctionResponse {
751
755
  Configuration?: FunctionConfiguration;
752
756
  Code?: FunctionCodeLocation;
753
757
  Tags?: Record<string, string>;
758
+ TagsError?: TagsError;
754
759
  Concurrency?: Concurrency;
755
760
  }
756
761
  export interface GetFunctionCodeSigningConfigRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
3
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
4
- "version": "3.679.0",
4
+ "version": "3.682.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-lambda",
@@ -20,19 +20,19 @@
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.679.0",
24
- "@aws-sdk/client-sts": "3.679.0",
23
+ "@aws-sdk/client-sso-oidc": "3.682.0",
24
+ "@aws-sdk/client-sts": "3.682.0",
25
25
  "@aws-sdk/core": "3.679.0",
26
- "@aws-sdk/credential-provider-node": "3.679.0",
26
+ "@aws-sdk/credential-provider-node": "3.682.0",
27
27
  "@aws-sdk/middleware-host-header": "3.679.0",
28
28
  "@aws-sdk/middleware-logger": "3.679.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.679.0",
30
- "@aws-sdk/middleware-user-agent": "3.679.0",
30
+ "@aws-sdk/middleware-user-agent": "3.682.0",
31
31
  "@aws-sdk/region-config-resolver": "3.679.0",
32
32
  "@aws-sdk/types": "3.679.0",
33
33
  "@aws-sdk/util-endpoints": "3.679.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.679.0",
35
- "@aws-sdk/util-user-agent-node": "3.679.0",
35
+ "@aws-sdk/util-user-agent-node": "3.682.0",
36
36
  "@smithy/config-resolver": "^3.0.9",
37
37
  "@smithy/core": "^2.4.8",
38
38
  "@smithy/eventstream-serde-browser": "^3.0.10",