@aws-sdk/client-lambda 3.653.0 → 3.655.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.
Files changed (152) hide show
  1. package/dist-cjs/index.js +31 -24
  2. package/dist-es/models/models_0.js +14 -14
  3. package/dist-es/protocols/Aws_restJson1.js +10 -3
  4. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +11 -0
  5. package/dist-types/commands/AddPermissionCommand.d.ts +17 -1
  6. package/dist-types/commands/CreateAliasCommand.d.ts +11 -0
  7. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +14 -0
  8. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +15 -0
  9. package/dist-types/commands/CreateFunctionCommand.d.ts +11 -0
  10. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +11 -0
  11. package/dist-types/commands/DeleteAliasCommand.d.ts +11 -0
  12. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +11 -0
  13. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +12 -0
  14. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +11 -0
  15. package/dist-types/commands/DeleteFunctionCommand.d.ts +11 -0
  16. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +11 -0
  17. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +11 -0
  18. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +11 -0
  19. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +11 -0
  20. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +11 -0
  21. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -1
  22. package/dist-types/commands/GetAccountSettingsCommand.d.ts +11 -0
  23. package/dist-types/commands/GetAliasCommand.d.ts +11 -0
  24. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +11 -0
  25. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +12 -0
  26. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +11 -0
  27. package/dist-types/commands/GetFunctionCommand.d.ts +11 -0
  28. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +11 -0
  29. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +11 -0
  30. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +11 -0
  31. package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +11 -0
  32. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +11 -0
  33. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +11 -0
  34. package/dist-types/commands/GetLayerVersionCommand.d.ts +11 -0
  35. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +11 -0
  36. package/dist-types/commands/GetPolicyCommand.d.ts +11 -0
  37. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +11 -0
  38. package/dist-types/commands/GetPublicAccessBlockConfigCommand.d.ts +16 -1
  39. package/dist-types/commands/GetResourcePolicyCommand.d.ts +16 -1
  40. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/InvokeAsyncCommand.d.ts +11 -0
  42. package/dist-types/commands/InvokeCommand.d.ts +11 -0
  43. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +11 -0
  44. package/dist-types/commands/ListAliasesCommand.d.ts +11 -0
  45. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +11 -0
  46. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +12 -0
  47. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +11 -0
  48. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +11 -0
  49. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +11 -0
  50. package/dist-types/commands/ListFunctionsCommand.d.ts +11 -0
  51. package/dist-types/commands/ListLayerVersionsCommand.d.ts +11 -0
  52. package/dist-types/commands/ListLayersCommand.d.ts +11 -0
  53. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +11 -0
  54. package/dist-types/commands/ListTagsCommand.d.ts +13 -2
  55. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +11 -0
  56. package/dist-types/commands/PublishLayerVersionCommand.d.ts +11 -0
  57. package/dist-types/commands/PublishVersionCommand.d.ts +11 -0
  58. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +11 -0
  59. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +11 -0
  60. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +11 -0
  61. package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +11 -0
  62. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +11 -0
  63. package/dist-types/commands/PutPublicAccessBlockConfigCommand.d.ts +16 -1
  64. package/dist-types/commands/PutResourcePolicyCommand.d.ts +16 -1
  65. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +11 -0
  66. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +11 -0
  67. package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +12 -1
  69. package/dist-types/commands/UntagResourceCommand.d.ts +12 -1
  70. package/dist-types/commands/UpdateAliasCommand.d.ts +11 -0
  71. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +11 -0
  72. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +12 -0
  73. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +11 -0
  74. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +11 -0
  75. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +11 -0
  76. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +11 -0
  77. package/dist-types/models/models_0.d.ts +42 -27
  78. package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +12 -1
  79. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +12 -1
  80. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +12 -1
  81. package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +12 -1
  82. package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +12 -1
  83. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +12 -1
  84. package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +12 -1
  85. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +12 -1
  86. package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +12 -1
  87. package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +12 -1
  88. package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +12 -1
  89. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +12 -1
  90. package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +12 -1
  91. package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +12 -1
  92. package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +12 -1
  93. package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +12 -1
  94. package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +12 -1
  95. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -1
  96. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +12 -1
  97. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +12 -1
  98. package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +12 -1
  99. package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +12 -1
  100. package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +12 -1
  101. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +12 -1
  102. package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +12 -1
  103. package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +12 -1
  104. package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +12 -1
  105. package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +12 -1
  106. package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +12 -1
  107. package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +12 -1
  108. package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +12 -1
  109. package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +12 -1
  110. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +12 -1
  111. package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +12 -1
  112. package/dist-types/ts3.4/commands/GetPublicAccessBlockConfigCommand.d.ts +12 -1
  113. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +12 -1
  114. package/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +12 -1
  115. package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +12 -1
  116. package/dist-types/ts3.4/commands/InvokeCommand.d.ts +12 -1
  117. package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +12 -1
  118. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +12 -1
  119. package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +12 -1
  120. package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +12 -1
  121. package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +12 -1
  122. package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +12 -1
  123. package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +12 -1
  124. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +12 -1
  125. package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +12 -1
  126. package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +12 -1
  127. package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +12 -1
  128. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +12 -1
  129. package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +12 -1
  130. package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +12 -1
  131. package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +12 -1
  132. package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +12 -1
  133. package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +12 -1
  134. package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +12 -1
  135. package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +12 -1
  136. package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +12 -1
  137. package/dist-types/ts3.4/commands/PutPublicAccessBlockConfigCommand.d.ts +12 -1
  138. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +12 -1
  139. package/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +12 -1
  140. package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +12 -1
  141. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +12 -1
  142. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
  143. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
  144. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +12 -1
  145. package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +12 -1
  146. package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +12 -1
  147. package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +12 -1
  148. package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +12 -1
  149. package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +12 -1
  150. package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +12 -1
  151. package/dist-types/ts3.4/models/models_0.d.ts +12 -9
  152. package/package.json +40 -40
@@ -104,4 +104,15 @@ declare const PutFunctionEventInvokeConfigCommand_base: {
104
104
  * @public
105
105
  */
106
106
  export declare class PutFunctionEventInvokeConfigCommand extends PutFunctionEventInvokeConfigCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: PutFunctionEventInvokeConfigRequest;
111
+ output: FunctionEventInvokeConfig;
112
+ };
113
+ sdk: {
114
+ input: PutFunctionEventInvokeConfigCommandInput;
115
+ output: PutFunctionEventInvokeConfigCommandOutput;
116
+ };
117
+ };
107
118
  }
@@ -79,4 +79,15 @@ declare const PutFunctionRecursionConfigCommand_base: {
79
79
  * @public
80
80
  */
81
81
  export declare class PutFunctionRecursionConfigCommand extends PutFunctionRecursionConfigCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: PutFunctionRecursionConfigRequest;
86
+ output: PutFunctionRecursionConfigResponse;
87
+ };
88
+ sdk: {
89
+ input: PutFunctionRecursionConfigCommandInput;
90
+ output: PutFunctionRecursionConfigCommandOutput;
91
+ };
92
+ };
82
93
  }
@@ -79,4 +79,15 @@ declare const PutProvisionedConcurrencyConfigCommand_base: {
79
79
  * @public
80
80
  */
81
81
  export declare class PutProvisionedConcurrencyConfigCommand extends PutProvisionedConcurrencyConfigCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: PutProvisionedConcurrencyConfigRequest;
86
+ output: PutProvisionedConcurrencyConfigResponse;
87
+ };
88
+ sdk: {
89
+ input: PutProvisionedConcurrencyConfigCommandInput;
90
+ output: PutProvisionedConcurrencyConfigCommandOutput;
91
+ };
92
+ };
82
93
  }
@@ -27,7 +27,11 @@ declare const PutPublicAccessBlockConfigCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Configure your function's public-access settings.</p>
30
+ * <note>
31
+ * <p>The option to configure public-access settings, and to use the PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be
32
+ * available in all Amazon Web Services Regions until September 30, 2024.</p>
33
+ * </note>
34
+ * <p>Configure your function's public-access settings.</p>
31
35
  * <p>To control public access to a Lambda function, you can choose whether to allow the creation of
32
36
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policies</a> that
33
37
  * allow public access to that function. You can also block public access to a function, even if it has an existing resource-based
@@ -83,4 +87,15 @@ declare const PutPublicAccessBlockConfigCommand_base: {
83
87
  * @public
84
88
  */
85
89
  export declare class PutPublicAccessBlockConfigCommand extends PutPublicAccessBlockConfigCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: PutPublicAccessBlockConfigRequest;
94
+ output: PutPublicAccessBlockConfigResponse;
95
+ };
96
+ sdk: {
97
+ input: PutPublicAccessBlockConfigCommandInput;
98
+ output: PutPublicAccessBlockConfigCommandOutput;
99
+ };
100
+ };
86
101
  }
@@ -27,7 +27,11 @@ declare const PutResourcePolicyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Adds a <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policy</a>
30
+ * <note>
31
+ * <p>The option to create and modify full JSON resource-based policies, and to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't be
32
+ * available in all Amazon Web Services Regions until September 30, 2024.</p>
33
+ * </note>
34
+ * <p>Adds a <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policy</a>
31
35
  * to a function. You can use resource-based policies to grant access to other
32
36
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html">Amazon Web Services accounts</a>,
33
37
  * <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html">organizations</a>, or
@@ -106,4 +110,15 @@ declare const PutResourcePolicyCommand_base: {
106
110
  * @public
107
111
  */
108
112
  export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: PutResourcePolicyRequest;
117
+ output: PutResourcePolicyResponse;
118
+ };
119
+ sdk: {
120
+ input: PutResourcePolicyCommandInput;
121
+ output: PutResourcePolicyCommandOutput;
122
+ };
123
+ };
109
124
  }
@@ -78,4 +78,15 @@ declare const PutRuntimeManagementConfigCommand_base: {
78
78
  * @public
79
79
  */
80
80
  export declare class PutRuntimeManagementConfigCommand extends PutRuntimeManagementConfigCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: PutRuntimeManagementConfigRequest;
85
+ output: PutRuntimeManagementConfigResponse;
86
+ };
87
+ sdk: {
88
+ input: PutRuntimeManagementConfigCommandInput;
89
+ output: PutRuntimeManagementConfigCommandOutput;
90
+ };
91
+ };
81
92
  }
@@ -85,4 +85,15 @@ declare const RemoveLayerVersionPermissionCommand_base: {
85
85
  * @public
86
86
  */
87
87
  export declare class RemoveLayerVersionPermissionCommand extends RemoveLayerVersionPermissionCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: RemoveLayerVersionPermissionRequest;
92
+ output: {};
93
+ };
94
+ sdk: {
95
+ input: RemoveLayerVersionPermissionCommandInput;
96
+ output: RemoveLayerVersionPermissionCommandOutput;
97
+ };
98
+ };
88
99
  }
@@ -69,6 +69,11 @@ declare const RemovePermissionCommand_base: {
69
69
  * </li>
70
70
  * </ul>
71
71
  *
72
+ * @throws {@link PublicPolicyException} (client fault)
73
+ * <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
74
+ * create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
75
+ * to allow public policies.</p>
76
+ *
72
77
  * @throws {@link ResourceNotFoundException} (client fault)
73
78
  * <p>The resource specified in the request does not exist.</p>
74
79
  *
@@ -84,4 +89,15 @@ declare const RemovePermissionCommand_base: {
84
89
  * @public
85
90
  */
86
91
  export declare class RemovePermissionCommand extends RemovePermissionCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: RemovePermissionRequest;
96
+ output: {};
97
+ };
98
+ sdk: {
99
+ input: RemovePermissionCommandInput;
100
+ output: RemovePermissionCommandOutput;
101
+ };
102
+ };
87
103
  }
@@ -27,7 +27,7 @@ declare const TagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Adds <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to a function.</p>
30
+ * <p>Adds <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to a function, event source mapping, or code signing configuration.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -73,4 +73,15 @@ declare const TagResourceCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class TagResourceCommand extends TagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: TagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: TagResourceCommandInput;
84
+ output: TagResourceCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -27,7 +27,7 @@ declare const UntagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Removes <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> from a function.</p>
30
+ * <p>Removes <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> from a function, event source mapping, or code signing configuration.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -73,4 +73,15 @@ declare const UntagResourceCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: UntagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: UntagResourceCommandInput;
84
+ output: UntagResourceCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -103,4 +103,15 @@ declare const UpdateAliasCommand_base: {
103
103
  * @public
104
104
  */
105
105
  export declare class UpdateAliasCommand extends UpdateAliasCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: UpdateAliasRequest;
110
+ output: AliasConfiguration;
111
+ };
112
+ sdk: {
113
+ input: UpdateAliasCommandInput;
114
+ output: UpdateAliasCommandOutput;
115
+ };
116
+ };
106
117
  }
@@ -89,4 +89,15 @@ declare const UpdateCodeSigningConfigCommand_base: {
89
89
  * @public
90
90
  */
91
91
  export declare class UpdateCodeSigningConfigCommand extends UpdateCodeSigningConfigCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: UpdateCodeSigningConfigRequest;
96
+ output: UpdateCodeSigningConfigResponse;
97
+ };
98
+ sdk: {
99
+ input: UpdateCodeSigningConfigCommandInput;
100
+ output: UpdateCodeSigningConfigCommandOutput;
101
+ };
102
+ };
92
103
  }
@@ -268,6 +268,7 @@ declare const UpdateEventSourceMappingCommand_base: {
268
268
  * // ErrorCode: "STRING_VALUE",
269
269
  * // Message: "STRING_VALUE",
270
270
  * // },
271
+ * // EventSourceMappingArn: "STRING_VALUE",
271
272
  * // };
272
273
  *
273
274
  * ```
@@ -303,4 +304,15 @@ declare const UpdateEventSourceMappingCommand_base: {
303
304
  * @public
304
305
  */
305
306
  export declare class UpdateEventSourceMappingCommand extends UpdateEventSourceMappingCommand_base {
307
+ /** @internal type navigation helper, not in runtime. */
308
+ protected static __types: {
309
+ api: {
310
+ input: UpdateEventSourceMappingRequest;
311
+ output: EventSourceMappingConfiguration;
312
+ };
313
+ sdk: {
314
+ input: UpdateEventSourceMappingCommandInput;
315
+ output: UpdateEventSourceMappingCommandOutput;
316
+ };
317
+ };
306
318
  }
@@ -225,4 +225,15 @@ declare const UpdateFunctionCodeCommand_base: {
225
225
  * @public
226
226
  */
227
227
  export declare class UpdateFunctionCodeCommand extends UpdateFunctionCodeCommand_base {
228
+ /** @internal type navigation helper, not in runtime. */
229
+ protected static __types: {
230
+ api: {
231
+ input: UpdateFunctionCodeRequest;
232
+ output: FunctionConfiguration;
233
+ };
234
+ sdk: {
235
+ input: UpdateFunctionCodeCommandInput;
236
+ output: UpdateFunctionCodeCommandOutput;
237
+ };
238
+ };
228
239
  }
@@ -265,4 +265,15 @@ declare const UpdateFunctionConfigurationCommand_base: {
265
265
  * @public
266
266
  */
267
267
  export declare class UpdateFunctionConfigurationCommand extends UpdateFunctionConfigurationCommand_base {
268
+ /** @internal type navigation helper, not in runtime. */
269
+ protected static __types: {
270
+ api: {
271
+ input: UpdateFunctionConfigurationRequest;
272
+ output: FunctionConfiguration;
273
+ };
274
+ sdk: {
275
+ input: UpdateFunctionConfigurationCommandInput;
276
+ output: UpdateFunctionConfigurationCommandOutput;
277
+ };
278
+ };
268
279
  }
@@ -95,4 +95,15 @@ declare const UpdateFunctionEventInvokeConfigCommand_base: {
95
95
  * @public
96
96
  */
97
97
  export declare class UpdateFunctionEventInvokeConfigCommand extends UpdateFunctionEventInvokeConfigCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: UpdateFunctionEventInvokeConfigRequest;
102
+ output: FunctionEventInvokeConfig;
103
+ };
104
+ sdk: {
105
+ input: UpdateFunctionEventInvokeConfigCommandInput;
106
+ output: UpdateFunctionEventInvokeConfigCommandOutput;
107
+ };
108
+ };
98
109
  }
@@ -112,4 +112,15 @@ declare const UpdateFunctionUrlConfigCommand_base: {
112
112
  * @public
113
113
  */
114
114
  export declare class UpdateFunctionUrlConfigCommand extends UpdateFunctionUrlConfigCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: UpdateFunctionUrlConfigRequest;
119
+ output: UpdateFunctionUrlConfigResponse;
120
+ };
121
+ sdk: {
122
+ input: UpdateFunctionUrlConfigCommandInput;
123
+ output: UpdateFunctionUrlConfigCommandOutput;
124
+ };
125
+ };
115
126
  }
@@ -299,7 +299,7 @@ export interface AddPermissionRequest {
299
299
  */
300
300
  Action: string | undefined;
301
301
  /**
302
- * <p>The Amazon Web Servicesservice or Amazon Web Services account that invokes the function. If you specify a
302
+ * <p>The Amazon Web Servicesservice, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a
303
303
  * service, use <code>SourceArn</code> or <code>SourceAccount</code> to limit who can invoke the function through
304
304
  * that service.</p>
305
305
  * @public
@@ -359,6 +359,26 @@ export interface AddPermissionResponse {
359
359
  */
360
360
  Statement?: string;
361
361
  }
362
+ /**
363
+ * <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
364
+ * create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
365
+ * to allow public policies.</p>
366
+ * @public
367
+ */
368
+ export declare class PublicPolicyException extends __BaseException {
369
+ readonly name: "PublicPolicyException";
370
+ readonly $fault: "client";
371
+ /**
372
+ * <p>The exception type.</p>
373
+ * @public
374
+ */
375
+ Type?: string;
376
+ Message?: string;
377
+ /**
378
+ * @internal
379
+ */
380
+ constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
381
+ }
362
382
  /**
363
383
  * <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html">traffic-shifting</a> configuration of a Lambda function alias.</p>
364
384
  * @public
@@ -557,6 +577,11 @@ export interface CreateCodeSigningConfigRequest {
557
577
  * @public
558
578
  */
559
579
  CodeSigningPolicies?: CodeSigningPolicies;
580
+ /**
581
+ * <p>A list of tags to add to the code signing configuration.</p>
582
+ * @public
583
+ */
584
+ Tags?: Record<string, string>;
560
585
  }
561
586
  /**
562
587
  * <p>Details about a <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">Code signing configuration</a>. </p>
@@ -1029,6 +1054,11 @@ export interface CreateEventSourceMappingRequest {
1029
1054
  * @public
1030
1055
  */
1031
1056
  MaximumRetryAttempts?: number;
1057
+ /**
1058
+ * <p>A list of tags to apply to the event source mapping.</p>
1059
+ * @public
1060
+ */
1061
+ Tags?: Record<string, string>;
1032
1062
  /**
1033
1063
  * <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
1034
1064
  * @public
@@ -1280,6 +1310,11 @@ export interface EventSourceMappingConfiguration {
1280
1310
  * @public
1281
1311
  */
1282
1312
  FilterCriteriaError?: FilterCriteriaError;
1313
+ /**
1314
+ * <p>The Amazon Resource Name (ARN) of the event source mapping.</p>
1315
+ * @public
1316
+ */
1317
+ EventSourceMappingArn?: string;
1283
1318
  }
1284
1319
  /**
1285
1320
  * <p>The specified code signing configuration does not exist.</p>
@@ -5155,8 +5190,8 @@ export interface ListProvisionedConcurrencyConfigsResponse {
5155
5190
  */
5156
5191
  export interface ListTagsRequest {
5157
5192
  /**
5158
- * <p>The function's Amazon Resource Name (ARN).
5159
- * Note: Lambda does not support adding tags to aliases or versions.</p>
5193
+ * <p>The resource's Amazon Resource Name (ARN).
5194
+ * Note: Lambda does not support adding tags to function aliases or versions.</p>
5160
5195
  * @public
5161
5196
  */
5162
5197
  Resource: string | undefined;
@@ -5746,26 +5781,6 @@ export interface PutPublicAccessBlockConfigResponse {
5746
5781
  */
5747
5782
  PublicAccessBlockConfig?: PublicAccessBlockConfig;
5748
5783
  }
5749
- /**
5750
- * <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
5751
- * create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
5752
- * to allow public policies.</p>
5753
- * @public
5754
- */
5755
- export declare class PublicPolicyException extends __BaseException {
5756
- readonly name: "PublicPolicyException";
5757
- readonly $fault: "client";
5758
- /**
5759
- * <p>The exception type.</p>
5760
- * @public
5761
- */
5762
- Type?: string;
5763
- Message?: string;
5764
- /**
5765
- * @internal
5766
- */
5767
- constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
5768
- }
5769
5784
  /**
5770
5785
  * @public
5771
5786
  */
@@ -5970,12 +5985,12 @@ export interface RemovePermissionRequest {
5970
5985
  */
5971
5986
  export interface TagResourceRequest {
5972
5987
  /**
5973
- * <p>The function's Amazon Resource Name (ARN).</p>
5988
+ * <p>The resource's Amazon Resource Name (ARN).</p>
5974
5989
  * @public
5975
5990
  */
5976
5991
  Resource: string | undefined;
5977
5992
  /**
5978
- * <p>A list of tags to apply to the function.</p>
5993
+ * <p>A list of tags to apply to the resource.</p>
5979
5994
  * @public
5980
5995
  */
5981
5996
  Tags: Record<string, string> | undefined;
@@ -5985,12 +6000,12 @@ export interface TagResourceRequest {
5985
6000
  */
5986
6001
  export interface UntagResourceRequest {
5987
6002
  /**
5988
- * <p>The function's Amazon Resource Name (ARN).</p>
6003
+ * <p>The resource's Amazon Resource Name (ARN).</p>
5989
6004
  * @public
5990
6005
  */
5991
6006
  Resource: string | undefined;
5992
6007
  /**
5993
- * <p>A list of tag keys to remove from the function.</p>
6008
+ * <p>A list of tag keys to remove from the resource.</p>
5994
6009
  * @public
5995
6010
  */
5996
6011
  TagKeys: string[] | undefined;
@@ -37,4 +37,15 @@ declare const AddLayerVersionPermissionCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class AddLayerVersionPermissionCommand extends AddLayerVersionPermissionCommand_base {}
40
+ export declare class AddLayerVersionPermissionCommand extends AddLayerVersionPermissionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AddLayerVersionPermissionRequest;
44
+ output: AddLayerVersionPermissionResponse;
45
+ };
46
+ sdk: {
47
+ input: AddLayerVersionPermissionCommandInput;
48
+ output: AddLayerVersionPermissionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -36,4 +36,15 @@ declare const AddPermissionCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class AddPermissionCommand extends AddPermissionCommand_base {}
39
+ export declare class AddPermissionCommand extends AddPermissionCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: AddPermissionRequest;
43
+ output: AddPermissionResponse;
44
+ };
45
+ sdk: {
46
+ input: AddPermissionCommandInput;
47
+ output: AddPermissionCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -33,4 +33,15 @@ declare const CreateAliasCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class CreateAliasCommand extends CreateAliasCommand_base {}
36
+ export declare class CreateAliasCommand extends CreateAliasCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: CreateAliasRequest;
40
+ output: AliasConfiguration;
41
+ };
42
+ sdk: {
43
+ input: CreateAliasCommandInput;
44
+ output: CreateAliasCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -37,4 +37,15 @@ declare const CreateCodeSigningConfigCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class CreateCodeSigningConfigCommand extends CreateCodeSigningConfigCommand_base {}
40
+ export declare class CreateCodeSigningConfigCommand extends CreateCodeSigningConfigCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateCodeSigningConfigRequest;
44
+ output: CreateCodeSigningConfigResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateCodeSigningConfigCommandInput;
48
+ output: CreateCodeSigningConfigCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const CreateEventSourceMappingCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class CreateEventSourceMappingCommand extends CreateEventSourceMappingCommand_base {}
40
+ export declare class CreateEventSourceMappingCommand extends CreateEventSourceMappingCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateEventSourceMappingRequest;
44
+ output: EventSourceMappingConfiguration;
45
+ };
46
+ sdk: {
47
+ input: CreateEventSourceMappingCommandInput;
48
+ output: CreateEventSourceMappingCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -36,4 +36,15 @@ declare const CreateFunctionCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class CreateFunctionCommand extends CreateFunctionCommand_base {}
39
+ export declare class CreateFunctionCommand extends CreateFunctionCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: CreateFunctionRequest;
43
+ output: FunctionConfiguration;
44
+ };
45
+ sdk: {
46
+ input: CreateFunctionCommandInput;
47
+ output: CreateFunctionCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -37,4 +37,15 @@ declare const CreateFunctionUrlConfigCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class CreateFunctionUrlConfigCommand extends CreateFunctionUrlConfigCommand_base {}
40
+ export declare class CreateFunctionUrlConfigCommand extends CreateFunctionUrlConfigCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateFunctionUrlConfigRequest;
44
+ output: CreateFunctionUrlConfigResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateFunctionUrlConfigCommandInput;
48
+ output: CreateFunctionUrlConfigCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -31,4 +31,15 @@ declare const DeleteAliasCommand_base: {
31
31
  >;
32
32
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
33
  };
34
- export declare class DeleteAliasCommand extends DeleteAliasCommand_base {}
34
+ export declare class DeleteAliasCommand extends DeleteAliasCommand_base {
35
+ protected static __types: {
36
+ api: {
37
+ input: DeleteAliasRequest;
38
+ output: {};
39
+ };
40
+ sdk: {
41
+ input: DeleteAliasCommandInput;
42
+ output: DeleteAliasCommandOutput;
43
+ };
44
+ };
45
+ }
@@ -37,4 +37,15 @@ declare const DeleteCodeSigningConfigCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class DeleteCodeSigningConfigCommand extends DeleteCodeSigningConfigCommand_base {}
40
+ export declare class DeleteCodeSigningConfigCommand extends DeleteCodeSigningConfigCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteCodeSigningConfigRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteCodeSigningConfigCommandInput;
48
+ output: DeleteCodeSigningConfigCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const DeleteEventSourceMappingCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class DeleteEventSourceMappingCommand extends DeleteEventSourceMappingCommand_base {}
40
+ export declare class DeleteEventSourceMappingCommand extends DeleteEventSourceMappingCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteEventSourceMappingRequest;
44
+ output: EventSourceMappingConfiguration;
45
+ };
46
+ sdk: {
47
+ input: DeleteEventSourceMappingCommandInput;
48
+ output: DeleteEventSourceMappingCommandOutput;
49
+ };
50
+ };
51
+ }